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!!!!!!!!!!!!

Lon 07-21-2010 01:11 AM

Looks impressive!

Thank youuuuu. <3

TITAN-UZ 08-06-2010 09:27 AM

http://s04.radikal.ru/i177/1008/2e/8332785d334d.jpg my

My icons are not displayed in the same order! vb 4.0.5

https://vborg.vbsupport.ru/external/2010/08/166.png

merk_aus 08-09-2010 02:26 AM

Looks good however my philosophy is no screenshots no download. You "DEMO" website is down.

masterweb 08-22-2010 11:08 AM

Installed without any error nor issue to report, if someone is looking for a live demo here you have: http://www.onlinewebmarket.net

Thanks to developer Lol

Dr.osamA 08-22-2010 10:37 PM

thanxx man

installed + 5 stars

CMSTemplateZ 08-24-2010 06:16 PM

No probs :)

New Demo added for everyone else, i turned off the previous demo site.. anyways new demo site shows just what this mini mod does.

Enjoy

Ninos 08-25-2010 01:41 PM

Good mod buddy, thanks.

CMSTemplateZ 08-25-2010 04:43 PM

Welcome all,

UPDATED THE MOD, there are now instructions for have the "Remember me" box ticked by default.

mrt12345 09-12-2010 05:57 PM

Thanks it seems to working with the version 4.0.6....and it is looking so sexy . thanks a bunch:up:

nkumaran 10-11-2010 10:09 AM

Thank you.

COL NIL SATIS 10-11-2010 10:24 AM

tagged...this looks sweet

0verl0rd 10-25-2010 10:31 AM

Hi,

Why is it that when I put my mouse or tab into the password section. the password.png moves to the right side of the box.

By default all images are to the left of the box right? but when you move your mouse to the password box or tab into the password box... my password image moves to the right.. :(

ijob 10-26-2010 07:04 AM

Quote:

Originally Posted by 0verl0rd (Post 2113915)
Hi,

Why is it that when I put my mouse or tab into the password section. the password.png moves to the right side of the box.

By default all images are to the left of the box right? but when you move your mouse to the password box or tab into the password box... my password image moves to the right.. :(

same here
v4.08

venuskarthick 11-01-2010 04:09 PM

1 Attachment(s)
Cheak the image i need to change only the Register & Help link color how to do this?
https://vborg.vbsupport.ru/attachmen...9&d=1288631239

Trumpetrhapsody 11-03-2010 01:01 PM

Same issue as above, and can we get the "remember me" box moved up like in the other mod?

leclownos 11-10-2010 01:52 PM

Thanks ..super

elkomander 11-14-2010 08:47 PM

Quote:

Originally Posted by ijob (Post 2114336)
same here
v4.08

same problem

Mikevet1984 03-29-2011 07:16 AM

Could sb please update this modification for vBulletin 4.1.2?

The html script does not exist in my 4.1.2 header template.

Please provide an update if possible.....

Sforums 03-29-2011 09:39 AM

+ 1

OldSchoolDSL 12-05-2011 03:16 PM

Quote:

Originally Posted by Mikevet1984 (Post 2178635)
Could sb please update this modification for vBulletin 4.1.2?

The html script does not exist in my 4.1.2 header template.

Please provide an update if possible.....

This developer's site is offline and he / she has not been online since April 2011

However, this one will work on 4.x and 4..1.x

https://vborg.vbsupport.ru/showthread.php?t=260341

(Looking as some of the pre-view code for 4.2.x ... I suspect it should work on future versions as well)

edit: If you have an older forum 3.x ... I would suggest this one https://vborg.vbsupport.ru/showthread.php?t=260370

LouiseWilson 06-08-2012 12:56 PM

yes this works with 4.2.x

however slight code change I would add the following

Code:

<img style="position: relative; top: 6px;" img src="./images/icons/username.png" alt="Username" />
changing the 6px to the height of the image

zascok 07-28-2012 10:23 AM

1 Attachment(s)
Quote:

Originally Posted by LouiseWilson (Post 2337717)
yes this works with 4.2.x

however slight code change I would add the following

Code:

<img style="position: relative; top: 6px;" img src="./images/icons/username.png" alt="Username" />
changing the 6px to the height of the image

Or

add into additional.css

Code:

.logindetails img{
position: relative;
top: 7px;
padding-right: 2px;       
}

And just to keep going

image for Register
PHP Code:

<li><a href="register.php{vb:raw session.sessionurl_q}" rel="nofollow">
[
add This Here]
<
img src="./images/misc/reg.png" alt="Register" />
[/
add This Here]
{
vb:rawphrase register}</a></li>
            </
vb:if> 

image for Help
PHP Code:

<li><a rel="help" href="faq.php{vb:raw session.sessionurl_q}">
[
add This Here]
<
img src="./images/misc/help.png" alt="Help" />
[/
add This Here]
{
vb:rawphrase help}</a></li



All times are GMT. The time now is 03:17 PM.

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.01224 seconds
  • Memory Usage 1,793KB
  • 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
  • (9)bbcode_code_printable
  • (2)bbcode_php_printable
  • (5)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (32)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
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete