vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 4.x Template Modifications (https://vborg.vbsupport.ru/forumdisplay.php?f=246)
-   -   Mini Mods - Login Images (https://vborg.vbsupport.ru/showthread.php?t=246683)

CMSTemplateZ 07-15-2010 10:00 PM

Login Images
 
1 Attachment(s)
Hi All,

I modified my header / login by adding images a while ago, i noticed an similar mod here on vb.org however it is for 4.0.1 and was never updated so, here is the solution for vBulletin 4.0.4 / 4.0.5.

Demo: Battlefield 3

Instructions:

Firstly download the attachment added to this thread (images.zip) upload the files to your image directory, should look like this:

/images/icons/username.png
/images/icons/password.png


Template edits:

- HEADER (open this template)

FIND THIS LINE:
Code:

<input type="text" class="textbox" name="vb_login_username"
ADD BEFORE:
Code:

<img src="./images/icons/username.png" alt="Username" />
FIND THIS LINE:
Code:

<input type="text" class="textbox default-value" tabindex="102" name="vb_login_password_hint"
ADD BEFORE:
Code:

<img src="./images/icons/password.png" alt="Password" />
- Make the "REMEMBER ME" box already Checked by Default:

In the same header template.
FIND THIS:
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>

REPLACE WITH:
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" checked="checked"/> {vb:rawphrase remember_me}</label>
                                </div>

Your login section will now look the same as on Battlefield3forums.COM (again there is a mod on vb.org already, and i am using the same images as the other mod, this time you do not need to add any code to additional.css.. if you wish to align the image differently, simply open up the images in photoshop and increase the canvas size and position the image accordingly). All credits should go to the user: "TheWindows7Site" i have only created this as his was not updated and code changes have occurred since 4.0.1.

Hope that helps

Skyrider 07-16-2010 01:31 PM

Would be great if you'd add the image files as well :).

Welshy2008 07-16-2010 04:06 PM

Thank You, I have always used this one - Looks very neat, along with this, for the "Remember Me" box, always ticked.

BrightStar 07-16-2010 05:39 PM

Thanks for the images. I would also be interested to put boxes on both side of the forum like calendar and UserCP option

Welshy2008 07-16-2010 06:27 PM

1 Attachment(s)
The images used in the Mod HERE, are attached below...

CMSTemplateZ 07-16-2010 07:14 PM

Images have been added, sorry guys lol.. and thanks for also posting them everyone... running on 30 hours without sleep again :( these things seem to happen a lot lol

Juggernaut 07-16-2010 11:57 PM

Love this mod :D

giorgino 07-17-2010 09:54 AM

great!

thetgc 07-17-2010 07:40 PM

Quote:

Originally Posted by Welshy2008 (Post 2070176)
Thank You, I have always used this one - Looks very neat, along with this, for the "Remember Me" box, always ticked.

Looks exactly the same...

exurgit 07-19-2010 10:55 AM

greats!!!!!!!!!!!!


All times are GMT. The time now is 02:47 AM.

Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.

X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.01252 seconds
  • Memory Usage 1,736KB
  • Queries Executed 10 (?)
More Information
Template Usage:
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (6)bbcode_code_printable
  • (1)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (2)pagenav_pagelink
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (10)printthreadbit
  • (1)spacer_close
  • (1)spacer_open 

Phrase Groups Available:
  • global
  • postbit
  • showthread
Included Files:
  • ./printthread.php
  • ./global.php
  • ./includes/init.php
  • ./includes/class_core.php
  • ./includes/config.php
  • ./includes/functions.php
  • ./includes/class_hook.php
  • ./includes/modsystem_functions.php
  • ./includes/class_bbcode_alt.php
  • ./includes/class_bbcode.php
  • ./includes/functions_bigthree.php 

Hooks Called:
  • init_startup
  • init_startup_session_setup_start
  • init_startup_session_setup_complete
  • cache_permissions
  • fetch_threadinfo_query
  • fetch_threadinfo
  • fetch_foruminfo
  • style_fetch
  • cache_templates
  • global_start
  • parse_templates
  • global_setup_complete
  • printthread_start
  • pagenav_page
  • pagenav_complete
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete