Thread Rating:
  • 13 Vote(s) - 4.08 Average
  • 1
  • 2
  • 3
  • 4
  • 5
[For 1.8] Thank You/Like System v3.4.1 + MyAlerts and Tapatalk support
@hkkp - can you try it with default English language file? I cannot reproduce
[MyBB 1.8 Czech translation] [MyBB 1.8 plugins]: Prune old PMs + optimize DB plugin --- Thank you/like system
Reply
okay, see attachment


Attached Files Thumbnail(s)
   
Reply
You have to modify (update) your custom language file. There were changes in lang variables in latest updates
[MyBB 1.8 Czech translation] [MyBB 1.8 plugins]: Prune old PMs + optimize DB plugin --- Thank you/like system
Reply
Hi, I need convert to this plugin from SMF Likes Mod, can u make a new converter?
Reply
Noticed that default time format is m-d-Y, when I change it to d-m-Y it doesn't work I see <span title> code instead. Any idea whats causing this?
Reply
@Darkrad - I cannot reproduce, you can set your time and date format in TYL settings (indepent on your MyBB board setting)
[MyBB 1.8 Czech translation] [MyBB 1.8 plugins]: Prune old PMs + optimize DB plugin --- Thank you/like system
Reply
Yeah I am doing from there too.

I checked if its turkish language pack related thing, but when I change my language to English I still see "<span title="">Yesterday</span>" instead of m-d-Y order.

It looks like it's related to time changes in 1.8.12, MyAlerts was having the same issue and I had to change some codes too.

Change in MyBB -> https://github.com/mybb/mybb/commit/da0f...6b2d946a39
MyAlerts change -> https://github.com/MyBBStuff/MyAlerts/co...3dfaba8089
Reply
OK, maybe thats it. We should wait for a proper fix from MyBB team (I hope it will be in v1.8.13)
https://github.com/mybb/mybb/pull/2753
[MyBB 1.8 Czech translation] [MyBB 1.8 plugins]: Prune old PMs + optimize DB plugin --- Thank you/like system
Reply
Thanks a lot for this
Reply
(2017-07-04, 09:45 AM)Darkrad Wrote: Yeah I am doing from there too.

I checked if its turkish language pack related thing, but when I change my language to English I still see "<span title="">Yesterday</span>" instead of m-d-Y order.

It looks like it's related to time changes in 1.8.12, MyAlerts was having the same issue and I had to change some codes too.

Change in MyBB -> https://github.com/mybb/mybb/commit/da0f...6b2d946a39
MyAlerts change -> https://github.com/MyBBStuff/MyAlerts/co...3dfaba8089

This quick fix should help:

Open the main plugin file (ROOT/inc/plugins/thankyoulike.php) to edit and search for (#962/#963):

$datedisplay_next = $mybb->settings[$prefix.'showdt'] == "nexttoname" ? "<span class='smalltext'> (".my_date($mybb->settings[$prefix.'dtformat'], $tyl['dateline']).")</span>" : "";
$datedisplay_title = $mybb->settings[$prefix.'showdt'] == "astitle" ? "title='".my_date($mybb->settings[$prefix.'dtformat'], $tyl['dateline'])."'" : "";

Replace both lines with:
$datedisplay_next = $mybb->settings[$prefix.'showdt'] == "nexttoname" ? "<span class='smalltext'> (".date($mybb->settings[$prefix.'dtformat'], $tyl['dateline']).")</span>" : "";
$datedisplay_title = $mybb->settings[$prefix.'showdt'] == "astitle" ? "title='".date($mybb->settings[$prefix.'dtformat'], $tyl['dateline'])."'" : "";

Save changes and reload forum page
Reply


Forum Jump:


Users browsing this thread: 2 Guest(s)