Jump to content


Photo

[COMPLETED] Bot for changing WP footer info.


  • Please log in to reply
10 replies to this topic

#1 seothtt

seothtt

    Advanced Member

  • UBot Users
  • PipPipPip
  • 144 posts
  • LocationOut searching for my mind.
  • OS:Windows 7
  • Total Memory:8Gb
  • Framework:v3.5
  • License:Standard

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
Thanks,
Richard

#2 LoWrIdErTJ - BotGuru

LoWrIdErTJ - BotGuru

    Botguru.net

  • Moderators
  • 3245 posts
  • LocationMichigan
  • OS:Windows 7
  • Total Memory:8Gb
  • Framework:v3.5 & v4.0
  • License:Dev

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 Automation Bots @ BotGuru.net Want a Custom bot? click here or Email me
rjr.jpg

botgurusecured-banner.png

 


#3 seothtt

seothtt

    Advanced Member

  • UBot Users
  • PipPipPip
  • 144 posts
  • LocationOut searching for my mind.
  • OS:Windows 7
  • Total Memory:8Gb
  • Framework:v3.5
  • License:Standard

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
Thanks,
Richard

#4 LoWrIdErTJ - BotGuru

LoWrIdErTJ - BotGuru

    Botguru.net

  • Moderators
  • 3245 posts
  • LocationMichigan
  • OS:Windows 7
  • Total Memory:8Gb
  • Framework:v3.5 & v4.0
  • License:Dev

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.

Web Automation Bots @ BotGuru.net Want a Custom bot? click here or Email me
rjr.jpg

botgurusecured-banner.png

 


#5 seothtt

seothtt

    Advanced Member

  • UBot Users
  • PipPipPip
  • 144 posts
  • LocationOut searching for my mind.
  • OS:Windows 7
  • Total Memory:8Gb
  • Framework:v3.5
  • License:Standard

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
Thanks,
Richard

#6 seothtt

seothtt

    Advanced Member

  • UBot Users
  • PipPipPip
  • 144 posts
  • LocationOut searching for my mind.
  • OS:Windows 7
  • Total Memory:8Gb
  • Framework:v3.5
  • License:Standard

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
Thanks,
Richard

#7 LoWrIdErTJ - BotGuru

LoWrIdErTJ - BotGuru

    Botguru.net

  • Moderators
  • 3245 posts
  • LocationMichigan
  • OS:Windows 7
  • Total Memory:8Gb
  • Framework:v3.5 & v4.0
  • License:Dev

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.
  • 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

Web Automation Bots @ BotGuru.net Want a Custom bot? click here or Email me
rjr.jpg

botgurusecured-banner.png

 


#8 seothtt

seothtt

    Advanced Member

  • UBot Users
  • PipPipPip
  • 144 posts
  • LocationOut searching for my mind.
  • OS:Windows 7
  • Total Memory:8Gb
  • Framework:v3.5
  • License:Standard

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
Thanks,
Richard

#9 LoWrIdErTJ - BotGuru

LoWrIdErTJ - BotGuru

    Botguru.net

  • Moderators
  • 3245 posts
  • LocationMichigan
  • OS:Windows 7
  • Total Memory:8Gb
  • Framework:v3.5 & v4.0
  • License:Dev

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.

Web Automation Bots @ BotGuru.net Want a Custom bot? click here or Email me
rjr.jpg

botgurusecured-banner.png

 


#10 seothtt

seothtt

    Advanced Member

  • UBot Users
  • PipPipPip
  • 144 posts
  • LocationOut searching for my mind.
  • OS:Windows 7
  • Total Memory:8Gb
  • Framework:v3.5
  • License:Standard

Posted 01 May 2012 - 07:58 PM

Cool, so how much and how do I pay?
Thanks,
Richard

#11 LoWrIdErTJ - BotGuru

LoWrIdErTJ - BotGuru

    Botguru.net

  • Moderators
  • 3245 posts
  • LocationMichigan
  • OS:Windows 7
  • Total Memory:8Gb
  • Framework:v3.5 & v4.0
  • License:Dev

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

Web Automation Bots @ BotGuru.net Want a Custom bot? click here or Email me
rjr.jpg

botgurusecured-banner.png

 





0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users