I want to show likes count here:
This is on the index page.
But i can't find what $ to put.
Those are fake likes and i want to display the real likes the user has.
This is the line:
What code do i put to replace the "3037" value?
<td class="trow1 no_bottom_borde largetext" width="33%" valign="middle" align="center"><span class="sidebar_likes"><span class="reputation_positive">3037</span></span><br><span class="x-smalltext">Likes</span></td>
You could begin telling us which likes plugin you use, could be definitely helpful.
(2020-10-03, 07:42 AM)Laird Wrote: [ -> ] (2020-10-01, 03:02 PM)AlexKKhalifa Wrote: [ -> ]What code do i put to replace the "3037" value?
{$mybb->user['tyl_unumrcvtyls']}
Thank you so much it worked!
(2020-10-03, 07:42 AM)Laird Wrote: [ -> ] (2020-10-01, 03:02 PM)AlexKKhalifa Wrote: [ -> ]What code do i put to replace the "3037" value?
{$mybb->user['tyl_unumrcvtyls']}
Do you know about points from newpoints plugin? From what i know it only appears on the member profile. I want to show on the index page.
(2020-10-03, 03:21 PM)AlexKKhalifa Wrote: [ -> ]Thank you so much it worked!
No probs. Happy to help.
(2020-10-03, 03:21 PM)AlexKKhalifa Wrote: [ -> ]Do you know about points from newpoints plugin? From what i know it only appears on the member profile. I want to show on the index page.
I haven't used the NewPoints plugin before, but I took a look and put this together for you. If there's a better way to achieve this, then hopefully somebody lets us know.
First, save the attached file to your inc/plugins directory. Then, go to Plugins in the ACP and activate it as the "NewPoints on Index" plugin. Then edit your
index
template and add in your desired location
{$newpoints}
.
(2020-10-03, 04:59 PM)Laird Wrote: [ -> ] (2020-10-03, 03:21 PM)AlexKKhalifa Wrote: [ -> ]Thank you so much it worked!
No probs. Happy to help.
(2020-10-03, 03:21 PM)AlexKKhalifa Wrote: [ -> ]Do you know about points from newpoints plugin? From what i know it only appears on the member profile. I want to show on the index page.
I haven't used the NewPoints plugin before, but I took a look and put this together for you. If there's a better way to achieve this, then hopefully somebody lets us know.
First, save the attached file to your inc/plugins directory. Then, go to Plugins in the ACP and activate it as the "NewPoints on Index" plugin. Then edit your index
template and add in your desired location {$newpoints}
.
It didn't work sir, it shows 0 while i have 292k
On Index:
On Member Profile
(2020-10-03, 10:42 PM)AlexKKhalifa Wrote: [ -> ]It didn't work sir, it shows 0 while i have 292k
Apologies, I forgot to declare a global variable ($mybb). Have updated the file in my previous post. Please redownload and retry.
(2020-10-04, 02:11 AM)Laird Wrote: [ -> ] (2020-10-03, 10:42 PM)AlexKKhalifa Wrote: [ -> ]It didn't work sir, it shows 0 while i have 292k
Apologies, I forgot to declare a global variable ($mybb). Have updated the file in my previous post. Please redownload and retry.
No need to apologize, thank you for your help. Might need it later. Add me on discord AlexKKhalifa#2021
(2020-10-04, 02:11 AM)Laird Wrote: [ -> ] (2020-10-03, 10:42 PM)AlexKKhalifa Wrote: [ -> ]It didn't work sir, it shows 0 while i have 292k
Apologies, I forgot to declare a global variable ($mybb). Have updated the file in my previous post. Please redownload and retry.
Sorry sir send me another friend request