The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
Add Extra Header / Footer to FORUMHOME Details »» | |||||||||||||||||||||||||
Add Extra Header / Footer option to FORUMHOME V.1.0
/* -----------------10/8/2005 2:34pm----------------- Tested on vBulletin: 3.5 Zachariah - http://www.gzhq.net *** Info: This modification will allow you to add an extra, unique header and footer for ForumHome. You can use HTML, javascript, but no PHP. Some one requested this I forgot. :nervous: --------------------------------------------------*/ --------------------------------------------------*/ Code:
$vboptions[fhheader] // header $vboptions[fhfooter] // footer (FORUMHOME - after $navbar and before $footer) $navbar <-------------------------------------------> BELOW ADD: <-------------------------------------------> $vboptions[fhheader] <-------------------------------------------> $footer <-------------------------------------------> ABOVE ADD: <-------------------------------------------> $vboptions[fhfooter] -+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-- *** Useage: AdminCP => vBulletin Options => Forums Home Page Options => @ the bottom of the page "Extra Header" "Extra Footer" Show Your Support
|
Comments |
#2
|
|||
|
|||
thx for the plugin but how shows that on output, on your forum I don't saw any extra "headers" or "footers"
|
#3
|
||||
|
||||
We're going to try out this one, I'll update on the results
|
#4
|
||||
|
||||
Quote:
$navbar <-------------------------------------------> BELOW ADD: <-------------------------------------------> $vboptions[fhheader] <-------------------------------------------> You can place $vboptions[fhheader] / $vboptions[fhfooter] anywere in the FORUMHOME. I placed google's HTML source in the header area of the hack. (image attached) You can use HTML, javascript, Iframe, ect , but no PHP. |
#5
|
|||
|
|||
thanx for your prompt answer Zachariah. so I see that's the plugin is an alternative to edit the navbar template to put some codes like adsense.. just a little bit more tuned. If possible to have more than 1 header and rotate them or for each forum category another header?
And thanx for the screeny.. |
#6
|
||||
|
||||
Here is a simple JAVA random banner code you can paste in the HTML area.
EX: This will show @ random. image1.jpg @ http://www.yoursite1.com image2.jpg @ http://www.yoursite2.com image3.jpg @ http://www.yoursite3.com Code:
<script language="javascript" type="text/javascript"> <!-- function banner() { }; banner = new banner(); number = 0; // bannerArray banner[number++] = "<a href='http://www.yoursite1.com' target='_blank'><img src='/banners/image1.jpg' alt='' border='0' /></a>" banner[number++] = "<a href='http://www.yoursite2.com' target='_blank'><img src='/banners/image2.jpg' alt='' border='0' /></a>" banner[number++] = "<a href='http://www.yoursite3.com' target='_blank'><img src='/banners/image3.jpg' alt='' border='0' /></a>" // keep adding items above here... increment = Math.floor(Math.random() * number); document.write(banner[increment]); //--> </script> Code:
banner[number++] = "<a href='http://www.yoursite1.com' target='_blank'><img src='/banners/image1.jpg' alt='' border='0' /></a>" Image location |
#7
|
|||
|
|||
Any idea on why it would be blocking images for our HTML table? Screenshot below. Thanks.
|
#8
|
||||
|
||||
Quote:
- link to the error ? |
#9
|
|||
|
|||
|
#10
|
||||
|
||||
Quote:
- Did you turn on the plug-in system in your forums? I also see in your source: HTML Code:
<if condition="$foruminfo['banner'] AND $foruminfo['bannerlink']"><center><a href="$foruminfo[bannerlink]" target="_blank"><img src="$foruminfo[banner]" alt="$foruminfo[banneralt]" border="0" /></a></center> <else /> <if condition="$foruminfo['banner']"><center><img src="$foruminfo[banner]" alt="$foruminfo[banneralt]" border="0" /></center> <else /> <if condition="$foruminfo['bannercode']"><center>$foruminfo[bannercode]</center> </if> </if> </if> not the current one your in. |
Thread Tools | |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|