MyBB Community Forums

Full Version: Like System not showing on postbit.
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
Hi, I am using a like plugin, however it is not showing on Theme UNIQUE by Subz.

g33k_thankyoulike.css is the template name and the website is

http://voidresonance.com/index.php

The CSS code is:

div[id^=tyl_btn_] {
	display: inline-block;
}

a.add_tyl_button span{
	background-image: url(images/thankyoulike/tyl_add.png);
	background-repeat: no-repeat;
	font-weight: bold;
}

a.del_tyl_button span{
	background-image: url(images/thankyoulike/tyl_del.png);
	background-repeat: no-repeat;
	font-weight: normal;
}

.tyllist{
	background-color: #f5f5f5;
	border-top: 1px dotted #ccc;
	border-bottom: 1px dotted #ccc;
	padding: 2px 5px;
}

.tyllist_classic{
	background-color: #f5f5f5;
	border-top: 1px dotted #ccc;
	border-bottom: 1px dotted #ccc;
	padding: 2px 5px;
}

img[id^=tyl_i_expcol_]{
	vertical-align: bottom;
}

Thank you.
bump.
is it working on other themes [esp. MyBB's default (stock) theme] ?
Yes, it is.
check whether {$post['button_tyl']} exists in postbit templates of the theme

<div style="{$post['tyl_display']}" id="tyl_{$post['pid']}">{$post['thankyoulike_data']}</div> should be also there
Hi, this is missing, where do I put it in the code below?

<div style="{$post['tyl_display']}" id="tyl_{$post['pid']}">{$post['thankyoulike_data']}</div> should be also there

{$ignore_bit}
<table border="0" cellspacing="{$theme['borderwidth']}" cellpadding="{$theme['tablespace']}" class="tborder" style="{$post_extra_style} {$post_visibility}" id="post_{$post['pid']}">
   <tr>
       <td class="post_controls" valign="top" style="white-space: nowrap; text-align: center;"><a name="pid{$post['pid']}" id="pid{$post['pid']}"></a>
           <strong><span class="largetext">{$post['onlinestatus']}{$post['profilelink']}</span></strong><br />
       </td>
       <td class="post_controls">
           <span class="smalltext">{$post['postdate']} {$post['posttime']}<strong>{$post['posturl']}</strong></span>   
       </td>
   </tr>
<tr><div class="post {$unapproved_shade}" style="{$post_visibility}" id="post_{$post['pid']}">
<td class="trow3" width="15%" valign="top" style="white-space: nowrap; text-align: center;"></a>
               <div class="pbt2">
<span class="smalltext">
{$post['userstars']}<br />
{$post['useravatar']}
{$post['groupimage']}{$post['ougc_agi']} {$post['additional_groups']}{$post['additional_images']}<br />
{$post['usertitle']}<br />
{$post['user_details']}{$post['myachievements_postbit']}{$post['newpoints_postbit']}
</span></div>
</td>
<td class="{$altbg}" valign="top">
<table width="100%">
<tr><td><span class="smalltext"></span>
<br />
<div id="pid_{$post['pid']}" class="post_body">
                       {$post['message']}
</div>

{$post['attachments']}
{$post['signature']}
<div style="text-align: right; vertical-align: bottom;" id="post_meta_{$post['pid']}">
<div id="edited_by_{$post['pid']}">{$post['editedmsg']}</div>
{$post['iplogged']}{$post['ratemf']}
</div>
</td></tr>
</table>
</td>
</tr>
<tr>
<td class="{$altbg}" style="white-space: nowrap; text-align: center; vertical-align: middle;"> <div class="postbit_buttons author_buttons float_left">{$post['button_email']}{$post['button_pm']}{$post['button_www']}{$post['button_find']}{$post['button_rep']}</div></td>
<td class="{$altbg}" style="vertical-align: middle;">
<table width="100%" border="0" cellpadding="0" cellspacing="0">
<tr valign="bottom">
<div class="postbit_buttons post_management_buttons float_right">
{$post['button_tyl']}{$post['button_edit']}{$post['button_quickdelete']}{$post['button_quickrestore']}{$post['button_quote']}{$post['button_multiquote']}{$post['button_report']}{$post['button_warn']}{$post['button_purgespammer']}{$post['button_reply_pm']}{$post['button_replyall_pm']}{$post['button_forward_pm']}{$post['button_delete_pm']}
</div>
</tr>
</table>
</td>
</tr>
</table>
you can add that code before <td class="post_controls">
Thank you. Smile