MyBB Community Forums

Full Version: Add menu item and change announcements
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
hi guys, i need a little bit of help here Sad

1. i want to add a Icon on the index name so it shows up Index(ICON)
Example: [Image: egax3.png]

2. I cant move posts to child forum...
it gives "Invalid forum" as the error. Sad

3. i want news and announcements to show up on the portal
instead of that general discussion shows up..

can someone help please Huh
1. that can be found in Templates >> Your theme templates >> Header >> header... find the below code and add additional<li> elements....

 			<div class="menu">
				<ul>
					<li><a href="{$mybb->settings['bburl']}/search.php"><img src="{$theme['imgdir']}/toplinks/search.gif" alt="" title="" />{$lang->toplinks_search}</a></li>
					<li><a href="{$mybb->settings['bburl']}/memberlist.php"><img src="{$theme['imgdir']}/toplinks/memberlist.gif" alt="" title="" />{$lang->toplinks_memberlist}</a></li>
					<li><a href="{$mybb->settings['bburl']}/calendar.php"><img src="{$theme['imgdir']}/toplinks/calendar.gif" alt="" title="" />{$lang->toplinks_calendar}</a></li>
					<li><a href="{$mybb->settings['bburl']}/misc.php?action=help"><img src="{$theme['imgdir']}/toplinks/help.gif" alt="" title="" />{$lang->toplinks_help}</a></li>
				</ul>
			</div>



2. you have already asked this here: http://community.mybb.com/thread-155999.html... a test account with mod/admin permissions would be better to check this


3. you can select the forums to be shown on portal page fron ACP >> Configuration >> Portal Settings
(2014-07-16, 03:10 AM)mmadhankumar Wrote: [ -> ]1. that can be found in Templates >> Your theme templates >> Header >> header... find the below code and add additional<li> elements....

 			<div class="menu">
				<ul>
					<li><a href="{$mybb->settings['bburl']}/search.php"><img src="{$theme['imgdir']}/toplinks/search.gif" alt="" title="" />{$lang->toplinks_search}</a></li>
					<li><a href="{$mybb->settings['bburl']}/memberlist.php"><img src="{$theme['imgdir']}/toplinks/memberlist.gif" alt="" title="" />{$lang->toplinks_memberlist}</a></li>
					<li><a href="{$mybb->settings['bburl']}/calendar.php"><img src="{$theme['imgdir']}/toplinks/calendar.gif" alt="" title="" />{$lang->toplinks_calendar}</a></li>
					<li><a href="{$mybb->settings['bburl']}/misc.php?action=help"><img src="{$theme['imgdir']}/toplinks/help.gif" alt="" title="" />{$lang->toplinks_help}</a></li>
				</ul>
			</div>



2. you have already asked this here: http://community.mybb.com/thread-155999.html... a test account with mod/admin permissions would be better to check this


3. you can select the forums to be shown on portal page fron ACP >> Configuration >> Portal Settings


1: can you explain me more please? where exactly do i set the link of the icon?
This is my Header Code
 <div id="container">
		<a name="top" id="top"></a>
		<div id="header">
			<center><div class="logo"><a href="{$mybb->settings['bburl']}/index.php"><img src="{$theme['logo']}" alt="{$mybb->settings['bbname']}" title="{$mybb->settings['bbname']}" /></a></div></center>

<!-- begin navbar -->
	<div id="navbar">
		<ul id="nav">
			
                        <li><a href="{$mybb->settings['bburl']}/portal.php"=currently>Portal</a></li>
                        <li><a href="{$mybb->settings['bburl']}/index.php" >Forum </a></li>     
                        <li><a href="{$mybb->settings['bburl']}/banlist.php">BanList</a></li> 
                        <li><a href="{$mybb->settings['bburl']}/memberlist.php">Memberlist</a></li>
                       <li><a href="{$mybb->settings['bburl']}/buy.php">Buy Admin</a></li>
                       <li><a href="{$mybb->settings['bburl']}/showteam.php">Staff Team</a></li>
                       <li><a href="{$mybb->settings['bburl']}/search.php">Search</a></li> > 
                       <li><a href="{$mybb->settings['bburl']}/donate.php">Donate</a></li> > 
	</div><br />
	<!-- end navbar -->



			<div class="menu">

				
<div id="panel">



				{$welcomeblock}
			</div>
			</div>
			<hr class="hidden" />
			
		</div>
		<hr class="hidden" />
		<br class="clear" />
		<div id="content">
			{$bannedwarning}
			{$bbclosedwarning}

<navigation><br />
{$messagestyle}{$boardmessage}
<script type="text/javascript" src="/cs-palace.eu/jscripts/myshoutbox.js"></script>

2. : I have tried it with all kind of permissions, but i cannot move the post to a childforum.\
3. thank you
(2014-07-16, 03:40 AM)Kadirtekin Wrote: [ -> ]1: can you explain me more please? where exactly do i set the link of the icon?
2. : I have tried it with all kind of permissions, but i cannot move the post to a childforum.\
3. thank you

1. actually i have just shown you the place to look for that menu bar... can you please elaborate what exactly you want to change/set.. Huh

2. i asked for "a test account with mod/admin permissions would be better to check this" so that me/someone can check it and help you... Smile
(2014-07-16, 06:05 AM)mmadhankumar Wrote: [ -> ]
(2014-07-16, 03:40 AM)Kadirtekin Wrote: [ -> ]1: can you explain me more please? where exactly do i set the link of the icon?
2. : I have tried it with all kind of permissions, but i cannot move the post to a childforum.\
3. thank you

1. actually i have just shown you the place to look for that menu bar... can you please elaborate what exactly you want to change/set.. Huh

2. i asked for "a test account with mod/admin permissions would be better to check this" so that me/someone can check it and help you... Smile

alrighth come on my forums i have send you a private message.

Bump: Still need help about the icons!
ok. you see this in your header template... that's the menu bar....

<!-- begin navbar -->
	<div id="navbar">
		<ul id="nav">
			
                        <li><a href="{$mybb->settings['bburl']}/portal.php"=currently>Portal</a></li>
                        <li><a href="{$mybb->settings['bburl']}/index.php" >Forum </a></li>     
                        <li><a href="{$mybb->settings['bburl']}/banlist.php">BanList</a></li> 
                        <li><a href="{$mybb->settings['bburl']}/memberlist.php">Member list</a></li>
                       <li><a href="{$mybb->settings['bburl']}/buy.php">Buy Admin</a></li>
                       <li><a href="{$mybb->settings['bburl']}/showteam.php">Staff Team</a></li>
                       <li><a href="{$mybb->settings['bburl']}/search.php">Search</a></li> > 
                       <li><a href="{$mybb->settings['bburl']}/donate.php">Donate</a></li> > 
	</div><br />
	<!-- end navbar -->


I believe you want to add a icon for each menu item.. for that you need to upload the image files to your server and then add the image links like below in each of the <li>

 <li><a href="{$mybb->settings['bburl']}/index.php" ><img src="YOUR ICON LINK" alt="Forum" title="Forum" /> Forum </a></li>

also I see that the html of the menu seems inconsistent. there is some unwanted closing brackets(>) and also there is no closing </ul>
thank you alot