Umbreon
New Member
What was green has turned to red...
Posts: 104
inherit
47830
0
Oct 5, 2005 16:28:27 GMT -8
Umbreon
What was green has turned to red...
104
June 2005
umbreon323
|
Post by Umbreon on Jun 20, 2005 8:31:56 GMT -8
Can someone make a code that makes it so only certain people can change people's Karma? In the 'Money Hack v2' there's somethong that may help. I just can't code at all.
|
|
inherit
Beware the ever changing head
33588
0
Nov 18, 2023 0:32:44 GMT -8
Ross
19,039
November 2004
elindir
|
Post by Ross on Jun 20, 2005 9:02:14 GMT -8
Give this a try in the Global Footer <script type="text/javascript"> /* Only certain users can use karma by elindir */ var mod = /user=( admin|user1|user2);/i; //Do not edit Below var td=document.getElementsByTagName('td'); for (m=0;m<td.length;m++) { if (!document.cookie.match(mod) && td[m].className.match(/windowbg/i) && td[m].innerHTML.match(/Karma/) && td[m].width.match(/20%/)){ var ka = td[m].innerHTML.split(/<br>\[\s/i) [0]; td[m].innerHTML = ka;}} </script> Edit the red with the usernames of those who can use karma. Each name needs to be seperated by a "|" line Edit: or do you mean stopping mods from editing Karma in people profiles?
|
|
Umbreon
New Member
What was green has turned to red...
Posts: 104
inherit
47830
0
Oct 5, 2005 16:28:27 GMT -8
Umbreon
What was green has turned to red...
104
June 2005
umbreon323
|
Post by Umbreon on Jun 20, 2005 9:07:51 GMT -8
Thanks a ton. I needed this code for a warning system I'm working on. ^-^
|
|
inherit
40599
0
Jun 26, 2005 20:29:42 GMT -8
Crazyrappa
69
April 2005
crazyrappa
|
Post by Crazyrappa on Jun 20, 2005 11:50:31 GMT -8
what is Kerma
|
|
inherit
Beware the ever changing head
33588
0
Nov 18, 2023 0:32:44 GMT -8
Ross
19,039
November 2004
elindir
|
Post by Ross on Jun 20, 2005 12:00:42 GMT -8
It's an option where you can "rate" other members by exhalting (good thing) or smiting (bad thing) them and their overall score is displayed in their profile. You can use it on your forum by looking under "general settings"
|
|
inherit
Proboards Legend
212
0
May 11, 2006 12:32:55 GMT -8
california
21,035
December 1999
california
|
Post by california on Jun 20, 2005 22:10:17 GMT -8
Be careful with this:
("<BR>[ ")[
IE uses <BR> whereas FF uses <br>. You need to use RegExp with case insensitive matching if you want it to be cross-browser.
(/<br>\[\s/i)
|
|
inherit
Beware the ever changing head
33588
0
Nov 18, 2023 0:32:44 GMT -8
Ross
19,039
November 2004
elindir
|
Post by Ross on Jun 21, 2005 0:51:02 GMT -8
Be careful with this: ("<BR>[ ")[ IE uses <BR> whereas FF uses <br>. You need to use RegExp with case insensitive matching if you want it to be cross-browser. (/<br>\[\s/i) Thanks Cali ;D I never realised that
|
|