The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
Forum Headers Hack Details »» | |||||||||||||||||||||||||
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
|
Comments |
#12
|
|||
|
|||
followed it to the letter (including the sanity bit heh)
got this error... from the admin panel... Invalid SQL: UPDATE forum SET styleid='1', title='Chit Chat', description='General Discussion, board news, news, discuss anything you want in here.', active='1', displayorder='3', iconimg='', parentid='6', parentlist='8,6,-1', allowposting='1', cancontainthreads='1', daysprune='30', newpostemail='', newthreademail='', moderatenew='0', allowhtml='1', allowbbcode='1', allowimages='1', allowsmilies='0', allowicons='0', styleoverride='1', allowratings='1', countposts='1', moderateattach='0',forumnewsid='', enableheader='1',guestonlyheader='0',forumheader=' THIS IS A TEST HEADER' WHERE forumid='8' mysql error: Unknown column 'iconimg' in 'field list' mysql error number: 1054 |
#13
|
||||
|
||||
If you don't have the forum icons hack, you won't have the iconimg field in your forums table.
Thats why I mentioned that line would need som sanity checking to make sure it was consistant with your site. |
#14
|
|||
|
|||
step 9 says: In forumdisplay.php
FIND: ----------- updateuserforum($forumid); ----------- Then your code. Does it go before or after? |
#15
|
||||
|
||||
Quote:
|
#16
|
|||
|
|||
installed perfectly!
ive been waiting for a hack like this all damn year |
#17
|
|||
|
|||
amazing ! cant wait too install it !
|
#18
|
||||
|
||||
look at this
https://vborg.vbsupport.ru/showthrea...threadid=36093 Quote:
|
#19
|
||||
|
||||
Not even close to being the same. Why would you create a template per forum when you can just enter HTML directly into a text box via the ACP, keep the data in the database and have it protecting with backups?
Also nothing about footer or restricting the headers and footers individually to just guests. Would you suggest two additional templates per forum to have both a header and a footer? Not to mention the headache of having to check forumid's before modifying a template if you have several forums. Or having to remember to delete templates if a forum gets deleted. This is a much more managable, elegant solution. You want to edit the header/footer of a particular forum, you edit the forum. You want to limit either the header or footer to just guests, select that option as you edit the forum. You delete the forum, the header/footer info goes away at the same time. Whats the cost? One SQL querie, same as adding a new thread. What exactly are you objecting to? |
#20
|
||||
|
||||
Here is one that is actually quite similar in approach but more limited in functionality. I came up in the list as I was checking this thread.
https://vborg.vbsupport.ru/showthrea...threadid=26818 I'm going to link to is because if all you want is banners and the ability to set time limits, this is a better approach. You display a picture, not actual HTML. If you want HTML headers and footers and would rather have control based on user level, this is the better approach. |
#21
|
|||
|
|||
Question. Step 5:
Quote:
Quote:
|
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|