The Arcive of vBulletin Modifications Site. |
|
Details »»
|
|||||||||||||||||||||||||
Update: Works for 2.2.2
This hack will allow you to put a login for your vB anywhere on your site, and then once the user logs in, they are returned to where they were. Requirements: Your entire site must be php, it determines its location (to return user) via php. If there is demand enough, I'll make it work with plain jane HTML. Show Your Support
|
|||||||||||||||||||||||||
| Comments |
|
#2
|
|||
|
|||
|
Hi,
I do not want to have a login on non-vB pages ... but I want to have the login thing on the forumdisplay template. So what do I have to change and tu put in when I want to do this? I would be really happy if you could do this with this hack .. |
|
#3
|
||||
|
||||
|
I'm surprised you don't have more feedback on this yet. This is exactly what I have been looking to implement on my site. Worked like a charm - thanks!
Chris |
|
#4
|
||||
|
||||
|
yup looks nice ill install in a bit
|
|
#5
|
||||
|
||||
|
Very nice "Snoozy", thnx
|
|
#6
|
||||
|
||||
|
what should i set the names for the "ogin, pass, and submit fileds to?
|
|
#7
|
||||
|
||||
|
They should be username and password.
|
|
#8
|
||||
|
||||
|
Can't find that in my member.php file
|
|
#9
|
||||
|
||||
|
This is what you can use for a HTML page, if your not phpized.
Code:
<br>
<div align="center">
<a href="http://forumspathgo'shere/register.php" target="_new">Sign Up!</a><br>
<br>
</div>
<form action="http://forumspathgo'shere/member.php" method="post" target="_new">
<input type="hidden" name="s" value="$session[sessionhash]">
<input type="hidden" name="action" value="login">
<table width="131" cellpadding="0" cellspacing="0" border="0">
<tr>
<div align="center">Username</td>
</div>
<tr>
<div align="center">
<input type="text" name="username" size="7" />
</div>
</tr>
<tr>
<div align="center">Password</div>
</tr>
<tr>
<div align="center">
<input type="password" name="password" size="7" />
</div>
</tr>
<tr>
<div align="center">
<br>
<input type="submit" value="Login!" />
</div>
</tr>
</table>
</form>
|
|
#10
|
|||
|
|||
|
-
|
![]() |
|
|