Jul 25

guide by Vladimir Boitchentsov, translated by Taras Filatov,
Injoit web developers team

When installing TDO Mini Forms (which is a Wordpress plugin allowing to make posts from post/page without having to log in to admin panel) on Wordpress MU the following error may occur:

Fatal error after activating TDO Mini Forms

There is not much info in internet regarding installing tdomf on WordPress MU (multiuser)!

Here is a short manual on this for you
1. In wp-config.php, in the end, add this:

include(getenv("DOCUMENT_ROOT")."/wp-content/plugins/tdo-mini-forms/tdomf.php");

2. In capabilities.php, in the end, add this:

include(getenv("DOCUMENT_ROOT")."/wp-includes/pluggable.php");

3. In tdomf.php, after string 463, add:

if ( !function_exists('tdomf_add_menus') ) {

and close this ‘if’ after the function, i.e. before:

////////////////////////////////// // Load the rest of the plugin! // //////////////////////////////////

4. After

///////////////////////// // Start/Init/Upgrade // ////////////////////////

you should write this:

if ( !function_exists('tdomf_init') ) {

this ‘if’ should be closed after the function, i.e. before the

tdomf_db_create_tables();

string.

5. In plugins/tdo-mini-forms/include/tdomf-form.php uncomment string 159 and in string 157 replace ‘draft’ with ‘publish’

Job done.


3 comments so far...

  • User links about "wordpressmu" on iLinkShare Said on April 2nd, 2009 at 20:03:

    [...] 29 days ago2 votes[Blogsfera] Localized Wordpress-Mu>> saved by rtk2106 32 days ago4 votesTDOMF plugin hack for WordPress MU>> saved by ParisHilton 33 days ago2 votesWordPress MU Aggregator Plugin>> saved by weasleytao 37 [...]

  • Johan Said on April 21st, 2009 at 10:12:

    Hi Thanks for this. I installed this plugin on mu wp 2.7.1 and all seemed to work well. I created a registration form. When I tested it I got a blank page on preview and when I post. When looking at the supposed post pages there’s nothing. I noticed in 5. that you suggest changes draft to publish. Will this procedure work for me as I have a contact/registration form?

    Regards

    Johan

  • mac wholesale Said on November 27th, 2009 at 7:54:

    This is really cool, and I cannot wait to try it. I will have to spread the word.

leave a reply