PtokaX forum

Development Section => Your Developing Problems => Topic started by: Shurlock on 26 March, 2004, 03:27:36

Title: Registered users
Post by: Shurlock on 26 March, 2004, 03:27:36
Hi all,

I am trying to develop my own script that will NOT send the hub hubrules to registered users. But... will not fail to send them to 'new' users!

What I need to know is:
- how do I determine if the 'New connection' is a registered user?

Any help will be appreciated!

Thanks.
Title:
Post by: nErBoS on 26 March, 2004, 03:34:42
Hi,

user.iProfile -- Returns the number of the user profile.

your default profiles are..

-1 - UnReg
 0 - Master
 1 - Operator
 2 - Vip
 3 - Reg

Best regards, nErBoS
Title: Happy!
Post by: Shurlock on 26 March, 2004, 03:37:26
Thanks nErBoS,

That's all I wanted to know. (I HOPE!!!!)
If it works out ok, I will deliver!

Regards!
Title: Silly me.....
Post by: Shurlock on 26 March, 2004, 03:40:45
What happens to newly added profiles?
Will they be numbered in order of addition?

For instance, I have users that cannot have the sharesize I demand because of limited diskspace (notebooks)
I've given them the status of NOMIN (No Minimum share).
Would that automatically become a status 4??
Title:
Post by: nErBoS on 26 March, 2004, 12:55:20
Hi,

QuoteWould that automatically become a status 4??

Yes.

Best regards, nErBoS