Go Back   vb.org Archive > vBulletin Modifications > Archive > vB.org Archives > vBulletin 3.5 > vBulletin 3.5 Add-ons

Reply
 
Thread Tools
Add Extra Header / Footer to FORUMHOME Details »»
Add Extra Header / Footer to FORUMHOME
Version: 1.00, by Zachariah Zachariah is offline
Developer Last Online: Jan 2020 Show Printable Version Email this Page

Version: 3.5.0 Rating:
Released: 10-07-2005 Last Update: 11-27-2005 Installs: 29
Uses Plugins Template Edits
 
No support by the author.

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]
* Or anywere on the FORUMHOME template. 8-)

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

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

"Extra Header"
"Extra Footer"

Show Your Support

  • This modification may not be copied, reproduced or published elsewhere without author's permission.

Comments
  #12  
Old 11-26-2005, 08:05 PM
Bubble #5 Bubble #5 is offline
 
Join Date: Apr 2005
Posts: 984
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Zachariah
- Did you install the XML as a Product?
- Did you turn on the plug-in system in your forums?
Yes, see screenshot.

Quote:
I also see in your source this hack: https://vborg.vbsupport.ru/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.
Reply With Quote
  #13  
Old 01-03-2006, 03:16 AM
dprice dprice is offline
 
Join Date: Apr 2002
Posts: 45
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Great Hack! Thanks.

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

www.v-twinforum.com/forums
Reply With Quote
  #14  
Old 01-03-2006, 10:43 AM
kommuni kommuni is offline
 
Join Date: Apr 2004
Posts: 58
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by dprice
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"> ?
Reply With Quote
  #15  
Old 01-03-2006, 11:59 AM
Zachariah's Avatar
Zachariah Zachariah is offline
 
Join Date: Feb 2002
Location: Canoga Park, CA
Posts: 2,125
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by dprice
Great Hack! Thanks.

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

www.v-twinforum.com/forums
Place:
Code:
<center>$vboptions[fhheader]</center>
OR

when you paste you banner code in the AdminCP place those tags around your banner code.
Reply With Quote
  #16  
Old 01-27-2006, 11:55 PM
dprice dprice is offline
 
Join Date: Apr 2002
Posts: 45
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Thanks, great hack!!

Is there any way to make it work with PHP? Trying to use this code "$phpAds_raw[html]"
Reply With Quote
  #17  
Old 01-28-2006, 12:15 AM
Zachariah's Avatar
Zachariah Zachariah is offline
 
Join Date: Feb 2002
Location: Canoga Park, CA
Posts: 2,125
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by dprice
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.
Reply With Quote
  #18  
Old 01-28-2006, 12:21 AM
dprice dprice is offline
 
Join Date: Apr 2002
Posts: 45
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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
Reply With Quote
  #19  
Old 04-27-2006, 01:28 PM
saree saree is offline
 
Join Date: Aug 2002
Location: AbUdHaBi
Posts: 23
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Thank You For The Product
Reply With Quote
  #20  
Old 12-14-2006, 11:20 PM
smoknz28's Avatar
smoknz28 smoknz28 is offline
 
Join Date: Sep 2005
Location: SoCal
Posts: 257
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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.
Reply With Quote
  #21  
Old 12-15-2006, 03:29 PM
Zachariah's Avatar
Zachariah Zachariah is offline
 
Join Date: Feb 2002
Location: Canoga Park, CA
Posts: 2,125
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by smoknz28 View Post
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.
https://vborg.vbsupport.ru/showthread.php?t=99544
old version, but should still work. I have other ideas and things to recode, before 3.6ver is done.
Reply With Quote
Reply

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT. The time now is 09:13 PM.


Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2024, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.04770 seconds
  • Memory Usage 2,303KB
  • Queries Executed 25 (?)
More Information
Template Usage:
  • (1)SHOWTHREAD
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (1)ad_showthread_beforeqr
  • (2)bbcode_code
  • (6)bbcode_quote
  • (1)footer
  • (1)forumjump
  • (1)forumrules
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (1)modsystem_post
  • (1)navbar
  • (6)navbar_link
  • (120)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (2)pagenav_pagelink
  • (11)post_thanks_box
  • (11)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (11)post_thanks_postbit_info
  • (10)postbit
  • (11)postbit_onlinestatus
  • (11)postbit_wrapper
  • (1)spacer_close
  • (1)spacer_open
  • (1)tagbit_wrapper 

Phrase Groups Available:
  • global
  • inlinemod
  • postbit
  • posting
  • reputationlevel
  • showthread
Included Files:
  • ./showthread.php
  • ./global.php
  • ./includes/init.php
  • ./includes/class_core.php
  • ./includes/config.php
  • ./includes/functions.php
  • ./includes/class_hook.php
  • ./includes/modsystem_functions.php
  • ./includes/functions_bigthree.php
  • ./includes/class_postbit.php
  • ./includes/class_bbcode.php
  • ./includes/functions_reputation.php
  • ./includes/functions_post_thanks.php 

Hooks Called:
  • init_startup
  • init_startup_session_setup_start
  • init_startup_session_setup_complete
  • cache_permissions
  • fetch_threadinfo_query
  • fetch_threadinfo
  • fetch_foruminfo
  • style_fetch
  • cache_templates
  • global_start
  • parse_templates
  • global_setup_complete
  • showthread_start
  • showthread_getinfo
  • forumjump
  • showthread_post_start
  • showthread_query_postids
  • showthread_query
  • bbcode_fetch_tags
  • bbcode_create
  • showthread_postbit_create
  • postbit_factory
  • postbit_display_start
  • post_thanks_function_post_thanks_off_start
  • post_thanks_function_post_thanks_off_end
  • post_thanks_function_fetch_thanks_start
  • post_thanks_function_fetch_thanks_end
  • post_thanks_function_thanked_already_start
  • post_thanks_function_thanked_already_end
  • fetch_musername
  • postbit_imicons
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • postbit_display_complete
  • post_thanks_function_can_thank_this_post_start
  • pagenav_page
  • pagenav_complete
  • tag_fetchbit_complete
  • forumrules
  • navbits
  • navbits_complete
  • showthread_complete