MyBB Community Forums

Full Version: Issue with header.
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
Okay,

So I'm trying to add headers to my forum:

RuneGear.net

This is my code:

<li><a href="{$mybb->settings['bburl']}/showteam.php"><img src="{$mybb->settings['bburl']}/{$theme['imgdir']}/toplinks/team.gif" alt="" title="" />{$lang->toplinks_team}</a></li>

Here is the code of one that actually worked:

<li><a href="{$mybb->settings['bburl']}/search.php"><img src="{$mybb->settings['bburl']}/{$theme['imgdir']}/toplinks/search.gif" alt="" title="" />{$lang->toplinks_search}</a></li>

Why doesn't the first code give the header "Team"?

Please help.
The code line:

{$lang->toplinks_team}

Means it searches through the MyBB language files for that specific file. As there is no language section or file for 'team' it doesn't work. Just replace it with "Team" Smile
(2010-06-10, 09:28 AM)trilobyte- Wrote: [ -> ]The code line:

{$lang->toplinks_team}

Means it searches through the MyBB language files for that specific file. As there is no language section or file for 'team' it doesn't work. Just replace it with "Team" Smile

I did that, it didn't work.

Anything else please?
change
<li><a href="{$mybb->settings['bburl']}/showteam.php"><img src="{$mybb->settings['bburl']}/{$theme['imgdir']}/toplinks/team.gif" alt="" title="" />{$lang->toplinks_team}</a></li>
to
<li><a href="{$mybb->settings['bburl']}/showteam.php"><img src="{$mybb->settings['bburl']}/{$theme['imgdir']}/toplinks/team.gif" alt="" title="" />team</a></li>
And make sure you have a image at
..images/**theme**/toplinks/team.gif
Then you didn't do it right..

<li><a href="{$mybb->settings['bburl']}/showteam.php"><img src="{$mybb->settings['bburl']}/{$theme['imgdir']}/toplinks/team.gif" alt="" title="" />{$lang->toplinks_team}</a></li>

replace this with,

<li><a href="{$mybb->settings['bburl']}/showteam.php"><img src="{$mybb->settings['bburl']}/{$theme['imgdir']}/toplinks/team.gif">Forum Team</a></li>
I fixed it already, thank you for the help though, it was appreciated.