WP ROBOT MOD TUTORIAL
Organizes the keyword list into sets of 30
Ever notice in WP ROBOT that all your keywords are placed on the top of the main page. Well it can be server intensive if you have a large keyword list, not to mention it timing out and you never even getting to the page. Well this modification will make it so the keywords are displayed by sets of 30 with an easy previous page, and next page option.
Let's get started.
Open a FTP client or Word Press Plugin editor.
I recommend using an ftp client, download the file and making a copy. Just incase something happens, you have a backup. This is recommended practice for all your web indevors when dealing with files on a server.
Locate wprobot.php in this directory:
wp-content/plugins/WPRobot/wprobot.php
Step 1: Open wprobot.php
Locate:
Starts on line 1545 in the nulled version, but it should be similar.
Replace:
With:
Step 2:
Locate:
Starts on line 1717, again this could be different.
Replace:
With:
Step 3: Save and re-upload.
That should do it
let me know if you have any problems.
Enjoy
Organizes the keyword list into sets of 30
Ever notice in WP ROBOT that all your keywords are placed on the top of the main page. Well it can be server intensive if you have a large keyword list, not to mention it timing out and you never even getting to the page. Well this modification will make it so the keywords are displayed by sets of 30 with an easy previous page, and next page option.
Let's get started.
Open a FTP client or Word Press Plugin editor.
I recommend using an ftp client, download the file and making a copy. Just incase something happens, you have a backup. This is recommended practice for all your web indevors when dealing with files on a server.
Locate wprobot.php in this directory:
wp-content/plugins/WPRobot/wprobot.php
Step 1: Open wprobot.php
Locate:
Starts on line 1545 in the nulled version, but it should be similar.
Code:
<?php ma_get_versions(); ?>
<h2>WP Robot</h2>
<h3>Active Keywords</h3>
Code:
<?php $records = $wpdb->get_results("SELECT * FROM " . $ma_dbtable . " ORDER BY id ASC");
Code:
<?php
if ($_REQUEST['done'] == "1"){
$ps = $_REQUEST['ps'];
}else{
$ps = 0;
}
$g = 30 * $ps;
$records = $wpdb->get_results("SELECT * FROM " . $ma_dbtable . " ORDER BY id ASC LIMIT " .$g.", 29");
Step 2:
Locate:
Starts on line 1717, again this could be different.
Code:
<td class="date column-date"><?php echo date('m/j/Y H:i:s',wp_next_scheduled("maposthook",array($record->id)));?><br/><span style="color:#666;">(every <?php echo $time." ".$span; ?>)</span></td>
</tr>
Code:
<?php } ?>
Code:
<?php }
if (($ps == "") || ($ps == "0")){
echo "<table style=\"border: 0px; border-style: solid; \" style=\"font-family: verdana; font-size: 16px;\" border=\"0\" RULES=\"ALL\" FRAME=\"VOID\" cellpadding=\"6\" cellspacing=\"5\"><tr><td><a href=\"".get_bloginfo('wpurl')."/wp-admin/admin.php?page=WPRobot/wprobot.php&ps=1&done=1\">Next Page</a></td></tr></table>";
}else{
$m = $ps - 1;
$mm = $ps + 1;
echo "<table style=\"border: 0px; border-style: solid; \" style=\"font-family: verdana; font-size: 16px;\" border=\"0\" RULES=\"ALL\" FRAME=\"VOID\" cellpadding=\"6\" cellspacing=\"5\"><tr><td width=\"50%\"><a href=\"".get_bloginfo('wpurl')."/wp-admin/admin.php?page=WPRobot/wprobot.php&ps=".$m."&done=1\">Previous Page</a> |</td><td> <a href=\"".get_bloginfo('wpurl')."/wp-admin/admin.php?page=WPRobot/wprobot.php&ps=".$mm."&done=1\">Next Page</a></td></tr></table>";
}
?>
Step 3: Save and re-upload.
That should do it
Enjoy