The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
Add Extra Header / Footer Details »» | |||||||||||||||||||||||||
/* ----------------- 10/28/2005 1:33PM -----------------
Add Extra Header / Footer Tested on vBulletin: 3.5.0 Zachariah - http://www.gzhq.net *** Info: This modification will allow you to add an extra, unique header and footer. You can use HTML, javascript, but no PHP. --------------------------------------------------*/ - - Extra Header Here you can add a "Extra Header" to your forums. Paste: $vboptions[fhx2h] into your templates. EX: Edit header template and paste $vboptions[fhx2h] at the top of the template, and save.. HTML, Javascript, etc. No PHP - - Extra Footer Here you can add a "Extra Footer" to your forums. Paste: $vboptions[fhx2f] into your templates. EX: Edit footer template and paste $vboptions[fhx2f] at the bottem of the template, and save.. HTML, Javascript, etc. No PHP *** Useage: vBulletin Options => General Settings => scroll Extra Header / Extra Footer enter your details. => Phrases list Random Java Rotation Show Your Support
|
Comments |
#2
|
||||
|
||||
I took:
$vboptions[fhx2h] // header $vboptions[fhx2f] // footer And just pasted them in the $header / $footer templates and now I have a place I can add and remove code @ will. Saves me from editing a template all the time. |
#3
|
|||
|
|||
If I could make a comment, you can do PHP Code by using eval.
Unless I am not thinking right now, you could easily do something with a plugin before it gets the header template from the DB to evaluate PHP inside the extra header/footer inside <!PHP and !> tags or something like that (you would need to have away to get the code inside the tags though, even if it is not that hard). Also, you could make a seperate field for PHP just to have that to evaluate, almost like the plugins system, and then that would be very useful to me, and probably a lot of other people to. Just my Opinion, though. (BTW, Nice binary in your sig...I decoded it (GZHQ)) |
#4
|
||||
|
||||
Quote:
Your 1st in 3 years said something on binary sig ;D |
#5
|
|||
|
|||
Well, sure, I think theres a hook somewhere in global.php right before it fetches the templates so it might work out.
|
#6
|
|||
|
|||
Hello!
1) Do you can do please sometimes your Header extra code of your HP post? Thanks 2) Phrasen not include :ermm: cu Deta |
#7
|
||||
|
||||
Installed!
|
#8
|
||||
|
||||
Quote:
1) I am sorry I do not understand. 2) Phrases list: setting_fhx2f_desc setting_fhx2f_title setting_fhx2h_desc setting_fhx2h_title options_options_fhx2f_text options_options_fhx2f_title options_options_fhx2h_text options_options_fhx2h_title Quote:
|
#9
|
|||
|
|||
Quote:
Excuse my bad English. On your Hompage and in the Screenshot you have inserted a navigation bar. Can you publish this code please here sometimes? It would be first-class. 2. I meant other phrases z.b. $vbphrase [Admin] from the other areas. 3. Install comes, as soon as I go online with vb3.5 Becoming not forgotten. cu Deta |
#10
|
||||
|
||||
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 |
Thread Tools | |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|