Log in

View Full Version : Forum Home Enhancements - Full width Forum logo


AURFSCAN
07-01-2010, 10:00 PM
For fixed width styles
Note: Only use this If not using header adverts



Find in 'header' template. It's at the start of the template


<div><a name="top" href="{vb:raw vboptions.forumhome}.php{vb:raw session.sessionurl_q}" class="logo-image"><img src="{vb:stylevar titleimage}" alt="{vb:rawphrase x_powered_by_vbulletin, {vb:raw vboptions.bbtitle}}" /></a></div>




Replace it with


<!-- Full width Logo Code Start -->

<div><a href="http://www.yourforum.com./forum.php"><img src="images/logo.jpg" width="1000" height="120" alt="your forum name Forum" /></a></div>

<!-- Full width Logo Code End -->



black bold link to your forum
red bold location of your logo
blue bold set the width and height of your image to match your Image size
(the width of the Image being the same as your forum width)

- so If your Forum width is 1000px wide, make your logo 1000px wide

green bold your forums name

If you use it mark Installed thx :)

sulasno
07-02-2010, 09:35 AM
tagged and thanks

AURFSCAN
07-02-2010, 09:53 AM
this post edited as info here has been corrected and no longer needed :)

Madpoodle
07-02-2010, 09:56 AM
Got a "before" screen shot?

AURFSCAN
07-02-2010, 10:07 AM
Got a "before" screen shot?

hmmm ok :confused:

Kolbi
07-03-2010, 08:09 AM
Your code creates many many xhtml issues!!!

Please use valid xhtml :)

AURFSCAN
07-03-2010, 08:13 AM
thx for letting me know, can you please post the correct code :)

Kolbi
07-03-2010, 08:27 AM
Hi,

<!-- Full width Logo Code Start -->

<div><a href="http://www.yourforum.com./forum.php"><img src="images/logo.jpg" width="1000" height="120" alt="your forum name Forum" /></a></div>

<!-- Full width Logo Code End -->

AURFSCAN
07-03-2010, 08:28 AM
:)



<!-- Full width Logo Code Start -->

<div><a href="http://www.yourforum.com./forum.php"><img src="images/logo.jpg" width="1000" height="120" alt="your forum name Forum" /></a></div>

<!-- Full width Logo Code End -->




edit: posted the same at the same time.. lol

AURFSCAN
07-03-2010, 08:30 AM
ok :) yours is good too... cheers

AURFSCAN
07-03-2010, 08:40 AM
Initial post code corrected to xhtml standards ... thx Kolbi :)

Greight
07-03-2010, 04:34 PM
Hi. Does this set the logo as the background? I mean if this edit is done, then I add an ad in that frame will it still mess or not?

AURFSCAN
07-04-2010, 03:46 AM
Sorry Greight, I cant get this to work with header ads. I tried modifying vbulletin css and adding the global headers to this code but I cant get it it to work with ads.

If someone can get this to work with header ads, please feel free to post the code.

sinucello
07-04-2010, 07:56 AM
Hi,

hm, maybe this could also be done with a CSS-background image?

Ciao,
Sacha

Greight
07-05-2010, 11:10 AM
Hi,

hm, maybe this could also be done with a CSS-background image?

Ciao,
Sacha

Yes, I was thinking about this. The header image should become a background. Can somebody make it that way?

AURFSCAN
07-06-2010, 08:22 AM
UPDATE


header ads working, will post simple :p Instructions shortly



thx to anyone commenting and Interested in this :cool:

COL NIL SATIS
07-06-2010, 11:51 AM
top stuff m8

Allstar55566
07-10-2010, 06:12 AM
i believe using a percentage would work for fluid settings, no? instead of using pixels if one has their settings set to say 85% then where the width goes you should be able to put 85%...

TANKSALOT
07-18-2010, 07:39 PM
I am on v 4.0.5 and I just ran a search in the upload directory and could not find a file names logo.php.

Any suggestions. This is all new to me. Day 4 and counting :)

Steve

top dogs 360
07-19-2010, 03:52 AM
I can see it on my forums but none of my other members can. I can the new one set checked in the style mananger and the default one unchecked but everyone still sees V=Bulletin. When they go to the drop box at the bottom left of the screen my custom styles name is there. Any help?

