![]() |
vBulletin Login Page on Site?
Heres what I am trying to do, I have a site and a forum. I put a login page on the site for the forum. However when I login, I get sent to the forum page and it says login successful, then afterwards I get sent back to same login page on my site. Instead of it being sent to the login page on my site, I want the login page to display Welcome $username, and give them links to update their profile, change password, etc.
I am using the login code here - http://www.vbulletin.com/forum/showt...ng-In&p=720724, later in the thread a user describes a similar problem. |
Just to make sure I follow - you want it to go to the forum home page after logging in, just like you had logged in normally?
I'm not sure, but try this: it looks like if you're coming from somewhere "unusual" then it uses $_REQUEST['url'] as the place to redirect, so on the form submission url (which I guess ends in login.php?do=login now), try adding "&url=" and then the url you want it to go to. |
Heres an example on my site below.
Code:
http://www.limitedition.org |
Well, I'm not doing too well lately - not only did I misundertsand what you wanted but I obviously didn't fully understand the code. But I did try putting this html file on my local machine:
Code:
<html><body> Anyone else? |
Heres a copy of that form in its full.
Code:
<form action="forums/login.php" method="post" onSubmit="md5hash(vb_login_password,vb_login_md5password,vb_login_md5password_utf)"> |
Oh, now I've got you - sorry I'm so slow. I guess what threw me is that I assumed your main page is a static HTML page so of course it's not going to change (but probably that's the whole point of your question).
Anyone else? |
Quote:
|
All times are GMT. The time now is 12:58 PM. |
Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|