MyBB Community Forums

Full Version: Adding a new button
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
Hi guys, i want to add a new button next to the Find button of members posts (image below to show what i mean)

ive made the button & have the link which will point to the users albums heres link:

<a href="member.php?action=albums&uid={$post['uid']}">{$lang->images}</a>

but not sure what part of template i need to edit to add the button image etc?
Edit the postbit template.
Hi & thanks for quick reply Smile

ok think ive found where to put it:

<div class="author_buttons float_left">
{$post['button_email']}{$post['button_pm']}{$post['button_www']}{$post['button_find']}{$post['button_rep']}
</div>

the button ive made is just a .jpg called image but no idea what code to use to insert & link it Sad ?
Find:

{$post['button_rep']}

Add afterwards:

<a href="member.php?action=albums&uid={$post['uid']}"><img src="{$theme['imglangdir']}/example.gif" alt="Example" title="Example" /></a>
i did this:

<a 
href="member.php?action=albums&uid={$post['uid']}"><img 
src="{$theme['imglangdir']}/images/image.jpg" alt="Example" title="Example" 
/></a>

but my image still dont show, the link works but its just a text link named example?
sorted! ..i was puttin img in wrong location when uploading... thanks alot dude +1! Smile