Register Members List Search Today's Posts Mark Forums Read

Reply
 
Thread Tools
  #1  
Old 21 Jul 2008, 23:04
Kaitlyn2004 Kaitlyn2004 is offline
 
Join Date: Jul 2006
Problem with external login

I have my own user database and "log" them into vBulletin by inserting them into session and setting cookies accordingly (sessionhash, lastactivity, lastvisit, and userid/password if they have "remember me")

This all seems to work fine.. I can get to the forums, shows I am logged in, I can view member-only forums, can post... BUT when the post is displayed, it has the correct username but indicates they are a guest.

Where am I going wrong with this? Obviously it should not show that they were a guest that posted...
Reply With Quote
  #2  
Old 22 Jul 2008, 09:01
Dismounted's Avatar
Dismounted Dismounted is offline
 
Join Date: Jun 2005
Real name: Hanson
Are you sure it only happens when they log in from the external authentication?
__________________
Former vBulletin.org Staff Member

View My Modifications
29 Releases and Counting... Latest Modification: dmActivityStream - vBookie Integration (4.x)

Please do not PM me to ask for support - please use the relevant thread or forum.
Reply With Quote
  #3  
Old 23 Jul 2008, 08:43
SLR722 SLR722 is offline
 
Join Date: Jul 2008
Hello

How do I include an external login on the non vB-pages. Would I have to just send and post the data through HTML or do I need to call PHP to get the md5 sums and hidden form data sent along too..
Reply With Quote
  #4  
Old 23 Jul 2008, 11:52
Dismounted's Avatar
Dismounted Dismounted is offline
 
Join Date: Jun 2005
Real name: Hanson
Just copy the login form from the navbar into your HTML file. Nothing is needed to be done unless you are bridging two systems.
__________________
Former vBulletin.org Staff Member

View My Modifications
29 Releases and Counting... Latest Modification: dmActivityStream - vBookie Integration (4.x)

Please do not PM me to ask for support - please use the relevant thread or forum.
Reply With Quote
  #5  
Old 23 Jul 2008, 19:22
SLR722 SLR722 is offline
 
Join Date: Jul 2008
Will nonvb.html submit the data using the md5 hash via client JavaScript and will it return back to nonvb.html with Login information? Can I call anything on that page so load external Private Messages feeds or Your Subscriptions list using this? Would I have to call it and how?
Reply With Quote
  #6  
Old 24 Jul 2008, 09:53
Dismounted's Avatar
Dismounted Dismounted is offline
 
Join Date: Jun 2005
Real name: Hanson
Originally Posted by SLR722 View Post
Will nonvb.html submit the data using the md5 hash via client JavaScript
Yes, if you are using the navbar's code.
Originally Posted by SLR722 View Post
will it return back to nonvb.html with Login information?
Don't know what you're saying there.
Originally Posted by SLR722 View Post
Can I call anything on that page so load external Private Messages feeds or Your Subscriptions list using this? Would I have to call it and how?
No. You will have to include global.php to fetch that data.
__________________
Former vBulletin.org Staff Member

View My Modifications
29 Releases and Counting... Latest Modification: dmActivityStream - vBookie Integration (4.x)

Please do not PM me to ask for support - please use the relevant thread or forum.
Reply With Quote
Reply



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

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


New To Site? Need Help?

All times are GMT. The time now is 00:22.

Layout Options | Width: Wide Color: