Register Members List Search Today's Posts Mark Forums Read

Reply
 
Mod Options
Force vB login when user logs into your custom auth system Details »
Force vB login when user logs into your custom auth system
Mod Version: 1.00, by f1vlad (Member) f1vlad is offline
Developer Last Online: Apr 2013 I like it Show Printable Version Email this Page

This modification is in the archives.
vB Version: 3.0.14 Rating: (0 vote - 0 average) Installs: 2
Released: 21 Jun 2006 Last Update: Never Downloads: 39
Not Supported  

(note this is a follow up to what started this duscussion at http://www.vbulletin.org/forum/showthread.php?t=108559)

My script forces vB login in a following manner:



[Step #1]
One way synchronize users from my custom built password-protected system into vBulletin. This means that I do not allow any registrations on vB. Users register on my own customized system. Then on first login, vB user is automatically created. On following logins, if user already exists, my script simply updated vB user table off of my user table.

Note #1: this scenario presumes that usernames and passwords on your system and on vB are ideantical.
Note #2: 'salt' for password encryption is not used, i.e. it's an empty string.

[Step #2]
I used vB login script to create somewhat of a hybrid of mine. This script is available for your use at your own risk [script attached]

Basically, you are blindly assigning cookies and session upon successful login.



Hope this helps to someone, it did help me a great deal as well as my audience. Before, many folks refused to enter username/password twice, not to mention registering twice.

Update: tested with Pro@vbulletin.org on his vBulletin v. 3.5, and concluded that it won't work well with that. Session table requires some more information.

Download Now

Only licensed members can download files, Click Here for more information.

Show Your Support

  • To receive notifications regarding updates -> Click to Mark as Installed.
  • This modification may not be copied, reproduced or published elsewhere without author's permission.
Comments
  #2  
Old 27 Apr 2007, 23:06
SirSteve SirSteve is offline
 
Join Date: Oct 2001
Did this ever work out?
Reply With Quote
  #3  
Old 28 Apr 2007, 00:48
f1vlad's Avatar
f1vlad f1vlad is offline
 
Join Date: Apr 2005
It did and still is working on my vB 3.0.7. I have worked with a couple of guys who have 3.5 and the change made in authentication process of 3.5 doesn't allow me to force login my way. I hope someone else manages to figure newer versions as I am running some newer forums and would like to have it.
Reply With Quote
Reply


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Mod Options

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
Forum Jump


New To Site? Need Help?

All times are GMT. The time now is 15:44.

Layout Options | Width: Wide Color: