Page Index Toggle Pages: 1 Print
Understanding User registration (Read 6020 times)
Captain John
Ex Member


Understanding User registration
Jul 28th, 2008 at 3:22pm
Print Post  
A pre-registered user creates a new <userid>.pre file and his ID, together with a timestamp and the activation key is saved in a file in members (the pre registration log called memberlist.inactive).

So this means those two files have to be written (you can check using FTP if the .pre files get written and if the data is also entered in memberlist.inactive.

If this is working the activation link should do the following if succesful.

First of all it checks memberlist.inactive if this user is on the pre registration list and at what time he/she registered.
If he/she is on the list and the time between registration and activation is less then the default set 24 hours the following happens:

- the <userid>.pre file is renamed to <userid>.vars
- the preregistration data is removed from memberlist.inactive
- the member info is entered in memberlist.txt
- the memberlist.ttl is increased by 1.

With FTP you should be able to monitor this completely and find out where it goes wrong. (most likely the memberlist.inactive file has the wrong chmods and does not get editted on pre registration
« Last Edit: Jan 16th, 2010 at 4:47pm by »  
Back to top
 
IP Logged
 
Captain John
Ex Member


Re: Understanding User registration
Reply #1 - Jan 18th, 2009 at 4:49pm
Print Post  
Y2.2 and above

files in ./Members folder:
*.pre = User need validate his/her Registration by clicking Link in received Email
memberlist.inactive = list of users pre-registered
*.wait = Need Approve/Reject by Admins (after user has validated)
memberlist.approve = A List of users that need Approve/Reject

Pre-registration with Email membership activation
- username.pre file wrote and is listed in memberlist.inactive

after user validates username.pre change to username.vars and username.pre removed from memberlist.inactive

Pre-registration with admin membership approval
- username.pre file and listed in memberlist.inactive, until user has validated, it changes to username.wait and is listed in memberlist.approve

after admin approves, username.wait changes to username.vars and username.wait is removed from memberlist.approve


NOTE:  users who never validated (username.pre and memberlist.inactive files in ./Members folder), copied to a New install (upgrade) will not process properly in a new forum.  They should be deleted manually in order to clear New Member notifications to the Admin and from the Admin Center >Registration log.

./Members folder must be CHMOD 755 and files within the folder should be set as CHMOD 666 to allow reading/writing of files.
« Last Edit: Jan 16th, 2010 at 5:15pm by »  
Back to top
 
IP Logged
 
Captain John
Ex Member


Re: Understanding User registration
Reply #2 - Sep 3rd, 2010 at 10:42pm
Print Post  
YaBB 2.5

Registration with Email Activation and Admin Approval
TestReg registers on Forum

Admin Center Registration log
Date and Time        Status       Pre-registered UserID       Action
Today at 5:35pm      Not Validated       TestReg             Instant Delete
                               IP: xx.xx.xxx.x                   View Profile and Decide
                                                                              Instant Validate



Clicking on View Profile and Decide
Registration UserID:      TestReg
Chosen screen name:      Register
Not validated email address:      newuser@yahoo.com
Chosen language:      English
Coming from IP address:      xx.xx.xxx.x
Given reason for registering:      Testing Registration for all.

Registration.log =  1283549745|N|TestReg||xx.xx.xxx.x
Memberlist.inactive =  1283549745|TcMdjjl67G5JlpIUenO9|TestReg|yahooer|newuser@yahoo.com|xx.xx.xxx.x

TestReg.pre =  ### User variables for ID: TestReg ###
'realname',"Register"
'password',"ooSoX3UNokBeerV8/vMmMg"
'position',""
'addgroups',""
'email',"newuser@yahoo.com"
'hidemail',"1"
'regdate',"09/03/10 at 17:35:45"
'regtime',"1283549745"
'regreason',"Testing Registration for all."
'location',""
'bday',""
'gender',""
'userpic',"blank.gif"
'usertext',"I Love YaBB 2.4!"
'signature',""
'template',"code silver"
'language',"English"
'stealth',""
'webtitle',""
'weburl',""
'icq',""
'aim',""
'yim',""
'skype',""
'myspace',""
'facebook',""
'msn',""
'gtalk',""
'timeselect',"4"
'timeformat',"MM D+ YYYY @ HH:mm:ss*"
'timeoffset',"-05.0"
'dsttimeoffset',"1"
'dynamic_clock',""
'postcount',"0"
'lastonline',""
'lastpost',""
'lastim',""
'im_ignorelist',""
'im_popup',""
'im_imspop',""
'pmmessprev',""
'pmviewMess',""
'pmactprev',""
'notify_me',""
'board_notifications',""
'thread_notifications',""
'favorites',""
'buddylist',""
'cathide',""
'pageindex',"1|1|1|1"
'reversetopic',""
'postlayout',""
'sesquest',""
'sesanswer',""
'session',""
'lastips',"xx.xx.xxx.x"
'onlinealert',""
'offlinestatus',""
'awaysubj',""
'awayreply',""
'awayreplysent',""
'spamcount',""
'spamtime',""
'numberformat',""
'ext_0',""

Email w/Activation link sent to Test Reg
********************************************************************************
*
After Activation:
________________________________________________________________________________

Date and Time                   Status            Pre-registered UserID          Action
Today at 5:54pm      Awaiting approval after        TestReg              Instant Reject
                           validation by Captain John          IP: xx.xx.xxx.x     View Profile and Decide
                                                                                                 Instant Approve
Today at 5:35pm                Not Validated
                                         IP: xx.xx.xxx.x                 TestReg

TestReg.pre renamed TestReg.wait
TestReg.msg created = 128355085527087|admin|TestReg|||Hey Hey Smiley|1283550855|Welcome to my boards|128355085527087|0|xx.xx.xxx.x|s|u||
Registration.log =
1283549745|N|TestReg||xx.xx.xxx.x
1283550855|W|TestReg|admin|xx.xx.xxx.x
Memberlist.inactive = 0 (zeroed)
Memberlist.approve (created) =
1283549745|TcMdjjl67G5JlpIUenO9|TestReg|yahooer|newuser@yahoo.com|xx.xx.xxx.x

********************************************************************************
**
After Admin Approval
________________________________________________________________________________
_

Date and Time        Status       Pre-registered UserID       Action
Today at 6:16pm      Approved by        TestReg (Register)
                               Captain John          IP: xx.xx.xxx.x

TestReg.wait renamed TestReg.vars
Memberlist.approve = 0 (zeroed)
Members.ttl file = 9|TestReg
Memberslist.txt = (added to bottom)
TestReg  1283560545
Memberinfo.txt = (added to list)
TestReg  Register|newuser@yahoo.com|YaBB Newbies|0|

Email "Registration Approval" sent to TestReg
  
Back to top
 
IP Logged
 
Captain John
Ex Member


Re: Understanding User registration
Reply #3 - Aug 23rd, 2011 at 11:04pm
Print Post  
Now any registration type requiring email .. can be lost by your email client ...
  It is known email is treated by email providers differently .. Some break an html URL link and will not allow clicking on to work correctly ...
  If the link is copied and pasted in the browser url window it will then work.
Some email clients (Yahoo) will place email received in Junk mail if the email contains an url.
  Some will Automatically delete the Junk mail containing URL links, depending on the Email setup.
  
Back to top
 
IP Logged
 
Page Index Toggle Pages: 1
Print
 
  « Board Index ‹ Board  ^Top