2012-01-15, 01:05 PM
I am having problems with the mod,
Once i click "Thank you" it shows up the please wait and it wont thank just loading....... but when i refresh my thanks count grows up but it doesnt show up that i thanked him
I tried to replace the js still doesnt work
I tried to reupload still same problem.
Seems like theme sided problem but theres my postbit:
Postbit classic:
Ty_button add at global:
user profile global:
thank you like global:
Tell me if u need more of the globals
Thanks!!
Once i click "Thank you" it shows up the please wait and it wont thank just loading....... but when i refresh my thanks count grows up but it doesnt show up that i thanked him
I tried to replace the js still doesnt work
I tried to reupload still same problem.
Seems like theme sided problem but theres my postbit:
{$ignore_bit}
<a name="pid{$post['pid']}" id="pid{$post['pid']}"></a>
<table border="0" cellspacing="{$theme['borderwidth']}" cellpadding="{$theme['tablespace']}" class="tborder" style="{$post_extra_style} {$post_visibility}" id="post_{$post['pid']}">
<tbody>
<tr>
<td class="tcat">
<div class="float_left smalltext">
{$post['postdate']}, {$post['posttime']} <span id="edited_by_{$post['pid']}">{$post['editedmsg']}</span>
</div>
{$post['posturl']}
</td>
</tr>
<tr>
<td class="trow1 {$unapproved_shade}">
<table cellspacing="0" cellpadding="0" border="0" style="width: 100%;">
<tr>
<td class="post_avatar" width="1" style="{$post['avatar_padding']}">
{$post['useravatar']}
</td>
<td class="post_author">
<strong><span class="largetext">{$post['profilelink']}</span></strong> {$post['onlinestatus']}<br />
<span class="smalltext">
{$post['usertitle']}<br />
{$post['userstars']}
{$post['awards']}
{$post['groupimage']}
</span>
</td>
<td class="smalltext post_author_info" width="165">
{$post['user_details']}{$post['newpoints_postbit']}{$post['awards']}
</td>
</tr>
</table>
</td>
</tr>
<tr>
<td class="trow2 post_content {$unapproved_shade}">
<span class="smalltext"><strong>{$post['icon']}{$post['subject']} {$post['subject_extra']}</strong></span>
<div class="post_body" id="pid_{$post['pid']}">
{$post['message']}
</div>
{$post['attachments']}
{$post['signature']}
<div class="post_meta" id="post_meta_{$post['pid']}">
{$post['iplogged']}
</div>
</td>
</tr>
<tr>
<td class="trow1 post_buttons {$unapproved_shade}">
<div class="author_buttons float_left">
{$post['button_email']}{$post['button_pm']}{$post['button_www']}{$post['button_find']}{$post['button_rep']}
</div>
<div class="post_management_buttons float_right">{$post['button_tyl']}{$post['button_edit']}{$post['button_quickdelete']}{$post['button_quote']}{$post['button_multiquote']}{$post['button_report']}{$post['button_warn']}{$post['button_reply_pm']}{$post['button_replyall_pm']}{$post['button_forward_pm']}{$post['button_delete_pm']}
</div>
</td>
</tr>
<tr style="{$post['tyl_display']}" id="tyl_{$post['pid']}">
{$post['thankyoulike_data']}
</tr>
<tr style="{$post['tyl_display']}" id="tyl_{$post['pid']}">
{$post['thankyoulike_data']}
</tr>
</tbody>
</table>
Postbit classic:
{$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="{$altbg}" width="15%" valign="top" style="white-space: nowrap; text-align: center;"><a name="pid{$post['pid']}" id="pid{$post['pid']}"></a>
<strong><span class="largetext">{$post['profilelink']}</span></strong> {$post['onlinestatus']}<br />
<span class="smalltext">
{$post['usertitle']}<br />
{$post['userstars']}
{$post['groupimage']}
{$post['useravatar']}<br />
{$post['user_details']}</br />
{$post['awards']}{$post['newpoints_postbit']}
</span>
</td>
<td class="{$altbg}" valign="top">
<table width="100%">
<tr><td>{$post['posturl']}<span class="smalltext"><strong>{$post['icon']}{$post['subject']} {$post['subject_extra']}</strong></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']}
</div>
</td></tr>
</table>
</td>
</tr>
<tr>
<td class="{$altbg}" style="white-space: nowrap; text-align: center; vertical-align: middle;"><span class="smalltext">{$post['postdate']} {$post['posttime']}</span></td>
<td class="{$altbg}" style="vertical-align: middle;">
<table width="100%" border="0" cellpadding="0" cellspacing="0">
<tr valign="bottom">
<td align="left" ><span class="smalltext">{$post['button_email']}{$post['button_pm']}{$post['button_www']}{$post['button_find']}{$post['button_rep']}</span></td>
<td align="right">{$post['button_tyl']}{$post['button_edit']}{$post['button_quickdelete']}{$post['button_quote']}{$post['button_multiquote']}{$post['button_report']}{$post['button_warn']}{$post['button_reply_pm']}{$post['button_replyall_pm']}{$post['button_forward_pm']}{$post['button_delete_pm']}</td>
</tr>
</table>
</td>
</tr>
</tr>
</table>
Ty_button add at global:
<span id="tyl_btn_{$post['pid']}"><a href="thankyoulike.php?action=add&pid={$post['pid']}&my_post_key={$mybb->post_code}" onclick="return thankyoulike.add({$post['pid']}, {$post['tid']});" title="{$lang->add_tyl}" id="tyl_a{$post['pid']}"><img src="{$imgdir}/postbit_{$pre}_add.gif" border="0" alt="{$lang->add_tyl}" id="tyl_i{$post['pid']}" /></a></span>
user profile global:
<tr>
<td class="trow1"><strong>{$lang->tyl_total_tyls_given}</strong></td>
<td class="trow1">{$memprofile['tyl_unumtyls']} ({$tylpd_percent_total})<br /><span class="smalltext">(<a href="tylsearch.php?action=usertylthreads&uid={$uid}">{$lang->tyl_find_threads}</a> — <a href="tylsearch.php?action=usertylposts&uid={$uid}">{$lang->tyl_find_posts}</a>)</span></td>
</tr>
<tr>
<td class="trow1"><strong>{$lang->tyl_total_tyls_rcvd}</strong></td>
<td class="trow1">{$memprofile['tyl_unumrcvtyls']} ({$tylrcvpd_percent_total})<br /><span class="smalltext">(<a href="tylsearch.php?action=usertylforthreads&uid={$uid}">{$lang->tyl_find_threads_for}</a> — <a href="tylsearch.php?action=usertylforposts&uid={$uid}">{$lang->tyl_find_posts_for}</a>)</span></td>
</tr>
thank you like global:
<td class="trow2 post_buttons {$unapproved_shade}">
{$tyl_expcol}
<span id="tyl_title_{$post['pid']}" style="{$tyl_title_display}">{$lang->tyl_title}</span><span id="tyl_title_collapsed_{$post['pid']}" style="{$tyl_title_display_collapsed}">{$lang->tyl_title_collapsed}</span><br />
<span id="tyl_data_{$post['pid']}" style="{$tyl_data_display}">{$post['thankyoulike']}</span>
</td>
Tell me if u need more of the globals
Thanks!!