PDA

View Full Version : Add Extra Header / Footer to FORUMHOME


Zachariah
08 Oct 2005, 22:40
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:
---------------
Code is only visible to licensed users, and only when logged into the forums.
---------------



* Or anywere on the FORUMHOME template. 8-)

-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+--
*** Useage:

AdminCP => vBulletin Options => Forums Home Page Options => @ the bottom of the page

"Extra Header"
"Extra Footer"

tanyeri24
09 Oct 2005, 00:42
thx for the plugin but how shows that on output, on your forum I don't saw any extra "headers" or "footers"

skydancer
09 Oct 2005, 00:52
We're going to try out this one, I'll update on the results :)

Zachariah
09 Oct 2005, 00:59
thx for the plugin but how shows that on output, on your forum I don't saw any extra "headers" or "footers"

Currently I have the header part of the hack here :

$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.

tanyeri24
09 Oct 2005, 01:28
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..

Zachariah
25 Oct 2005, 15:38
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:
---------------
Code is only visible to licensed users, and only when logged into the forums.
---------------



Useage: If you need more banners edit / add another row.


Code:
---------------
Code is only visible to licensed users, and only when logged into the forums.
---------------



Link of Destination
Image location

Bubble #5
22 Nov 2005, 18:31
Any idea on why it would be blocking images for our HTML table? :( Screenshot below. Thanks.

Zachariah
26 Nov 2005, 15:02
Any idea on why it would be blocking images for our HTML table? :( Screenshot below. Thanks.

no ?
- link to the error ?

Bubble #5
26 Nov 2005, 17:41
Here ya go :)

Clickity-Click (http://www.imnotinvisible.com/4um/index.php?)

Zachariah
26 Nov 2005, 19:42
Here ya go :)

Clickity-Click (http://www.imnotinvisible.com/4um/index.php?)

- Did you install the XML as a Product?
- Did you turn on the plug-in system in your forums?

I also see in your source:


Code:
---------------
Code is only visible to licensed users, and only when logged into the forums.
---------------


this hack: http://www.vbulletin.org/forum/showthread.php?t=94119
not the current one your in.

Bubble #5
26 Nov 2005, 22:05
- Did you install the XML as a Product?
- Did you turn on the plug-in system in your forums?
Yes, see screenshot.

I also see in your source this hack: http://www.vbulletin.org/forum/showthread.php?t=94119
not the current one your in.
Yes we understand that. We have both hacks installed. Images still not showing from this hack.

dprice
03 Jan 2006, 05:16
Great Hack! Thanks.

How do I get my banners to center? Mine is justifying left.

www.v-twinforum.com/forums

kommuni
03 Jan 2006, 12:43
Great Hack! Thanks.

How do I get my banners to center? Mine is justifying left.

www.v-twinforum.com/forums

did you ever try <div align="center"> ? :)

Zachariah
03 Jan 2006, 13:59
Great Hack! Thanks.

How do I get my banners to center? Mine is justifying left.

www.v-twinforum.com/forums

Place:


Code:
---------------
Code is only visible to licensed users, and only when logged into the forums.
---------------


OR

when you paste you banner code in the AdminCP place those tags around your banner code.

dprice
28 Jan 2006, 01:55
Thanks, great hack!!

Is there any way to make it work with PHP? Trying to use this code "$phpAds_raw[html]"

Zachariah
28 Jan 2006, 02:15
Thanks, great hack!!

Is there any way to make it work with PHP? Trying to use this code "$phpAds_raw[html]"

PHP no.
- You can output phpads (java output) vs. php and it will work.

dprice
28 Jan 2006, 02:21
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

saree
27 Apr 2006, 15:28
Thank You For The Product

smoknz28
15 Dec 2006, 01:20
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.

Zachariah
15 Dec 2006, 17:29
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.

http://www.vbulletin.org/forum/showthread.php?t=99544
old version, but should still work. I have other ideas and things to recode, before 3.6ver is done.

smoknz28
15 Dec 2006, 17:46
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. ;)

tankaya61
13 Jan 2007, 07:42
can i show only mainpage (index.php)?

vktechnology
20 Jan 2010, 15:23
can some one do this for version 4 please
this very usefull