Support Tickets v2
[resolved] Using this plugin on multisite (6 posts)

  1. chibib0
    Posted 3 years ago #

    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) {

    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?


  2. chibib0
    Posted 3 years ago #

    I have solved my problem..

    Thank you and your version of the plugin rocks..

  3. chibib0
    Posted 3 years ago #

    The problem persist though I thought I already fixed it.. Please help.

  4. chibib0
    Posted 3 years ago #

    Sir.. Can you make multisite compatible?

    Thank you.

  5. kezakez
    Plugin Author

    Posted 3 years ago #

    Unfortunately I do not have a multi-site server to test on. Do you have a test server I can access?

  6. newburns
    Posted 3 years ago #

    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?

Topic Closed

This topic has been closed to new replies.

About this Plugin

  • Support Tickets v2
  • Frequently Asked Questions
  • Support Threads
  • Reviews

About this Topic


No tags yet.