MyBB Community Forums

Full Version: Menu Item in Header?
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
I wanted to add a menu item in my header but I cant find where the list for the buttons are..

Also I would like to add a recruitment page on my forum. But I dont know how to add a separate registration form in my forum! Any help is appreciated.

This was in my header file. Header file contains stuff that is under the logo!

My website link is here
http://clanmvp.comuf.com/

	<span style="float:right;">{$lang->welcome_current_time}</span>
		{$lang->welcome_back} (<a href="{$mybb->settings['bburl']}/usercp.php"><strong>{$lang->welcome_usercp}</strong></a>{$modcplink}{$admincplink} &mdash; <a href="{$mybb->settings['bburl']}/member.php?action=logout&amp;logoutkey={$mybb->user['logoutkey']}">{$lang->welcome_logout}</a>)<br />
				<span class="links">
					<a href="#" onclick="MyBB.popupWindow('{$mybb->settings['bburl']}/misc.php?action=buddypopup', 'buddyList', 350, 350);">{$lang->welcome_open_buddy_list}</a>
				</span>
				<a href="{$mybb->settings['bburl']}/search.php?action=getnew">{$lang->welcome_newposts}</a> | <a href="{$mybb->settings['bburl']}/search.php?action=getdaily">{$lang->welcome_todaysposts}</a> | <a href="{$mybb->settings['bburl']}/private.php">{$lang->welcome_pms}</a> {$lang->welcome_pms_usage}
That is the header_welcomeblock_member template not the header template. There lies the problem!

You probably want a plugin to create a recruitment form.
If you want to have another form use the 'Form Manager' at MyBB Source. Here's the link: http://mybbsource.com/view/170/

You will need to make a couple of posts on the forums before you can download the plugin if you're not a subscriber there. But it is the best form manager plugin on MyBB.
	<div id="games_background">
<div id="menu_container">
    			<div id="pagemenucontainer">
    				<ul id="pagemenu">
    					<li class="home"><a href="index.php">Home</a></li>
<li class="youtube"><a href="{$mybb->settings['bburl']}/youtube.php">{$lang->toplinks_search}</a></li>
    					<li class="search"><a href="{$mybb->settings['bburl']}/search.php">{$lang->toplinks_search}</a></li>
					<li class="memberlist"><a href="{$mybb->settings['bburl']}/memberlist.php">{$lang->toplinks_memberlist}</a></li>
					<li class="calendar"><a href="{$mybb->settings['bburl']}/calendar.php">{$lang->toplinks_calendar}</a></li>
					<li class="help"><a href="{$mybb->settings['bburl']}/misc.php?action=help">{$lang->toplinks_help}</a></li>
    				</ul>
    			</div>
</div>
</div>
<div id="header_bar">
<div id="wrapper_container">
<div class="logo"><a href="{$mybb->settings['bburl']}/index.php"><img src="{$theme['logo']}" alt="{$mybb->settings['bbname']}" title="{$mybb->settings['bbname']}" /></a></div>
<img src="images/gamesmania/advertise.png" class="advertise">


</div>
				
</div>
<div id="container">
		<a name="top" id="top"></a>
		<div id="header">
			
			
			<hr class="hidden" />
			<div id="panel">
				{$welcomeblock}
			</div>
		</div>
		<hr class="hidden" />
		<br class="clear" />
		<div id="content">
			{$pm_notice}
			{$bannedwarning}
			{$bbclosedwarning}
			{$unreadreports}
{$pending_joinrequests}
			<navigation>
			<br />

I found the menu container it was in header template. The code in op is the welcome member template. I added a second item class youtube but how do i rename the button to youtube, it still says search there. I know its a variable like toplinks_blabla in $lang. Donno where that is

Edit: Found the php file with all the variables!!!!!! LOL i couldve just written down "Youtube" I guess lol. Thanks for HELP!!!
Admincp -> Templates & Style -> Templates -> Your Theme's Template Set -> Header Templates -> Header

Add this between the <ul> </ul> tags if you just want a text link:

<li><a href="Link">Title</a></li>

Add this between the <ul> </ul> tags if you want an image and a link:

<li><a href="Link"><img src="Image Link" alt="" title="" />Title</a></li>