switch_to_blog question

Inactive
  • 116 points
    Serious WPMU DEV-ster
    I'm new here
    btray77

    Member  —  7th September 2009 (2 years ago)         

    I've been working with XMLRPC and http://wpmudev.org/project/xmlrpc-Addons
    and I've got a plugin (wp-e-commerce) set to autoinstall for every blog created.

    My problem is it doesn't create the database files until you log into the admin panel. Is there an easy way to programically mimic login into the admin panel?

    I've tried switch_to_blog($blogid); and it does not work.

    Any help would be appreciated.

    Thanks

    -Brad