Previous Thread
Next Thread
Print Thread
Hop To
Joined: Jul 2004
Posts: 87
J
journeyman
journeyman
J Offline
Joined: Jul 2004
Posts: 87
Hi I am running Version: 7.0.2 (will upgrade to 7.3 when it is released), meanwhile I would like to add my logo to the top of the board.

is this possible - could someone please point me in right direction?

thanks

Jeff

Joined: Aug 2006
Posts: 1,360
Likes: 2
Y
Veteran
Veteran
Y Offline
Joined: Aug 2006
Posts: 1,360
Likes: 2
control panel > display options > html inserts.

You can add a header there using php/html and show a logo.


[Linked Image from siemons.org]
Joined: Jul 2004
Posts: 87
J
journeyman
journeyman
J Offline
Joined: Jul 2004
Posts: 87
In control panel > display options - I have the following options: Looked in a few (cant' see html inserts?)


General
Images & Icons
Styles
Languages
Templates

Forums

Joined: Dec 2006
Posts: 1,235
veteran
veteran
Joined: Dec 2006
Posts: 1,235
Control Panel / Display Options / General / HTML Includes

Joined: Jul 2004
Posts: 87
J
journeyman
journeyman
J Offline
Joined: Jul 2004
Posts: 87
Thanks - got it ;-)

jeff

Joined: Jun 2006
Posts: 3,839
Likes: 1
I
Ian Offline
Carpal Tunnel
Carpal Tunnel
I Offline
Joined: Jun 2006
Posts: 3,839
Likes: 1
You can also set custom headers/footers within the forum settings for each forum. smile

Joined: Jul 2004
Posts: 87
J
journeyman
journeyman
J Offline
Joined: Jul 2004
Posts: 87
Now that is interesting!

Joined: Jun 2006
Posts: 3,839
Likes: 1
I
Ian Offline
Carpal Tunnel
Carpal Tunnel
I Offline
Joined: Jun 2006
Posts: 3,839
Likes: 1
If you add a custom header, don't forget to add a custom footer.

I tend to use custom headers for various forums, with the same footer for each (however you still need to copy the standard footer into the custom footer box, otherwise it will not be shown)

Sadly you cannot have custom header/footers for categories, which is a shame frown

Joined: Aug 2006
Posts: 1,360
Likes: 2
Y
Veteran
Veteran
Y Offline
Joined: Aug 2006
Posts: 1,360
Likes: 2
Originally Posted by Ian
Sadly you cannot have custom header/footers for categories, which is a shame frown


You could make a header, and just use an include statement in the forums for that category.

We have a standard header for all forums, and code in it checks which category it's in and displays extra stuff or not.


[Linked Image from siemons.org]
Joined: Jun 2006
Posts: 3,839
Likes: 1
I
Ian Offline
Carpal Tunnel
Carpal Tunnel
I Offline
Joined: Jun 2006
Posts: 3,839
Likes: 1
tell us more wink

Joined: Aug 2006
Posts: 1,360
Likes: 2
Y
Veteran
Veteran
Y Offline
Joined: Aug 2006
Posts: 1,360
Likes: 2
Originally Posted by Ian
tell us more wink


This is (part) of my headercode...

PHP Code

<?
$datum = date(md);

if ($datum>1205 | $datum<0106) { $event='kerst'; } 

elseif (($datum>"0320") && ($datum<"0325")) { $event='paas'; }
elseif ($datum=="0430") { $event='koningin'; }
elseif ($datum=="0521") { $event='verjaardag'; }
elseif ($datum>"1100") { $event='sint'; }
elseif ($datum>"1000") { $event='halloween'; } 
else { $event=''; }

if ($category==3) { $logo=$event.'kc'; } else { $logo=$event.'tp'; }

echo "<a href=\"/ubb/ubbthreads.php\"><img src=\"/images/".$logo."tim.png\" border=\"0\" style=\"padding: 5px;\" alt=\"\" /></a></td><td align=\"right\" valign=\"top\">";

$kcorg="Kermisclub organizer";

$tporg="Themepark organizer";

if ($category==3) { $kcorg="<b>".$kcorg."</b>"; }

if ($category==2) { $tporg="<b>".$tporg."</b>"; }

echo "<a href=\"/scripts/tporganizer/\">$tporg</a><br /><a href=\"/scripts/kcorganizer/\">$kcorg</a><br /><br />";

echo "<a href=\"/scripts/forumfaces/\">Forumfaces</a><br />";

if ($category==3) {
	echo $kvdw;
}
?>


I look at the date because we change logo's at holidays (christmas, sinterklaas, halloween, easter, queen's day and our forum birthday), and for category 3 we change to a different logo.

In our on topic fora categories (2 and 3) a specific link is highlighted. In category 3 an extra text is displayed with the funfair of the week.

So one header to rule them all.


[Linked Image from siemons.org]
Joined: Jun 2006
Posts: 16,532
Likes: 150
UBB.threads Developer
UBB.threads Developer
Joined: Jun 2006
Posts: 16,532
Likes: 150
I use a php include on my forums and pull a flat file that I maintain (as to not make the web based thing too cluttered...

I also use css for my imagre


I am a Web Development Contractor, I do not work for UBBCentral. I have provided free User to User Support since the beginning of these support forums.
Do you need Forum Install or Upgrade Services?
Forums: A Gardeners Forum
UBB.threads: UBBWiki, UBB Styles, UBB.Sitemaps
Longtime Supporter & Resident Post-A-Holic
VNC Web Services: Code Modifications, Upgrades, Styling, Coding Services, Disaster Recovery, and more!
Joined: Apr 2007
Posts: 3,940
Likes: 1
SD Offline
Former Developer
Former Developer
Joined: Apr 2007
Posts: 3,940
Likes: 1
nice one Yarp™ :rawk:


Link Copied to Clipboard
ShoutChat
Comment Guidelines: Do post respectful and insightful comments. Don't flame, hate, spam.
Recent Topics
PHP 8 bug in membermanage.tmpl
by phoenix011235 - 09/08/2026 7:47 PM
Are any of these legitmate?
by Baldeagle - 09/06/2026 1:37 PM
After server reboot
by Morgan - 09/02/2026 8:27 AM
Email Settings
by Outdoorking - 05/13/2026 2:44 AM
Who's Online Now
1 members (1 invisible), 304 guests, and 96 robots.
Key: Admin, Global Mod, Mod
Random Gallery Image
Latest Gallery Images
Ride safe!
Ride safe!
by Morgan, December 7
Los Angeles
Los Angeles
by isaac, August 6
3D Creations
3D Creations
by JAISP, December 30
Artistic structures
Artistic structures
by isaac, August 29
Powered by UBB.threads™ PHP Forum Software 8.1.0
(Snapshot build 20260527)