MyBB Community Forums

Full Version: Thanks button?
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
Pages: 1 2
Hi Guys

Have a strange one here. I have thanks installed, but I can't get a box to display around it on my theme like the other buttons. Any ideas?

Theme is: http://www.themefreak.net/thread-moderlo

[Image: LETQ8po.png]
I can see something at the extreme right :p
Since your theme has CSS Buttons you have to edit the plugin to display buttons in CSS.
(2014-01-25, 02:09 PM)effone Wrote: [ -> ]I can see something at the extreme right :p
Since your theme has CSS Buttons you have to edit the plugin to display buttons in CSS.

Yep, the text displays, and the plugin works perfectly, but the 'button' won't display

How do I edit the plugin to do that?
You need to add class="postbit" to your thanks button!
You need to add .postbit class to the thanks button.
If you would add a link to your board like it is described here: http://community.mybb.com/forum-127.html
... I could maybe help you more.
(2014-01-25, 02:33 PM)maniacmusic Wrote: [ -> ]You need to add .postbit class to the thanks button.
If you would add a link to your board like it is described here: http://community.mybb.com/forum-127.html
... I could maybe help you more.

Unfortunately guests won't be able to see the thanks button...

From what I can see as a guest this will be the solution:
(2014-01-25, 02:29 PM)marcus123 Wrote: [ -> ]You need to add class="postbit" to your thanks button!

Your thanks button will probably be in the postbit template unless the thanks plugin creates a new template.
Admin CP -> Templates & Style -> Templates -> *TEMPLATE SET* -> Post Bit Templates -> postbit
Scroll to the bottom or search for 'thanks'.

If you can't find it there it's a good idea to check Global Templates (it's where most plugins store their templates): Admin CP -> Templates & Style -> Templates -> Global Templates
It will be under the name of 'thanks', or similar.
Okay, I've found the thanks location, it's in global templates.

There are a few different templates

prostats_mostthanks
prostats_mostthanks_row
reportpm_thanks
thanks_postbit_count
thanks_postbit_inline
thanks_postbit_inline_classic
thanks_postbit_outline

I'm assuming it's: thanks_postbit_outline?

This is the code, so where do I add the class="postbit" ?
<table border="0" cellspacing="0" cellpadding="0" width="100%" id="thx{$post['pid']}" style="{$display_style};margin-top:5px;"><tr><td>
		<table border="0" cellspacing="{$theme['borderwidth']}" cellpadding="{$theme['tablespace']}" class="tborder thxdsp_outline"><tr class="trow1 tnx_style"><td valign="top" width="1%" nowrap="nowrap"><img src="{$mybb->settings['bburl']}/images/rose.gif" align="absmiddle" /> &nbsp;<span class="smalltext">{$lang->thx_givenby}</span></td><td class="trow2 tnx_style" id="thx_list{$post['pid']}">$entries</td></tr></table>
		</td></tr></table>
(2014-01-28, 09:16 AM)Tallon Wrote: [ -> ]Okay, I've found the thanks location, it's in global templates.

There are a few different templates

prostats_mostthanks
prostats_mostthanks_row
reportpm_thanks
thanks_postbit_count
thanks_postbit_inline
thanks_postbit_inline_classic
thanks_postbit_outline

I'm assuming it's: thanks_postbit_outline?

This is the code, so where do I add the class="postbit" ?
<table border="0" cellspacing="0" cellpadding="0" width="100%" id="thx{$post['pid']}" style="{$display_style};margin-top:5px;"><tr><td>
		<table border="0" cellspacing="{$theme['borderwidth']}" cellpadding="{$theme['tablespace']}" class="tborder thxdsp_outline"><tr class="trow1 tnx_style"><td valign="top" width="1%" nowrap="nowrap"><img src="{$mybb->settings['bburl']}/images/rose.gif" align="absmiddle" /> &nbsp;<span class="smalltext">{$lang->thx_givenby}</span></td><td class="trow2 tnx_style" id="thx_list{$post['pid']}">$entries</td></tr></table>
		</td></tr></table>

Solved??
I have problem like this, what sould i do to fix it?? Sad
Moved to Plugin Support.
Pages: 1 2