Welcome,
Guest
. Please
login
or
register
.
Did you miss your
activation email
?
1 Hour
1 Day
1 Week
1 Month
Forever
Login with username, password and session length
News:
READ THE
RULES
Home
Forum
Help
TinyPortal
Search
Login
Register
The PtokaX Portal
»
Forum
»
PtokaX
»
Feature Proposals
»
Core.SetUserValue
determinate
determinate
determinate
determinate
« previous
next »
Print
Pages: [
1
]
Go Down
Author
Topic: Core.SetUserValue (Read 701 times)
0 Members and 1 Guest are viewing this topic.
Enuri
Newbie
Posts: 9
Karma: +1/-0
Core.SetUserValue
«
on:
January 07, 2010, 11:42:15 am »
Please add Core.SetUserValue(user table or nick, id, value) function to modify user data. (I tried to
write
my own, but failed). It needs to add some tags (ex. [Reg][ISP]) to user description. Or it maybe special function like Core.AddUserTag(user table or nick, tag), that can be called by script in ValidateNickArrival. Maybe this is better than SetUserValue.
I think this is important function, because there is only one way to add tags now:
1) user connects or sends myinfo
2) hub send real myinfo
3) script sends modified myinfo -- always double myinfo, bigger traffic and lower performance.
So it should be like:
1) user connects
2) script calls AddUserTag
3) hub always sends myinfo with this tag
«
Last Edit: January 07, 2010, 11:58:53 am by Enuri
»
Logged
Print
Pages: [
1
]
Go Up
« previous
next »
The PtokaX Portal
»
Forum
»
PtokaX
»
Feature Proposals
»
Core.SetUserValue
determinate
determinate
determinate
determinate
guestbook