Previous Thread
Next Thread
Print Thread
Rating: 2
Joined: Jul 2001
Posts: 442
Enthusiast
Enthusiast
Offline
Joined: Jul 2001
Posts: 442
I want to have a different header in one of my forums but leave the rest using the defaut, how do I do this?

Sponsored Links
Joined: Nov 2001
Posts: 10,369
I type Like navaho
I type Like navaho
Joined: Nov 2001
Posts: 10,369
First you need to choose Edit/Delete a forum from the Admin menu, and change "use a unique header/footer for this forum" to Yes.

Then, in the Admin menu, choose "Edit Forum Headers" and specifiy a special header for this forum. All other forums will default to your standard header.

Hope that helps!

Joined: Jul 2001
Posts: 442
Enthusiast
Enthusiast
Offline
Joined: Jul 2001
Posts: 442
Thank You.

Joined: Jun 2002
Posts: 37
User
User
Offline
Joined: Jun 2002
Posts: 37
Since we are on the subject of headers? Why not ask this too. How does ubbdev.com have two colors for the background? I see a cream (outter border) and white (inner color)? I have tried the .css file (azure.css)and yet can not achieve this effect.

Thanks in advance...

Joined: Nov 2001
Posts: 10,369
I type Like navaho
I type Like navaho
Joined: Nov 2001
Posts: 10,369
Allen can answer for sure... but I think he opens a table in the header and then closes it in the footer. very clever

Sponsored Links
Joined: Jun 2002
Posts: 37
User
User
Offline
Joined: Jun 2002
Posts: 37
Thanks JoshPet.... ah.. Allen, would you mind lending an ear?

Joined: Mar 2000
Posts: 21,079
Likes: 3
I type Like navaho
I type Like navaho
Joined: Mar 2000
Posts: 21,079
Likes: 3
yes, that's how we do it... Do a "view source" here, I am pretty sure the header and footer are commented so you can see what we do. Ask if you have more questions


- Allen wavey
- What Drives You?
Joined: Jun 2002
Posts: 37
User
User
Offline
Joined: Jun 2002
Posts: 37
Hi Allen. Yes the header and footer is not a problem to sort out but where did you create the effects of the two tables (outer color and inner color background)? If you could explain, thank you.

Joined: Jun 2001
Posts: 3,273
That 70's Guy
That 70's Guy
Offline
Joined: Jun 2001
Posts: 3,273
I believe it goes like this:

In your includes directory find and open your header.php file for the very last line at the bottom of your file add this:

<table width="100%" cellpadding="10" cellspacing="0" border="0">
<tr>
<td class="darktable">
<table width="100%" cellpadding="10" cellspacing="0" border="0">
<tr>
<td class="lighttable">




Then in your footer.php file for the very first line at the top of the file add this:

</td>
</tr>
</table>
</td>
</tr>
</table>




Then I believe you will get something simular to what you see here. I haven't used this anywhere but that's about how I think it's working.

Good Luck

Joined: Jun 2002
Posts: 37
User
User
Offline
Joined: Jun 2002
Posts: 37
Ah.. I see. No wonder I missed it. Thank you!

Sponsored Links

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
isaac
isaac
California
Posts: 1,157
Joined: July 2001
Forum Statistics
Forums63
Topics37,573
Posts293,925
Members13,849
Most Online5,166
Sep 15th, 2019
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,833
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-2024 VNC Web Services

 
Powered by UBB.threads™ PHP Forum Software 8.0.0
(Preview build 20221218)