compact123
07-21-2010, 10:10 PM
omg sir! I'm using cyborg style ( http://www.vbdesigns.de/demo/?styleid=47 ) and mine diffirent please help :D

my header:
<a name="top" href="{vb:raw vboptions.forumhome}.php{vb:raw session.sessionurl_q}"></a>
<div class="toplinks headbg" id="toplinks">
<div id="header" class="floatcontainer doc_header">
<vb:if condition="$show['member']">

<div class="ad_global_header">
{vb:raw ad_location.global_header1}
{vb:raw ad_location.global_header2}
</div>
<hr />
{vb:raw ad_location.ad_header_end}


<ul class="isuser">
<li><a href="login.php?{vb:raw session.sessionurl}do=logout&amp;logouthash={vb:raw bbuserinfo.logouthash}" onclick="return log_out('{vb:rawphrase sure_you_want_to_log_out}')">{vb:rawphrase log_out}</a></li>
<vb:if condition="$show['registerbutton']">
<li><a href="register.php{vb:raw session.sessionurl_q}" rel="nofollow">{vb:rawphrase register}</a></li>
</vb:if>
<li><a href="usercp.php{vb:raw session.sessionurl_q}">{vb:rawphrase control_panel}</a></li>
<li><a href="{vb:link member, {vb:raw bbuserinfo}}">{vb:rawphrase your_profile}</a></li>
<vb:if condition="$notifications_total">
<li class="popupmenu notifications" id="notifications">
<a class="popupctrl" href="usercp.php{vb:raw session.sessionurl_q}">{vb:rawphrase your_notifications}: <span class="notifications-number"><strong>{vb:raw notifications_total}</strong></span></a>
<ul class="popupbody popuphover">
{vb:raw notifications_menubits}
</ul>
</li>
<vb:else />
<li class="popupmenu nonotifications" id="nonotifications">
<a class="popupctrl" href="usercp.php{vb:raw session.sessionurl_q}">{vb:rawphrase your_notifications}</a>
<ul class="popupbody popuphover">
<li>{vb:rawphrase no_new_messages}</li>
<li><a href="private.php{vb:raw session.sessionurl_q}">{vb:rawphrase inbox}</a></li>
</ul>
</li>
</vb:if>
<li class="welcomelink">{vb:rawphrase welcome_x_link_y, {vb:raw bbuserinfo.username}, {vb:link member, {vb:raw bbuserinfo}}}</li>
<vb:if condition="$vboptions['enablefacebookconnect']">
{vb:raw facebook_header}
</vb:if>
</ul>
{vb:raw template_hook.header_userinfo}
<vb:comment><p>{vb:rawphrase last_visited_x_at_y, {vb:raw pmbox.lastvisitdate}, {vb:raw pmbox.lastvisittime}}</p></vb:comment>
<vb:else />
<ul class="nouser">
<vb:if condition="$show['registerbutton']">
<li><a href="register.php{vb:raw session.sessionurl_q}" rel="nofollow">{vb:rawphrase register}</a></li>
</vb:if>
<li><a rel="help" href="faq.php{vb:raw session.sessionurl_q}">{vb:rawphrase help}</a></li>
<li>
<script type="text/javascript" src="clientscript/vbulletin_md5.js?v={vb:raw vboptions.simpleversion}"></script>
<form id="navbar_loginform" action="login.php?{vb:raw session.sessionurl}do=login" method="post" onsubmit="md5hash(vb_login_password, vb_login_md5password, vb_login_md5password_utf, {vb:raw show.nopasswordempty})">
<fieldset id="logindetails" class="logindetails">
<div>
<div>
<input type="text" class="textbox" 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>" />
<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;" />
<input type="password" class="textbox" tabindex="102" name="vb_login_password" id="navbar_password" size="10" />
<input type="submit" class="loginbutton" tabindex="104" value="{vb:rawphrase log_in}" title="{vb:rawphrase enter_username_to_login_or_register}" accesskey="s" />
</div>
</div>
</fieldset>
<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>

