seothtt 1 Posted May 1, 2012 Report Share Posted May 1, 2012 Built by: LoWrIdErTJ - BotGuru I need a bot that I can give a list of WordPress sites, username/password, and some code. Right now I have statcounter code in the footer, I want to pull the code out and put piwik code in. The Statcounter code starts and ends with:<!-- Start of StatCounter Code for Default Guide --><!-- End of StatCounter Code for Default Guide --> So those two lines and all the code in between will need to be removed and the piwik code put in. Thanks, Richard Quote Link to post Share on other sites
LoWrIdErTJ - BotGuru 904 Posted May 2, 2012 Report Share Posted May 2, 2012 where and how do you want to change the file itself? web code editor?file saved on pc? Let me know i think i can build this out for you pretty quickly. Quote Link to post Share on other sites
seothtt 1 Posted May 2, 2012 Author Report Share Posted May 2, 2012 I don't have the files on my pc so it would have to be in the WP editor. So it would have to log into the wp site, navigate to the footer, find the code and change it. Unless you know of a better way, not sure if you can hit the DB directly and do it. Richard Quote Link to post Share on other sites
LoWrIdErTJ - BotGuru 904 Posted May 2, 2012 Report Share Posted May 2, 2012 with ubot its about using files on the pc and manipulating them, or can navigate to a page and select what type of page to change. and update it from there. let me know what type of features,. you have. Quote Link to post Share on other sites
seothtt 1 Posted May 2, 2012 Author Report Share Posted May 2, 2012 well what i have it 300+ wordpress sites that need to be changed. It would be easiest for me, if the script can log into WP, navigate to the footer and change the code. If it can't then I'll need two bots, one to go through FTP and pull down all the footer.php pages and one to update them. Richard Quote Link to post Share on other sites
seothtt 1 Posted May 2, 2012 Author Report Share Posted May 2, 2012 WP has a built in editor, so if the bot can log into wp-admin, click on Apperance, Click on Editor, click on Footer, then change the code in the footer, then click update and logout, then go to the next site and repeat. Richard Quote Link to post Share on other sites
LoWrIdErTJ - BotGuru 904 Posted May 2, 2012 Report Share Posted May 2, 2012 if you can alter the code in wordpress then it can all be done in 1 ubot bot. meaning add list of sites comma delimited withurl,user,pass then it loops through all of them. logs innavigates to the theme editor for the footerlooks for the code in there now, and replaces with what you want to replace it with, savesthen goes to the next site and repeats the process Quote Link to post Share on other sites
seothtt 1 Posted May 2, 2012 Author Report Share Posted May 2, 2012 Will it need to replace all of the code in the whole footer.php or can if find the tracking code that needs to be replaced and replace it? Richard Quote Link to post Share on other sites
LoWrIdErTJ - BotGuru 904 Posted May 2, 2012 Report Share Posted May 2, 2012 it would replace the tracking code alone. The bot would scrape the entire footer text to a variable, look for the code area with its defined tags, then replace only the defined area with the new code you want to place there, then place that text back into the editor, and save it. Quote Link to post Share on other sites
seothtt 1 Posted May 2, 2012 Author Report Share Posted May 2, 2012 Cool, so how much and how do I pay? Quote Link to post Share on other sites
LoWrIdErTJ - BotGuru 904 Posted May 2, 2012 Report Share Posted May 2, 2012 contact me on skype: emw-dgnor private message me here, or email admin@botguru.net we can talk over the details.. TJ Quote Link to post Share on other sites
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.