The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#1
|
||||
|
||||
Lost password link.
Hello,
I've added a lost password link in the header template, near the logo <center> <b><a href ="http://forums.totalwar.org/vb/login.php?do=lostpw">Lost/reset password.</a></b></center>. But it's ugly. I like to move it to the userbar unregistered visitors see or here If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below. Or maybe eveven more convenient in the login box. Or maybe all 3. Which templates to edit? |
#2
|
||||
|
||||
Templates/navbar. Find
HTML Code:
</tr> </table> </div> <!-- / nav buttons bar --> HTML Code:
<!-- lost --> <if condition="$show['registerbutton']"> <td class="vbmenu_control"><a href ="login.php?do=lostpw">Lost Password</a></td> </if> This will show the link for a visitor and hideit for users who are logged in. But it will likely require you to allow new registrations. If the board is closed, it will not show. You may then use the persistent: HTML Code:
<!-- lost --> <td class="vbmenu_control"><a href ="login.php?do=lostpw">Lost Password</a></td> |
#3
|
||||
|
||||
And to make it in the login form.
Find in Templates/navbar HTML Code:
<else /> <td class="alt2" nowrap="nowrap" style="padding:0px"> <!-- login form --> <form action="login.php" method="post" onsubmit="md5hash(vb_login_password,vb_login_md5password,vb_login_md5password_utf)"> <script type="text/javascript" src="clientscript/vbulletin_md5.js"></script> <table cellpadding="0" cellspacing="$stylevar[formspacer]" border="0"> <tr> HTML Code:
<td class="smallfont"><a href ="login.php?do=lostpw">Lost Password</a></td> </tr> <tr> |
#4
|
|||
|
|||
How about in the footer? great work
|
Thread Tools | |
Display Modes | |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|