MyBB Community Forums

Full Version: Header template, adding links...
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
This is my header template,

<div id="container">
		<a name="top" id="top"></a>	
		<div id="header">
			<div class="logo"><a href="{$mybb->settings['bburl']}/index.php"><img src="{$theme['logo']}" alt="{$mybb->settings['bbname']}" title="{$mybb->settings['bbname']}" /></a></div>
			{$welcomeblock}
		</div>
		<div id="content">
			{$pm_notice}
			{$bannedwarning}
			{$bbclosedwarning}
			{$unreadreports}
			<navigation>
			<br />

where do I add my own custom header links? I'm using Afresh black.
nevermind, I found out that I have to edit the welcomebox for each individual usertype.
You'll have to edit header_welcomeblock_guest, header_welcomeblock_member, header_welcomeblock_member_admin and header_welcomeblock_member_moderator to achieve this.

It should be pretty obvious and easy now. Let me know if you still need help.
(2008-09-12, 07:28 AM)TehCoder Wrote: [ -> ]You'll have to edit header_welcomeblock_guest, header_welcomeblock_member, header_welcomeblock_member_admin and header_welcomeblock_member_moderator to achieve this.

It should be pretty obvious and easy now. Let me know if you still need help.

Actually it's just the member and guest.
And for the default theme, I only have to edit the header block.
(2008-09-12, 12:03 PM)iyeru Wrote: [ -> ]And for the default theme, I only have to edit the header block.

Indeed you do.