<input type="hidden" name="s" value="{vb:raw session.sessionhash}" />
<input type="hidden" name="securitytoken" value="{vb:raw bbuserinfo.securitytoken}" />
<input type="hidden" name="do" value="login" />
<input type="hidden" name="vb_login_md5password" />
<input type="hidden" name="vb_login_md5password_utf" />
</form>
<script type="text/javascript">
YAHOO.util.Dom.setStyle('navbar_password_hint', "display", "inline");
YAHOO.util.Dom.setStyle('navbar_password', "display", "none");
YAHOO.util.Dom.setStyle('navbar_username', "color", "#828282");
vB_XHTML_Ready.subscribe(function()
{
//
YAHOO.util.Event.on('navbar_username', "focus", navbar_username_focus);
YAHOO.util.Event.on('navbar_username', "blur", navbar_username_blur);
YAHOO.util.Event.on('navbar_password_hint', "focus", navbar_password_hint);
YAHOO.util.Event.on('navbar_password', "blur", navbar_password);
});

function navbar_username_focus(e)
{
//
var textbox = YAHOO.util.Event.getTarget(e);
if (textbox.value == '<vb:if condition="$username">{vb:raw username}<vb:else />{vb:rawphrase username}</vb:if>')
{
//
textbox.value='';
textbox.style.color='black';
}
}

function navbar_username_blur(e)
{
//
var textbox = YAHOO.util.Event.getTarget(e);
if (textbox.value == '')
{
//
textbox.value='<vb:if condition="$username">{vb:raw username}<vb:else />{vb:rawphrase username}</vb:if>';
textbox.style.color='#828282';
}
}

function navbar_password_hint(e)
{
//
var textbox = YAHOO.util.Event.getTarget(e);

YAHOO.util.Dom.setStyle('navbar_password_hint', "display", "none");
YAHOO.util.Dom.setStyle('navbar_password', "display", "inline");
YAHOO.util.Dom.get('navbar_password').focus();
}

function navbar_password(e)
{
//
var textbox = YAHOO.util.Event.getTarget(e);

if (textbox.value == '')
{
YAHOO.util.Dom.setStyle('navbar_password_hint', "display", "inline");
YAHOO.util.Dom.setStyle('navbar_password', "display", "none");
}
}
</script>
</li>
<vb:if condition="$vboptions['enablefacebookconnect']">
{vb:raw facebook_header}
</vb:if>
</ul>
</vb:if>

<div class="headpic"><a href="{vb:raw vboptions.forumhome}.php{vb:raw session.sessionurl_q}"><img src="/designs/cyborg/sp.gif" alt="{vb:rawphrase x_powered_by_vbulletin, {vb:raw vboptions.bbtitle}}" width="524" height="92" /></a></div>
</div>

</div>
<div class="navibg">
<div class="center_navi">
<div class="nav_middle_pic">
<vb:if condition="$show['member']"><div class="c_log_out"><a class="c_log_out" title=" {vb:rawphrase log_out_x, {vb:raw bbuserinfo.username}} " href="login.php?{vb:raw session.sessionurl}do=logout&amp;logouthash={vb:raw bbuserinfo.logouthash}" onclick="return log_out('{vb:phrase sure_you_want_to_log_out}')"><span> {vb:rawphrase log_out_x, {vb:raw bbuserinfo.username}} </span></a></div><vb:else /><div class="c_register_right"><a class="c_register_right" href="register.php?{vb:raw session.sessionurl}" title="{vb:phrase register}"><span>{vb:phrase register}</span></a></div></vb:if>
<vb:if condition="$show['member']"><div class="c_new_posts"><a class="c_new_posts" href="search.php?{vb:raw session.sessionurl}do=getnew&amp;contenttype=vBForum_P ost" accesskey="2" title="{vb:phrase new_posts_nav}"><span>{vb:phrase new_posts_nav}</span></a></div>
<vb:else /><div class="c_daily_posts"><a class="c_daily_posts" href="search.php?{vb:raw session.sessionurl}do=getdaily&amp;contenttype=vBForum _Post" accesskey="2" title="{vb:phrase todays_posts}"><span>{vb:phrase todays_posts}</span></a></div></vb:if>
<div class="c_menu"><div class="popupmenu"><a class="c_menu popupctrl" href="#usercptools" title="{vb:phrase quick_links}"><span>{vb:phrase quick_links}</span></a>
<ul class="popupbody popuphover">
<li>
<a href="forumdisplay.php?{vb:raw session.sessionurl}do=markread&amp;markreadhash={vb:ra w bbuserinfo.securitytoken}">{vb:rawphrase mark_forums_read}</a>
</li>
<vb:if condition="$show['member']">
<li>
<a href="profile.php?{vb:raw session.sessionurl}do=editoptions">{vb:rawphrase edit_options}</a>
</li>
<li>
<a href="profile.php?{vb:raw session.sessionurl}do=editprofile">{vb:rawphrase edit_your_details}</a>
</li>
</vb:if>


