vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 3.0 Full Releases (https://vborg.vbsupport.ru/forumdisplay.php?f=33)
-   -   Header/Footer For Each Forum and Threads in that Forum (https://vborg.vbsupport.ru/showthread.php?t=65890)

ChurchMedia 02-27-2005 11:54 PM

You might want something completely different for the sub-forums. If you don't -- there's no way to have it apply to sub-forums without just copying the information. I don't know how to code it to do that automatically... sorry.

turkforum 02-28-2005 12:51 AM

Thnx this works fine anyway great hackI will cahrge for each forum it will be displayed next time

gnawph 02-28-2005 03:08 AM

Nice hack. Thanks.

Eagle Creek 02-28-2005 10:28 PM

Cool!

Is it 3.0.7 compatible?

CommunityZ 04-02-2005 04:03 PM

I am using 3.0.7 and it works.
I had to copy and paste the same info again and again into different forum . If there is a solution that let me do it all inside vbulletin with one click will be great. I got many forums.

ChurchMedia 04-02-2005 04:09 PM

Quote:

Originally Posted by CommunityZ
I am using 3.0.7 and it works.
I had to copy and paste the same info again and again into different forum . If there is a solution that let me do it all inside vbulletin with one click will be great. I got many forums.

If you want something to show up globally you would just use the header/footer templates. This hack is to have different sub-headers/sub-footers for each forum...

CommunityZ 04-02-2005 04:14 PM

Quote:

Originally Posted by ChurchMedia
If you want something to show up globally you would just use the header/footer templates. This hack is to have different sub-headers/sub-footers for each forum...

I see. Thank you. Do you mind teaching me how to do that because i am very new to vb3.

ChurchMedia 04-02-2005 04:33 PM

Quote:

Originally Posted by CommunityZ
I see. Thank you. Do you mind teaching me how to do that because i am very new to vb3.

In the templates area for your style you will find a template called "header" and one called "footer". It's in under "Styles and Templates" -- "Style Manager" -- << >>

CommunityZ 04-02-2005 04:51 PM

I want to have the banner under navbar I got idea now To add banner under navbar i go to edit navbar. But when i edit footer it shows above All times are GMT +8. The time now is 03:36 I want to have banner above Display Option like what theadminzone.com. How? By the way, your hacks is good so i installed it too for future use. :)

red_baron2000 04-09-2005 04:20 AM

simple/nice and works like a charm ..what can i say more ? oh yes big thank you :)

*installed*

dimdan 05-16-2005 05:22 AM

Cool. Thank's

vktechnology 06-05-2005 09:57 PM

good hack, i just install

BOWZONE 06-19-2005 07:56 PM

*INSTALLED!*

Great hack...thank you.

banuchi2 07-28-2005 04:15 AM

Quote:

Originally Posted by BOWZONE
*INSTALLED!*

Great hack...thank you.

Is there any chance someone could adapt this for v3.5 RC1 ....thanks.

Mike

sv1cec 07-28-2005 04:24 AM

Every time I see a post like this, I get another reassurance why my boards will NOT move to 3.5 soon. Too much hacks installed, for my own good!

Long live 3.0.x!

VHLinks 07-28-2005 05:29 AM

Works great just a quick question. Is there a way to use a conditonal somehow so that you can have a different header and/or footer display depending on the style number being selected? So if a user is using Style #1, they'd get one header, if they're using Style #2, they'd get another.

Thanks.

Mokster 08-24-2005 03:14 PM

Quote:

Originally Posted by Imprezer
Installed! Haven't tried it yet, but I think it will work just fine.

Just one thing, in the instructions, you might wanna change the name of the admin directory to admincp, since it is for the vb3.0. That way it will be clear to everyone.

This hack is great. Combined with phpadsnew, this is the ultimate solution for targeted banner advertising.

Thanks again!

have people been able to get this hack to work with phpadsnew?

i tried and when i put $phpAds_raw3[html] in the header box, the actual text shows up instead of a banner...anyone know why?

cnczone 09-10-2005 01:48 AM

has this been updated for 3.5?

mOdEtWo 09-12-2005 10:21 PM

No. :(

I've tried to PM the author, but he/she hasn't read it. And his/her email address is private, so I can't email either.

cnczone 09-15-2005 12:30 PM

That sinks

stan111 09-16-2005 11:54 AM

will this work with 3.0.7 ?

Zachariah 09-16-2005 02:06 PM

I got it done ill post it in the vb3.5 area

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

Jesse Jericho 10-25-2005 06:33 PM

Can someone give me a hand with removing this from vB 3.5.0? I just upgraded to 3.5, and now I can't control these headers/footers anymore... So I need to remove them, and then upgrade to the new 3.5 mod..

*edit* Scratch that, you made it really easy with an upgrade patch... man do I feel dumb. :) Thanks very much!

ski diva 12-23-2006 07:24 PM

Just found this hack and it looks like one I'd like to use (I'm running 3.5.4), so I downloaded it, but I don't understand these instructions:

Quote:

-----------------------STEP 1-----------------------------
Run Queries
NOTE: If you used a header/footer hack in VB2.x, you may already have these fields

<------------------------------------------->
ALTER TABLE `forum` ADD `forumheader` MEDIUMTEXT NOT NULL AFTER `description`;
ALTER TABLE `forum` ADD `forumfooter` MEDIUMTEXT NOT NULL AFTER `forumheader`;
<------------------------------------------->
I have no idea what this involves. Can anyone help?

In fact, I don't understand step 2, either. Where's admin/forum.php?

Thanks.

ArnyVee 04-10-2008 11:19 PM

Does this work in 3.6.8 patch 2? Or is there a better or updated version of this hack?

SC351W 04-12-2008 06:11 PM

in my file admincp/forum.php
there is no
'$forum['description'] = convert_to_valid_html($forum['description']);'

I can only find something like this,
$forum['description'] = str_replace('&amp;', '&', $forum['description']);

but it has two extra variables for the str_replace function.

Should i just change it to the str_replace function and format it the same?
i have vb 3.6.9.

thnx


All times are GMT. The time now is 02:21 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.01287 seconds
  • Memory Usage 1,767KB
  • 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
  • (6)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (2)pagenav_pagelink
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (26)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