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

Home » FUDforum Development » Plugins and Code Hacks » Extra User Info
Show: Today's Messages :: Unread Messages :: Show Polls :: Message Navigator
| Subscribe to topic | Bookmark topic 
Switch to threaded view of this topic Create a new topic Submit Reply
Extra User Info [message #22115] Sun, 16 January 2005 11:02 Go to next message
dennisp is currently offline  dennisp   United States
Messages: 49
Registered: December 2004
Location: Belize
Karma: 0
Member
add to buddy list
ignore all messages by this user
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 10: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
add to buddy list
ignore all messages by this user
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 06:51 Go to previous message
dennisp is currently offline  dennisp   United States
Messages: 49
Registered: December 2004
Location: Belize
Karma: 0
Member
add to buddy list
ignore all messages by this user
Thanks. Shall look into it. Smile
Quick Reply
Formatting Tools:   
  Switch to threaded view of this topic Create a new topic
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: Sun Dec 17 14:45:49 EST 2017

Total time taken to generate the page: 0.00661 seconds