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 - Special Headers and Footers 1.1
   Version 1.1 fixes a bug where the guest footer was displayed in showprofile.php

Description - This modification allows you to use two different header and footer files. If the user is not logged in, they will view guest_header.php and guest_footer.php include. If they are Logged in AND they are a member of the "User" group (#3) they will still view the guest includes. If they are not a member of the user group and logged in, then they will view the member_header.php and member_footer.php. This is useful so that perhaps guests and regular members see banner ads on your site. But admins, mods and members of
special user groups can perhaps view a header and footer without banners.

Working Under - UBB.Threads 6.2

Pre-requisites - none

Author - JoshPet - www.joshuapettit.com

Credits - Based on an original mod by JustDave - commissioned by kordegnen

Files Altered - ubbt.inc.php, admin/menu.php

Database Altered - none

New Files - in the includes directory: guest_header.php, member_header.php,
guest_footer.php, member_footer.php
Attachments
73272-SpecialHeaderFooter1.1.txt (0 Bytes, 140 downloads)

Last edited by JoshPet; 03/19/2003 2:01 AM.
Sponsored Links
Entire Thread
Subject Posted By Posted
[6.2] Special Header/Footer 1.1 JoshPet 03/16/2003 7:02 PM
Re: [6.2] Special Header/Footer 1.0 Ian_W 03/16/2003 7:07 PM
Re: [6.2] Special Header/Footer 1.0 Kordegnen 03/17/2003 12:18 PM
bug report 1 Kordegnen 03/18/2003 2:30 PM
Re: bug report 1 JoshPet 03/19/2003 9:02 AM
Re: bug report 1 AllenAyres 03/28/2003 9:56 AM
Re: bug report 1 Ian_W 08/24/2003 8:56 PM
Re: bug report 1 JoshPet 08/24/2003 11:20 PM
Re: bug report 1 Ian_W 08/25/2003 12:07 AM
Re: bug report 1 JoshPet 08/25/2003 2:05 AM
Re: bug report 1 smilesforu 12/09/2003 12:23 AM
Re: bug report 1 coloradok5 12/09/2003 6:20 PM

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:
Shock Hosting
Stable Host
bluehost
InterServer
Visit us on Facebook
Member Spotlight
Gizmo
Gizmo
Portland, OR, USA
Posts: 5,834
Joined: January 2000
Forum Statistics
Forums63
Topics37,583
Posts293,955
Members13,824
Most Online151,614
Nov 14th, 2025
Today's Statistics
Currently Online 1336
Topics Created 0
Posts Made 0
Users Online 0
Birthdays 3
Top Posters
AllenAyres 21,080
JoshPet 10,369
LK 7,394
Lord Dexter 6,708
Gizmo 5,834
Greg Hard 4,625
Top Posters(30 Days)
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-2026 VNC Web Services

 
Powered by UBB.threads™ PHP Forum Software 8.1.0
(Snapshot build 20260108)