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.
if you add a new code, because in my mod i can do it xD.

Only you have to go and delete or put on any var like thread CLOSED in a query sentence, because by default you can add a new sentence or something to do what you want, i don't use this mod xD, but i do it mine and works similar to this xD.

But yes is possible, but you can do it by yourself.
I don't know how to do it.
Can you please help me?
It is very important for me
Thanks
Can somebody help me with this:

Instead of the standard text:
The following 1 user Likes Test's post:
Eric (Yesterday)

Replace it with CSS buttons that works like this (Example from Envira's forum (Btw isn't the same plugin he has))
[Image: thumb_like.png]

And when you hover over the 1 it show's the users that liked the post.
I am having the issue with "loading" when clicking thank you on the mobile theme of my site the javascript seems to be correct. Works fine on the normal version of my site.

This was working fine until I upgraded to 1.6.11 and had to reinstall the script.

Any thoughts on this?

Cheers
Dan

####FIXED###

Had to add the postbit part. The script was looking for "</tbody>" but because the mobile theme uses div it was never placed.

Added it manually as divs instead of tr's/td's and it now works
Hello guys,
i've installed this beatiful plugin but I have a BIG PROBLEM.
I think there are some problems with jscripts because after click on Thank/Like the screen stucks on loading.
I have other things in my forum that doesn't work (for e.g quick edit and warn).
Which can be the problem?
I'm ready to post all my templates to find and fix this damn problem!
It's a problem with your style, you have called some var wich broken MyBB functionability, i repair some forums, because they have problems with this and ever it'e a problem instead a code with one conflict and this is problem with template, not plugin.

You have to create a new thread with your problem and many users can help you, but here only we can talk about the plugin xD.

If you have issues with another thing you may have to create a thread on support area.
(2009-11-30, 09:16 PM)Leefish Wrote: [ -> ]Hi, sorry to join in with the yells for help, but I have a problem with using this with the aardvark theme. I have a button everywhere where a button should be - unfortunately the aardvark theme has no buttons so this one looks a bit strange. Can you tell me where I need to edit in the aardvark templates to REMOVE the button and just be left with the text like the rest of the theme? Im guessing I need to edit in the post template, as I obviously cant edit in the globals without smashing all the other themes....(I think?)

I know this is not a problem with the plug in (its doing JUST what it said it would Big Grin ) but I would appreciate it if you could help.

thanks

Lee
Hi
I made some buttons for this for my own site to use with some of the Afresh themes. Just thanks buttons, and only for the themes I have installed:

Mint/Midnight/Black/Orange/Sun.

They are not PERFECT - but I thought they were good enough for my forum and maybe someone might be interested. I hope its ok to post them - if not, Im sorry. If its ok - well, enjoy.

See screenshot.

These are wonderful. Thank you so much for contributing them!
Thanks for this plugin but i want to use my own CSS code instead of the buttons..
Where can i do it please?
(2009-11-14, 11:59 AM)- G33K - Wrote: [ -> ]Release Name:
Thank You/Like System v1.5

Release Version:
v1.5

Release Description:
Thank You/Like System enables users to "Thank" or "Like" posts thus showing their appreciation for a post without necessarily having to bump the thread. This plugin is completely customizable where nearly every aspect of the plugin can be controlled from the settings page. Take a look at the screenshots or the live demo for more info on the available options and usability.

MyBB Compatibility:
v1.4.*/v1.6.*

Features:
(...)

Great plugin. Only one bug for me: The Likes dont show up on the profile at all! I am using the default theme, this is my

thankyoulike_memprofile
<tr>
<td class="trow1"><strong>{$lang->tyl_total_tyls_given}</strong></td>
<td class="trow1">{$memprofile['tyl_unumtyls']} ({$tylpd_percent_total})<br /><span class="smalltext">(<a href="tylsearch.php?action=usertylthreads&amp;uid={$uid}">{$lang->tyl_find_threads}</a> &mdash; <a href="tylsearch.php?action=usertylposts&amp;uid={$uid}">{$lang->tyl_find_posts}</a>)</span></td>
</tr>
<tr>
<td class="trow1"><strong>{$lang->tyl_total_tyls_rcvd}</strong></td>
<td class="trow1">{$memprofile['tyl_unumrcvtyls']} ({$tylrcvpd_percent_total})<br /><span class="smalltext">(<a href="tylsearch.php?action=usertylforthreads&amp;uid={$uid}">{$lang->tyl_find_threads_for}</a> &mdash; <a href="tylsearch.php?action=usertylforposts&amp;uid={$uid}">{$lang->tyl_find_posts_for}</a>)</span></td>
</tr>

default member_profile:
<html>
<head>
<title>{$mybb->settings['bbname']} - {$lang->profile}</title>
{$headerinclude}
</head>
<body>
{$header}
<table border="0" cellspacing="{$theme['borderwidth']}" cellpadding="{$theme['tablespace']}" class="tborder">
<tr>
<td class="trow1">
<table width="100%" cellspacing="0" cellpadding="0" border="0"><tr><td class="trow1" width="75%">
<span class="largetext"><strong>{$formattedname}</strong></span><br />
<span class="smalltext">
({$usertitle})<br />
{$groupimage}
{$userstars}<br />
<br />
<strong>{$lang->registration_date}</strong> {$memregdate}<br />
<strong>{$lang->date_of_birth}</strong> {$membday} {$membdayage}<br />
<strong>{$lang->local_time}</strong> {$localtime}<br />
<strong>{$lang->postbit_status}</strong> {$online_status}
</span>
</td><td width="25%" align="right" valign="middle">{$avatar}</td></tr></table>
</td>
</tr>
{$awaybit}
</table>
<br />
<table width="100%" cellspacing="0" cellpadding="0" border="0" align="center">
<tr>
<td width="50%" valign="top">
<table border="0" cellspacing="{$theme['borderwidth']}" cellpadding="{$theme['tablespace']}" class="tborder">
<tr>
<td colspan="2" class="thead"><strong>{$lang->users_forum_info}</strong></td>
</tr>
<tr>
<td class="trow1"><strong>{$lang->joined}</strong></td>
<td class="trow1">{$memregdate}</td>
</tr>
<tr>
<td class="trow2"><strong>{$lang->lastvisit}</strong></td>
<td class="trow2">{$memlastvisitdate} {$memlastvisittime}</td>
</tr>
<tr>
<td class="trow1"><strong>{$lang->total_posts}</strong></td>
<td class="trow1">{$memprofile['postnum']} ({$lang->ppd_percent_total})<br /><span class="smalltext">(<a href="search.php?action=finduser&amp;uid={$uid}">{$lang->find_posts}</a>)</span></td>
</tr>
<!-- CountThreads -->
<tr>
<td class="trow1"><strong>{$lang->total_threads}</strong></td>
<td class="trow1">{$memprofile['threadnum']} ({$lang->threads_statistics})<br /><span class="smalltext">(<a href="search.php?action=finduserthreads&amp;uid={$uid}">{$lang->find_threads}</a>)</span></td>
</tr>
<!-- /CountThreads -->

<tr>
<td class="trow2"><strong>{$lang->timeonline}</strong></td>
<td class="trow2">{$timeonline}</td>
</tr>

{$referrals}
{$reputation}
{$warning_level}<!-- ProfileComments -->{$pf_statistics}<!-- /ProfileComments -->{$newpoints_profile}
</table>
<br />
<table border="0" cellspacing="{$theme['borderwidth']}" cellpadding="{$theme['tablespace']}" class="tborder">
<tr>
<td colspan="2" class="thead"><strong>{$lang->users_contact_details}</strong></td>
</tr>
<tr>
<td class="trow1" width="40%"><strong>{$lang->homepage}</strong></td>
<td class="trow1">{$website}</td>
</tr>
{$sendemail}
<tr>
<td class="{$bgcolors['pm']}"><strong>{$lang->pm}</strong></td>
<td class="{$bgcolors['pm']}"><a href="private.php?action=send&amp;uid={$memprofile['uid']}">{$lang->send_pm}</a></td>
</tr>
<tr>
<td class="{$bgcolors['icq']}"><strong>{$lang->icq_number}</strong></td>
<td class="{$bgcolors['icq']}">{$memprofile['icq']}</td>
</tr>
<tr>
<td class="{$bgcolors['aim']}"><strong>{$lang->aim_screenname}</strong></td>
<td class="{$bgcolors['aim']}"><a href="javascript:;" onclick="MyBB.popupWindow('misc.php?action=imcenter&amp;imtype=aim&amp;uid={$uid}', 'imcenter', 450, 300);">{$memprofile['aim']}</a></td>
</tr>
<tr>
<td class="{$bgcolors['yahoo']}"><strong>{$lang->yahoo_id}</strong></td>
<td class="{$bgcolors['yahoo']}"><a href="javascript:;" onclick="MyBB.popupWindow('misc.php?action=imcenter&amp;imtype=yahoo&amp;uid={$uid}', 'imcenter', 450, 300);">{$memprofile['yahoo']}</a></td>
</tr>
<tr>
<td class="{$bgcolors['msn']}"><strong>{$lang->msn}</strong></td>
<td class="{$bgcolors['msn']}"><a href="javascript:;" onclick="MyBB.popupWindow('misc.php?action=imcenter&amp;imtype=msn&amp;uid={$uid}', 'imcenter', 450, 300);">{$memprofile['msn']}</a></td>
</tr>
</table>
</td>
<td><img src="{$theme['imgdir']}/pixel.gif" height="1" width="8" alt=""/></td>
<td width="50%" valign="top">
{$profilefields}
{$mystatus_latest_statuses}
{$signature}
{$modoptions}<!-- ProfileComments -->{$comments_index}<!-- /ProfileComments -->
{$adminoptions}
{$buddy_options}
</td>
</tr>
</table>
{$footer}
</body>
</html>

why arent the likes, and the link to the liked posts, showing up??

thanks for the help guys Smile
(2013-11-25, 10:59 PM)algeriano Wrote: [ -> ]Thanks for this plugin but i want to use my own CSS code instead of the buttons..
Where can i do it please?

ACP > Templates & Styles > Templates > Global Templates > thankyoulike_button_add & thankyoulike_button_del

Just add your CSS class to the <a ...> tag in place of the <img ... /> tag.