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 Mar 13, 2013 8:10:10 GMT -8
You do that with a template mod. In the mini-profile or the profile templates just add 'Karma: $[user.likes]'.
|
|
inherit
121254
0
Jun 1, 2016 7:27:22 GMT -8
atalkingfish
331
March 2008
atalkingfish
|
Post by atalkingfish on Mar 13, 2013 8:52:05 GMT -8
Wow, I'm not used to how much you can do with layout templates, but that's great. Thank you!
Could this be utilized to make a list of the people with the most karma based on post likes?
|
|
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 Mar 13, 2013 9:11:58 GMT -8
Unfortunately, no. The user likes data isn't available on every single page. So you can't loop through each member to get them all, then display the highest. This wouldn't be possible with a plugin either. Sorry.
|
|
inherit
121254
0
Jun 1, 2016 7:27:22 GMT -8
atalkingfish
331
March 2008
atalkingfish
|
Post by atalkingfish on Mar 13, 2013 9:21:06 GMT -8
Welp... oh well, I guess. It would be a lovely feature to promote good 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 Mar 13, 2013 9:47:04 GMT -8
Sorry.
|
|
inherit
164980
0
Oct 11, 2012 23:21:29 GMT -8
Tohsaka Rin
Why do men keep falling into my residence? I can collect on the damage insurance, right?
602
March 2011
lunacticinferno
|
Post by Tohsaka Rin on Mar 13, 2013 18:05:12 GMT -8
Shorty, I have a question about the placement of the links for the karma in the mini-profile. Is there a way to move it? I already put "karma" where I wanted it but I was having a little trouble moving the other part.
When a site also has the "alias" script plugin running the karma bugs out. Both the original user, and their alias, end up defaulting back to zero because the karma seems to not want to save. You may wish to talk to wormopolis about a work-around for this~
|
|
inherit
22402
0
Nov 8, 2021 11:42:58 GMT -8
DeltaDart
Ultimate Interceptor
522
April 2004
mcgeep
|
Post by DeltaDart on Mar 20, 2013 22:28:41 GMT -8
Shorty is there any way to include Karma actions in the security logs?
|
|
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 Mar 21, 2013 10:19:49 GMT -8
No. I can't add content to the admin panel. Sorry.
|
|
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 Mar 21, 2013 22:52:17 GMT -8
Shorty, I have a question about the placement of the links for the karma in the mini-profile. Is there a way to move it? I already put "karma" where I wanted it but I was having a little trouble moving the other part. When a site also has the "alias" script plugin running the karma bugs out. Both the original user, and their alias, end up defaulting back to zero because the karma seems to not want to save. You may wish to talk to wormopolis about a work-around for this~ The Alter code rewrites the MP with alter data and strips regular user data out, so if the karma system is looking at that first link for a user's href to profile, it will either find nothing or a link to a post. It was mentioned to me that things that apply to a member (like styling a specific member's name) shouldnt apply to the alter or it will make it too obvious that the alter belonged to that member. same reason I stripped out stars and custom titles, and gave each lter its own personal text and signature plus stats. if I put back in the href to the user's profile, then it wont direct to the Alter's profile post anymore, as well as run the risk of any plugin aiming at a member link to affect the Alter's display. Im not saying this to put more work on shorty'ss bench here, but a quick solution would be to check if that display name HAS a valid member href before doing anything further. Im not 100% sure the process he used in his code though. Im absolutely welcome to discuss it however.
|
|
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 Mar 22, 2013 9:00:25 GMT -8
Shorty, I have a question about the placement of the links for the karma in the mini-profile. Is there a way to move it? I already put "karma" where I wanted it but I was having a little trouble moving the other part. When a site also has the "alias" script plugin running the karma bugs out. Both the original user, and their alias, end up defaulting back to zero because the karma seems to not want to save. You may wish to talk to wormopolis about a work-around for this~ The Alter code rewrites the MP with alter data and strips regular user data out, so if the karma system is looking at that first link for a user's href to profile, it will either find nothing or a link to a post. It was mentioned to me that things that apply to a member (like styling a specific member's name) shouldnt apply to the alter or it will make it too obvious that the alter belonged to that member. same reason I stripped out stars and custom titles, and gave each lter its own personal text and signature plus stats. if I put back in the href to the user's profile, then it wont direct to the Alter's profile post anymore, as well as run the risk of any plugin aiming at a member link to affect the Alter's display. Im not saying this to put more work on shorty'ss bench here, but a quick solution would be to check if that display name HAS a valid member href before doing anything further. Im not 100% sure the process he used in his code though. Im absolutely welcome to discuss it however. Sorry. I have been really busy with school, to have looked at her issue. And I thank you Wormo for looking at it. Would it not be possible just to have my plugin run first? Then it places what it should first before yours strips all the data(like href) out. Also the line of code I used to get the user's id was this. var userId = $(this).find('a.user-link').attr('href').split('/user/')[1];
|
|
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 Mar 22, 2013 10:58:15 GMT -8
when the user presses the button to add/subtract karma, does it run a user id check again? running your plugin first would make it not trip on an alter profile to display karma, and then alter would remove whatever karma stuff you had added to the MP. I think the trouble is happening when someone hits a button?
|
|
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 Mar 22, 2013 11:03:35 GMT -8
That's whats happening. It's when you click the button it looks for a id.
EDIT: Can you link me to the code so I can mess with it?
|
|
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 Mar 22, 2013 11:12:10 GMT -8
the Alter plugin?
|
|
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 Mar 22, 2013 11:16:17 GMT -8
Yes please.
|
|
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 Mar 22, 2013 11:46:44 GMT -8
|
|