MyBB Community Forums

Full Version: Replace with button
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
I would like to replace this 4 links with buttons, i just need to know the template and the code i have to replace to get a button instead the text(images(buttons) would be uploaded on root).

-> [attachment=29604]
------------------------------------------------------------------------
Also i would like to know how to add a new menu tab. I had some plugins but they did not work correctly due to the image.

Anyone has a tutorial or a functioning plugin for that?

-> [attachment=29605]

Thanks and Regards,
k1R@
1. index_boardstats template (in Index Page Templates)
{$logoutlink}
			<a href="misc.php?action=markread{$post_code_string}">{$lang->markread}</a> |
			<a href="showteam.php">{$lang->forumteam}</a> |
			<a href="stats.php">{$lang->forumstats}</a>
2. see How to edit / add new top links in MyBB
Thank you +1 But could also tell me the new code for all 4 functions? Like image path + function.

Kind Regards,
k1R@
^ you can use code like below
<a href="member.php?action=logout&amp;logoutkey={$mybb->user['logoutkey']}"><img src="path-to-logout-image" alt="log out" /></a> | 
<a href="misc.php?action=markread{$post_code_string}"><img src="path-to-markread-image" alt="mark all forums read" /></a> |
<a href="showteam.php"><img src="path-to-showteam-image" alt="show team" /></a> |
<a href="stats.php"><img src="path-to-forumstats-image" alt="forum stats" /></a> 
Thank you again. Works like a charm! Wink