inherit
170346
0
Mar 1, 2016 12:53:37 GMT -8
Shorty
Yeah, I'm that cool. Lol! No I'm not.
3,018
August 2011
shortyverrett94
|
Post by Shorty on Feb 1, 2013 19:17:35 GMT -8
Just put the following in your mini-profile:
{if $[user.likes]} <br />Likes: $[user.likes] {/if}
If you find anything wrong, then let me know.
|
|
inherit
184444
0
Jun 22, 2019 13:28:08 GMT -8
AshFR
1,008
October 2012
gemaddog7
|
Post by AshFR on Feb 1, 2013 19:58:51 GMT -8
Thank you!
|
|
inherit
170346
0
Mar 1, 2016 12:53:37 GMT -8
Shorty
Yeah, I'm that cool. Lol! No I'm not.
3,018
August 2011
shortyverrett94
|
Post by Shorty on Feb 1, 2013 21:17:40 GMT -8
This fix the issue for you?
|
|
inherit
184444
0
Jun 22, 2019 13:28:08 GMT -8
AshFR
1,008
October 2012
gemaddog7
|
Post by AshFR on Feb 1, 2013 21:23:03 GMT -8
The likes are displaying properly when I view my profile, but no such luck on my mini-profile.
It's working fine it just had to load.
Thank you!
|
|
inherit
170346
0
Mar 1, 2016 12:53:37 GMT -8
Shorty
Yeah, I'm that cool. Lol! No I'm not.
3,018
August 2011
shortyverrett94
|
Post by Shorty on Feb 1, 2013 21:34:57 GMT -8
Alright good. Glad it's working fine.
|
|
inherit
134494
0
Jun 11, 2015 21:30:29 GMT -8
taylor40
317
December 2008
taylor40
|
Post by taylor40 on Feb 1, 2013 22:52:08 GMT -8
Great plugin.. works perfect.
Thanks Ian
|
|
xLc
Junior Member
Posts: 290
inherit
180982
0
Sept 18, 2019 6:25:07 GMT -8
xLc
290
July 2012
lifestylecourier
|
Post by xLc on Feb 3, 2013 3:25:10 GMT -8
Is there a way to stop members from 'liking' their own posts?
|
|
inherit
170346
0
Mar 1, 2016 12:53:37 GMT -8
Shorty
Yeah, I'm that cool. Lol! No I'm not.
3,018
August 2011
shortyverrett94
|
Post by Shorty on Feb 4, 2013 14:42:31 GMT -8
Hey guys, good news. I just found out that a user's likes is now a template variable, so you don't need this plugin anymore.
{if $[user.likes]} <br />Likes: $[user.likes] {/if}
Place that anywhere in the MiniProfile that you want, and presto, it's 50x easier, and more reliable as far as the count.
|
|
xLc
Junior Member
Posts: 290
inherit
180982
0
Sept 18, 2019 6:25:07 GMT -8
xLc
290
July 2012
lifestylecourier
|
Post by xLc on Feb 4, 2013 23:34:53 GMT -8
I have just put your code in and left the plugin enabled to test it. They show different number of Likes
The code appears to give a false number, some of my members have no likes, but this code shows 2
|
|
inherit
King Oligochaete
126470
0
Feb 24, 2021 12:23:15 GMT -8
Wormopolis
Stop rating plugins with 1 star that dont deserve it.
20,002
June 2008
tbserialkillers
Wormo's Mini-Profile
|
Post by Wormopolis on Feb 5, 2013 0:28:42 GMT -8
|
|
inherit
170346
0
Mar 1, 2016 12:53:37 GMT -8
Shorty
Yeah, I'm that cool. Lol! No I'm not.
3,018
August 2011
shortyverrett94
|
Post by Shorty on Feb 5, 2013 7:47:05 GMT -8
I have just put your code in and left the plugin enabled to test it. They show different number of Likes The code appears to give a false number, some of my members have no likes, but this code shows 2 The number that PB gives should be more accurate. Also the template edit I gave you will show all likes before you installed that, the plugin was never going to 100% accurate just because of that fact. Also, the template edit one won't increase a members likes if that member likes their own post.
|
|
xLc
Junior Member
Posts: 290
inherit
180982
0
Sept 18, 2019 6:25:07 GMT -8
xLc
290
July 2012
lifestylecourier
|
Post by xLc on Feb 5, 2013 8:43:04 GMT -8
Arh you just answered my reply in your other thread. Thx
How do you make it show in your profile aswell as mini profile?
|
|
inherit
170346
0
Mar 1, 2016 12:53:37 GMT -8
Shorty
Yeah, I'm that cool. Lol! No I'm not.
3,018
August 2011
shortyverrett94
|
Post by Shorty on Feb 5, 2013 8:44:08 GMT -8
Arh you just answered my reply in your other thread. Thx How do you make it show in your profile aswell as mini profile? I haven't looked to see if there is a template for the profile. But I'll check that later.
|
|
JMMREIVEW
inherit
-5168996
0
Nov 21, 2024 21:30:01 GMT -8
JMMREIVEW
0
January 1970
GUEST
|
Post by JMMREIVEW on Feb 13, 2013 14:34:13 GMT -8
AHHHHHH I am not good at this stuff, where do you add the code? explain it so a noob would understand please! thanks
{if $[user.likes]}
<br />Likes: $[user.likes]
{/if}
|
|
inherit
King Oligochaete
126470
0
Feb 24, 2021 12:23:15 GMT -8
Wormopolis
Stop rating plugins with 1 star that dont deserve it.
20,002
June 2008
tbserialkillers
Wormo's Mini-Profile
|
Post by Wormopolis on Feb 13, 2013 16:04:59 GMT -8
in the template for mini profile. go to "layout templates" under structure in the admin panel
|
|