Kayako logo
Comments, Questions & Feedback Non product related discussion, feedback and questions about Kayako.

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  (#1) Old
Thijs Offline
Member
 
Posts: 253
Join Date: Jan 2007
What script-part is used when NO loginshare is used ? - 26-04-2007, 03:43 PM

HI,

I'm figuring out which part of the code is used to login when no LoginShare is set.

Is this loginshare.php or somewhere else in the code ?

Cheers,

Thijs
   
Reply With Quote
  (#2) Old
craigbrass Offline
Senior Member
 
Posts: 5,765
Join Date: Jun 2005
Location: Cumbria, UK
26-04-2007, 04:39 PM

The way it works is :-
1. Kayako checks to see if LoginShare is active for that template group. If it isn't, load users directly from the DB. If it is, move to step 2.
2. Find out which LoginShare is used. At this point, it looks up loginshare.config.php, loginshare.php and the LoginShare file for the particular piece of software.
3. If it can access the DB ok, pull the user's details out of the 3rd party software DB. At this point, the details are sent back to the main system login file ready for actually allowing the user in.

Hope this helps you.


Craig Brass - Kayako Forum Squatter (Note: I am NOT a staff member)

Icon Headquarters - Its Elixir - Web2Messenger
   
Reply With Quote
  (#3) Old
Thijs Offline
Member
 
Posts: 253
Join Date: Jan 2007
26-04-2007, 07:13 PM

Hi Graig,

Yes, this is very right what you say.

But do you know what part is used when there is no LoginShare set ?

Cheers,

Thijs
   
Reply With Quote
  (#4) Old
craigbrass Offline
Senior Member
 
Posts: 5,765
Join Date: Jun 2005
Location: Cumbria, UK
26-04-2007, 07:18 PM

Oh right. Misread. includes/functions_users.php is what you need I think. It is the part that calls the LoginShare should it be needed.


Craig Brass - Kayako Forum Squatter (Note: I am NOT a staff member)

Icon Headquarters - Its Elixir - Web2Messenger
   
Reply With Quote
  (#5) Old
Jamie Edwards Offline
Operations Manager
 
Jamie Edwards's Avatar
 
Posts: 5,458
Join Date: Jan 2006
Location: United Kingdom
26-04-2007, 07:19 PM

It is not possible to not set a LoginShare, in effect. The "default" or standard LoginShare module is in fact SupportSuite's own. Where this code is, I am unsure. You could submit a support ticket for the attention of a developer. however.


Jamie Edwards (jamie.edwards ]at[ kayako.com)
----------------------------------------------------------------
---
   
Reply With Quote
  (#6) Old
craigbrass Offline
Senior Member
 
Posts: 5,765
Join Date: Jun 2005
Location: Cumbria, UK
26-04-2007, 08:35 PM

That functions_users.php handles it. It checks to see if a LoginShare is needed. If so, redirect to LoginShare files, if not use the code within that file to log the user in using Kayako's own database.


Craig Brass - Kayako Forum Squatter (Note: I am NOT a staff member)

Icon Headquarters - Its Elixir - Web2Messenger
   
Reply With Quote
  (#7) Old
Thijs Offline
Member
 
Posts: 253
Join Date: Jan 2007
26-04-2007, 08:46 PM

OK, let me check that one. I have seen some other nice parts there.

If someone has some more info, always welcome !

Thanks guys !
   
Reply With Quote
  (#8) Old
Thijs Offline
Member
 
Posts: 253
Join Date: Jan 2007
27-04-2007, 09:22 AM

It seems that this is not done in the functions_user.php

I have checked some other ones, I think I will make a ticket about it.
   
Reply With Quote
Reply

Tags
loginshare, scriptpart

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On



Powered by vBulletin® Version 3.7.2
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Search Engine Optimization by vBSEO 3.2.0


1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47