The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#1
|
|||
|
|||
![]()
Hello,
I am trying to redirect ppl who fills the login information; <input type="hidden" name="url" value="member.php?u=$bbuserinfo[userid]" /> But it gets the userid=0 all the time, can i fix that? or can i read the username entry from the login form and redirect to www.xxxx.com/[username entered in the form] Another question is, I want to redirect a page when it detects a loggedin user is viewing it. It will check if the user is logged in, if so it will redirect to another page.. |
#2
|
|||
|
|||
![]()
Where do you put that code?
|
#3
|
|||
|
|||
![]() Quote:
Also i wonder if i can redirect a page in vbulletin when it detects a logged in user. For example there is a welcome page with login box but if you are already logged in, you will be redirected to forum.php.. I hope its more clear now:S |
#4
|
|||
|
|||
![]()
you can't have the userid until the user is logged-in, so having this hidden tag inside the login form will mean nothing...
the only thing you can do it having a javascript that grab the username the user enter in the form to be duplicate in the url tag... but i'm not good at javascripts.. ![]() |
#5
|
|||
|
|||
![]()
thanks for the reply,, i think ur right
![]() anybody knows how to solve that? |
![]() |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|