Hey. I was wondering if anybody has the files needed to put a forum button up by the search, member list, calendar, and help buttons. If anybody could help me with this, I would appreciate it!
-Gold
Admin CP --> Templates --> Modify / Delete --> *Choose template set and click 'Expand'* --> header
If you have a look at the code in there you should be able to work out what needs to be done to put your own button in.
I changed it, but how do I get it to say forums out beside the picture?
Here is the code:
href="{$mybb->settings['bburl']}/index.php"><img src="{$mybb->settings['bburl']}/{$theme['imgdir']}/toplinks/Forums.gif" alt="" />{$lang->toplinks_forums}</a></li>
Goldcoin555 Wrote:I changed it, but how do I get it to say forums out beside the picture?
Here is the code:
href="{$mybb->settings['bburl']}/index.php"><img src="{$mybb->settings['bburl']}/{$theme['imgdir']}/toplinks/Forums.gif" alt="" />{$lang->toplinks_forums}</a></li>
From what I recall, there is no toplinks_forums language variable.
So change {$lang->toplinks_forums} to Forums.
Or make your own language variable by opening
./inc/languages/english/global.lang.php and finding:
?>
And above it adding:
$l['toplinks_forums'] = 'Forums';
Either way will work, the first is the easiest, the second keeps a consistent language variable use on your forums, choose whichever you like.
Cool, thanks for the help! I used the second method, and it worked out great!
-Gold
I did the code like the another codes, but it doesn't work. I want to do a button for a link which isn't in the forum. And i have another problem : I have a button(portal) which isn't in "header". How can I delete it ? Please help me,and excuse me for my english.