Kayako logo
SupportSuite, eSupport and LiveResponse Discussion, troubleshooting and feedback related to Kayako's flagship support desk products SupportSuite, eSupport and LiveResponse.

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  (#1) Old
magna Offline
New Member
 
Posts: 12
Join Date: Jul 2005
Location: central florida
LoginShare with vBulletin DB Prefix - 01-03-2006, 07:46 AM

I am not sure if this was already asked and answered or even addressed? I am trying to get LoginShare to work with my vBulletin which is running 3.5 and I have assigned vB with a table prefix and your scripts seems to be calling on feild user. The questions is how can I modify it so it will read the prefix I can edit that one file but unsure how many times I need to add the prefix to?

Possible a future suggestions is that you write the table prefix variable in the script so when you set up LoginShare it will ask for a prefix and if left blank it would be blank?

Also while we are on the discussion of vBulletin has anyone look into intergrating this great Support System into it using there plugin system or atleast be able to use the same theme and login so do not have to retype the username and password? I am willing to help out on this if you would like to seek it further.


site / magnastudio.com /
   
Reply With Quote
  (#2) Old
magna Offline
New Member
 
Posts: 12
Join Date: Jul 2005
Location: central florida
02-03-2006, 03:09 PM

Any ideas on how to getting this work with vB Table Prefixs?


site / magnastudio.com /
   
Reply With Quote
  (#3) Old
Dark_Wizard Offline
New Member
 
Posts: 22
Join Date: Feb 2006
03-03-2006, 11:29 AM

Here is a quick fix for you until this is done properly...open in notepad \includes\LoginShare\vb.login.php and do the following:

Find this at line 17:
PHP Code:
if (!defined("INSWIFT")) { 
add this before it (edit it to reflect your table prefix):
PHP Code:
define('TABLE_PREFIX''vb_'); 
THen change this line:
PHP Code:
$_user $dbLoginShare->queryFetch("SELECT * FROM `user` WHERE `username` = '"$dbCore->escape($username) ."';"); 
to this:
PHP Code:
$_user $dbLoginShare->queryFetch("SELECT * FROM " TABLE_PREFIX "user AS user WHERE `username` = '"$dbCore->escape($username) ."';"); 
   
Reply With Quote
  (#4) Old
Dark_Wizard Offline
New Member
 
Posts: 22
Join Date: Feb 2006
04-03-2006, 02:16 PM

Varun,

If you need any assistance with vBulletin integration please let me know...
   
Reply With Quote
  (#5) Old
Varun Shoor Offline
Chief Executive Officer
 
Varun Shoor's Avatar
 
Posts: 2,829
Join Date: May 2003
04-03-2006, 02:20 PM

Hi,
The above fix should work fine, I will see if I can get the prefix added as an option under LoginShare page itself.

Regards,

Varun Shoor


Varun Shoor (varun.shoor ]at[ kayako.com)
----------------------------------------------------------------
---
   
Reply With Quote
  (#6) Old
Varun Shoor Offline
Chief Executive Officer
 
Varun Shoor's Avatar
 
Posts: 2,829
Join Date: May 2003
04-03-2006, 02:20 PM

UPDATE: The above code is actually incorrect, TABLE_PREFIX is reserved by SWIFT, You should define something like VB_TABLE_PREFIX and use that.

Regards,

Varun Shoor


Varun Shoor (varun.shoor ]at[ kayako.com)
----------------------------------------------------------------
---
   
Reply With Quote
  (#7) Old
magna Offline
New Member
 
Posts: 12
Join Date: Jul 2005
Location: central florida
04-03-2006, 04:37 PM

Okay thanks this is finally working although I with my username can not login as I am the SuperAdmin as well as the other admins couldn't login but I added them to the members usergroup and they are able to look into.

But this shouldn't be a usergroup limitation or atleast it seems to be because not all my admins have full access to other areas so they file tickets to others. It is resolved that is all I was concerned about other suggestions is to be able to register for the forum from the SupportSuite and to go from the forum login to supportsuite already login create a total smooth transition and seemly into one site. That is just a suggestion.

Thanks for all your help and I am not sure what everyone else is talking about the SupportSuite does more then I need and works for all my need currently - by the time you go gold I may use all the other features.


site / magnastudio.com /
   
Reply With Quote
  (#8) Old
magna Offline
New Member
 
Posts: 12
Join Date: Jul 2005
Location: central florida
04-03-2006, 04:46 PM

Disregruad the request for the registering for that can proabbly be done in the template by setting up a link to the register page but it would be good if you can move between the two systems without logining in again.


site / magnastudio.com /
   
Reply With Quote
  (#9) Old
Dark_Wizard Offline
New Member
 
Posts: 22
Join Date: Feb 2006
04-03-2006, 07:06 PM

Quote:
Originally Posted by magna
Disregruad the request for the registering for that can proabbly be done in the template by setting up a link to the register page but it would be good if you can move between the two systems without logining in again.
What version of vBulletin are you using?
   
Reply With Quote
  (#10) Old
Dark_Wizard Offline
New Member
 
Posts: 22
Join Date: Feb 2006
04-03-2006, 07:07 PM

Quote:
Originally Posted by Varun [K]
UPDATE: The above code is actually incorrect, TABLE_PREFIX is reserved by SWIFT, You should define something like VB_TABLE_PREFIX and use that.

Regards,

Varun Shoor
Glad you posted that as vBulletin uses it as well and I'm used to it since I do alot of custom coding for it....
   
Reply With Quote
  (#11) Old
magna Offline
New Member
 
Posts: 12
Join Date: Jul 2005
Location: central florida
04-03-2006, 07:23 PM

I am using vBulletin 3.5.4 - the only person that can't login is me the superadmin so it is fine but just letting you know incase it not fine with someone else. I do not need to login with my username because I have a admin user to check the tickets. But it would be cool if we could use our support username and login directly to the support center from the main window like everyone else.


site / magnastudio.com /
   
Reply With Quote
  (#12) Old
jwhysleep Offline
New Member
 
Posts: 4
Join Date: Jan 2006
15-08-2006, 11:40 AM

having this same problem but why is the vb.login.php encrypted!
   
Reply With Quote
  (#13) Old
jwhysleep Offline
New Member
 
Posts: 4
Join Date: Jan 2006
15-08-2006, 11:42 AM

Quote:
Originally Posted by Varun [K]
UPDATE: The above code is actually incorrect, TABLE_PREFIX is reserved by SWIFT, You should define something like VB_TABLE_PREFIX and use that.

Regards,

Varun Shoor
how to edit this swift file to change db prefixes
   
Reply With Quote
Reply

Tags
loginshare, prefix, vbulletin

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

Similar Threads
Thread Thread Starter Forum Replies Last Post
LoginShare Better LoginShare with vBulletin Triexa Think Tank 5 24-02-2008 04:54 AM
LoginShare - vBulletin? Triexa How do I? 5 19-09-2007 05:14 PM
vBulletin 3.5.x LoginShare improvement fyjpm SupportSuite, eSupport and LiveResponse 2 17-02-2006 06:39 AM



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


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