Thread Rating:
  • 13 Vote(s) - 4.08 Average
  • 1
  • 2
  • 3
  • 4
  • 5
[For 1.8] Thank You/Like System v3.3.9 + MyAlerts support
The plugin currently doesn't support this out-of-the-box, but you can hack it to achieve it. Here's a start at that hack. Line numbers assume you've got the latest version of the plugin, 3.3.6, installed.

In the file inc/plugins/thankyoulike.php:
  1. Append , u.avatar to line 1673 (which is the first line of a SELECT database query).
  2. Insert around line 1695 the line $avatar = format_avatar($tyl['avatar']);
Make corresponding changes in the thankyoulike.php file in the base directory:
  1. Append , u.avatar to line 419 (which is the first line of a SELECT database query).
  2. Insert around line 433 the line $avatar = format_avatar($tyl['avatar']);
Then edit the thankyoulike_users template and replace its contents with something like this (tinker to get your preferred look):

<a href="{$profile_link}" class="smalltext" title="{$tyl['username']}"><img alt="" src="{$avatar['image']}" style="width: 25px; height: 25px; border-radius: 12.5px;" /></a>

You can probably take it from there, but if you need more help with getting it exactly right then just ask.
Reply


Messages In This Thread
RE: Thank You/Like System v1.9.1 - by OMID_HXC - 2015-04-06, 08:26 PM
RE: Thank You/Like System v1.9.1 - by Eldenroot - 2015-04-06, 08:34 PM
RE: Thank You/Like System v1.9.1 - by expat - 2015-04-07, 05:57 AM
RE: Thank You/Like System v1.9.1 - by Whiteneo - 2015-04-07, 09:03 AM
RE: Thank You/Like System v1.9.1 - by Eldenroot - 2015-04-07, 03:17 PM
RE: Thank You/Like System v1.9.1 - by DrXotick - 2015-04-08, 12:01 PM
RE: Thank You/Like System v1.9.1 - by meetdilip - 2015-04-08, 12:50 PM
RE: Thank You/Like System v1.9.1 - by Sazze - 2015-04-08, 12:50 PM
RE: Thank You/Like System v1.9.1 - by bekircem - 2015-04-08, 01:22 PM
RE: Thank You/Like System v1.9.1 - by Eldenroot - 2015-04-08, 02:33 PM
RE: Thank You/Like System v1.9.1 - by bekircem - 2015-04-08, 03:56 PM
RE: Thank You/Like System v1.9.1 - by DrXotick - 2015-04-08, 06:25 PM
RE: Thank You/Like System v1.9.1 - by Eldenroot - 2015-04-08, 06:28 PM
RE: Thank You/Like System v1.9.1 - by Supryk - 2015-04-08, 07:38 PM
RE: Thank You/Like System v1.9.1 - by Eldenroot - 2015-04-08, 07:40 PM
RE: Thank You/Like System v1.9.1 - by bekircem - 2015-04-08, 09:39 PM
RE: Thank You/Like System v1.9.1 - by Eldenroot - 2015-04-08, 09:42 PM
RE: Thank You/Like System v1.9.1 - by bekircem - 2015-04-08, 09:57 PM
RE: Thank You/Like System v1.9.1 - by Eldenroot - 2015-04-09, 06:54 AM
RE: Thank You/Like System v1.9.1 - by bekircem - 2015-04-09, 11:31 AM
RE: Thank You/Like System v1.9.1 - by Eldenroot - 2015-04-09, 03:17 PM
RE: Thank You/Like System v1.9.1 - by DrXotick - 2015-04-09, 06:54 PM
RE: Thank You/Like System v1.9.1 - by Eldenroot - 2015-04-09, 09:16 PM
RE: Thank You/Like System v1.9.1 - by Whiteneo - 2015-04-10, 06:58 AM
RE: Thank You/Like System v1.9.1 - by Eldenroot - 2015-04-10, 02:10 PM
RE: Thank You/Like System v1.9.1 - by DrXotick - 2015-04-10, 08:52 AM
RE: Thank You/Like System v1.9.1 - by Whiteneo - 2015-04-12, 02:42 AM
RE: Thank You/Like System v1.9.1 - by Eldenroot - 2015-04-12, 09:52 AM
RE: Thank You/Like System v1.9.1 - by ytt - 2015-04-13, 04:10 PM
RE: Thank You/Like System v1.9.1 - by Eldenroot - 2015-04-13, 04:33 PM
RE: Thank You/Like System v1.9.1 - by ytt - 2015-04-13, 04:34 PM
RE: Thank You/Like System v1.9.1 - by Eldenroot - 2015-04-13, 04:37 PM
RE: Thank You/Like System v1.9.1 - by ytt - 2015-04-13, 04:41 PM
RE: Thank You/Like System v1.9.1 - by Gershon - 2015-04-13, 05:14 PM
RE: Thank You/Like System v1.9.1 - by Eldenroot - 2015-04-13, 07:21 PM
RE: Thank You/Like System v1.9.1 - by ytt - 2015-04-13, 07:42 PM
RE: Thank You/Like System v1.9.1 - by Eldenroot - 2015-04-13, 07:44 PM
RE: Thank You/Like System v1.9.1 - by Eldenroot - 2015-04-14, 06:04 AM
RE: Thank You/Like System v1.9.1 - by Gershon - 2015-04-14, 03:49 PM
RE: Thank You/Like System v1.9.1 - by Eldenroot - 2015-04-14, 03:54 PM
RE: Thank You/Like System v1.9.1 - by andrewjs18 - 2015-04-15, 07:01 AM
RE: Thank You/Like System v1.9.1 - by Eldenroot - 2015-04-15, 08:54 AM
RE: Thank You/Like System v1.9.1 - by andrewjs18 - 2015-04-15, 04:49 PM
RE: Thank You/Like System v1.9.1 - by Gershon - 2015-04-15, 04:48 PM
RE: Thank You/Like System v1.9.1 - by Eldenroot - 2015-04-15, 05:22 PM
RE: Thank You/Like System v1.9.1 - by Whiteneo - 2015-04-15, 10:33 PM
RE: Thank You/Like System v1.9.1 - by tzameti13 - 2015-04-16, 05:28 AM
RE: Thank You/Like System v1.9.1 - by Eldenroot - 2015-04-16, 07:16 AM
RE: Thank You/Like System v1.9.1 - by tzameti13 - 2015-04-16, 07:23 AM
RE: Thank You/Like System v1.9.1 - by Eldenroot - 2015-04-16, 07:25 AM
RE: Thank You/Like System v1.9.1 - by tzameti13 - 2015-04-16, 07:43 AM
RE: Thank You/Like System v1.9.1 - by Eldenroot - 2015-04-16, 08:18 AM
RE: Thank You/Like System v1.9.1 - by numygroup - 2015-04-16, 11:30 AM
RE: Thank You/Like System v1.9.1 - by jesuite - 2015-04-17, 03:16 PM
RE: Thank You/Like System v1.9.1 - by Eldenroot - 2015-04-17, 03:45 PM
RE: Thank You/Like System v1.9.1 - by jesuite - 2015-04-17, 05:18 PM
RE: Thank You/Like System v1.9.1 - by Eldenroot - 2015-04-18, 02:12 PM
RE: Thank You/Like System v1.9.1 - by jesuite - 2015-04-18, 03:16 PM
RE: Thank You/Like System v1.9.1 - by Eldenroot - 2015-04-18, 03:21 PM
RE: Thank You/Like System v1.9.1 - by Eldenroot - 2015-04-19, 05:53 PM
RE: Thank You/Like System v1.9.11 + MyAlerts support - by Bradley Varol - 2016-05-20, 07:10 AM
RE: Thank You/Like System v1.9.11 + MyAlerts support - by Bradley Varol - 2016-05-20, 04:57 PM
RE: Thank You/Like System v1.9.11 + MyAlerts support - by Bradley Varol - 2016-05-21, 06:07 PM
RE: Thank You/Like System v3.3.6 + MyAlerts support - by Laird - 2020-09-26, 02:11 PM

Forum Jump:


Users browsing this thread: 2 Guest(s)