So I just installed and activated thankyou/like plugin but for some odd reason it won't show up on postbit.
Template:
<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>
I tried uninstalling but still nothing. I also checked postbit_classic. I also have the right images with right names in right directory.
Still need help with this
check the thankyoulike_button_add templates and see whether the image link is correct. Also the forum url with a test account would help...
(2014-07-04, 06:18 PM)mmadhankumar Wrote: [ -> ]check the thankyoulike_button_add templates and see whether the image link is correct. Also the forum url with a test account would help...
<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>
And image file is in default directory (img/english) also tried img root.
PM'd you logins and forum link.
Sorry i couldnt check your forum in the morning... just now checked it... unfortunately the admin panel is not opening so i cant do the fix myself...
the image is not loading and its a wrong image link imo... anyway, even if the image is loading the image would look alien to your theme so better do as follows...
in the thankyoulike_button_add template change the foll. code...
<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>
change it into this.....
<span id="tyl_btn_{$post['pid']}" class="buttons"><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']}">Thanks</a></span>
(2014-07-05, 01:40 PM)mmadhankumar Wrote: [ -> ]Sorry i couldnt check your forum in the morning... just now checked it... unfortunately the admin panel is not opening so i cant do the fix myself...
the image is not loading and its a wrong image link imo... anyway, even if the image is loading the image would look alien to your theme so better do as follows...
in the thankyoulike_button_add template change the foll. code...
<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>
change it into this.....
<span id="tyl_btn_{$post['pid']}" class="buttons"><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']}">Thanks</a></span>
Oops. That was my bad. I forgot to disable the IP access thing. Seems to be working now. Thanks!
Oo. I removed the span id thing so it would be regular button instead of image. Now it can like and un-like but it keeps loading. What's wrong?
Edit: Fixed. Should be
<span id="tyl_btn_{$post['pid']}" class="buttons">