The MU forums have moved to WordPress.org

Add sql commands to update default install of blogs (4 posts)

  1. denzel2364
    Member
    Posted 15 years ago #

    Hi there,

    i wanted to amend the install (possibley sql file) when each user creates a blog to give them some extra default information.

    My main aim is to set up a gallery with an image eachtime a user registers.

    what files would i need to look at?

    regards

  2. DeannaS
    Member
    Posted 15 years ago #

    Don't modify the core files. Take a look at my plugin here:
    http://wordpress.org/extend/plugins/wpmu-new-blog-defaults/

    It doesn't do gallery stuff, but it should give you an idea of how to set up a plugin to do what you want.

    This one is a much simpler example (no admin interface - just modify the plugin code directly) that you could use as an example, too:
    http://wpmudevorg.wordpress.com/project/wpmu-blog-defaults

  3. denzel2364
    Member
    Posted 15 years ago #

    oohh looks fantastic.

  4. denzel2364
    Member
    Posted 15 years ago #

    Just a couple of additions, i think it would also help users who want this system for a CMS option is to add this:

    Front page displays:
    - "A static page (select below)"

    Otherwise, is it possible to have a static page on the front? Normally, i define a static page here in the reading settings and edit the php template page.

About this Topic

  • Started 15 years ago by denzel2364
  • Latest reply from denzel2364