Previous Thread
Next Thread
Print Thread
Rate Thread
Joined: Nov 2001
Posts: 10,369
I type Like navaho
I type Like navaho
Joined: Nov 2001
Posts: 10,369
Mod Name / Version: Category Specific Header/Footer 1.0

Description: This will display a specific header and footer based on what category you are in. Unlike just using Board Headers and Footers (which can be tiedious if you have lots of boards in a category), this will also include the ubbthreads.php script (useful if you are using the Cat variable or the categories.php script as your main page) as well as the newpost and newreply scripts, which check the category the forum is in before sending the headers and footers.

Working Under: UBB.Threads 6.4

Mod Status: Beta

Any pre-requisites:

Author(s): JoshPet

Date: 01/11/04

Credits: Commissioned by kordegnen

Files Altered: ubbt.inc.php, ubbthreads.php, postlist.php, showflat.php, showthreaded.php, newpost.php, newreply.php, addpost.php, /admin/menu.php

New Files: none

Database Altered: none

Info/Instructions: You can set the special category number in the config file. Note if you rearrange your categories, you'll have to redefine the category number.

Disclaimer: Please backup every file that you intend to modify.
If the modification modifies the database, it's a good idea to backup your database before doing so.

Note: If you modify your UBB.Threads code, you may be giving up your right for "official" support from Infopop.If you need official support, you'll need to restore unmodified files.
Attachments
104804-CatSpecificHeaders1.0.txt (0 Bytes, 176 downloads)

Sponsored Links
Joined: May 2004
Posts: 1
Lurker
Lurker
Offline
Joined: May 2004
Posts: 1
Parse error: parse error, unexpected T_ELSEIF, expecting T_OLD_FUNCTION or T_FUNCTION or T_VAR or '}' in /var/www/ubbthreads6/ubbt.inc.php on line 893

Fatal error: Call to undefined function: getmicrotime() in /var/www/ubbthreads6/main.inc.php on line 16


Link Copied to Clipboard
Donate Today!
Donate via PayPal

Donate to UBBDev today to help aid in Operational, Server and Script Maintenance, and Development costs.

Please also see our parent organization VNC Web Services if you're in the need of a new UBB.threads Install or Upgrade, Site/Server Migrations, or Security and Coding Services.
Recommended Hosts
We have personally worked with and recommend the following Web Hosts:
Stable Host
bluehost
InterServer
Visit us on Facebook
Member Spotlight
Zarzal
Zarzal
Berlin, Germany
Posts: 808
Joined: July 2001
Forum Statistics
Forums63
Topics37,575
Posts293,931
Members13,823
Most Online6,139
Sep 21st, 2024
Today's Statistics
Currently Online
Topics Created
Posts Made
Users Online
Birthdays
Top Posters
AllenAyres 21,079
JoshPet 10,369
LK 7,394
Lord Dexter 6,708
Gizmo 5,834
Greg Hard 4,625
Top Posters(30 Days)
Gizmo 1
Top Likes Received
isaac 82
Gizmo 20
Brett 7
WebGuy 2
Morgan 2
Top Likes Received (30 Days)
None yet
The UBB.Developers Network (UBB.Dev/Threads.Dev) is ©2000-2025 VNC Web Services

 
Powered by UBB.threads™ PHP Forum Software 8.0.1
(Snapshot build 20240918)