MyBB Community Forums

Full Version: [1.4.x/1.6.x] Thank You/Like System v1.5 (Updated: 10/26/2011)
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
I dont use any CDN or cache... I tested it in anonymous tab

I have succesfully changed - collapse icon (middle align) + icons in button - it is working fine

BUT for <br><br><hr>xxx</hr> I cannot make it working Sad it is not styled until I hit f5
(2014-12-11, 05:20 PM)Typhome Wrote: [ -> ]Anyone know how configure that users can also like/thank those closed threads? Only administrators/moderators can like/thank.

I've tried this one solution (at ..60 page) - it shows thank/like button but it wont work.



if(($tyled && $mybb->settings[$prefix.'removing'] != "1") || (!is_moderator($post['fid'], "caneditposts") && $mybb->user['uid'] == 0) || $post['uid'] == $mybb->user['uid'])

Need still help
Is there any way how to show date and time when I hover on a user name who gave thanks/like to a post? Now time and date is shown next to the nickname... thanks
(2014-12-30, 08:42 PM)Eldenroot Wrote: [ -> ]Is there any way how to show date and time when I hover on a user name who gave thanks/like to a post? Now time and date is shown next to the nickname... thanks

Replace content in global template "thankyoulike_users" with:
<span class="smalltext">{$comma}</span><a href="{$profile_link}" class="smalltext" title="{$dt}">{$username}</a>
Amazing! I tried it with title tag but your code is shorter Smile thanks

P.S. Any idea why my thank list under post is not styled when I hit thank/like button? It is styled after I refresh my page... I can provide you url
How did you styled the thanks list? - With inline style or did you added a css class/id?
(2014-12-30, 02:57 PM)Typhome Wrote: [ -> ]
(2014-12-11, 05:20 PM)Typhome Wrote: [ -> ]Anyone know how configure that users can also like/thank those closed threads? Only administrators/moderators can like/thank.

I've tried this one solution (at ..60 page) - it shows thank/like button but it wont work.






if(($tyled && $mybb->settings[$prefix.'removing'] != "1") || (!is_moderator($post['fid'], "caneditposts") && $mybb->user['uid'] == 0) || $post['uid'] == $mybb->user['uid'])

Need still help
Really? Anyone don't know how to solve this problem? Huh Users can't like/thank posts when thread is closed, only when thread is open. But I want that users can still like/thank posts - whatever thread is open or closed.

When I use that solution, then it will show thank/like button (on closed or open thread), but button doesn't work (it won't thank/like), only works when thread is open.
(2014-12-31, 12:59 AM)SvePu Wrote: [ -> ]How did you styled the thanks list? - With inline style or did you added a css class/id?

I am using your code which was mentioned here so it is styled in template - simple tags (<br><hr>) no css

http://community.mybb.com/thread-59652-p...pid1125250
OK...then try this...

Replace content in global template "thankyoulike_classic" with....
<div class="post_buttons {$unapproved_shade} tyllist_classic">
{$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>
</div>

and add in theme showthread.css
.tyllist_classic {
    margin-top: 30px;
    padding: 5px 0;
    border-top: 1px solid #aaa;
    border-bottom: 1px solid #aaa;
}
Not working... not it is shown over the button under the avatar. Anyway thank you!