Page 1 of 1
Multiple Company Support ?
Posted: Tue Oct 18, 2011 11:36 am
by tomt
Hi
I;ve just started looking at Hesk, is it possible to support multiple companies using this software ?
eg: I support clients for various dealers. Having one login point etc is fine. But if a dleaer logs in he will need to see only HIS clients and their tickets, No one else.
When I log in I want to see all clients and tickets..
Is this possible ?
Thanks
Re: Multiple Company Support ?
Posted: Tue Oct 18, 2011 3:00 pm
by Klemen
Maybe if you create a category for each dealer and when you create staff accounts for the dealers make sure they only have access to their category.
Hesk is free, so install and try if it will work for you

Re: Multiple Company Support ?
Posted: Thu Oct 20, 2011 7:30 am
by LTDurham
Is there a way to hide the catagory field from the customers and from the users who are restricted to one category?
We also support multiple dealers who need to see their customer's tickets, but we cannot let the customers see the list of dealers, nor the dealers see the list of dealers (catagories).
I was going to just add the dealer's email address but this has the dealer commenting on the case as the user if he replies, and also if you use multiple email addresses on a ticket, you must list them both to retrieve a case ID. (I think this may be a bug similar to the 'can't login if using multiple email addresses' one that was resolved already, but if this were resolved, it would be a usable workaround.)
Thanks,
LTD
Re: Multiple Company Support ?
Posted: Thu Oct 20, 2011 9:18 am
by Klemen
You need to understand that HESK was never designed for such a task, so hiding categories from others etc. is not built in. Your best bet would be to find a script that was designed for such a specific purpose.
As for the possible bug - could you let me know exactly how and where you are having problems with that? I tried listing with a single address on my test help desk and it seems to work fine?
Re: Multiple Company Support ?
Posted: Thu Oct 20, 2011 4:36 pm
by LTDurham
I apologize. I realize that this wasn't your intended use. Everything else I've tested and evaluated was absolute overkill in complexity and features, and hard for my dealers to even begin to use.
In regard to the possible bug, I have sent you a private email using the address from which you corresponded with me when I purchased my license a few months back. I set up an administrative user for you and gave you a link and all the details in that email.
Again, I apologize, I realize you have provided a GREAT product at extremely reasonable rates and do a fantastic job of responding to issues.
Thanks,
LTDurham
Re: Multiple Company Support ?
Posted: Fri Oct 21, 2011 9:26 am
by Klemen
Nothing to apologize for, I just wanted to make it clear that any "workarounds" I post here are merely messy hacks that might work or not for uses that HESK wasn't built for.
Will check the email, thanks!
Re: Multiple Company Support ?
Posted: Fri Oct 21, 2011 9:52 am
by Klemen
A bug indeed, thanks for the heads up.
To fix the bug download HESK again and upload file "index.php" to your help desk again (make sure you upload the correct one - the one in the main help desk folder, NOT the one inside "admin" folder!).
Altenratively, you can open file index.php and change
Code: Select all
$sql = 'SELECT * FROM `'.hesk_dbEscape($hesk_settings['db_pfix']).'tickets` WHERE `email` LIKE \''.hesk_dbEscape($email).'\'';
to
Code: Select all
if ($hesk_settings['multi_eml'])
{
$sql = 'SELECT * FROM `'.hesk_dbEscape($hesk_settings['db_pfix']).'tickets` WHERE `email` LIKE \''.hesk_dbEscape($email).'\' OR `email` LIKE \'%,'.hesk_dbEscape($email).'\' OR `email` LIKE \''.hesk_dbEscape($email).',%\' OR `email` LIKE \'%,'.hesk_dbEscape($email).',%\'';
}
else
{
$sql = 'SELECT * FROM `'.hesk_dbEscape($hesk_settings['db_pfix']).'tickets` WHERE `email` LIKE \''.hesk_dbEscape($email).'\'';
}