Author Topic: Registered users  (Read 1667 times)

0 Members and 1 Guest are viewing this topic.

Offline Shurlock

  • Fulll Member
  • ****
  • Posts: 56
  • Karma: +1/-0
Registered users
« 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.
If it's raining and your roof leaks, fix the roof. DON'T try to stop the rain!!

PtokaX forum

Registered users
« on: 26 March, 2004, 03:27:36 »

Offline nErBoS

  • Emperor
  • **
  • Posts: 1 149
  • Karma: +3/-1
(No subject)
« Reply #1 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
« Last Edit: 26 March, 2004, 03:35:06 by nErBoS »
--## nErBoS Spot ##--

Offline Shurlock

  • Fulll Member
  • ****
  • Posts: 56
  • Karma: +1/-0
Happy!
« Reply #2 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!
If it's raining and your roof leaks, fix the roof. DON'T try to stop the rain!!

Offline Shurlock

  • Fulll Member
  • ****
  • Posts: 56
  • Karma: +1/-0
Silly me.....
« Reply #3 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??
If it's raining and your roof leaks, fix the roof. DON'T try to stop the rain!!

Offline nErBoS

  • Emperor
  • **
  • Posts: 1 149
  • Karma: +3/-1
(No subject)
« Reply #4 on: 26 March, 2004, 12:55:20 »
Hi,

Quote
Would that automatically become a status 4??


Yes.

Best regards, nErBoS
« Last Edit: 26 March, 2004, 13:00:55 by nErBoS »
--## nErBoS Spot ##--

PtokaX forum

(No subject)
« Reply #4 on: 26 March, 2004, 12:55:20 »