Jump to content

[FIXED] Linking directly to a support department can redirect unintuitively


Recommended Posts

Steps to reproduce:

 

Admin Configuration

- Create a support department

- Check the option to only allow registered clients to open tickets

- Link directly to the support department somewhere on your website

 

https://mywebsite.com/whmcs/submitticket.php?step=2&deptid=2

 

Client Steps

- The client visits your site and clicks on the link to contact support

- Since the client is currently not logged in, it takes them to the department selection page. The department selection page only shows remaining departments (not the one they wanted to contact). Not only is the client misdirected, but they're sent to a page that doesn't help them.

 

Expected Behaviour

When clicking on the direct link to visit the support ticket creation form, it should check if the client is logged in and, if the option to only allow registered clients to open tickets is enabled, redirect the client to the login page. Once logged in it would direct the client back to the support ticket creation form (I already have my login tpl set to redirect to referrer) so they can continue with their intended support ticket creation.

 

In order to allow direct linking to the support department's ticket creation form, I have disabled the option to require only registered clients to open tickets. This certainly works, but is not optimal.

 

Let me know if anything is vague.

 

Cheers,

 

Jordan

Link to comment
Share on other sites

  • 3 weeks later...

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use & Guidelines and understand your posts will initially be pre-moderated