it should work without any hacking (so reinstall). if you change to global mode, you lose the events on subsites and keep the root blog events, from then on new events are created on that table (and shared on the event’s subsite and main site by default)
Hello Marcus,
Thanks for the reply. I uninstalled, reinstalled. Still after clicking Save all Changes the global table goes back to “no”. Even if I edit the options table in the database and set it to 1 instead of zero the checkbox still shows no.
Could it be some php setting? I can try to turn off all plugins also, but all other settings in the plugin can be turned on and off.
P.S. I use your event manager on 15 different sites, one of my favorite plugins, thank you for all the amazing work.
Would this issue have anything todo with not having a default wp_options table, only a wp_1_wp_options, wp_2_wp_options and so on?
that should be stored in the sitemeta tables i believe. have you tried it on another ms install?
15 sites, that’s a lot of event sites!
I think it might relate to the fact that I was on a WordPress MU before 3.0 upgrade, so my table structure is different? My sitemeta table only has information for the default main site, not any of the others.
all the dbem_ information is in each of the three option tables wp_1, 4 and 7.
Will keep digging and see if I can track down the issue.
The weirdest thing is even when I hard code it like Iused to before EM4…the plugin doesnt use the same event tables for all sites.
if( get_site_option(‘dbem_ms_global_table’) ){
$prefix = “wp_1_”;
}else{
$prefix = “wp_1_”;
}
newer versions probably won’t work on MU < 3.0 (and still, dbem_ tables are from < 2.x
Ok, for anyone else going form wordpress MU pre 3.0 to a wordpress 3.0 upgrade you can add three records to the wp_sitemeta table and it should work.
When I upgraded to EM 4.0 it added the records to the wp_1_options table instead of the default sitemeta table.
So go to the database and add these records below as the meta_key and the meta_value of 1.
dbem_ms_global_events
dbem_ms_global_events_links
dbem_ms_global_table
Cheers!