Hi all!
I've discovered something a bit weird today about the behaviour of template groups and loginshare, and I wondered if anyone else had experienced this or whether it was unique to me before I log a ticket.
So I am using OSCommerce loginshare. I have several template groups and user groups to define my customers and SLAs. I have some users that are set to a specific user group.
Here is what happens:
Without loginshare:
User group = goldsupport
Template group = gold
User logs in without loginshare by going to url: domain.com/index.php?group=silver
The silver template group is displayed, and the user group is set correctly to goldsupport when I check the staff admin area (meaning they still get the right SLA levels even if they get the wrong website stuff displayed).
With Loginshare:
User group = goldsupport
Template group = gold
User logs in with loginshare by going to url: domain.com/index.php?group=silver
The silver template group is displayed, but the user group has changed to silversupport when I check the user in staff admin area.
This is obviously disastrous, as it means if users go to the wrong template group it will reset their user group, meaning my carefully designed support contracts become a bit meaningless and some angry customers who get slow support after logging into our standard support plans when they should be on gold!
As I say, if I don't use loginshare at all, this all works fine. Going to the wrong template group does NOT change the user group info in the kayako db.
I have to use loginshare, though :-)
Any ideas?