Simple Machine Codes
March 29, 2024, 02:39:20 am
Welcome, Guest. Please login or register.

Login with username, password and session length
News: Welcome to SMC, the best place for your SMF For Free Codes
 
  Home Help Search Arcade Gallery Affiliates Code Index Staff List Calendar Members Login Register  

Award System

Pages: [1]   Go Down
  Print  
Author Topic: Award System  (Read 1925 times)
0 Members and 1 Guest are viewing this topic.
Agent Moose
Administrator

Offline Offline

Gender: Male
Posts: 2,672



View Profile WWW
« on: October 18, 2007, 04:06:24 pm »

Footers:
Code:
<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 Smiley
« Last Edit: November 07, 2008, 06:48:04 pm by Agent Moose » Report Spam   Logged

Share on Facebook Share on Twitter

sweet_candygirl23
Members

Offline Offline

Posts: 41


View Profile
« Reply #1 on: April 10, 2008, 12:22:39 am »

How can the member recieve its award? Huh?
Report Spam   Logged
Ixy
Newcomers!

Offline Offline

Posts: 4


View Profile
« Reply #2 on: June 20, 2008, 10:31:15 pm »

The member receives award in his/her profile after you have added it. Smiley
Report Spam   Logged
Ixy
Newcomers!

Offline Offline

Posts: 4


View Profile
« Reply #3 on: June 20, 2008, 10:41:55 pm »

Wait, it doesn't show where the award is. Sad
Report Spam   Logged
CodeLover
100 Club Member

Offline Offline

Gender: Male
Posts: 331


View Profile
« Reply #4 on: June 21, 2008, 05:43:39 am »

I think it shows the award in the post...
Report Spam   Logged

Don't get mad at me if I'm acting immature - I'm only 10 Grin


Agent Moose
Administrator

Offline Offline

Gender: Male
Posts: 2,672



View Profile WWW
« Reply #5 on: June 22, 2008, 08:58:21 pm »

Shows it in the mini-profile, which is beside the posts Tongue
Report Spam   Logged

legend 1234
100 Club Member

Offline Offline

Gender: Male
Posts: 461


Legend 1234


View Profile WWW
« Reply #6 on: June 28, 2008, 10:22:51 pm »

woot i love this code thanks so much moosey im using it for sure Smiley

legend 1234
« Last Edit: June 29, 2008, 01:09:13 am by legend 1234 » Report Spam   Logged

Jason Jones
JJ
Starter

Offline Offline

Posts: 8


Trust yourself or do not trust at all...


View Profile WWW
« Reply #7 on: July 12, 2008, 02:03:52 am »

Hey Moose Love the code it will be very useful for my User of the Week award in my forums. I was wondering though I used your "Change Username Across Board V4" code and made the username bold so when I go to give the award to someone with the a changed username do I use the Old or New Username?
Report Spam   Logged

I feel no need for anything special down here I mean you don't read this...
you do don't you...
Kalphiter
100 Club Member

Offline Offline

Gender: Male
Posts: 203


Never forget to drink coffee.


View Profile
« Reply #8 on: July 12, 2008, 09:45:00 am »

Hey Moose Love the code it will be very useful for my User of the Week award in my forums. I was wondering though I used your "Change Username Across Board V4" code and made the username bold so when I go to give the award to someone with the a changed username do I use the Old or New Username?
It could be based around username and not their display name. Usernames can only be changed by administrators.
Report Spam   Logged

Java is your friend.
Agent Moose
Administrator

Offline Offline

Gender: Male
Posts: 2,672



View Profile WWW
« Reply #9 on: July 12, 2008, 10:14:14 pm »

Accually, it is based on the display name.

But if you add bold to that user, it souldn't effect this code, you will still only need to but in the username.
Report Spam   Logged

Pages: [1]   Go Up
  Print  
 
Jump to:  

Powered by EzPortal
Bookmark this site! | Upgrade This Forum
SMF For Free - Create your own Forum

Powered by SMF | SMF © 2016, Simple Machines
Privacy Policy