2015-06-17, 01:43 PM
I'm trying to get the 'Thank' link to look like the rest of the buttons, a grey box that turns blue upon hover, and rearrange the order. All help is appreciated.
(2015-06-17, 02:30 PM)Ad Bakker Wrote: [ -> ]Can you show the last 15 lines of your 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['thanks']}{$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>{$post['thxdsp_inline']}
<tr style="{$post['tyl_display']}" id="tyl_{$post['pid']}">
{$post['thankyoulike_data']}
</tr>
</tbody>
</table>{$post['thxdsp_outline']}
(2015-06-17, 04:34 PM)StefanT Wrote: [ -> ]Moved to Plugin Support.
<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']}{$post['thxdsp_inline']}
</div>
<div class="post_management_buttons float_right">{$post['button_tyl']}{$post['button_edit']}{$post['button_quickdelete']}{$post['button_quote']}{$post['button_multiquote']}{$post['thanks']}{$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>
</tbody>
</table>{$post['thxdsp_outline']}
if(!$b)
{
$post['thanks'] = "<a class=\"thx_btn_add\" data-thx=\"{$post['pid']}\" href=\"showthread.php?action=thank&tid={$post['tid']}&pid={$post['pid']}\"><span>$lang->thx_main</span></a>";
}
(2015-06-19, 06:43 AM)Ad Bakker Wrote: [ -> ]This is some strange HTML. Look first what happens when you move {$post['thxdsp_inline']} to the left buttons. Now it is outside the table row, which is false.
<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']}{$post['thxdsp_inline']} </div> <div class="post_management_buttons float_right">{$post['button_tyl']}{$post['button_edit']}{$post['button_quickdelete']}{$post['button_quote']}{$post['button_multiquote']}{$post['thanks']}{$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> </tbody> </table>{$post['thxdsp_outline']}
I still don't know what the :
<tr style="{$post['tyl_display']}" id="tyl_{$post['pid']}">
{$post['thankyoulike_data']}
</tr>
lines do (a table row without a column <td>), bit first have a look wat the effect of moving {$post['thxdsp_inline']} does.
Remark
When you use classic view, you must do this on template postbit_classic too!!
(2015-06-19, 02:54 PM)Ad Bakker Wrote: [ -> ]Strange enough I cannot find it either, also not with escaped quotes.
But what I see is a compatibility rule that says:
"compatibility" => "14*,16*"
So, no 18*. Did you change that on yourself, or was it told to you that it would work?