blahs
SMF For Free Sr. Member
Offline
Posts: 252
5 out of 4 people have trouble with fractions!
|
 |
« on: March 11, 2008, 12:22:17 pm » |
|
Can someone come up with a code so under the posts and money there is a box for awards that i can add peoples awards too? like I want a paint award, a top poster, most rep and a few others.... anyone???
|
|
|
|
|
Logged
|
|
|
|
|
|
|
|
blahs
SMF For Free Sr. Member
Offline
Posts: 252
5 out of 4 people have trouble with fractions!
|
 |
« Reply #2 on: March 11, 2008, 01:50:30 pm » |
|
|
|
|
|
|
Logged
|
|
|
|
|
Coreeeey
|
 |
« Reply #3 on: March 11, 2008, 02:03:57 pm » |
|
Then just create a custom profile field>Text Area and only allow admins to edit it and have it show under the post count. You don't even need a code to do this.
|
|
|
|
|
Logged
|
|
|
|
blahs
SMF For Free Sr. Member
Offline
Posts: 252
5 out of 4 people have trouble with fractions!
|
 |
« Reply #4 on: March 11, 2008, 02:09:31 pm » |
|
Then just create a custom profile field>Text Area and only allow admins to edit it and have it show under the post count. You don't even need a code to do this.
dosen't work...
|
|
|
|
|
Logged
|
|
|
|
|
Agent Moose
|
 |
« Reply #5 on: March 11, 2008, 02:33:08 pm » |
|
Here ya go  Place in footers: <script> function Award(){ //Created by Agent Moose (smcodes.smfforfree3.com) var Awards = new Array(); Awards[Awards.length] = ["NAME","AWARD"];
for(v=0;v<Awards.length;v++) if(location.href.match(/topic,/i)) { $("a:contains(" + Awards[v][0] + ")").parent().next().append("<br><b>Awards</b>:" + Awards[v][1]); };}; Award(); </script>
|
|
|
|
|
Logged
|
SMC Code Index - The best Code Index for all your Needs! Includes a bunch of codes not on Support.[/cen
|
|
|
blahs
SMF For Free Sr. Member
Offline
Posts: 252
5 out of 4 people have trouble with fractions!
|
 |
« Reply #6 on: March 11, 2008, 02:37:00 pm » |
|
Here ya go  Place in footers: <script> function Award(){ //Created by Agent Moose (smcodes.smfforfree3.com) var Awards = new Array(); Awards[Awards.length] = ["NAME","AWARD"];
for(v=0;v<Awards.length;v++) if(location.href.match(/topic,/i)) { $("a:contains(" + Awards[v][0] + ")").parent().next().append("<br><b>Awards</b>:" + Awards[v][1]); };}; Award(); </script> Thanks but what do i put in "NAME" and "AWARD"
|
|
|
|
|
Logged
|
|
|
|
|
Coreeeey
|
 |
« Reply #7 on: March 11, 2008, 02:41:41 pm » |
|
Then just create a custom profile field>Text Area and only allow admins to edit it and have it show under the post count. You don't even need a code to do this.
dosen't work... Actually it would if you'd just try it. If you have a large forum and end up having a lot of members, doing this with a code will get complicated and very easy to lose track of!
|
|
|
|
|
Logged
|
|
|
|
blahs
SMF For Free Sr. Member
Offline
Posts: 252
5 out of 4 people have trouble with fractions!
|
 |
« Reply #8 on: March 11, 2008, 04:03:20 pm » |
|
Here ya go  Place in footers: <script> function Award(){ //Created by Agent Moose (smcodes.smfforfree3.com) var Awards = new Array(); Awards[Awards.length] = ["NAME","AWARD"];
for(v=0;v<Awards.length;v++) if(location.href.match(/topic,/i)) { $("a:contains(" + Awards[v][0] + ")").parent().next().append("<br><b>Awards</b>:" + Awards[v][1]); };}; Award(); </script>  can you tell me how to use it what to modify etc.?
|
|
|
|
|
Logged
|
|
|
|
Pancakes
SMF For Free Sr. Member
Offline
Posts: 459
sǝʞɐɔuɐd ǝɯ lol
|
 |
« Reply #9 on: March 11, 2008, 04:04:38 pm » |
|
Name=the name of the perosn you giving reward to Reward=What reqard for example.. most Posts add more of these lines for more rewards Awards[Awards.length] = ["NAME","AWARD"];
|
|
|
|
|
Logged
|
|
|
|
GamesGalore™
SMF For Free Full Member
Offline
Posts: 240
Musicinsanity.tk™
|
 |
« Reply #10 on: March 11, 2008, 05:26:28 pm » |
|
You can make them a certin member group?
|
|
|
|
|
Logged
|
|
|
|
blahs
SMF For Free Sr. Member
Offline
Posts: 252
5 out of 4 people have trouble with fractions!
|
 |
« Reply #11 on: March 11, 2008, 09:21:28 pm » |
|
Its a good code I like it but Agent Moose if you look on http://wiitalk.smfforfree4.com/index.php and look at one of the posts you will see the awards im talkin about its under the posts...
|
|
|
|
|
Logged
|
|
|
|
|
|
|