YaBB Community and Support Forum
YaBB Home About YaBB Download YaBB YaBB Support Customize Your Forum Development Contribute to the Project
  Welcome, Guest. Please Login or Register


 
Page Index Toggle Pages: 1
Topic Tools
 
Need a way to manually add members (Read 1,654 times)
 Jul 22nd, 2011 at 9:10pm
There are no actions to perform.  

dan1101 
YaBB Newbie
*
Offline
Posts: 3


YaBB 2.5
Need a way to manually add members
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 mysite.com/cgi-bin/YaBB.pl?action=register2&username="TEST"&regrealname="TEST"..
.
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.
 
 
IP Logged  
 Reply #1 - Jul 23rd, 2011 at 4:38am
There are no actions to perform.  
Captain John 
Ex Member


None
Re: Need a way to manually add members
 
 
IP Logged  
 Reply #2 - Jul 25th, 2011 at 7:24pm
There are no actions to perform.  

dan1101 
YaBB Newbie
*
Offline
Posts: 3


YaBB 2.5
Re: Need a way to manually add members
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 »  
 
IP Logged  
 Reply #3 - Jul 25th, 2011 at 8:08pm
There are no actions to perform.  
Captain John 
Ex Member


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

dan1101 
YaBB Newbie
*
Offline
Posts: 3


YaBB 2.5
Re: Need a way to manually add members
Ok, thanks.  Is there any documentation on the member format, is it some sort of SQL database or something simpler?
 
 
IP Logged  
 Reply #5 - Jul 28th, 2011 at 6:42am
There are no actions to perform.  

Tony Barnett 
YaBB Newbie
*
Offline
Posts: 20
Mansfield, Victoria, Australia


YaBB 2.5
Re: Need a way to manually add members
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.
 
...
WWW AdventurePro-Australia-New-Zealand/30522938281  
IP Logged  
Page Index Toggle Pages: 1
Topic Tools
 

Get Yet another Bulletin Board at SourceForge.net. Fast, secure and Free Open Source software downloads Support This Project BoardMod - YaBB features and templates YaBB Codex - support on installation and usage YaBB Toolbar for your browser

YaBB Facebook Group Page

Vulnerability Scanner

Valid RSS Valid XHTML Valid CSS Powered by Perl
YaBB Chat and Support Community » Powered by YaBB 3.0 Beta!
YaBB Forum Software © 2000-2011. All Rights Reserved.