<li><a href="subscription.php{vb:raw session.sessionurl_q}" rel="nofollow">{vb:rawphrase subscribed_threads}</a></li>
<li>
<a href="javascript://" onclick="window.open(getBaseUrl() + 'misc.php?{vb:raw session.sessionurl}do=buddylist&amp;focus=1','buddylis t','statusbar=no,menubar=no,toolbar=no,scrollbars= yes,resizable=yes,width=250,height=300'); return false;">{vb:rawphrase open_contacts}</a>
</li>
<vb:if condition="$vboptions['forumleaders']">
<li>
<a href="showgroups.php{vb:raw session.sessionurl_q}" rel="nofollow">
<vb:if condition="$vb_suite_installed">
{vb:rawphrase view_site_leaders}
<vb:else />
{vb:rawphrase view_forum_leaders}
</vb:if>
</a>

</li>
</vb:if>

{vb:raw template_hook.navbar_quick_links_menu_pos1}
{vb:raw template_hook.navbar_quick_links_menu_pos2}

{vb:raw template_hook.navbar_quick_links_menu_pos3}

<vb:if condition="$show['wollink']">
<li><a href="online.php{vb:raw session.sessionurl_q}">{vb:rawphrase whos_online}</a></li>
</vb:if>

</ul>
</div></div>

<div class="c_search"><div class="popupmenu"><a class="popupctrl c_search" href="search.php?{vb:raw session.sessionurl}" accesskey="4" title="{vb:phrase search}"><span>{vb:phrase search}</span></a>

<ul class="popupbody popuphover">
<li>
<vb:if condition="$vboptions['enablesearches']">

<form action="search.php?do=process" method="post" id="navbar_search">
<input type="hidden" name="s" value="{vb:raw session.sessionurl}" />
<input type="hidden" name="securitytoken" value="{vb:raw bbuserinfo.securitytoken}" />
<input type="hidden" name="do" value="process" />
<input type="text" value="" name="query" class="textbox" tabindex="99"/>
<input type="submit" class="button" name="dosearch" value="{vb:rawphrase go}" tabindex="100" />
</form>
<ul>
<li><a href="search.php{vb:raw session.sessionurl_q}" accesskey="4">{vb:rawphrase advanced_search}</a></li>
</ul>
</vb:if>
</li>
</ul>

</div>
</div>
<vb:if condition="$show['member']"><div class="c_user_cp"><a class="c_user_cp" href="usercp.php?{vb:raw session.sessionurl}" title="{vb:phrase user_cp}"><span>{vb:phrase user_cp}</span></a></div></vb:if>
<vb:if condition="!$show['member']"><div class="c_register"><a class="c_register" href="register.php?{vb:raw session.sessionurl}" title="{vb:phrase register}"><span>{vb:phrase register}</span></a></div></vb:if>
<div class="c_faq"><a class="c_faq" href="faq.php?{vb:raw session.sessionurl}" accesskey="5" title="{vb:phrase faq}"><span>{vb:phrase faq}</span></a></div>
<vb:if condition="$show['communitylink'] AND $show['popups']">
<div class="comm"><div class="popupmenu"><a class="popupctrl comm" href="$show[nojs_link]#community" rel="nofollow" accesskey="6"><span>{vb:phrase community}</span></a>

