Snitz Forums 2000
Snitz Forums 2000
Home | Profile | Register | Active Topics | Members | Search | FAQ
Username:
Password:
Save Password
Forgot your Password?

 All Forums
 Snitz Forums 2000 MOD-Group
 MOD Add-On Forum (W/O Code)
 mod request - awards
 New Topic  Topic Locked
 Printer Friendly
Author Previous Topic Topic Next Topic  

Lydecker
Junior Member

United Kingdom
297 Posts

Posted - 28 May 2003 :  18:30:21  Show Profile  Visit Lydecker's Homepage
I would to see a mod that awards little medel icons (.gif's or what not) that appear by a users name if they have the highest post count in a certain forum.

i.e if user 'Tom' has made the most posts in forum_7, then he gets a medal with a 7 on it by his name. As soon as 'Zoe' makes more posts then 'Tom' in forum_7, then she gets the medal by here name, and 'Tom's' medal dissappears.

Any chance?

Many thanks!!!!!!!!!!!!!1

Astralis
Senior Member

USA
1218 Posts

Posted - 30 May 2003 :  18:14:55  Show Profile  Send Astralis a Yahoo! Message
Something that existed similar to that is Crash's Award Member Mod. It will need to be worked on though but it's a start.
Go to Top of Page

crash
Advanced Member

Netherlands
2064 Posts

Posted - 31 May 2003 :  08:55:02  Show Profile  Visit crash's Homepage
my mod allows the admin to select a member to be awarded for special services, like helping out members or whatever.

it could be rebuilt to function as you, Lydecker, pleases.

cHosting.nl
Go to Top of Page

jfitz
Junior Member

USA
345 Posts

Posted - 31 May 2003 :  15:43:47  Show Profile
I modded our forum so that we can assign awards to members who complete different levels of our monthly exercise challenges. In March, the award titles had an academic flavor (Diploma, Graduate, PhD, etc); in April we used miliary titles (Airman, Lieutenant, etc.) The member's current award displays under their name on the topic page.

I added a field to the MEMBERS table with the current award id, and created a separate awards table that matches the award id with the actual title of the award. I wanted to use the same SQL statement that is already used when looking up member data for topic display. Because not every member has an award, I used an outer join to extract the data. Fortunately SQL support an alternative syntax (*=) to express an outer join, so the baseline code modification wasn't too difficult. I don't know if the other Snitz-supported data bases recognize this syntax.

--Jördan
It's a wasted day if you don't spend at least part of it flying upside down.

Edited by - jfitz on 31 May 2003 15:44:50
Go to Top of Page

jeffery
Junior Member

USA
176 Posts

Posted - 27 June 2003 :  16:22:21  Show Profile
jfitz,

Are you willing to share this code?

www.thomasforum.com
Go to Top of Page

jfitz
Junior Member

USA
345 Posts

Posted - 27 June 2003 :  17:12:38  Show Profile
Sure, I'll have to dig it out. It's not too complicated, except for the outer join which uses a non-ANSI syntax '*=' that is supported by MSSQL, but if you are using a different data base, you might have to rewrite the code that creates the SQL. Also, there is no admin interface - I just go into the DB every month and update the status field by hand.

If you want to see what it looks like, you can visit http://forums.deniseaustin.com/forums/topic.asp?TOPIC_ID=6378

User id: Test User
Password: Test User

You'll see the awards level just below the stars and above the (optional) photo.

I'll try to get the code written up and posted in the next 24 hours or so.


--Jördan
It's a wasted day if you don't spend at least part of it flying upside down.
Go to Top of Page

jeffery
Junior Member

USA
176 Posts

Posted - 27 June 2003 :  18:04:48  Show Profile
I'm using MSSQL as a matter of fact. Thanks, that would be great!

www.thomasforum.com

Edited by - jeffery on 27 June 2003 18:10:07
Go to Top of Page

jfitz
Junior Member

USA
345 Posts

Posted - 28 June 2003 :  01:30:20  Show Profile
I've posted my MOD for User Awards here:

http://forum.snitz.com/forum/topic.asp?TOPIC_ID=45623

Let me know how it works for you.

--Jördan
It's a wasted day if you don't spend at least part of it flying upside down.
Go to Top of Page
  Previous Topic Topic Next Topic  
 New Topic  Topic Locked
 Printer Friendly
Jump To:
Snitz Forums 2000 © 2000-2021 Snitz™ Communications Go To Top Of Page
This page was generated in 0.31 seconds. Powered By: Snitz Forums 2000 Version 3.4.07