1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

[GET] iMacros Script - Automatically Login To WP Multisite Blogs and Select A Free Theme

Discussion in 'Blogging' started by RedWerewolf, Nov 16, 2015.

  1. RedWerewolf

    RedWerewolf Newbie

    Joined:
    Sep 27, 2015
    Messages:
    22
    Likes Received:
    2
    I searched to find a bot to do this for me, but nothing turned up, so I made a simple iMacros script to basically login to any free Wordpress blog (should work with most other WP multisite blogs too), and select one of the FREE themes in the list.

    I made this because manually logging in and scrolling through all the premium themes just to find a random free one was annoying me.

    Here it is (modify it with your own details obviously, and edit the stuff around YOURBLOGURL to be an actual URL because I'm not allowed to post links, lol):

    Code:
    URL GOTO=YOURBLOGURL | wp-admin | themes.php 
    WAIT SECONDS=5
    TAG POS=1 TYPE=INPUT:TEXT FORM=NAME:loginform ATTR=NAME:log CONTENT=YOURUSERNAME
    SET !ENCRYPTION NO
    TAG POS=1 TYPE=INPUT:PASSWORD FORM=NAME:loginform ATTR=NAME:pwd CONTENT=YOURPASSWORD
    WAIT SECONDS=5
    TAG POS=1 TYPE=INPUT:SUBMIT FORM=NAME:loginform ATTR=NAME:wp-submit&&VALUE:Log<SP>In
    WAIT SECONDS=5
    TAG POS=1 TYPE=A ATTR=TXT:Activate
    
    Change the number in the last line to tell it which theme to choose, 1 = the first free one in the list, 2=2nd, etc.
    TAG POS=1 TYPE=A ATTR=TXT:Activate

    You could probably make this more complicated and get all the login details from a .csv to make it edit a whole bunch of blogs at once, or something.

    PS: It took me like a million attempts to get the moderation filter to actually let me post this, lol.
     
  2. blogzandstuff

    blogzandstuff Elite Member

    Joined:
    Jan 1, 2015
    Messages:
    5,173
    Likes Received:
    2,389
    Occupation:
    blog creator
    Location:
    UK
    don't understand why you would need that, maybe you created and solved a problem that didn't exist in the first place
     
  3. Mashuu

    Mashuu Newbie

    Joined:
    Sep 16, 2010
    Messages:
    8
    Likes Received:
    2
    Yeah, this isn't useful at all, because it's just 2 clicks, done in 5 seconds, why do you need macro for that?