vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 3.5 Add-ons (https://vborg.vbsupport.ru/forumdisplay.php?f=113)
-   -   Add a Header / Footer option to each forum (https://vborg.vbsupport.ru/showthread.php?t=96398)

stinger2 10-28-2005 01:00 PM

yes that would be great.....an extra header footer.....which can be on forum home+forumdisplay+showthread.......
so one can add any extra info in one action.....i.e not going through them all

Zachariah 10-28-2005 01:19 PM

Quote:

Originally Posted by stinger2
yes that would be great.....an extra header footer.....which can be on forum home+forumdisplay+showthread.......
so one can add any extra info in one action.....i.e not going through them all

Not a problem. You will have it shortly.

https://vborg.vbsupport.ru/showthread.php?t=99544

northernstar 11-22-2005 02:10 AM

Great hack! I was looking for this.

But there use to be a hack where you just specified the file (html, or whatever) and select which forum it would be shown in. This way, you just update that one html file and it will automatically update in all the forums you selected.

With your mod, I have to copy and paste the same html into all the forums I want it to show. And I don't want the other option, which is to have it show in ALL forums.

So basically, is there any way where we can specify the html for the header and footer and in a textbox, list all the forum IDs (the comma separated method) we want it to show in?

Zachariah 11-22-2005 02:42 AM

Quote:

Originally Posted by northernstar
Great hack! I was looking for this.

But there use to be a hack where you just specified the file (html, or whatever) and select which forum it would be shown in. This way, you just update that one html file and it will automatically update in all the forums you selected.

With your mod, I have to copy and paste the same html into all the forums I want it to show. And I don't want the other option, which is to have it show in ALL forums.

So basically, is there any way where we can specify the html for the header and footer and in a textbox, list all the forum IDs (the comma separated method) we want it to show in?

Might try this untill I get something together.

Add Extra Header / Footer

these are HTML areas in your header / footer templates: I did this to make the header and footers easy for me to edit all the time :)

( This was off the top of head code.)

Code:

<if condition="$foruminfo[forumid]=='6,7,8,9,10,2000'">
Custom banner HTML code
<else />
Custom banner HTML code2 or default image HTML code
</if>


fridayweb 11-25-2005 04:33 PM

I wanted to just exclude several forums, the ones that were my category forums. The code above didn't work for me with the commas separating the numbers, so I just made a long messy conditional that works for me.

Code:

<if condition="$foruminfo[forumid]!='10' AND $foruminfo[forumid]!='11' AND $foruminfo[forumid]!='16'">
-shrug- it works, that's all I care about. :)

grecostimpy 11-28-2005 12:53 AM

Where's the download? I checked your site and don't see it there either. (??)

Zachariah 11-28-2005 01:52 AM

Quote:

Originally Posted by grecostimpy
Where's the download? I checked your site and don't see it there either. (??)

back up

zlos 12-06-2005 08:18 AM

Quote:

Originally Posted by csidlernet
thankyou!!!!!!!
[high]* csidlernet installs[/high]

Works just fine :)

Neutral Singh 12-25-2005 05:22 AM

oh thanks, exactly what i was looking for. :)

Gordon219 12-31-2005 06:03 AM

So I can have a different banner for different forums?


All times are GMT. The time now is 04:07 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
  • Page Generation 0.02830 seconds
  • Memory Usage 1,739KB
  • Queries Executed 10 (?)
More Information
Template Usage:
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (2)bbcode_code_printable
  • (4)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)pagenav_pagelink
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (10)printthreadbit
  • (1)spacer_close
  • (1)spacer_open 

Phrase Groups Available:
  • global
  • postbit
  • showthread
Included Files:
  • ./printthread.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/class_bbcode_alt.php
  • ./includes/class_bbcode.php
  • ./includes/functions_bigthree.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
  • printthread_start
  • pagenav_page
  • pagenav_complete
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete