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.
(2013-08-21, 02:56 PM)Bitz Wrote: [ -> ]Wonderful plugin.

Is there a way to integrate this with "MyAlerts"?

I want users notified when they receive a thank.

UP!! Smile
Somebody has worked on it?
(2009-11-14, 11:59 AM)- G33K - Wrote: [ -> ]Release Name:
Thank You/Like System v1.5

Release Version:
v1.5

Hey, Im using your plugin and it works great. I wanted to know if there is a way to see a list/ranking of all user with the most likes??? That woul dbe very helpful, since I plan on creating "Like Achievements" for a certain amount of likes.

Can I set up a custom page with a php file that runs a query to achieve that?

Thanks Smile
Hi. Need help with postbit style on Inspired 2.0 theme. "Thanks Received:" line get messed after adding to postbit_author_user template (see attachment). Maybe someone will find a minute to help with this.


Template: postbit_author_user
<div class="auth_block">{$lang->postbit_posts} {$post['postnum']}</div>
<div class="auth_block">%%TYL_NUMTHANKEDLIKED%%<br /></div>
<div class="auth_block">{$lang->postbit_joined} {$post['userregdate']}</div>
{$post['replink']}{$post['warninglevel']}
<!--  Support the designer's effort, do not remove the copyright. - YuvaPix Designs -->

Stylesheets: global.css
.auth_block {
	background: #e6e6e6;
	width: 121px;
	border: 1px solid #FFFFFF;
	border-radius: 3px 3px 3px 3px;
	box-shadow: 0 0 1px #353535;
	display: block;
	height: 16px;
	margin: 4px 0;
	padding: 1px 3px;
^ try changing <div class="auth_block">%%TYL_NUMTHANKEDLIKED%%<br /></div>
to <div class="auth_block">%%TYL_NUMTHANKEDLIKED%%</div><br />
if it doesn't help then give your forum url
(2014-02-28, 10:33 AM).m. Wrote: [ -> ]^ try changing <div class="auth_block">%%TYL_NUMTHANKEDLIKED%%<br /></div>
to <div class="auth_block">%%TYL_NUMTHANKEDLIKED%%</div><br />
if it doesn't help then give your forum url

Thanks for fast response. View has improved but not completely. Looks like "Thanks Received:" needs seperate border. Tried this variant:

<div class="auth_block">{$lang->postbit_posts} {$post['postnum']}</div>
<div class="auth_block">{$lang->tyl_given}: {$post['tyl_unumtyls']}</div>
<div class="auth_block">{$lang->tyl_rcvd}: {$post['tyl_unumrtyls']}</div>
<div class="auth_block">{$lang->postbit_joined} {$post['userregdate']}</div>
{$post['replink']}{$post['warninglevel']}

But then it dont' show number of Received thanks (see attachment)


Url: http://weightlifting.lt/forum/
^ for the .auth_block in the global.css,
try changing height: 16px; to min-height: 16px; and check by hard refreshing browser (eg. press CTRL + F5)
(2014-02-28, 10:55 AM).m. Wrote: [ -> ]^ for the .auth_block in the global.css,
try changing height: 16px; to min-height: 16px; and check by hard refreshing browser (eg. press CTRL + F5)

All good man. Thanks!
Does anyone know how to set up a list of users with the most likes?

Or maybe just a jquery?

thx
How i import thanks data from another thanks plugin? Anyone help?
For those who ask how to enable Thanks in closed threads, I hope G33K will not mind if I post my solution. I found it when I was testing mybb on a local server: in both thankyoulike.php fles (from root and from "inc/plugins/") find this line:
if(($tyled && $mybb->settings[$prefix.'removing'] != "1") || (!is_moderator($post['fid'], "caneditposts") && $thread['closed'] == 1) || $post['uid'] == $mybb->user['uid'])
and replace "$thread['closed'] == 1" with "$mybb->user['uid'] == 0".
In root file that is at line 374 and in inc/plugins file at 759.
This way, the button will be visible in closed threads but not for guests like it is now.
I tested it and worked for me, but for you try it first on a test installation and if you find it usefull, use it.