MyBB Community Forums

Full Version: Make the Thanks button the same as the other buttons
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
Currently it looks like this:

[Image: 96gFrfe.png]

I want the 'Thanks' button to look the same as the other post bit buttons, how can I do this?

Theme is Moderlo btw.

thanks
Moved to Plugin Support.
(2014-06-16, 02:57 PM)Leefish Wrote: [ -> ]Moved to Plugin Support.

Thanks LeeFish, do you have any idea how to fix?
read second page of this thread.....

http://community.mybb.com/thread-150351.html
(2014-06-16, 04:46 PM)mmadhankumar Wrote: [ -> ]read second page of this thread.....

http://community.mybb.com/thread-150351.html

That didn't work for me it doesn't make it a button.
Add two templates to your themes ungrouped templates.

Title: thankyoulike_button_add

<span id="tyl_btn_{$post['pid']}"><a href="thankyoulike.php?action=add&pid={$post['pid']}" class="button" onclick="return thankyoulike.add({$post['pid']}, {$post['tid']});" title="{$lang->add_tyl}" id="tyl_a{$post['pid']}">{$lang->add_tyl}</a></span>


Title: thankyoulike_button_del

<span id="tyl_btn_{$post['pid']}"><a href="thankyoulike.php?action=del&pid={$post['pid']}" class="button" onclick="return thankyoulike.del({$post['pid']}, {$post['tid']});" title="{$lang->del_tyl}" id="tyl_a{$post['pid']}">{$lang->del_tyl}</a></span>