2020-04-15, 06:16 AM
2020-04-15, 06:16 AM
2020-04-15, 07:09 AM
Eldenroot Wrote:To customize the postbit block, you can use the following variables:
$post['tyl_unumtyls']: Number of thanks given
$post['tyl_unumrtyls']: This is fully formatted string (xx in yy posts)
$post['tyl_unumrcvtyls']: Number of thanks received
$post['tyl_unumptyls']: Number of posts in which the thanks were received
2020-04-15, 07:52 AM
(2020-04-15, 07:09 AM).m. Wrote: [ -> ]Eldenroot Wrote:To customize the postbit block, you can use the following variables:
$post['tyl_unumtyls']: Number of thanks given
$post['tyl_unumrtyls']: This is fully formatted string (xx in yy posts)
$post['tyl_unumrcvtyls']: Number of thanks received
$post['tyl_unumptyls']: Number of posts in which the thanks were received
No, I am not trying to customize the postbit block. I am trying to customize the thankyoulike function within it.
2020-04-15, 08:15 AM
Quote:... show the 'Likes Given' at top and I want to change the 'Likes Received' to Likedinstead of
%%TYL_NUMTHANKEDLIKED%%
you can use {$post['tyl_unumtyls']}
{$post['tyl_unumrcvtyls']}
And in the language file, change value of $l['tyl_likes_rcvd'] = "Likes Received";
2020-04-16, 03:59 AM
(2020-04-15, 08:15 AM).m. Wrote: [ -> ]Quote:... show the 'Likes Given' at top and I want to change the 'Likes Received' to Likedinstead of%%TYL_NUMTHANKEDLIKED%%
you can use
And in the language file, change value of{$post['tyl_unumtyls']} {$post['tyl_unumrcvtyls']}
$l['tyl_likes_rcvd'] = "Likes Received";
I am able to change the 'Like Received' to my likings. And also I tried replacing %%TYL_NUMTHANKEDLIKED%%
but its creating problems. So, I was thinking where the %%TYL_NUMTHANKEDLIKED%% function is placed maybe I can change it from there. I don't need to make any drastic changes just change the line or so. Just wanted to put the "Likes Given" prior to Likes received.
2020-04-16, 07:01 AM
can you check content of
you should be able to reverse the order there
thankyoulike_postbit_author_user
template{$lang->tyl_rcvd}: {$post['tyl_unumrtyls']}
<br />
{$lang->tyl_given}: {$post['tyl_unumtyls']}
you should be able to reverse the order there
2020-04-16, 07:32 AM
Thanks, M. It solved the riddle at once.