<ul class="popupbody popuphover">
{vb:raw template_hook.navbar_community_menu_start}
<vb:if condition="$show['quick_links_groups']">
<li><a href="group.php{vb:raw session.sessionurl_q}">{vb:rawphrase social_groups}</a></li>
</vb:if>
<vb:if condition="$show['quick_links_albums']">
<li><a href="album.php{vb:raw session.sessionurl_q}">{vb:rawphrase pictures_and_albums}</a></li>
</vb:if>
<vb:if condition="$bbuserinfo['userid']">
<li><a href="profile.php?{vb:raw session.sessionurl}do=buddylist"><vb:if condition="$show['friends_and_contacts']">{vb:rawphrase contacts_and_friends}<vb:else />{vb:rawphrase contacts}</vb:if></a></li>
</vb:if>
<vb:if condition="$show['memberslist']">
<li><a href="memberlist.php{vb:raw session.sessionurl_q}">{vb:rawphrase members_list}</a></li>
</vb:if>
{vb:raw template_hook.navbar_community_menu_end}
</ul>
</div>
</div>
<vb:else />
<div class="c_member"><a href="memberlist.php{vb:raw session.sessionurl_q}"><span>{vb:phrase members_list}</span></a></div>

</vb:if>
<div class="c_calendar"><a class="c_calendar" href="calendar.php?{vb:raw session.sessionurl}" title="{vb:phrase calendar}"><span>{vb:phrase calendar}</span></a></div>


</div>
</div>
</div>
<div class="top_borderbg">
<div class="top_border_right_pic"></div>
<div class="top_border_left_pic"></div>
<div class="top_border_middle_pic"></div>

</div>



<div id="bottom_borderbg">
<div id="bottom_border_right_pic">
<div id="bottom_border_left_pic">
<div id="bottom_border_middle_pic">
<div class="border_left">
<div class="border_right">

AURFSCAN
07-22-2010, 12:09 AM
Hi compact, all I can do is suggest replacing



<div class="headpic"><a href="{vb:raw vboptions.forumhome}.php{vb:raw session.sessionurl_q}"><img src="/designs/cyborg/sp.gif" alt="{vb:rawphrase x_powered_by_vbulletin, {vb:raw vboptions.bbtitle}}" width="524" height="92" /></a></div>





to




<div class="headpic"><a href="{vb:raw vboptions.forumhome}.php{vb:raw session.sessionurl_q}"><img src="images/logo.jpg" width="1000" height="120" alt="your forum name" /></a></div>



bold is what your changing, change your image source/dimensions

KURTZ
07-22-2010, 11:03 AM
just done the edits ... and i got this (check the pic) what's wrong? also i need to know why the background was gray and not the default dark color ... :)

thanks

LouisB
07-22-2010, 03:37 PM
^ I've noticed that happening to my site when IE compatibility mode is turned on. Works fine in every other browser.

Edit: actually yours is different. Looks like you forgot to remove vb code which displays the logo. You've added your image code above the current logo so both are being displayed.

top dogs 360
07-24-2010, 11:04 PM
I can see it on my forums but none of my other members can. I have the new style checked in the style manager and the default one unchecked but everyone still sees V=Bulletin. When they go to the drop box at the bottom left of the screen my custom styles name is there. Any help?

Okay I got it fixed. What I had to do was just edit the default style and get rid of the second style.

My next problem was when I put in the length of 1000px members were saying that it was only showing about 60% of the screen. To resolve this issue I did the above mentioned liquid %. I put the 100% in the code instead of 1000 and it works perfectly.

XboxHounds (http://74.55.234.226/~xboxhoun/content.php)

IDUlysses
07-28-2010, 01:14 AM
hey guys, im wanting to use this MOD for my site @ http://www.tEk-clan.com

plz PM me and ill pay

Dragonsys
07-28-2010, 05:31 PM
i believe using a percentage would work for fluid settings, no? instead of using pixels if one has their settings set to say 85% then where the width goes you should be able to put 85%...

no, images don't work like that.
Also, you should use the vb code where possible. You also need to keep the anchor name, otherwise the "To the Top" Links won't work.

something like this:
<div><a name="top" href="{vb:raw vboptions.forumhome}.php{vb:raw session.sessionurl_q}" class="logo-image"><img src="images/logo.jpg" width="1000" height="120" alt="your forum name Forum" /></a></div>

AURFSCAN
07-28-2010, 10:53 PM
thx Dragonsys :)

top dogs 360
07-29-2010, 02:08 AM
no, images don't work like that.
Also, you should use the vb code where possible. You also need to keep the anchor name, otherwise the "To the Top" Links won't work.

something like this:
<div><a name="top" href="{vb:raw vboptions.forumhome}.php{vb:raw session.sessionurl_q}" class="logo-image"><img src="images/logo.jpg" width="1000" height="120" alt="your forum name Forum" /></a></div>

