We launched new forums in March 2019—join us there. In a hurry for help with your website? Get Help Now!
    • 42046
    • 436 Posts
    Has anyone implemented a support ticket system in MODX before?

    I'm looking at Tickets https://store.simpledream.ru/packages/users/tickets.html but it's really more for public discussions, so was playing around with combining it with Login/Personalize or something to limit a user to only viewing their own threads. The lack of English docs is also a barrier.

    I know there's ClickDesk Live Chat & Help Desk but it really has to be a free rather than subscription model.

    Just wondering if anyone has done such a solution before.
      • 3749
      • 24,544 Posts
      I haven't, but I wonder if a combination of Quip and MemberPages would do it (and maybe NewsPublisher).

      Users could create a new page with NewsPublisher to create the "ticket", you and the user could use Quip to communicate about the ticket, and you could use a fairly simple custom snippet or getResources to show the user links their own pages. The createdby field of the resources would be the User's ID, so the menu snippet could look something like this (the user would have to be logged in):

      $userId = $modx->user->get('id'); 
      $docs = $modx->getCollection('modResource', array('createdby' => $userId));
      $output = "\n<h2>Tickets</h2>\n";
      if (! empty ($docs)) {
         $output = "<ul>\n";
         foreach($docs as $doc) {
             $pagetitle = $doc->get('pagetitle);
             $url = $modx->makeUrl($doc->get('id'), "", "", "full");
             $output .= "\n" . '    <li><a href"' . $url . '">' . $pagetitle . '</a>';    
         }
          $output .= "\n</ul>\n";
      } else {
         return '<h3>No Tickets Found</h3>';
      }
        Did I help you? Buy me a beer
        Get my Book: MODX:The Official Guide
        MODX info for everyone: http://bobsguides.com/modx.html
        My MODX Extras
        Bob's Guides is now hosted at A2 MODX Hosting
        • 42046
        • 436 Posts
        Thanks for the idea Bob, I hadn't gotten around to MemberPages section in your book, that's going to be very useful for this site.

        Made some headway with the Russian Tickets extra. There is a user parameter which I can use as &user=`[[!+modx.user.id]]` to filter to the logged in user's threads only.
          • 17301
          • 932 Posts
          Hi Dan

          Did you have any progress with this? Would be interested to hear.

          Thanks
            ■ email: [email protected] | ■ website: https://alienbuild.uk

            The greatest compliment you can give back to us, is to spend a few seconds leaving a rating at our trustpilot: https://uk.trustpilot.com/review/alienbuild.uk about the service we provided. We always drop mention of services offered by businesses we've worked with in the past to those of interest.
            • 54142
            • 2 Posts
            *bump

            sorry for the dead-threat-retrieval, but anybody anything yet? smiley

            cheers