Title: Using this plugin on multisite
Last modified: August 20, 2016

---

# Using this plugin on multisite

 *  Resolved [chibib0](https://wordpress.org/support/users/chibib0/)
 * (@chibib0)
 * [13 years, 7 months ago](https://wordpress.org/support/topic/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?
 * [http://wordpress.org/extend/plugins/support-tickets-v2/](http://wordpress.org/extend/plugins/support-tickets-v2/)

Viewing 5 replies - 1 through 5 (of 5 total)

 *  Thread Starter [chibib0](https://wordpress.org/support/users/chibib0/)
 * (@chibib0)
 * [13 years, 7 months ago](https://wordpress.org/support/topic/using-this-plugin-on-multisite/#post-3131525)
 * I have solved my problem..
 * Thank you and your version of the plugin rocks..
 *  Thread Starter [chibib0](https://wordpress.org/support/users/chibib0/)
 * (@chibib0)
 * [13 years, 7 months ago](https://wordpress.org/support/topic/using-this-plugin-on-multisite/#post-3131526)
 * The problem persist though I thought I already fixed it.. Please help.
 *  Thread Starter [chibib0](https://wordpress.org/support/users/chibib0/)
 * (@chibib0)
 * [13 years, 7 months ago](https://wordpress.org/support/topic/using-this-plugin-on-multisite/#post-3131533)
 * Sir.. Can you make multisite compatible?
 * Thank you.
 *  Plugin Author [kezakez](https://wordpress.org/support/users/kezakez/)
 * (@kezakez)
 * [13 years, 5 months ago](https://wordpress.org/support/topic/using-this-plugin-on-multisite/#post-3131568)
 * Unfortunately I do not have a multi-site server to test on. Do you have a test
   server I can access?
 *  [newburns](https://wordpress.org/support/users/newburns/)
 * (@newburns)
 * [13 years ago](https://wordpress.org/support/topic/using-this-plugin-on-multisite/#post-3131577)
 * What do you mean access?
    I can set up a test site with some FTP access, but 
   I will have to limit you when it comes to the MySQL access. That would have to
   remain local. Is that good enough to get multisite support tested?

Viewing 5 replies - 1 through 5 (of 5 total)

The topic ‘Using this plugin on multisite’ is closed to new replies.

 * ![](https://s.w.org/plugins/geopattern-icon/support-tickets-v2.svg)
 * [Support Tickets v2](https://wordpress.org/plugins/support-tickets-v2/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/support-tickets-v2/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/support-tickets-v2/)
 * [Active Topics](https://wordpress.org/support/plugin/support-tickets-v2/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/support-tickets-v2/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/support-tickets-v2/reviews/)

 * 5 replies
 * 3 participants
 * Last reply from: [newburns](https://wordpress.org/support/users/newburns/)
 * Last activity: [13 years ago](https://wordpress.org/support/topic/using-this-plugin-on-multisite/#post-3131577)
 * Status: resolved