Hey all! I think many of you already familiar with my module for DataLife Engine - pingationMod, actually represent an updated version of the module
Version 0.7:
-Support DataLife Engine 8.2
-Added filtering of incoming data
-Added function reference for the log of events (you can turn on / off in the settings module)
-Fixed a bug where: if the news sent to ping services, ping services will still receive a notice
-Fixed minor bugs and flaws
Version 0.7.2 (beta):
-Added the function of sending notice to the AJAX (only for manual startup)
-Fixed minor bugs
Version 0.8:
-Fixed all the bugs the previous version
Install
Installation for DataLife Engine 8.0:
1. Copy all files from a folder, upload to the root of the site, preserving folder structure
2. Open 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']
), Â
'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' => "Ping services for DataLife Engine",
'image' => "ping.jpg",
'access' => $user_group[$member_id['user_group']]['admin_static']
),
'name' => "pingationMod",
'url' => "$PHP_SELF?mod=ping",
'descr' => "Ping services for DataLife Engine",
'image' => "ping.jpg",
'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'] );
msg( "info", $lang['addnews_ok'], $lang['addnews_ok_1'] . " \"" . stripslashes( stripslashes( $title ) ) . "\" " . $lang['addnews_ok_2'] );
This is the last line in the file, and replace them with:
       Â
    if ($approve = isset( $_POST['approve'] )){
    include ENGINE_DIR . '/data/ping.php';
    if( $ping['allow_post'] == "1" ) {
    require('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 have been successfully notified about changes on your site</font><br><a href=\"".$full_link."\" target=\"_blank\">Go to News</a>" );
    }
    }
    else
    {
    clear_cache();
    msg( "info", $lang['addnews_ok'], $lang['addnews_ok_1'] . " \"" . stripslashes( stripslashes( $title ) ) . "\" " . $lang['addnews_ok_2'] );   Â
    }
   Â
    if ($approve = isset( $_POST['approve'] )){
    include ENGINE_DIR . '/data/ping.php';
    if( $ping['allow_post'] == "1" ) {
    require('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 have been successfully notified about changes on your site</font><br><a href=\"".$full_link."\" target=\"_blank\">Go to News</a>" );
    }
    }
    else
    {
    clear_cache();
    msg( "info", $lang['addnews_ok'], $lang['addnews_ok_1'] . " \"" . stripslashes( stripslashes( $title ) ) . "\" " . $lang['addnews_ok_2'] );   Â
    }
   Â
4. For file:
engine/data/ping.php
engine/data/text.txt
engine/data/logs.txt
CHMOD files above to 777 (0777)
====================UPDATING WITH OLD VERSION====================
1. Remove all old files
2. see the 'plug-in installation'
Download
You must register before you can view this text.
PAGE 2 = INSTALL FOR DLE 8.2



Updates
Dle templates English


