Wpmu

This page consists of attributes for our wpmu site. Some of them are specific to our host and school but mostly it will consist of data mined from the wordpress mu forum. REMEMBER - ANY CHANGES TO CODE WILL BE LOST DURING AN UPGRADE

**Wordpress mu requirements**
Below is found in upgrade_schema.php file
 * **Force approval of comments by blog owner**

Just open upgrade-schema.php (found in wp-admin) with a text editor and go to around line 293 and find the following: add_option('comment_registration', 0); Change the 0 to 1 like below: add_option('comment_registration', 1); Save the file. You may want to have a look around while you have the file open...there are a lot of other default settings you can change for newly created blogs as well.

http://howtomakeasitelike.livelyblog.com/howto-lists-all-latest-updated-blog-posts-on-the-front-page/ http://mu.wordpress.org/forums/topic.php?id=4935&page http://mu.wordpress.org/forums/topic.php?id=2105&page http://mu.wordpress.org/forums/topic.php?id=5963&page
 * **Premium services**
 * **Sign up approval by admin**
 * **hide delete my blogs button**
 * **comment tracking**
 * **homepage with latest comments and posts** - the first link is the best method and I have it sort of working on TEK. One of the issues is with themes; by applying a theme other than the default breaks it. The default theme uses the home.php. Applying other themes would require some jiggery pokery.

When changing the theme of the wpmu frontpage a copy of home.php must be placed in the theme folder
 * **add default categories see st john exemplar**
 * **ldap plugin to create blogs**
 * **Help forums in moodle**
 * **Bloggers code**
 * **limit file upload to 1mb in site admin** - options
 * **limit file types to jpg and png** done as above
 * **link to moodle forums**
 * **link to wiki**
 * **Youtube and animoto plugin**

Current issues:

 * When I create a new blog the owner can create more blogs. Need to customise the way new blogs are created.
 * Current e-mail is webmaster - does not exist, who is webmaster?

How to edit backend of individual blogs:

 * Site admin - blogs - edit

Multimedia hosting idea: Download youtube video and rehost it on our own servers in media folder.


 * Problem**: When I enable plugins in mu it enables them in other sites. I have a plugin which is supposed to control access to plugins. Maybe I have to activate plugins in mu options, then activated the ones I want then switch off the plugins so they can not be tampered with.

Possible solution: have premium sit with different restrictions etc, it is so easy to copy and move blogs.


 * Plugin bug**

Deactivating plugins causes a bug in the SQL table - site_meta. Need to drop the table in order to reactivate plugins. The table to drop is the one without any value.

Plugins used by [|St Johns] - http://suleiman.hadithuna.com/wpmu-plugins-hacks/ NOT A GOOD PLUGIN

http://wpmudev.org/project/List-All-Posts is the plugin to show multiple posts on front page.

Change unfiltered_html to edit_themes
 * Editing widgets - wp_includes, widgets.php. Default widgets are near the bottom of the page. Also need to change line 545 to avoid stripping html http://thainy.com/blog/2007/05/25/how-to-use-html-tag-and-script-in-wpmu-text-widget/

Change default blogroll to include Pimp My Blog - wp_includes - wpmu_functions - line 1345**