PDA

View Full Version : Points System?


auctionthreads
04-09-2002, 04:57 PM
Hi,

I'm kind of new.. so it is possible that something like this already exists and I have just missed it. I spent some time yesterday poking around the hacks and came across several things that are similar, but none that are exactly like I'm thinking..

Here is my idea.. if it already exists, let me know. :)

I'm looking for a point system type of hack that gives users points based on their posts.. for example, if you make a post, you get N number of points, if you start a thread, you get X number of points.

I want to take that a step further and make the number of points you get based on the number of posts you already have..

so if you have 0 posts in the forum.. you get 0 points.. if you have < 100 posts you get 1 point for a post and 2 points for starting a thread, <1000 you get 2 points for posting and 3 points for starting a thread and so on..

Being able to set the number of posts needed and the number of points received would be an excellent addition.. Moderators should also be able to remove points form a user when removing a post or a thread.

The idea is to be able to create an individual forum or even a group of forums that require points to start a thread with users earning their points by being an active member in the other non-point forums.

You would also need to be able to set the base number of points a user needs to start a thread in the point-based forum. So each thread may cost 2 points, but you need at least 20 points before you can start a thread.

Taking that a step further a user should also be able to spend more than the base number of points to start their thread. Perhaps on the new thread form display the highest number of points paid for a thread in that forum? If they do, then their thread gets priority over the others for a set number of days (should also be able to specify this by forum).. so the more points you spend on your thread, the higher it appears on the thread list. The number of points spent on a thread delegates the listing for those threads with greater than the base number of points spent, but thread posters that only used the base number of points are ordered from newest to oldest..An option should be available to set the maximum number of points any user can spend on a thread as well..

So, for example, if I spent 20 points on a thread posted last week in a forum which requires 5 base points to start a thread, my thread will still be showing higher than a thread posted today by a user who paid 5 points to post it.

Another use for points is to view threads. Pretty much the same as above but in different forums. You can set the number of points required to view threads in a specific forum or group of forums. The user will need the minimum number of points to even see the threads in the forum (but points will not be deducted until they read a specific thread), if they lack the points, they get an error letting them know they don't have enough..

Each thread a user clicks to view will display a page letting them know how many points they have, how many points it will cost them to view the thread and their resulting number of points. Maybe have a setting in the preferences that lets them disable the point warning pages? The threads a user pays points to view should also be tracked so that they don't have to pay to view them again.


Admins should also be able to give users points.

Good idea, bad idea? Possible? Exist already?

jeo
04-09-2002, 07:26 PM
Wow! This is exactly what im looking for!
If you find anything please let me know!
Thanks!

E
04-09-2002, 10:48 PM
that was loing so i didnt read it all.... but if u have the shinra points hack.,. on my forum u get a certain amount of posts for posting new threads in certain forums... if u want it too cost them points just put a "-" infront of it
too do that... find this code in ur newthread.php
// ############################### start new thread ###############################

Above it place this code:
// ############################## start add DAP #################################
if ($HTTP_POST_VARS['action']!='newthread' and $HTTP_POST_VARS['action']!='postthread') {
// start dap
$dapfield = 'field9';

switch ($forumid) {
case 51:
$dapadd = 0.5;
break;
case 46:
$dapadd = -0.1;
break;
case 50:
$dapadd = -1;
break;
case 19:
case 21:
$dapadd = 4;
break;
case 2:
case 16:
case 13:
case 18:
case 30:
case 14:
case 40:
case 41:
case 49:
$dapadd = 2;
break;
case 8:
case 20:
$dapadd = 1;
break;
case 48:
case 36:
case 33:
case 34:
case 43:
case 42:
case 5:
case 6:
case 44:
case 39:
case 17:
case 31:
case 53:
case 57:
case 58:
case 64:
case 54:
case 55:
case 65:
$dapadd = 0;
break;
}

$DB_site->query("UPDATE userfield SET $dapfield=$dapfield+$dapadd WHERE userid=$bbuserinfo[userid]");
}


Change wateva u like,.. very customizable... altho note one thing.. all of ur forums must be listed there,,,,, well u can list just a forum category,,,, well peace :)

jeo
04-09-2002, 11:08 PM
Thankyou E!

auctionthreads
04-11-2002, 02:00 AM
Thanks. What you posted looks like it will do some of what i need.. so maybe i can add the rest of the features to it..

Vivi Ornitier
04-11-2002, 02:16 AM
Is it just me or does that seem a bit complicated? I think there is an easier way, but I'm too tired right now to even attempt it. I'll post it later if I do make it.

EDIT: Also, I can have it integrated with the Shinra Online points hack.