Go Back   vb.org Archive > vBulletin Modifications > Archive > vB.org Archives > vBulletin 2.x > vBulletin 2.x Full Releases
FAQ Community Calendar Today's Posts Search

Reply
 
Thread Tools
Forum Headers Hack Details »»
Forum Headers Hack
Version: 1.00, by FASherman FASherman is offline
Developer Last Online: May 2011 Show Printable Version Email this Page

Version: 2.2.x Rating:
Released: 08-24-2002 Last Update: Never Installs: 53
 
No support by the author.

The idea for this hack came from the desire to increase forum traffic. What I wanted to do was subscribe individual forums into webrings. The problem was each forum would have to have the webring code within that forum page.

So I began writing this with the idea of just enabling webrings for a forum, but saw that it would just as easily be useful for adding custom HTML headers to individual forums.

What this hack does is allow you to specify an HTML code as a header for a specific forum. From the Admin CP, you specify whether a forum should have a forum header, if it should be guest only or not (I didn't want to bother registeres users with the webring banner), and then a text box for entering in the HTML

You can view a sample forum header at my site:
http://www.fasherman.com/forums/foru...php?forumid=27

I've also included a screen shot of AdminCP

Show Your Support

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

Comments
  #42  
Old 04-10-2003, 08:56 PM
Imprezer Imprezer is offline
 
Join Date: Dec 2002
Posts: 55
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

What is Forum Icon hack? I cannot find it. Please help!
Reply With Quote
  #43  
Old 04-11-2003, 02:21 AM
GZ_Tanis's Avatar
GZ_Tanis GZ_Tanis is offline
 
Join Date: Oct 2002
Posts: 27
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Ok I went in and took out all that sanity check stuff. I am presently using this on my 2.3.0 board and it is working perfectly.
Reply With Quote
  #44  
Old 04-11-2003, 04:06 AM
Imprezer Imprezer is offline
 
Join Date: Dec 2002
Posts: 55
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Thank you! I will try that as I am getting some errors.
Reply With Quote
  #45  
Old 04-11-2003, 04:32 PM
floridaideal floridaideal is offline
 
Join Date: Aug 2002
Posts: 136
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Can anyone please tell me if its possible for this hack to add a 'vb logo' for each forum? That would be so cool if it could.

Also when I installed this I found if any of the text I included had a ' in it then it would cause a database error....just something some of you might want to look out for.

Thanks

Stu
Reply With Quote
  #46  
Old 04-11-2003, 08:31 PM
GZ_Tanis's Avatar
GZ_Tanis GZ_Tanis is offline
 
Join Date: Oct 2002
Posts: 27
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Today at 12:26 PM floridaideal said this in Post #44
Can anyone please tell me if its possible for this hack to add a 'vb logo' for each forum? That would be so cool if it could.

Also when I installed this I found if any of the text I included had a ' in it then it would cause a database error....just something some of you might want to look out for.

Thanks

Stu


Florida I know some people have posted examples but I didnt quite understand what this really did until I finally go tthis hack to work on my boards if you want to see what it does just after an install you can go here to this board and see what it adds. First go to our main page www.gzleagues.com/forum and see the top banner it says GZLeagues Private forum now go to this forum

http://gzleagues.com/forum/forumdisp...?s=&forumid=17

as you can see the top banner has changed into the Mechwarrior 4 banner. I had to go in and redo some coding to make just that banner show but I think you can get an idea of what this can do.
Reply With Quote
  #47  
Old 06-16-2003, 06:54 PM
Threshold Threshold is offline
 
Join Date: May 2003
Posts: 14
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
04-10-03 at 11:21 PM GZ_Tanis said this in Post #42
Ok I went in and took out all that sanity check stuff. I am presently using this on my 2.3.0 board and it is working perfectly.

Thanks!

I am assuming your version of this hack is one based on "clean" code then?
Reply With Quote
  #48  
Old 12-18-2003, 07:27 PM
Okiewan's Avatar
Okiewan Okiewan is offline
 
Join Date: Dec 2001
Posts: 199
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Any idea what would make 2 headers/footers show up? Meaning, the main header is still there, with the forum specific header inside it... ??? It won't remove the original header/footer.

Maybe I'm misunderstanding the purpose... I'm assuming this was intended to replace the header/footer ... seems more like it just allows you to enter some info in the forumdisplay... my bad.

I'm looking for something to assign different styles (header/footer) the "complete" header and footer.

Basically, if this hack could be modified to remove $header and $footer from forumdisplay IF a custom header and footer is inserted in the specific forum edit, it would be killer.
Reply With Quote
  #49  
Old 02-23-2004, 05:52 PM
stamos2003 stamos2003 is offline
 
Join Date: Nov 2003
Location: Berlin
Posts: 107
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

gives me an error when i try to post complex html headers:

mysql error number: 1064

Invalid SQL: UPDATE forum
SET and here follows the html code i want to put.

any ideas ?!

when i set the same html code through phpmyadmin then it works.....
Reply With Quote
  #50  
Old 02-28-2004, 05:30 PM
stamos2003 stamos2003 is offline
 
Join Date: Nov 2003
Location: Berlin
Posts: 107
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

4get, was a hacking error
Reply With Quote
  #51  
Old 08-13-2004, 01:02 AM
pdatoon pdatoon is offline
 
Join Date: Nov 2001
Posts: 82
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I'm not quite sure to understand if this hack will allow me to have customize categories headers? Like this : http://www.homedigitalandco.com/pdaforum/

Or this is just customized headers for each forum category?
Reply With Quote
Reply


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 05:31 AM.


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.07046 seconds
  • Memory Usage 2,307KB
  • Queries Executed 27 (?)
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_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_postinfo_query
  • fetch_postinfo
  • 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