[COMPLETED] Bot for changing WP footer info.
Started by seothtt, May 01 2012 04:09 PM
10 replies to this topic
#1
Posted 01 May 2012 - 04:09 PM
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
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
Thanks,
Richard
Richard
#2
Posted 01 May 2012 - 05:00 PM
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.
web code editor?
file saved on pc?
Let me know i think i can build this out for you pretty quickly.
#3
Posted 01 May 2012 - 05:04 PM
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
Unless you know of a better way, not sure if you can hit the DB directly and do it.
Richard
Thanks,
Richard
Richard
#4
Posted 01 May 2012 - 05:09 PM
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.
let me know what type of features,. you have.
#5
Posted 01 May 2012 - 05:24 PM
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
Richard
Thanks,
Richard
Richard
#6
Posted 01 May 2012 - 05:37 PM
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
Richard
Thanks,
Richard
Richard
#7
Posted 01 May 2012 - 07:32 PM
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 with
url,user,pass
then it loops through all of them.
meaning add list of sites comma delimited with
url,user,pass
then it loops through all of them.
- logs in
- navigates to the theme editor for the footer
- looks for the code in there now, and replaces with what you want to replace it with, saves
- then goes to the next site and repeats the process
#8
Posted 01 May 2012 - 07:40 PM
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
Richard
Thanks,
Richard
Richard
#9
Posted 01 May 2012 - 07:50 PM
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.
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.
#10
Posted 01 May 2012 - 07:58 PM
Cool, so how much and how do I pay?
Thanks,
Richard
Richard
#11
Posted 01 May 2012 - 08:36 PM
contact me on skype: emw-dgn
or private message me here, or email admin@botguru.net we can talk over the details..
TJ
or private message me here, or email admin@botguru.net we can talk over the details..
TJ
0 user(s) are reading this topic
0 members, 0 guests, 0 anonymous users













