php forum
php mysql forum
php mysql smarty
 
Topic Options
#207516 - 01/13/01 03:47 PM low budget diff headers for each category
poil Offline
Enthusiast

Registered: 08/14/00
Posts: 492
Loc: poilville, in the republic of ...
example at:<br />http://www.extremeforums.org<br />click on any of the forums for an example.<br /><br />show a different header for each category. it is low budget in the way that you need to have a header for each category that you have. anyone want instructions.<br /><br />[:red]--------------</font color=red><br />http://extremeforums.org/index
_________________________
Extreme!!!

Top
#207517 - 01/13/01 07:43 PM Re: low budget diff headers for each category [Re: vent]
MTO Offline
Addict

Registered: 01/31/00
Posts: 1524
Loc: Burgos, Spain.
That looks cool! []/w3timages/icons/cool.gif[/]<br />I dont want to hack it right now as I am still working on some other things but visually seeing this wanted thing is quite an experience, haha! []/w3timages/icons/laugh.gif[/]<br /><br /><br />Mateo Byler<br />CruceDeCaminos.com
_________________________
Mateo Byler
CruceDeCaminos.com

Top
#207518 - 02/02/01 03:22 PM Re: low budget diff headers for each category [Re: vent]
DaBirk Offline
Journeyman

Registered: 05/26/00
Posts: 115
Loc: Lincoln, NE, USA
Yeah! I'll take a look? Is this a PHP version exclusive? I am using PERL.<br /><br />- Da Birk<br />http://www.ncaastrategies.com<br />
_________________________
- Da Birk
http://www.ncaastrategies.com

Top
#207519 - 02/02/01 03:31 PM Re: low budget diff headers for each category [Re: Moku]
poil Offline
Enthusiast

Registered: 08/14/00
Posts: 492
Loc: poilville, in the republic of ...
here is the low budget way of doing it for php, i think it is quite easy to do it for perl.<br /><br />find this line in main.inc.php:<br /><br /> echo "<SPAN CLASS=\"onbody\">";<br /> include "$thispath/includes/header.php";<br /> echo "</SPAN>";<br /><br />and change it so it looks like this:<br /><br /> // ----------------------------<br /> // require the header.php file<br /> echo "<SPAN CLASS=\"onbody\">";<br /> if ($cat) {<br /> include "$thispath/includes/header$cat.php";<br /> }<br /> else {<br /> include "$thispath/includes/header.php";<br /> }<br /> echo "</SPAN>";<br /><br />see the low budget factor is that you now have to make a header2.php, header1.php, header3.php file for each category that you have and place them in your includes folder.<br /><br />[:red]--------------</font color=red><br />http://extremeforums.org/index
_________________________
Extreme!!!

Top


Who's Online
0 registered (), 24 Guests and 15 Spiders online.
Key: Admin, Global Mod, Mod
Shout Box

Latest Posts
Spell Check [beta]
by Bill B
Today at 09:16 PM
PhotoPost BB Code Popup
by AllenAyres
Today at 09:41 AM
Problems reading a lot of old posts here
by AllenAyres
Today at 09:35 AM
Forum 'Trader Ratings'.
by AllenAyres
Today at 09:33 AM
Customization needed
by Gizmo
11/12/08 12:28 PM
Team UBBDev Rides Again!
by AllenAyres
11/11/08 02:16 PM
Active Topics.
by AllenAyres
11/11/08 02:13 PM
New Mods
User Authentication Class
by
01/19/07 02:59 PM
Multiple Identity Detector
by
12/30/06 06:39 PM
PhotoPost BB Code Popup
by
11/06/06 05:43 PM
Spell Check [beta]
by
10/17/06 09:24 PM
Newest Members
David DelMonte, nick1, Begbie, cenk, MATTO
13363 Registered Users
Top Posters
AllenAyres 25452
JoshPet 11330
Rick 8372
LK 7396
Lord Dexter 6503
Greg Hard 5533
Charles Capps 5438

 

 

 
fusionbb message board php hacks