|

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. :)

Similar Posts

17 Comments

  1. hey liew…i was wondering, im using wp1.5 as well…do i need to register as a member to auto ping? previously i had an account in pps and it is meant for blogspot…can i use back same account or i must register a new one? for wp1.5 like you and me…i changed edited the 2 files but whats next? do i need to go to pps and send them an email saying that i want to auto ping and do we need to wait them to approve us?

  2. nice work, and i was wondering why i can’t ping to PPS as i was using the old auto PPS ping method.

    Kahsoon: you can use your current account and no, no need to send Aizuddin an email. just ping all you want. you can also ping to the test site of PPS if you’re not sure.

  3. That would explain why the ping only worked once. Now I can use this to ping all the sites.

    Thanks a lot man, makes perfect sense now.

  4. I am working on the plugin but get stucked in adding ping url in advance form.

    PPS is using MT blog trackback function.

Leave a Reply

Your email address will not be published. Required fields are marked *