Using this plugin on multisite
-
I have successfully made this compatible with wordpress multisite by modifying a bit of how it install itself. Check the code below:
add_action( 'activate_' . SUPTIC_PLUGIN_BASENAME, 'activate_suptic' ); function activate_suptic() { global $wpdb; if (function_exists('is_multisite') && is_multisite()) { // check if it is a network activation - if so, run the activation function for each blog id if (isset($_GET['networkwide']) && ($_GET['networkwide'] == 1)) { $old_blog = $wpdb->blogid; // Get all blog ids $blogids = $wpdb->get_col($wpdb->prepare("SELECT blog_id FROM $wpdb->blogs")); foreach ($blogids as $blog_id) { switch_to_blog($blog_id); suptic_install(); } switch_to_blog($old_blog); return; } } suptic_install(); }
Everything works fine but not on the Ticket page wherein when I submit a reply to a ticket, it redirects to the submission form. The reply message is inserted in the database but on the ticket itself, its not showing unless when you re-login, the replied message now shows up. I tried cleaning my cache, disable cache plugin etc. Its just that, you need to re-login to view the replied message. What seems to be the problem?
https://www.ads-software.com/extend/plugins/support-tickets-v2/
Viewing 5 replies - 1 through 5 (of 5 total)
Viewing 5 replies - 1 through 5 (of 5 total)
- The topic ‘Using this plugin on multisite’ is closed to new replies.