Previous Thread
Next Thread
Print Thread
Hop To
#244682 08/01/2011 7:25 PM
Joined: May 2008
Posts: 12
M
stranger
stranger
M Offline
Joined: May 2008
Posts: 12
How do I insert jpegs in the Default Header?

Mike_L #244683 08/01/2011 9:20 PM
Joined: Jul 2011
Posts: 65
journeyman
journeyman
Joined: Jul 2011
Posts: 65
You would have to go to Control Panel > Templates > header.tpl

Find the <body> tag and you should be able to add a JPEG there without problem.

HTH
Cheers


Love to hate, hate to love.
Cowards taste of death many times, heroes taste of death but once. ~William Shakespeare
Mike_L #244685 08/01/2011 9:33 PM
Joined: Jun 2006
Posts: 1,344
G
veteran
veteran
G Offline
Joined: Jun 2006
Posts: 1,344
Header.tpl is where the links for portal, forum list, etc. If you want a site header do it in cp->general settings->html includes tab. That will put the header above the ubb one that holds the nav links.

Mike_L #244686 08/01/2011 9:47 PM
Joined: Jul 2011
Posts: 65
journeyman
journeyman
Joined: Jul 2011
Posts: 65
Oh duh, I'm so dumb sometimes. Thanks Gliderdad for correcting my mistake.


Love to hate, hate to love.
Cowards taste of death many times, heroes taste of death but once. ~William Shakespeare
Mike_L #244688 08/01/2011 10:21 PM
Joined: Jun 2006
Posts: 16,532
Likes: 150
UBB.threads Developer
UBB.threads Developer
Joined: Jun 2006
Posts: 16,532
Likes: 150
Yeah, I'd recommend hacking the header/footer insert versus templates where available; makes upgrades a lot smoother (unless you're paying someone *ahem* to do upgrades for you ;)).


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!
Mike_L #244691 08/01/2011 11:08 PM
Joined: Apr 2007
Posts: 3,940
Likes: 1
SD Offline
Former Developer
Former Developer
Joined: Apr 2007
Posts: 3,940
Likes: 1
yeppers.. i agree with Giz.

better to edit includes/header.php and includes/footer.php, if you don't need to radically alter the header smile

gliderdad #244695 08/02/2011 1:01 AM
Joined: May 2008
Posts: 12
M
stranger
stranger
M Offline
Joined: May 2008
Posts: 12
Once I get to html includes and click on it. How do I add a jpeg to come up in the header?

Mike_L #244696 08/02/2011 1:29 AM
Joined: Jun 2006
Posts: 16,532
Likes: 150
UBB.threads Developer
UBB.threads Developer
Joined: Jun 2006
Posts: 16,532
Likes: 150
Standard HTML:
Code
<a href="Site URL"><img src="Image URL" alt="Description of site" /></a>


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!
Mike_L #244705 08/02/2011 8:05 AM
Joined: May 2008
Posts: 12
M
stranger
stranger
M Offline
Joined: May 2008
Posts: 12
Thanks Gizmo, we r making some headway. I managed to insert the photo with your help, but when I click on it I get a (404 Error) message. Check it out.

http://www.stmarysfishing.com/forums/ubbthreads.php?ubb=cfrm

Mike_L #244714 08/02/2011 1:56 PM
Joined: Jul 2011
Posts: 65
journeyman
journeyman
Joined: Jul 2011
Posts: 65
Remove 'Site URL' from the <a href> tag. You need to put your site address in its place or the address to your forum.

Last edited by Steve M; 08/02/2011 1:57 PM.

Love to hate, hate to love.
Cowards taste of death many times, heroes taste of death but once. ~William Shakespeare
Mike_L #244720 08/02/2011 2:52 PM
Joined: May 2008
Posts: 12
M
stranger
stranger
M Offline
Joined: May 2008
Posts: 12
Thanks, Steve: When a boxer hasn't been in the ring for a long time, it is called "Ring Rust" That is what I have with this board.

I have a lot more to learn, and you all have been a great help.

Thanks Mike L

Mike_L #244721 08/02/2011 3:01 PM
Joined: Jul 2011
Posts: 65
journeyman
journeyman
Joined: Jul 2011
Posts: 65
LOL at least you didn't make something up.

Glad we could help.


Love to hate, hate to love.
Cowards taste of death many times, heroes taste of death but once. ~William Shakespeare

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
8.0.1 Patch Changelog Discussion
by isaac - 11/26/2025 1:34 PM
Who's Online Now
2 members (Geoff, 1 invisible), 522 guests, and 131 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)