Multiple Company Support ?

Helpdesk for my helpdesk software

Moderator: mkoch227

Post Reply
tomt
Posts: 1
Joined: Tue Oct 18, 2011 11:30 am

Multiple Company Support ?

Post 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
Klemen
Site Admin
Posts: 10145
Joined: Fri Feb 11, 2005 4:04 pm

Re: Multiple Company Support ?

Post 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 :wink:
Klemen, creator of HESK and PHPJunkyardWas this helpful? You can buy me a drink here Image

Image You should follow me on Twitter here

Help desk software | Cloud help desk | Guestbook | Link manager | Click counter | more PHP Scripts ...

Also browse for php hosting companies, read php books, find php resources and use webmaster tools
LTDurham
Posts: 2
Joined: Thu Oct 20, 2011 6:56 am

Re: Multiple Company Support ?

Post 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
Klemen
Site Admin
Posts: 10145
Joined: Fri Feb 11, 2005 4:04 pm

Re: Multiple Company Support ?

Post 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?
Klemen, creator of HESK and PHPJunkyardWas this helpful? You can buy me a drink here Image

Image You should follow me on Twitter here

Help desk software | Cloud help desk | Guestbook | Link manager | Click counter | more PHP Scripts ...

Also browse for php hosting companies, read php books, find php resources and use webmaster tools
LTDurham
Posts: 2
Joined: Thu Oct 20, 2011 6:56 am

Re: Multiple Company Support ?

Post 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
Klemen
Site Admin
Posts: 10145
Joined: Fri Feb 11, 2005 4:04 pm

Re: Multiple Company Support ?

Post 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!
Klemen, creator of HESK and PHPJunkyardWas this helpful? You can buy me a drink here Image

Image You should follow me on Twitter here

Help desk software | Cloud help desk | Guestbook | Link manager | Click counter | more PHP Scripts ...

Also browse for php hosting companies, read php books, find php resources and use webmaster tools
Klemen
Site Admin
Posts: 10145
Joined: Fri Feb 11, 2005 4:04 pm

Re: Multiple Company Support ?

Post 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).'\'';
}
Klemen, creator of HESK and PHPJunkyardWas this helpful? You can buy me a drink here Image

Image You should follow me on Twitter here

Help desk software | Cloud help desk | Guestbook | Link manager | Click counter | more PHP Scripts ...

Also browse for php hosting companies, read php books, find php resources and use webmaster tools
Post Reply