FUDforum
Fast Uncompromising Discussions. FUDforum will get your users talking.

Home » FUDforum Development » Plugins and Code Hacks » Extra User Info
Show: Today's Messages :: Polls :: Message Navigator
Switch to threaded view of this topic Create a new topic Submit Reply
Extra User Info [message #22115] Sun, 16 January 2005 16:02 Go to next message
dennisp is currently offline  dennisp   United States
Messages: 49
Registered: December 2004
Location: Belize
Karma: 0
Member
Hi,
I want to change the ranking points are calculated. I want to set up another column in the user table or maybe in another table which contains two fields: User ID or login(whichever is better) and ranking_points. So wheneever a new user registers I want a record to be automagically added to this new table as well. This table will be the rank points table.

1) Where exactly do I do this. I looked around for an add_user function and found it in many places and therefore i am not too sure.

I also want to setup another table which contains three fields: user id or login, post id and post points. This table will be the post points table.

2) where can i find the post message code to change so as to add a new record for each message posted in this new table that I create.

eventually i would like to setup a way where mod and admin can evaluate posts and add points to a user. the ranking, instead of being pulled from total_post_count will be pulled from the rank points table.

Re: Extra User Info [message #22132 is a reply to message #22115] Mon, 17 January 2005 15:05 Go to previous messageGo to next message
Ilia is currently offline  Ilia   Canada
Messages: 13241
Registered: January 2002
Karma: 0
Senior Member
Administrator
Core Developer
Message post code can be found inside imsg_edt.inc.t
User creation code is inside users_reg.inc.t


FUDforum Core Developer
Re: Extra User Info [message #22188 is a reply to message #22132] Wed, 19 January 2005 11:51 Go to previous message
dennisp is currently offline  dennisp   United States
Messages: 49
Registered: December 2004
Location: Belize
Karma: 0
Member
Thanks. Shall look into it. Smile
  Switch to threaded view of this topic Create a new topic Submit Reply
Previous Topic: lib.js patch (spoiler usage)
Next Topic: 2.6.x Recent posts list with date and time
Goto Forum:
  

-=] Back to Top [=-
[ Syndicate this forum (XML) ] [ RSS ]

Current Time: Sat Nov 30 23:27:44 GMT 2024

Total time taken to generate the page: 0.03073 seconds