Auto Ping PPS from WordPress 1.5

Wordpress

Since the site is upgraded to WordPress 1.5 and the core code changed, here is the updated guide to auto ping Project Petaling Street (PPS).

For previous WordPress version, please refer to Guide to ping PPS from WordPress. It works on WP 1.0 / 1.2.

We need to edit two files in WP_ROOT/wp-admin:

  • edit-form.php – Simple controls post editor
  • edit-form-advanced.php – Advance control post editor

Important: Backup the files before continue.

Simple controls post editor (edit-form.php)

Auto Ping PPS - Simple control

  1. Open edit-form.php for edit.
  2. Goto line #56, where it read:
    [html][/html]
  3. Replace the line with:
    [html][/html]
  4. Save and upload edit-form.php. Done.

Advance controls post editor (edit-form-advanced.php)

Auto Ping PPS - Advance control

  1. Open edit-form-advanced.php for edit.
  2. Goto line #27, where it reads:
    [php]$form_trackback = ‘‘;[/php]
  3. Add following code ABOVE the line:
    [php]if($to_ping == ”) $to_ping = ‘PPS PING PATH’;[/php]
    So that it looks as follow:
    [php]if($to_ping == ”) $to_ping = ‘PPS PING PATH’;
    $form_trackback = ‘‘;[/php]
  4. Save and upload edit-form-advanced.php. Done.
Note: Replace PPS PING PATH with provided ping URL when you register to PPS.

Thought:
Hope this helps Malaysia bloggers who are using WordPress 1.5 (or later?) to easily ping PPS, and increase blog traffic. Of course, you can remove the PPS ping URL when you do not want to ping PPS for certain post. :)

Share this:

17 Comments

  1. Chewxy April 22, 2005
  2. Kahsoon April 22, 2005
  3. H4RRY April 22, 2005
  4. Edrei April 22, 2005
  5. Kahsoon April 22, 2005
  6. LcF April 22, 2005
  7. Kahsoon April 23, 2005
  8. Kahsoon April 23, 2005
  9. LcF April 23, 2005
  10. AhKnight April 23, 2005
  11. LcF April 23, 2005
  12. MENJ April 23, 2005
  13. LcF April 23, 2005
  14. AhKnight April 24, 2005
  15. LcF April 24, 2005
  16. Syiok.com May 5, 2005
  17. wiredpod June 21, 2005

Leave a Reply