MyBB Community Forums

Full Version: Need help Adding Toplinks
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
Pages: 1 2
I need to add the following toplinks:

Home (Index.php)
Upgrade(mysubscriptions.php)
Donate(donate.php)
Awards(myawards.php

To my theme, can't seem to figure it out.. they always appear as a image and no text.

What I have:

<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>
			<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']}/misc.php?action=help"><img src="{$theme['imgdir']}/toplinks/help.gif" alt="" title="" />{$lang->toplinks_help}</a></li>
				</ul>
			</div>
			<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 />

Would speed up the process if someone could just edit it for me, I've tried and failed many times.
Thanks in advance
Please provide a forum url.
Forum URL for what exactly?
For me to help you.
Can't you just use the code I put in the original post?
No. Is there a problem linking to your forum?

Alternatively you can wait for someone else to answer the question.
Just trying to refrain from getting my theme ripped. -Link Removed-
No probs. Perhaps remove that then. I just wanted to see how you had the menu ul setup to ensure there was room. Additionally, though you have the link back to mybb (not sure what turned means), it might be more appropriate to use Theme Copyright rather than just Copyright.

<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>
            <div class="menu">
                <ul>
                    <li><a href="{$mybb->settings['bburl']}/index.php"><img src="{$theme['imgdir']}/toplinks/help.gif" alt="" title="" />Home</a></li>
                    <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']}/misc.php?action=help"><img src="{$theme['imgdir']}/toplinks/help.gif" alt="" title="" />{$lang->toplinks_help}</a></li>
                    <li><a href="{$mybb->settings['bburl']}/mysubscriptions.php"><img src="{$theme['imgdir']}/toplinks/help.gif" alt="" title="" />Upgrade</a></li>
                    <li><a href="{$mybb->settings['bburl']}/donate.php"><img src="{$theme['imgdir']}/toplinks/help.gif" alt="" title="" />Donate</a></li>
                    <li><a href="{$mybb->settings['bburl']}/myawards.php"><img src="{$theme['imgdir']}/toplinks/help.gif" alt="" title="" />Awards</a></li>
                </ul>
            </div>
            <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 />

Obviously the images are wrong for the new links
Okay it worked perfectly, However... the "Home" toplinks text comes out Black, and I need it to be white like the rest of the toplinks? How can I fix this?
It looks white to me visiting your forum. Did you change it after the above post? Perhaps an F5 will clear it.
Pages: 1 2