Kayako Logo
Developers & Code Interested in customizing your Kayako products? Discuss modifications and develop your own mods with the community.

Reply
 
LinkBack (5) Thread Tools Search this Thread Rate Thread Display Modes
  (#16) Old
Rodney B Offline
Member
 
Posts: 41
Join Date: Sep 2007

SupportSuite
Owned License
25-09-2007, 06:18 PM

Quote:
Originally Posted by craigbrass View Post
So you mean its just plain text passwords (ie examplepassword would be stored as examplepassword in the database)?
For now, yes, that's what it appears to be.

After reading a bit more, we'll probably need to change that ASAP. But in the mean time, I'd like to see if I can get the loginshare working with the current setup. Then I know it will be easy to get it working once we get the MD5 implemented.
   
Reply With Quote
  (#17) Old
craigbrass Offline
Senior Member
 
Posts: 5,063
Join Date: Jun 2005
Location: Cumbria, UK

SupportSuite
Owned License
26-09-2007, 10:36 AM

Try replacing $_user["password"] with md5($_user["password"])


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

Icon Headquarters - Its Elixir - Web2Messenger
   
Reply With Quote
  (#18) Old
Rodney B Offline
Member
 
Posts: 41
Join Date: Sep 2007

SupportSuite
Owned License
26-09-2007, 05:10 PM

Quote:
Originally Posted by craigbrass View Post
Try replacing $_user["password"] with md5($_user["password"])
That didn't seem to work. It still connects, but I get an invalid username/password error.

Here's what that section of the code looks like now:

PHP Code:
$userpassword md5($password);
    
    
$regpassword substr(buildHash(),0,8);

    if (
md5($_user["password"]) == $userpassword && !empty($_user["Password"])) 
   
Reply With Quote
  (#19) Old
Rodney B Offline
Member
 
Posts: 41
Join Date: Sep 2007

SupportSuite
Owned License
28-09-2007, 02:34 AM

anybody have any ideas?
   
Reply With Quote
  (#20) Old
mopa Offline
Member
 
mopa's Avatar
 
Posts: 133
Join Date: May 2007
Location: Denmark

eSupport
Owned License
29-10-2007, 01:56 PM

Do you know if it is possible to integrate this with a MS SQL Server 2005?


Kayako: 3.11.01 | PHP: 5.2.3 | MySQL: 5.0.41 | Windows 2003 Server
   
Reply With Quote
  (#21) Old
craigbrass Offline
Senior Member
 
Posts: 5,063
Join Date: Jun 2005
Location: Cumbria, UK

SupportSuite
Owned License
29-10-2007, 02:39 PM

Yep. See Microsoft SQL and LoginShare for more details.


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

Icon Headquarters - Its Elixir - Web2Messenger
   
Reply With Quote
  (#22) Old
gauravdc Offline
New Member
 
Posts: 5
Join Date: Dec 2006

21-12-2007, 10:59 AM

Thanks craig....just finished integrating the system with my website

Your instructions were great!

Thanks again!
   
Reply With Quote
  (#23) Old
craigbrass Offline
Senior Member
 
Posts: 5,063
Join Date: Jun 2005
Location: Cumbria, UK

SupportSuite
Owned License
21-12-2007, 12:34 PM

Your welcome. Glad I could be of assistance.


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

Icon Headquarters - Its Elixir - Web2Messenger
   
Reply With Quote
  (#24) Old
kingele18 Offline
New Member
 
Posts: 2
Join Date: Mar 2008

Help requst - 19-03-2008, 07:04 PM

Hello!

I try to integrate with another supportsuite version on a localhost , so i can't do it becuse of the table " users" doesn't contain the emails...

so i need your help craig

sorry for my bad english

waiting for your reply
   
Reply With Quote
  (#25) Old
craigbrass Offline
Senior Member
 
Posts: 5,063
Join Date: Jun 2005
Location: Cumbria, UK

SupportSuite
Owned License
19-03-2008, 07:28 PM

So what you are saying is one table contains usernames and passwords but another table contains email addresses?


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

Icon Headquarters - Its Elixir - Web2Messenger
   
Reply With Quote
  (#26) Old
kingele18 Offline
New Member
 
Posts: 2
Join Date: Mar 2008

20-03-2008, 03:59 AM

Quote:
Originally Posted by craigbrass View Post
4. Find the following line (2 lines down from the one in step 3) :-
Code:
$_user = $dbLoginShare->queryFetch("SELECT * FROM `". $_loginshare["vcdbprefix"] ."customers` WHERE `email` = '". $dbCore->escape($username) ."';");
and change "vc" to the initial you changed to in step 3. Also, change customers to the name of the table after the table prefix.
("SELECT * FROM `". $_loginshare["vcdbprefix"] ."customers` WHERE `email`
i mean this query , i think it's for getting the user who is using email....

in the supportsuite users table , there is no email ....

i wish you understood what i mean
   
Reply With Quote
  (#27) Old
craigbrass Offline
Senior Member
 
Posts: 5,063
Join Date: Jun 2005
Location: Cumbria, UK

SupportSuite
Owned License
20-03-2008, 10:23 AM

I think your totally missing the point of a LoginShare. It connects to a 3rd party script database (such as phpBB, vBulletin, etc) so users can login with the same details.

You don't need to worry about SupportSuite's database.


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

Icon Headquarters - Its Elixir - Web2Messenger
   
Reply With Quote
  (#28) Old
Xav Offline
New Member
 
Posts: 6
Join Date: Mar 2008

eSupport
Owned License
20-03-2008, 11:56 AM

There are one thing or two I don't understand with loginshare...

Ok, I read and did all steps described in this topic. Now, do I need to modify something in my 3rd party app?

In my case, it is a simple login form in other part on my website. What could I do now?

TIA
   
Reply With Quote
  (#29) Old
craigbrass Offline
Senior Member
 
Posts: 5,063
Join Date: Jun 2005
Location: Cumbria, UK

SupportSuite
Owned License
20-03-2008, 12:56 PM

You don't need to modify the 3rd party app. You just connect to it by creating a LoginShare.


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

Icon Headquarters - Its Elixir - Web2Messenger
   
Reply With Quote
  (#30) Old
Xav Offline
New Member
 
Posts: 6
Join Date: Mar 2008

eSupport
Owned License
20-03-2008, 02:53 PM

Hello craigbrass,

Sorry but I'm missing something. How to pass the session to eSupport to launch functions contained in the xxx.login.php and check if the user exists...

   
Reply With Quote
Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes Rate This Thread
Rate This Thread:

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

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

LinkBacks (?)
LinkBack to this Thread: http://forums.kayako.com/f48/creating-loginshare-12857/
Posted By For Type Date
WHMCS and Kayako - Web Hosting Talk - The largest, most influential web hosting community on the Internet This thread Refback 05-02-2008 07:41 AM
Kayako eSupport » Support desk software (ticket, e-mail, self-help) This thread Refback 19-12-2007 10:25 AM
Kayako SupportSuite » Support desk software (ticket, e-mail, live chat, self-help) This thread Refback 16-12-2007 03:00 PM
Kayako LiveResponse » Live chat and support desk software (live chat, self-help) This thread Refback 16-12-2007 12:43 PM
Kayako eSupport » Support desk software (ticket, e-mail, self-help) This thread Refback 16-12-2007 04:54 AM

Similar Threads
Thread Thread Starter Forum Replies Last Post
Error Creating Tables Danym SupportSuite, eSupport and LiveResponse 1 03-11-2006 11:22 AM



Powered by vBulletin® Version 3.6.8
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
LinkBacks Enabled by vBSEO 3.1.0

Kayako provides online help desk software and support solutions; enabling companies to improve their support and reduce costs.

Our three main products include: SupportSuite, eSupport and LiveResponse



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