![]() |
Add Extra Header / Footer to FORUMHOME
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 -+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-- *** Useage: AdminCP => vBulletin Options => Forums Home Page Options => @ the bottom of the page "Extra Header" "Extra Footer" |
thx for the plugin but how shows that on output, on your forum I don't saw any extra "headers" or "footers"
|
We're going to try out this one, I'll update on the results :)
|
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. |
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.. |
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"> Code:
banner[number++] = "<a href='http://www.yoursite1.com' target='_blank'><img src='/banners/image1.jpg' alt='' border='0' /></a>" Image location |
Any idea on why it would be blocking images for our HTML table? :( Screenshot below. Thanks.
|
Quote:
- link to the error ? |
|
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> not the current one your in. |
Quote:
Quote:
|
Great Hack! Thanks.
How do I get my banners to center? Mine is justifying left. www.v-twinforum.com/forums |
Quote:
|
Quote:
Code:
<center>$vboptions[fhheader]</center> when you paste you banner code in the AdminCP place those tags around your banner code. |
Thanks, great hack!!
Is there any way to make it work with PHP? Trying to use this code "$phpAds_raw[html]" |
Quote:
- You can output phpads (java output) vs. php and it will work. |
Ok, I figured it out. Just went into the FORUMHOME template and added below $navbar, the PHP code of $phpads_raw [html], then went into my global_hook plugin and added the PHP invocation code and it called up the banner without any problems!
Thanks |
Thank You For The Product
|
Instead of just forum home, I'd like to use this on all pages. How can this be done? Also, will this work with vB 3.6.4?
Thanks Zach. |
Quote:
old version, but should still work. I have other ideas and things to recode, before 3.6ver is done. |
Thanks Zach. I switched from ubbThreads and one thing that I did like about ubb was that it was so easy to add html and java to the header or footer which helped people like myself who uses phpAdsNew. I've been having one hell of a time with getting phpAdsNew to work the way that I would like it to in vB.
I will take a look at the hack you pointed me to and give it a whirl. ;) |
can i show only mainpage (index.php)?
|
can some one do this for version 4 please
this very usefull |
All times are GMT. The time now is 02:05 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 | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|