Actually it worked perfectly for me putting the width =100%

http://74.55.234.226/~xboxhoun/content.php

I tried many different valuespxs but to no avail. I tried his suggestion above and it worked. Maybe its not correct but it is working for me. I am a noob though.

AURFSCAN
07-29-2010, 11:19 PM
Hi top dogs 360, One thing you have to keep in mind is not everyone will have the same monitor resolution as you. What looks good to you might not look so good to say someone with a resolution twice the size as what you have.

Your original image (http://i32.tinypic.com/2yvrnn5.jpg) by itself is nice but at the top of your forum on my 1920px res monitor its really stretched.

A fluid full width Image can be done but its tricky and time consuming.

Hey.... as long as your happy, go with it. :)

bravoesdotcom
08-09-2010, 06:54 AM
UPDATE


header ads working, will post simple :p Instructions shortly



thx to anyone commenting and Interested in this :cool:

i have folow u instruction but if i resize my browser i have view this...
120582
how do i fix if i can resize have normal view?:erm:

sorry i have fix my problem....
i have change this
width="100%" height="100%"

Krusty1231
08-11-2010, 09:33 AM
Nice - thanks!

daveaite
08-18-2010, 02:10 AM
Can't you just use a logo via stylevars and make it the exact width. Same outcome for fixed width. Does not work with header adverts either.

mishb68
08-24-2010, 11:51 AM
This is exactly what I needed. I set both width & height to 100% and it works really well.

Cheers. :D

AURFSCAN
08-24-2010, 10:44 PM
Can't you just use a logo via stylevars and make it the exact width. Same outcome for fixed width. Does not work with header adverts either.

Hi, this does work with header adverts with a bit more modding to code and css but I havent posted that yet :) you must of have missed the note in the initial post...

Harpo
12-18-2011, 02:29 PM
Can you write the code in a PHP block..I can't seem to copy and past the code in the code box.

ToddDuquette
02-04-2012, 05:29 AM
Worked Great! Thank you!

{Check it out at: executionpk.com} Thanks mate!
*Link is valid proof it works*

HHelp1
04-01-2012, 10:33 PM
This no more working with 4.1.11 :/

Jonm
04-19-2012, 07:23 AM
subscribing...

drchinh
04-20-2012, 10:37 AM
UPDATE

header ads working, will post simple :p Instructions shortly

thx to anyone commenting and Interested in this :cool:
Good job...!
@ALL:
Thank you everyone commenting in this mod

SᴩiDᴇЯ
05-27-2012, 11:06 PM
I have my code like this in vb4.2.0
<vb:if condition="$stylevar['titleimage']"><a name="top" href="{vb:link forumhome}" id="logo"><img src="{vb:stylevar titleimage}" alt="{vb:rawphrase x_powered_by_vbulletin, {vb:raw vboptions.bbtitle}}" /></a></vb:if>

so how do i add this to it?
<!-- Full width Logo Code Start -->

<div><a href="http://www.topholdens.com./forum.php"><img src="images/styles/gametime_red/style/logo.png" width="1240" height="172" alt="Top Holdens" /></a></div>

<!-- Full width Logo Code End -->


Please can you help me with this.

AURFSCAN
05-28-2012, 05:17 AM
I have my code like this in vb4.2.0
<vb:if condition="$stylevar['titleimage']"><a name="top" href="{vb:link forumhome}" id="logo"><img src="{vb:stylevar titleimage}" alt="{vb:rawphrase x_powered_by_vbulletin, {vb:raw vboptions.bbtitle}}" /></a></vb:if>

so how do i add this to it?
<!-- Full width Logo Code Start -->

<div><a href="http://www.topholdens.com./forum.php"><img src="images/styles/gametime_red/style/logo.png" width="1240" height="172" alt="Top Holdens" /></a></div>

<!-- Full width Logo Code End -->


Please can you help me with this.


backup your template to wordpad etc.
you dont add the code, you replace it.

replace


<vb:if condition="$stylevar['titleimage']"><a name="top" href="{vb:link forumhome}" id="logo"><img src="{vb:stylevar titleimage}" alt="{vb:rawphrase x_powered_by_vbulletin, {vb:raw vboptions.bbtitle}}" /></a></vb:if>


with

<!-- Full width Logo Code Start -->

