Page Index Toggle Pages: 1
There are no actions to perform.
Normal Topic Need a way to manually add members (Read 2,318 times)
dan1101
YaBB Newcomer
*
Offline



Posts: 3

None
Need a way to manually add members
Jul 22nd, 2011 at 9:10pm
There are no actions to perform.
Is there any way to add members via command line or URL call? áI would like those who register for our website to be able to use our forums with the same login information, without them needing to register.

I tried calling yabb.pl on a URL like . etc. ábut that ran afoul of The Guardian.

So, is there any way to add members by editing a text file, calling a URL, etc?

Thanks in advance.
  
Back to top
 
IP Logged
 
Captain John
Ex Member


Re: Need a way to manually add members
Reply #1 - Jul 23rd, 2011 at 4:38am
There are no actions to perform.
  
Back to top
 
IP Logged
 
dan1101
YaBB Newcomer
*
Offline



Posts: 3

None
Re: Need a way to manually add members
Reply #2 - Jul 25th, 2011 at 7:24pm
There are no actions to perform.
Hmm, the linked page is HTML code that adds a login form. áI can try it but I don't think that does what I want to do.

Let me state my question another way. áI have 100 existing users on my web site with usernames and passwords. áI want to make all those users members on my YaBB board, without them or I having to do it manually (it will be an ongoing problem, new users every day.)

I am a programmer, so if there is some automated way to add a user, I can write a program to repeat the process X times, once for each user.
« Last Edit: Jul 25th, 2011 at 8:07pm by dan1101 »  
Back to top
 
IP Logged
 
Captain John
Ex Member


Re: Need a way to manually add members
Reply #3 - Jul 25th, 2011 at 8:08pm
There are no actions to perform.
Some users have written scripts to do things externally to YaBB, but we here do not have any scripts available to do this ...
  
Back to top
 
IP Logged
 
dan1101
YaBB Newcomer
*
Offline



Posts: 3

None
Re: Need a way to manually add members
Reply #4 - Jul 25th, 2011 at 8:57pm
There are no actions to perform.
Ok, thanks.  Is there any documentation on the member format, is it some sort of SQL database or something simpler?
  
Back to top
 
IP Logged
 
Tony Barnett
YaBB Newcomer
*
Offline



Posts: 27
Location: Mansfield, Victoria, Australia

YaBB 2.6.1
Re: Need a way to manually add members
Reply #5 - Jul 28th, 2011 at 6:42am
There are no actions to perform.
All you need to do is have a script generate a file in the Members directory as appears below...

Code
Select All
### User variables for ID: anewmember ###

'realname',"A New Member"
'password',"newmember123"
'position',""
'addgroups',""
'email',"membersaddress@domain.com"
'hidemail',"1"
'regdate',"07/28/11 at 16:14:40"
'regtime',"1311837459"
'regreason',""
'location',""
'bday',""
'gender',""
'userpic',"blank.gif"
'usertext',"I Love YaBB Forums!"
'signature',""
'template',"Forum default"
'language',"English"
'stealth',""
'webtitle',""
'weburl',""
'icq',""
'aim',""
'yim',""
'skype',""
'myspace',""
'facebook',""
'msn',""
'gtalk',""
'timeselect',"4"
'timeformat',"MM D+ YYYY @ HH:mm:ss*"
'timeoffset',"10.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"
'reversetopic',""
'postlayout',""
'sesquest',""
'sesanswer',""
'session',""
'lastips',""
'onlinealert',""
'offlinestatus',""
'awaysubj',""
'awayreply',""
'awayreplysent',""
'spamcount',""
'spamtime',""
'numberformat',""
 



In this case the file would be called anewmember.vars.

After adding 1 or more member *.vars files you simply click 'Rebuild members List' in the Maintenance Controls section of the Admin Center.

PLEASE NOTE...

* The added member can customise these options via the User CP once logged in.

* ID should not contain spaces and should be alphanumeric --- underscores (_) and hyphens (-) are OK!

* 'realname' can be the same as ID: for simplicity.

* 'regdate' should be supplied by your script for the current date and time.

* 'regtime' is a unix timestamp which you should supply via your script.

* 'timeformat' and 'timeoffset' are for Australian Eastern Standard Time in this example --- have a look at your own membership *.vars file in the Member directory for appropriate settings for your forum.

I hope this helps and please don't hesitate to contact me for further information or assistance.
  

Back to top
IP Logged
 
Page Index Toggle Pages: 1
There are no actions to perform.