Agent Moose
|
|
« on: November 07, 2008, 06:48:17 pm » |
|
Footers: <script> var Awards = new Array(); Awards[Awards.length] = ["USER ID","AWARD"];
$("a").each(function(){ //Created by Agent Moose (smcodes.smfforfree3.com) if(this.href.match("profile;u=" + Awards[v] + "$")){ $(this).parent().next().append("<br><b>Awards</b>:" + Awards[v][1]); };};); </script> USER ID = The User ID you would like to give awards to. AWARD = What the award will be. You may use HTML or Text. Enjoy
|
|
|
|
|
anthony
Newcomers!
Offline
Gender:
Posts: 2
Badges: (View All)
|
|
« Reply #1 on: March 28, 2009, 05:30:09 pm » |
|
Lol nice, I could use it, when I get more members on my forum, at least
|
|
|
|
|
Blighted
Blighted Mega Forums Owner
Newcomers!
Offline
Gender:
Posts: 8
Badges: (View All)
|
|
« Reply #2 on: May 20, 2009, 08:17:08 am » |
|
lol nice. Is there anything you need to add to the headers?
|
|
|
|
Exilis
|
|
« Reply #3 on: May 20, 2009, 02:42:04 pm » |
|
Nope When it comes to codes on here, you only have to add what they tell you to add. Normally in the footers
|
|
|
|
Agent Moose
|
|
« Reply #4 on: May 21, 2009, 07:20:18 am » |
|
lol nice. Is there anything you need to add to the headers?
It sotra matters If you don't have the following code at the top of your headers, then yes, you will need to add it, if you already have if, then you don't need to add it again: <script src="/jquery.js"></script>
|
|
|
|
Blighted
Blighted Mega Forums Owner
Newcomers!
Offline
Gender:
Posts: 8
Badges: (View All)
|
|
« Reply #5 on: May 24, 2009, 11:11:34 am » |
|
I've got that. Oh btw, where does the award appear?
|
|
|
|
Agent Moose
|
|
« Reply #6 on: May 24, 2009, 01:23:33 pm » |
|
Right under all the users stats on the side of a post.
|
|
|
|
Lyle
MeTube
Member
Offline
Gender:
Posts: 69
Badges: (View All)
|
|
« Reply #7 on: June 07, 2009, 04:02:25 pm » |
|
may we use pictures?
|
|
|
|
Agent Moose
|
|
« Reply #8 on: June 07, 2009, 05:05:19 pm » |
|
Yes you may. You need to use single quotes instead of double quotes for the src= part.
|
|
|
|
KrylonKrystals
Starter
Offline
Gender:
Posts: 22
Badges: (View All)
|
|
« Reply #9 on: August 24, 2009, 09:52:23 pm » |
|
Footers: <script> var Awards = new Array(); Awards[Awards.length] = ["USER ID","AWARD"];
$("a").each(function(){ //Created by Agent Moose (smcodes.smfforfree3.com) if(this.href.match("profile;u=" + Awards[v] + "$")){ $(this).parent().next().append("<br><b>Awards</b>:" + Awards[v][1]); };};); </script> USER ID = The User ID you would like to give awards to. AWARD = What the award will be. You may use HTML or Text. Enjoy Is there a way to make it so that either the user can automatically get the award or possibly add more users to the list? EDIT: put a strikethrough on that part didn't read the code correctly
|
|
« Last Edit: August 24, 2009, 09:54:56 pm by KrylonKrystals »
|
Report Spam
Logged
|
|
|
|
Exilis
|
|
« Reply #10 on: August 25, 2009, 01:36:54 am » |
|
Once slayer releases the shop source code, I'm going to work on a simple item that adds the user's name onto a list- the list is then read and can be used by codes like this one. It might take a bit to develop.
|
|
|
|
|
|