The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#1
|
|||
|
|||
HTML Header
Hi guys.
I'm currently testing my upgrade from 3.8.4 to 4.0.2. On my forum I have a HTML header (strangely the code is in the footer template). I've tried copying this over to my test forum running vb4 but the header doesn't display. I'm guessing you have to do this differently with vb4 so can anyone help me with this? Thanks, Chris |
#2
|
|||
|
|||
Anyone?!?!
|
#3
|
|||
|
|||
No one can help me out my header in then?
|
#4
|
||||
|
||||
How can someone help you when you don''t provide the code of your custom header that you need help with. It is not like we can read minds you know
Anyway, the template system has changed from vb 3 to vb 4. So you can take a look at the difference and apply them at your code to adjust it for vb 4. |
#5
|
|||
|
|||
Well I guess you are right.
So here is the header template Code:
<!-- logo --> <a name="top"></a> <table border="0" width="$stylevar[outertablewidth]" cellpadding="0" cellspacing="0" background="http://puntosports.co.uk/page_bg.jpg" align="center"> <tr> <td> <div align="center"><img src="http://puntosports.co.uk/header2.jpg" width="800" height="106" usemap="#Map" border="0"></div> </td> </tr> <tr> <td> <table width="100%" border="0" cellspacing="0" cellpadding="0"> </table> <!-- /logo --> <!-- content table --> $spacer_open $_phpinclude_output Code:
$ad_location[ad_footer_start] <br /> <div class="smallfont" align="center">$vbphrase[all_times_are_gmt_x_time_now_is_y]</div> <br /> $spacer_close <!-- /content area table --> <form action="$vboptions[forumhome].php" method="get" style="clear:$stylevar[left]"> <table cellpadding="$stylevar[cellpadding]" cellspacing="0" border="0" width="$stylevar[outertablewidth]" class="page" align="center"> <tr> <if condition="$show['quickchooser']"> <td class="tfoot"> <select name="styleid" onchange="switch_id(this, 'style')"> <optgroup label="$vbphrase[quick_style_chooser]"> $quickchooserbits </optgroup> </select> </td> </if> <if condition="$show['languagechooser']"> <td class="tfoot"> <select name="langid" onchange="switch_id(this, 'lang')"> <optgroup label="$vbphrase[quick_language_chooser]"> $languagechooserbits </optgroup> </select> </td> </if> <td class="tfoot" align="$stylevar[right]" width="100%"> <div class="smallfont"> <strong> <if condition="$show['contactus']"><a href="$vboptions[contactuslink]" rel="nofollow" accesskey="9">$vbphrase[contact_us]</a> -</if> <if condition="$vboptions['hometitle']"><a href="$vboptions[homeurl]">$vboptions[hometitle]</a> -</if> <if condition="$show['admincplink']"><a href="$admincpdir/index.php$session[sessionurl_q]">$vbphrase[admin]</a> -</if> <if condition="$show['modcplink']"><a href="$modcpdir/index.php$session[sessionurl_q]">$vbphrase[mod]</a> -</if> <if condition="$vboptions['archiveenabled']"><a href="archive/index.php">$vbphrase[archive]</a> -</if> $template_hook[footer_links] <if condition="$vboptions[privacyurl]"><a href="$vboptions[privacyurl]">$vbphrase[privacy_statement]</a> -</if> <if condition="$vboptions[tosurl]"><a href="$vboptions[tosurl]">$vbphrase[terms_of_service]</a> -</if> <a href="#top" onclick="self.scrollTo(0, 0); return false;">$vbphrase[top]</a> </strong> </div> </td> </tr> </table> <br /> <div align="center"> <div class="smallfont" align="center"> <!-- Do not remove this copyright notice --> $vbphrase[powered_by_vbulletin] <!-- Do not remove this copyright notice --> </div> <div class="smallfont" align="center"> <!-- Do not remove cronimage or your scheduled tasks will cease to function --> $cronimage <!-- Do not remove cronimage or your scheduled tasks will cease to function --> $vboptions[copyrighttext] </div> </div> </form> $ad_location[ad_footer_end] <if condition="$show['dst_correction']"> <!-- auto DST correction code --> <form action="profile.php?do=dst" method="post" name="dstform"> <input type="hidden" name="s" value="$session[sessionhash]" /> <input type="hidden" name="securitytoken" value="$bbuserinfo[securitytoken]" /> <input type="hidden" name="do" value="dst" /> </form> <script type="text/javascript"> <!-- var tzOffset = $bbuserinfo[timezoneoffset] + $bbuserinfo[dstonoff]; var utcOffset = new Date().getTimezoneOffset() / 60; if (Math.abs(tzOffset + utcOffset) == 1) { // Dst offset is 1 so its changed document.forms.dstform.submit(); } //--> </script> <!-- / auto DST correction code --> </if> <script type="text/javascript"> <!-- // Main vBulletin Javascript Initialization vBulletin_init(); //--> </script><map name="Map"> <area shape="rect" coords="327,75,418,96" href="http://www.puntosports.co.uk/models/mk1.htm" alt="PUNTO MK1" title="PUNTO MK1"> <area shape="rect" coords="437,74,531,97" href="http://www.puntosports.co.uk/models/mk2.htm" alt="PUNTO MK2" title="PUNTO MK2"> <area shape="rect" coords="549,74,643,97" href="http://www.puntosports.co.uk/models/mk2b.htm" alt="PUNTO MK2 B" title="PUNTO MK2 B"> <area shape="rect" coords="662,75,754,96" href="http://www.puntosports.co.uk/models/mk3.htm" alt="PUNTO MK3" title="PUNTO MK3"> <area shape="rect" coords="378,2,465,12" href="http://www.puntosports.co.uk/forums/index.php?" alt="LOG IN" title="LOG IN" target="_blank"> <area shape="rect" coords="478,2,552,12" href="http://www.puntosports.co.uk/club_faq.htm" alt="BENEFITS" title="BENEFITS"> <area shape="rect" coords="565,2,662,12" href="http://www.puntosports.co.uk/club_join.htm" alt="JOIN UP" title="JOIN UP"> <area shape="rect" coords="682,2,765,12" href="http://www.puntosports.co.uk/merchandise.htm" alt="CLUB GOODIES" title="CLUB GOODIES"> <area shape="rect" coords="0,12,172,77" href="http://www.puntosports.co.uk/forums" alt="Punto Sports Forums" title="Punto Sports Forums"> </map> <script type="text/javascript" src="mobiquo/tapatalkdetect.js"></script> |
#6
|
|||
|
|||
Anyone help? Come on surely this is a 5 minute job for someone who know's what they are doing?!
|
#7
|
|||
|
|||
Being a complete n00b I am wrong. It's not HTML I believe it's CSS?
Could anyone help me please? |
#8
|
|||
|
|||
That looks like it should work fine, it is HTML.
How about a link to your test site? |
#9
|
|||
|
|||
Don't worry, I have fixed it myself. Took me a while as I didn't really know what I was looking for.
|
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|