The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
Login and Password Icons Details »» | |||||||||||||||||||||||||||||
What does this do? This modification adds 2 small icons next to your login and password box fields (see screen shot or demo ). This is a code update for previous modification which has become outdated. Credit Proof of concept: TheWindows7Site (who inspired this modification)Author & Developer: Boofo Beta Tester & Financier: OldSchoolDSL IMPORTANT Always backup your database before making any modification. Please read all steps carefully. All template edits will take place in your HEADER template. You will need to download and upload the 2 small image files, before saving the template. You can of course replace these photos with your own, but should keep them the same size. 1. Find: -------------------------- Code:
<input type="text" class="textbox<vb:if condition="!$username"> default-value</vb:if>" name="vb_login_username" id="navbar_username" size="10" accesskey="u" tabindex="101" value="<vb:if condition="$username">{vb:raw username}<vb:else />{vb:rawphrase username}</vb:if>" /> ABOVE it add: -------------------------- Code:
<img style="position: relative; top: 3px;" src="{vb:stylevar imgdir_siteicons}/username.png" alt="Username" /> 2. Find: -------------------------- Code:
<input type="password" class="textbox" tabindex="102" name="vb_login_password" id="navbar_password" size="10" /> ABOVE it add: -------------------------- Code:
<img style="position: relative; top: 3px;" src="{vb:stylevar imgdir_siteicons}/password.png" alt="Password" /> 3. Find: -------------------------- Code:
<input type="text" class="textbox default-value" tabindex="102" name="vb_login_password_hint" id="navbar_password_hint" size="10" value="{vb:rawphrase password}" style="display:none;" /> AFTER it add: -------------------------- Code:
<input type="checkbox" name="cookieuser" value="1" id="cb_cookieuser_navbar" class="cb_cookieuser_navbar" accesskey="c" tabindex="103" /> 4. Find: -------------------------- Code:
<div id="remember" class="remember"> <label for="cb_cookieuser_navbar"><input type="checkbox" name="cookieuser" value="1" id="cb_cookieuser_navbar" class="cb_cookieuser_navbar" accesskey="c" tabindex="103" /> {vb:rawphrase remember_me}</label> </div> EITHER remove it or replace it with: ------------------------------------------ Code:
<vb:comment> <div id="remember" class="remember"> <label for="cb_cookieuser_navbar"><input type="checkbox" name="cookieuser" value="1" id="cb_cookieuser_navbar" class="cb_cookieuser_navbar" accesskey="c" tabindex="103" /> {vb:rawphrase remember_me}</label> </div> </vb:comment> Please click INSTALL Done! Enjoy! If you're tired of vBulletin you should upgrade to Woltlab Burning Board http://www.woltlab.com Download Now
Screenshots
Show Your Support
|
Благодарность от: | ||
NoMatt3r |
Comments |
#62
|
||||
|
||||
This only work for default style...
|
#63
|
|||
|
|||
This actually is working on many other styles, but if your style is heavily customized in the header.... Results may vary (as with any other template modification)
Confirmed to be working on 4.2 |
#64
|
|||
|
|||
excellent - works good on 4.2.0 (installed) -
Attachment 145949 * One request, how to make to remember me box ticked by default? Any idea's please? Thanks |
#65
|
|||
|
|||
Where would we save the two logo icons? In our forums directory anywhere or will the code you provide show the images?
|
#66
|
|||
|
|||
works good on 4.2.2 (installed)
:up: |
#67
|
|||
|
|||
Quote:
Code:
checked="checked" |
#68
|
|||
|
|||
Great work
5 stars! |
#69
|
||||
|
||||
Thanks for this! I changed some of the code to match my custom style, since I only needed to add the code for the images. I didn't need to use your last 2 template edits though.
Here is a screenshot of my login using your images and some of your code: |
Благодарность от: | ||
ku-med |
#70
|
|||
|
|||
No longer supported as I no longer use vBulletin having moved to both WoltLab Burning Board and Invision Power Board.
I give 100% permission to reuse, modify, improve, enhance, and redistribute this code as freeware to anyone, everyone, and everywhere. Good luck |
#71
|
|||
|
|||
Works a treat thank you so much for the effort!
|
Thread Tools | |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|