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 |
#12
|
|||
|
|||
no, i am using a custom style, i changed the header of the custom style that i am using. do i need to change the header of the default style as well?
|
#13
|
||||
|
||||
Try it in the default style and you will see the same thing doesn't happen there.
|
#14
|
|||
|
|||
uninstalled, not working with my style
|
#15
|
||||
|
||||
Well, duh! You can see from the pic in the first post it was done in the default style.
|
#16
|
|||
|
|||
using default style but Login button moved to below (different row)?
|
#17
|
||||
|
||||
Why not just auto-tick the remember me box and hide it, that's what I used to do. It's more hassle than it's worth anyway with people getting logged out etc
|
#18
|
||||
|
||||
That won't work for anyone on a public computer. They will need to be able to uncheck the box.
|
#19
|
||||
|
||||
I have a little bug with this modification. The log in button goes one row down. I provide a screenshot to see what I am talking about.
The screen is the view of the mod using google chrome browser. Same thing with all other browsers as well.... I would like to mention that is it a custom bought template and not the vb4 default style. Any possible help with this? Thank you! |
#20
|
||||
|
||||
Since the mod was done on a default style, there's not much that can be done as is. I would suggest contacting the style maker and see if they can help you.
|
#21
|
||||
|
||||
I went ahead and gave it a shot. First I was trying my custom Darkness style and it went crappy but like you said, it's for a default. Then I figured I'd give it a shot with default, get it working and then compare the default style to my Darkness and see if I could make it work.
Well, it's the same in Default for me. It's a pretty easy mod but I must be dicking it somewhere. One note though, I also tried to remove the "<div id="remember" class="remember">" part in the "WebTemplates_LoginCode" in addition to the Header section. But I'm getting the same thing. Also, the remember box was below on a second line before I even started this mod as it is on the Darkness style also. I'm using Version 4.1.2 if that matters. Just seeing if you have any thoughts cause if it fixes my default, it might fix my main also. |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|