pingationMod 1.4 English version and NULL by DLEVIET » DataLife Engine Support

DLEVIET - DataLife Engine Support Home Page

DataLife Engine Support » DataLife Engine » Modules » pingationMod 1.4 English version and NULL by DLEVIET

pingationMod 1.4 English version and NULL by DLEVIET

  • Author: admin;  
  • Views: 2469;  
  • Date: 17 October 2009;  
pingationMod 1.4 English version and NULL by DLEVIET



Module "pingationMod" - provides timely notification ping services on the changes on your site. Services for the ping - a service that informs search engines that your site appeared the next publication. As a result, the search engine spiders quickly learn that you have written a new article and visiting the site to its index.

Features of the module:
Hand-sending notifications ping services from admin panel (for Ajax)
-Automatically sends notifications ping services after the publication of news
-Sending notification ping services after news editing
Hand-sending XML sitemap to search engines, such as: Ask.com, Bing, Google and Yahoo from the admin panel (for Ajax)
-Quick navigation to all sections of the module
-Introduction log events

List of changes in version 1.4:
-Added output errors on screen, if the XML site maps do not exist
-Ability to send a site map in Yahoo (for this you need the App ID in the module settings)
-Fixed all known bugs

pingationMod 1.4 English version and NULL by DLEVIET

pingationMod 1.4 English version and NULL by DLEVIET


INSTALL
Installation of the module for DataLife Engine 8.2
========================================
1. Copy all files from the upload folder to the root folder
2. Open the file engine/inc/options.php
find:
array (
'name' => $lang['opt_rules'],
'url' => "$PHP_SELF?mod=static&action=doedit&page=rules",
'descr' => $lang['opt_rulesc'],
'image' => "rules.png",
'access' => $user_group[$member_id['user_group']]['admin_static']
),

Below add:
array (
'name' => "pingationMod",
'url' => "$PHP_SELF?mod=ping",
'descr' => "The module provides for timely notification ping services on the changes on your site",
'image' => "ping.png",
'access' => $user_group[$member_id['user_group']]['admin_static']
),

3. Open file engine/inc/addnews.php
Find:
clear_cache();
msg( "info", $lang['addnews_ok'], $lang['addnews_ok_1'] . " \"" . stripslashes( stripslashes( $title ) ) . "\" " . $lang['addnews_ok_2'] );

replace with:
    
include ENGINE_DIR . '/data/ping.php';
if (isset( $_POST['approve'])  AND $newsdate < $added_time AND $ping['allow_post'] == "1"){
include ENGINE_DIR . '/inc/ping/pingpost.php';
clear_cache();
msg( "info", $lang['addnews_ok'], $lang['addnews_ok_1'] . " \"" . stripslashes( stripslashes( $title ) ) . "\" " . $lang['addnews_ok_2'] . "<br /><font color=green>Ping services were successfully notified about changes on your site</font>" );
}
else
{
clear_cache();
msg( "info", $lang['addnews_ok'], $lang['addnews_ok_1'] . " \"" . stripslashes( stripslashes( $title ) ) . "\" " . $lang['addnews_ok_2'] );    
}

4. Open file engine/inc/editnews.php and find:
<td><input type="checkbox" name="approve" value="1" {$ifapp}> {$lang['addnews_mod']}

replace to:
<td><input type="checkbox" name="approve" value="1" {$ifapp}> {$lang['addnews_mod']}<br />
<input type="checkbox" name="ping" value="1"> Send notification of ping services


Next find:
if( $no_permission ) {
msg( "error", $lang['addnews_error'], $lang['edit_denied'], $_SESSION['admin_referrer'] );
} elseif( $okdeleted ) {
msg( "info", $lang['edit_delok'], $lang['edit_delok_1'], $_SESSION['admin_referrer'] );
} elseif( $okchanges ) {

below add
    
if(isset( $_POST['ping']) AND isset( $_POST['approve']) AND $newsdate < $added_time){
require('ping/editpost.php');
msg( "info", $lang['edit_alleok'], $lang['edit_alleok_1']."<br /><font color=green>Ping services were successfully notified about changes on your site</font>", $_SESSION['admin_referrer'] );
}else{
msg( "info", $lang['edit_alleok'], $lang['edit_alleok_1'], $_SESSION['admin_referrer'] );
}

5. At the files:
engine/data/ping.php
engine/data/text.txt
engine/data/logs.txt

Put the right to write (CHMOD 777)

6. Put license like in below image and press Check license key. Next press Save module settings

pingationMod 1.4 English version and NULL by DLEVIET


----------------------------------------------
Update
Update module version 1.2 and 1.3 to version 1.4
==================================================
1. Copy all files from the upload folder to the root folder, replacing the old files with new
2. Open file engine/inc/addnews.php
Find the line between


and replace them with
    
include ENGINE_DIR . '/data/ping.php';
if (isset( $_POST['approve'])  AND $newsdate < $added_time AND $ping['allow_post'] == "1"){
include ENGINE_DIR . '/inc/ping/pingpost.php';
clear_cache();
msg( "info", $lang['addnews_ok'], $lang['addnews_ok_1'] . " \"" . stripslashes( stripslashes( $title ) ) . "\" " . $lang['addnews_ok_2'] . "<br /><font color=green>Ping services were successfully notified about changes on your site</font>" );
}
else
{
clear_cache();
msg( "info", $lang['addnews_ok'], $lang['addnews_ok_1'] . " \"" . stripslashes( stripslashes( $title ) ) . "\" " . $lang['addnews_ok_2'] );    
}


Download
You must register before you can view this text.


We encourage you to Register or Login to website under your name.

Q.SiN

Posted 4 March 2010 00:37 Register: 4.03.2010
Hello,

Not work with DLE 8.3 ?

Pakistan

Posted 18 March 2010 03:18 Register: 2.03.2010
hay, please tell me how to add "Check box- Send notification of ping services" in module/addnews.php

I want to allow admin to send ping from site rather than admin panel as we do allow to "Pin Article" for admin.. is it possible??

iggori

Posted 18 March 2010 22:56 Register: 18.03.2010
Work on 8.5

snooper

Posted 12 June 2010 23:39 Register: 21.05.2010
Please wait is sending a site map to search engines...
Information
Members of Guest cannot leave comments.

Pagerank Update

    Updates Yandex SEO
    13.04.2012
    16.02.2012
    04.02.2012
    Updates Yandex search
    17.05.2012
    15.05.2012
    12.05.2012
    Updates Yandex Catalogue
    18.05.2012
    16.05.2012
    11.05.2012
    Updates Google
    03.05.2012
    06.02.2012
    08.11.2011

Find us on Facebook

Poll

How do you know DataLife Engine Support?

Search Engine
Other DLE Support websites
Forum
Friends
Others

Sponsor

Calendar

«    May 2012    »
MoTuWeThFrSaSu
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
 
Contact us in social network

Facebook

Twitter