WordPress MU Question

Discussion in 'Blogging' started by projext, Mar 3, 2009.

  1. projext

    projext Regular Member

    Joined:
    Jan 23, 2009
    Messages:
    245
    Likes Received:
    56
    Occupation:
    Freelance SEO Consultant and average internet mark
    Location:
    Manchester, Uk
    All,

    Couple of questions...

    1) Anyway I can activate plugins automatically when a new blog is created?

    2) Anyway I can assign a random theme to the new blog (obviously from the ones on the folder)

    Any help would be appreciated...thanks
     
  2. affdba1

    affdba1 BANNED BANNED

    Joined:
    Jul 22, 2008
    Messages:
    8
    Likes Received:
    1
    Use the plugin commander plugin:
    h**p://wpmudev.org/project/Plugin-Commander
     
  3. affdba1

    affdba1 BANNED BANNED

    Joined:
    Jul 22, 2008
    Messages:
    8
    Likes Received:
    1
    To edit your template settings, update your wp_x_posts table and set the relevant (random) value for 'template' and 'stylesheet'.
    Example:
    update wp_1_posts set option_value = 'home' where option_name = 'template';
    update wp_1_posts set option_value = 'home' where option_name = 'stylesheet';
    Haven't tested this myself, but it's a start.
     
  4. cooooookies

    cooooookies Senior Member

    Joined:
    Oct 6, 2008
    Messages:
    1,028
    Likes Received:
    218
    Yes, you can do both very elegantly with xmlrpc. Check the xmlrpc interface of wordpress (it is setoptions or so, don't remember) and write some lines of code.