View Full Version : Header System
zajako
12-26-2002, 10:00 PM
This hack allows your members to change the header to all the pages without effecting the theme. This allows you to make multiple headers without a ton of themes and work involved.
Feature List:
Admin add/edit options
User Cp >> Edit Options drop down allowing users to change headers.
hope you enjoy
Demo:
http://tfogame.com
zajako
12-27-2002, 01:05 PM
here is a screen shot of the user options
NTLDR
12-27-2002, 01:12 PM
Looks good, I may use this, looks like the kind of thing I may need :D
Edit to add, this query:
ALTER TABLE `tfo3_9`.`user` ADD `headerid` TINYINT(8) DEFAULT '1' NOT NULL;
Should be:
ALTER TABLE `user` ADD `headerid` TINYINT(8) DEFAULT '1' NOT NULL;
zajako
12-27-2002, 01:22 PM
whoops thanks, i was not paying attention and copied the text given by phpmyadmin, ill update the zip
Graphics
12-27-2002, 02:08 PM
*INSTALLS*:D
Chris M
12-27-2002, 02:16 PM
Looks good zajako:)
I look forward to testing it out:D
Satan
zajako
12-27-2002, 02:35 PM
its very handy as i know a ton of boards that change their template mainly because of the header. now it works out so they can make new headers rather than make a bunch of new styles.
alkatraz
12-27-2002, 05:21 PM
ya great idea!
when you say "header", you're talking about the header code from the template right? Will this give me the ability to change the forum colours for each header? (without creating duplicate styles for each color/header scheme)
Velocd
12-27-2002, 05:41 PM
Crafty idea Zajako, not one that I need but I'm sure others will find it useful ;)
zajako
12-27-2002, 07:37 PM
alkatraz your correct :p
The exact reasoning for this hack to. It makes styles, color and images only, template templates only, replacements replacements only and then headers headers only although they all overlap in their own ways :p you can also add them to all your template sets and change the header to fit the template if you want as well. its pretty open and very flexable :]
Dean C
12-27-2002, 07:37 PM
Wow i've been waiting for such a hack for a long time now :P
Can this be easily changed so it just allows users to choose the banner (i.e. {titleimage})??
- miSt
zajako
12-27-2002, 08:27 PM
yeah but that would require some serious remodling. Practicaly a new hack. Instant message me about it and ill see about making a hack as such.
geniuscrew
12-27-2002, 11:29 PM
Originally posted by Mist
Can this be easily changed so it just allows users to choose the banner (i.e. https://vborg.vbsupport.ru/images/vBulletin_logo.gif)??
Something that I am looking for too.
Nice hack though Zak ;)
zajako
12-28-2002, 09:27 AM
ill make a hack to do that in a few hours geniuscrew and Mist. It takes too many changes for this one to simply call it an edit of this one and since i have at least 2 requests for it why not make it :]
Dean C
12-28-2002, 09:30 AM
I've been learning PHP since xmas with my new book so i'm going to have a go on my own zajako - thanks for offering though :p
I'll let you know how i get on :D
Regards
- mist
zajako
12-28-2002, 10:24 AM
ill dtill make and rlease it for genuis crew at least, it will only take 5-10 mins to make :] you can then compare yours to mine whne you finish to see how you did as well :]
Dean C
12-28-2002, 10:36 AM
Ok sure :p
zajako
12-28-2002, 10:39 AM
i was already half way done with it otherwise i would just have let you do it and release it :], twill be up in about 5 mins after i double check the coding :]
Kevorkian
12-28-2002, 12:42 PM
i've some problem with the first and the second mysql query :paranoid:
kmfdm_kid2000
12-28-2002, 02:29 PM
Hey, something HIGHLY useful, and time saving, this I like ;)
zajako
12-29-2002, 09:41 PM
yeah K you should put my GQ header into the line up, cause i like mine better :P
At least you are useing the logo i designed :P
K what problem do you have with it. Ithink the file might have them out of order. Make sure the one with the word table in it is first.
firas
03-16-2003, 05:08 AM
so coool
i'll install it soon
mcyates
06-07-2003, 02:42 PM
I get an error when i click on modify in the admincp. Also the baners are not showing.
Warning: mysql_num_rows(): supplied argument is not a valid MySQL result resource in /home/myfootba/public_html/admin/db_mysql.php on line 195
vBulletin® v3.8.12 by vBS, Copyright ©2000-2025, vBulletin Solutions Inc.