Datalife RssPING module – (pingationMod 2.01 English for 8.5)

里面有安装说明
Installation
  1. If you are using DLE 8.5
  1. Delete file Uploads/engine/inc/ping.php
  2. Rename file Uploads/engine/inc/ping_8.5.php to Uploads/engine/inc/ping.php
  • Copy all folder Uploads to your site, in the root folder.
  • For files:
    1. /engine/data/pingdata.php
    2. /engine/data/pinglist.txt
    3. /engine/data/pinglog.txt

    Put the right to write (CHMOD 777)

  • Open file engine/inc/addnews.php
    1. FIND:
      clear_cache();<br /> msg( “info”, $lang['addnews_ok'], $lang['addnews_ok_1'] . ” \”" . stripslashes( stripslashes( $title ) ) . “\” ” . $lang['addnews_ok_2']);ABOVE add:
      // pingationMod<br /> include ENGINE_DIR.’/inc/include/pingpost.php’;
  • Open file engine/inc/editnews.php
    1. FIND:
      <td><div mce_tmp=”1″><input type=”checkbox” name=”approve” value=”1″ {$ifapp}> {$lang['addnews_mod']}</div> <div mce_tmp=”1″>
    2. Replace to:
      <td><input type=”checkbox” name=”approve” value=”1″ {$ifapp}> {$lang['addnews_mod']}<br /><br /> <input type=”checkbox” name=”ping” value=”1″> {$lang['ping_editpost']}</div> <div mce_tmp=”1″>
    3. FIND:
      if( $no_permission ) {<br /> msg( “error”, $lang['addnews_error'], $lang['edit_denied'], $_SESSION['admin_referrer'] );<br /> } elseif( $okdeleted ) {<br /> msg( “info”, $lang['edit_delok'], $lang['edit_delok_1'], $_SESSION['admin_referrer'] );<br /> } elseif( $okchanges ) {<br /> msg( “info”, $lang['edit_alleok'], $lang['edit_alleok_1'], $_SESSION['admin_referrer'] );<br /> } else {<br /> msg( “error”, $lang['addnews_error'], $lang['edit_allerr'], $_SESSION['admin_referrer'] );<br /> }
    4. And ABOVE add:// pingationMod<br /> if(isset( $_POST['ping']) AND isset( $_POST['approve']) AND $newsdate < $added_time){<br /> include ENGINE_DIR.’/inc/include/pingedit.php’;<br /> }
  • Open file language/English/adminpanel.lng
    1. After:
      $lang = array (</div> <div mce_tmp=”1″>’charset’ => “windows-1251″,<br /> ‘admin_logo’ => “engine/skins/images/nav.jpg”,<br /> ‘wysiwyg_language’ => “ru”,
    2. Add:
      // pingationMod 2.0.1</div> <div mce_tmp=”1″>’ping_module’ => “pingationMod”,<br /> ‘ping_gomain’ => “Back to Home”,<br /> ‘ping_settingsmain’ => “Main settings”,<br /> ‘ping_log’ => “Log events”,<br /> ‘ping_settingsaveok’ => “Module settings successfully saved”,<br /> ‘ping_sht’ => “item”,<br /> ‘ping_wait’ => “Please wait …”,<br /> ‘ping_afterea’ => “Notification successfully sent”,<br /> ‘ping_activate’ => “Activate module”,<br /> ‘ping_keyinfo’ => “To activate the module, enter <a href=”\” mce_href=”\”"http://dleviet.com\” target=\”blank\”><b>DLEVIET</b></a>”,<br /> ‘ping_activbutton’ => “Activate Module”,</div> <div mce_tmp=”1″>’ping_moduledescr’ => “Module \”pingationMod\” provides for timely notification ping service 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 robots quickly learn that you have written a new article and come to your site to its index.”,<br /> ‘ping_razrab’ => “Developer: g-prime<br />Author: <b>TOPY</b><br />Translate: <b>DLEVIET</b> (<a href=”\” mce_href=”\”"http://dleviet.com/\”>DLEVIET.COM</a>)”,<br /> ‘ping_clear’ => “Do you really want to clear list of ping services?”,<br /> ‘ping_clearlog’ => “Do you really want to clear contents of the log events?”,<br /> ‘ping_clearok’ => “You have successfully cleared the contents of the list of ping services”,<br /> ‘ping_clearlogok’ => “You have successfully cleared the contents of the log events”,<br /> ‘ping_version’ => “Module version: 2.0.1″,<br /> ‘ping_nav’ => “Navigation on pages:”,<br /> ‘ping_logcol’ => “Number of records:”,<br /> ‘ping_lognoentire’ => “Log events is empty”,</div> <div mce_tmp=”1″>’ping_senddata’ => “Following data will be sent to ping services:”,<br /> ‘ping_siteurl’ => “Website address:”,<br /> ‘ping_rss’ => “RSS feed URL:”,<br /> ‘ping_sitename’ => “Website name:”,<br /> ‘ping_sitenamechange’ => “If you want to change Website name, modify it at <a href=”\” mce_href=”\”"?mod=options&action=syscon\”>System Settings</a>”,</div> <div mce_tmp=”1″>’ping_sendbutton’ => “Send notices to Ping Services”,<br /> ‘ping_savebutton’ => “Save module settings”,<br /> ‘ping_sendsitemap’ => “Send notices to search engines”,<br /> ‘ping_updatebutton’ => “Check for new versions”,</div> <div mce_tmp=”1″>’ping_pingsendgo’ => “Please wait for sending notifications to ping services…”,<br /> ‘ping_pingsitemapdgo’ => “Please wait for sending notifications to search engines…”,</div> <div mce_tmp=”1″>’ping_noserviceadd’ => “To send notifications, you must add at least one service in <a href=”\” mce_href=”\”"?mod=ping&action=settings\”>Module Settings</a>”,</div> <div mce_tmp=”1″>’ping_simdescr’ => “This module is used to manually send notifications to search engines, the availability of a new version of site map </div> <div mce_tmp=”1″> supported search engines: </div> <div mce_tmp=”1″> Google, Bing, Ask, MoreOver and Yahoo (To send notifications to Yahoo, you must enter Yahoo App ID in <a href=”\” mce_href=”\”"$PHP_SELF?mod=ping&action=settings\”>Module Settings</a>)”,</div> <div mce_tmp=”1″>’ping_editpost’ => “Send notices to Ping Services”,</div> <div mce_tmp=”1″>’ping_settings’ => “Module Settings”,<br /> ‘ping_settingsdescr’ => “Configure common parameters of module”,</div> <div mce_tmp=”1″>’ping_ping’ => “Send notification”,<br /> ‘ping_pingdescr’ => “Manual sending notifications to ping services”,</div> <div mce_tmp=”1″>’ping_about’ => “Information about module”,<br /> ‘ping_aboutdescr’ => “All information you must read for our support”,</div> <div mce_tmp=”1″>’ping_sitemap’ => “Submit Site Map”,<br /> ‘ping_sitemapdescr’ => “Manual sending sitemap to search engines”,</div> <div mce_tmp=”1″>’ping_opt’ => “Module send notifications to the ping services known about the changes on your site”,</div> <div mce_tmp=”1″>’ping_nositemap’ => “Site Map is not created, <a href=”\” mce_href=”\”"?mod=googlemap\”>Create</a> to send notifications”,</div> <div mce_tmp=”1″>’ping_pingpost’ => “Send notification to ping services after publish news:”,<br /> ‘ping_pingpostdescr’ => “Enable / Disable function. If disable – when you publish news, send notifications to ping services will not be carried”, // Think before disable – dleviet.com<br /> ‘ping_pingpostyes’ => “Send notifications”,<br /> ‘ping_pingpostno’ => “Do not send notification”,</div> <div mce_tmp=”1″>’ping_logonoff’ => “Enable Log events:”,</div> <div mce_tmp=”1″>’ping_logonoffdescr’ => “Enable / Disable function. If disable – Log events will not display on main page of module and record events”,<br /> ‘ping_logonoffyes’ => “Enable”,<br /> ‘ping_logonoffno’ => “Disable”,</div> <div mce_tmp=”1″>’ping_service’ => “Number of services in one time:”,<br /> ‘ping_servicedescr’ => “When you want to disable this feature, set this field to ’0′, in this case the delay function for sending notifications of ping services – will not work”,</div> <div mce_tmp=”1″>’ping_zaderjka’ => “The interval in seconds between sending notifications:”,<br /> ‘ping_zaderjkadescr’ => “Specify the interval in seconds between sending notifications”,</div> <div mce_tmp=”1″>’ping_logpp’ => “Records per page:”,<br /> ‘ping_logppdescr’ => “Specify how many records per page to show log”,</div> <div mce_tmp=”1″>’ping_sitemaprecreate’ => “Rebuild Site Map and send notification after publish news:”,<br /> ‘ping_sitemaprecreatedescr’ => “Enable / Disable function. If disable – when you publish a news, DO NOT rebuild and and send notifications about new version of site map”,<br /> ‘ping_sitemaprecreateyes’ => “Rebuild Site Map and send notification”,<br /> ‘ping_sitemaprecreateno’ => “DO NOT rebuild Site Map and send notification”,</div> <div mce_tmp=”1″>’ping_static’ => “Static pages priority:”,<br /> ‘ping_staticpre’ => “The Priority exported URL comparatively other URL on your put. The Possible range of importances from 0.0 before 1.0. This importance does not influence upon comparison of your pages with page on other site.”,<br /> ‘ping_news’ => “News priority:”,<br /> ‘ping_category’ => “Category priority:”,<br /> ‘ping_prior’ => “Will be used in the construction of site maps after publish news (if enabled)”,<br /> ‘ping_yahoo’ => “Yahoo App ID:”,<br /> ‘ping_yahoopre’ => “To send site map to Yahoo, you must enter the App ID, you can get it <a href=”http://developer.yahoo.com/dashboard” mce_href=”http://developer.yahoo.com/dashboard”></a>HERE</a>”,</div> <div mce_tmp=”1″>’ping_sitemapp’ => “Site Map”,</div> <div mce_tmp=”1″>’ping_setpingserv’ => “List of Ping Services”,<br /> ‘ping_setpingservdescr’ => “Each new service with a new line, duplicate services are removed”,<br /> ‘ping_setpingservcount’ => “Number of ping services: “,<br /> ‘ping_servdelete’ => “Clear list of Ping services”,<br /> ‘ping_logdelete’ => “Clear Log events”,</div> <div mce_tmp=”1″>// pingationMod 2.0.1
  • Run the installation file on your server. (http://domain.com/install_ping.php). If for some reason did not work, then do the SQL query in phpmyadmin.
    <br /> INSERT INTO `dle_admin_sections` VALUES (”, ‘ping’, ‘pingationMod’, ‘Module send notifications to the ping services known about the changes on your site’, ‘pingationmod.png’, ’1′);
  • Installation Complete, delete file install_ping.php and continue to work with the module.

    Leave a comment

    You must be logged in to post a comment.