<div><a href="http://www.topholdens.com./forum.php"><img src="images/styles/gametime_red/style/logo.png" width="1240" height="172" alt="Top Holdens" /></a></div>

<!-- Full width Logo Code End -->



do you intend to use another image, the one you currently have is gonna look kinda stretched at 1240px :)

SᴩiDᴇЯ
05-29-2012, 10:01 PM
Yes thank you Aurfscan as you will see i have changed the image it is now 1785 x 175 and redone all the pics in PS, if you look at the logo through the PC it looks great, but if you look at the logo on a laptop the forum is within the screen but the logo stretches way beyond the screen size look: http://topholdens.com/forum.php
is there anyway i can fix this?

AURFSCAN
06-01-2012, 03:43 AM
the image has to be the same width as your forum width

- forum has to be fixed width

your image is 1800x200px ??

SᴩiDᴇЯ
06-06-2012, 09:46 AM
the image has to be the same width as your forum width

- forum has to be fixed width

your image is 1800x200px ??

Yes but when i go on my laptop my forum adjusts to the laptop width but not my logo, it over laps the forum by 2x the width on my laptop.

AURFSCAN
06-08-2012, 05:21 AM
if you go to (in admin panel)

- Style Manager

- Style Variable Editor

- Global

whats the doc_minWidth?
whats the doc_maxwidth?

Macgiber
06-11-2012, 02:30 AM
tremendous contribution thanks man

ckelley
07-23-2012, 05:18 PM
I installed this code and used width and height variables at 100% and it works great. I do not use header ads in the first place, but I tested one and I get the ads, just not over top of the titleimage, they appear below the titleimage itself. No big deal really for me as I do not use them. But I also cannot speak for how things look on much larger or smaller resolution monitors, but for my desktop and laptop the image looks good in both FF, IE and Chrome so I am happy with it.

Thanks for the great mod coding!

use the link in my signature to see it...

AURFSCAN
07-23-2012, 05:52 PM
Looks great to me ckelly.. at 1.5 meg might be a little big in size, can you photochop its quality
or make it a jpeg

cheers

Harpo
11-14-2013, 12:27 PM
Awesome. Does anyone know how I can rotate five banners/logos at every refresh of a page? I'd like to create a folder with my logos on my server and have those rotate on my forums.

SᴩiDᴇЯ
12-12-2015, 07:22 AM
<!-- Full width Logo Code Start -->

<div><a href="http://holden5lclub.com/forum.php"><img src="images/logo.jpg" width="1900" height="130" alt="Holden 5L Club" /></a></div>

<!-- Full width Logo Code End -->

I followed the instructions and changed the setting in - Style Manager - Style Variable Editor
- Global
whats the doc_minWidth? made this 1900px
whats the doc_maxwidth? made this 1900px

but my logo starts in the center and not on the left side, what do i need to change?

Look: holden5lclub.com

Dragonsys
12-12-2015, 02:52 PM
<!-- Full width Logo Code Start -->

<div><a href="http://holden5lclub.com/forum.php"><img src="images/logo.jpg" width="1900" height="130" alt="Holden 5L Club" /></a></div>

<!-- Full width Logo Code End -->

I followed the instructions and changed the setting in - Style Manager - Style Variable Editor
- Global
whats the doc_minWidth? made this 1900px
whats the doc_maxwidth? made this 1900px

but my logo starts in the center and not on the left side, what do i need to change?

Look: holden5lclub.com

adjust doc_width, not those two, set them to auto

SᴩiDᴇЯ
12-12-2015, 07:35 PM
Hi when i change my style variable > Global>doc_width, my logo goes the full width, but so does my forum and i want the forum to stay boxed version, what else can i do to just get the logo full width.

Thanks
Paul.
Forward

Dragonsys
12-13-2015, 12:46 AM
I responded to your PM, but will put the info here as well

1. Set doc_width to 100%
2. In vbulletin.css find .body_wrapper and add/change width to 85% and margin to auto


.body_wrapper {
width: 85%;
margin: auto;
...snip...
Save, then adjust that width until it is the size you want.

This will make the header 100% width, but your forums narrower

bosanci28
12-17-2015, 01:51 AM
Works for me also ! w/ 100% width.

oldfan
05-20-2023, 05:39 PM
4.2.5. love?