2022-12-26, 07:16 PM
So I have installed the Thankyou like system for mybb https://community.mybb.com/mods.php?action=view&pid=360
Now when I transfer to my default theme, it shows the number of likes in a certain post or thread. But when I transfer to my theme, it stops showing it.
I think the problem is on postbit or somewhere near it, can someone help me out bery confused.
After liking only the unlike button shows, no stats are shown as how many likes received or who liked the post.
Okay I examined the default postbit and added this to my theme
<div style="{$post['tyl_display']}" id="tyl_{$post['pid']}">{$post['thankyoulike_data']}</div>
{$post['input_editreason']}
Seems to add it to my theme now. Now time to change the colour to match the theme in thankyouandlike.css
Now when I transfer to my default theme, it shows the number of likes in a certain post or thread. But when I transfer to my theme, it stops showing it.
I think the problem is on postbit or somewhere near it, can someone help me out bery confused.
After liking only the unlike button shows, no stats are shown as how many likes received or who liked the post.
Okay I examined the default postbit and added this to my theme
<div style="{$post['tyl_display']}" id="tyl_{$post['pid']}">{$post['thankyoulike_data']}</div>
{$post['input_editreason']}
Seems to add it to my theme now. Now time to change the colour to match the theme in thankyouandlike.css