FUDforum
Fast Uncompromising Discussions. FUDforum will get your users talking.

Home » FUDforum » How To » how to create an automatic process to add a list of users (how to create an automatic process to add a list of users)
Show: Today's Messages :: Polls :: Message Navigator
Switch to threaded view of this topic Create a new topic Submit Reply
how to create an automatic process to add a list of users [message #167981] Mon, 03 December 2012 02:16 Go to next message
peterz   Australia
Messages: 8
Registered: March 2011
Location: melbourne
Karma: 0
Junior Member
I want to create a process to automatic add a list of users which from csv file.
Can I direct insert to fud30_users table. Which tables related to add new users.

Thanks.

Peter

[Updated on: Mon, 03 December 2012 03:27]

Report message to a moderator

Re: how to create an automatic process to add a list of users [message #167982 is a reply to message #167981] Mon, 03 December 2012 05:25 Go to previous messageGo to next message
naudefj is currently offline  naudefj   South Africa
Messages: 3772
Registered: December 2004
Karma: 28
Senior Member
Administrator
Core Developer
I guess you can, but I would rather use the FUDAPI. See last example on the wiki page.
Re: how to create an automatic process to add a list of users [message #167983 is a reply to message #167982] Mon, 03 December 2012 05:50 Go to previous messageGo to next message
peterz   Australia
Messages: 8
Registered: March 2011
Location: melbourne
Karma: 0
Junior Member
Thanks,
can I ask where is file fudapi.inc.php?

and can I just insert to table fud30_users , sql like: INSERT INTO fud30_users (login, alias, passwd, salt, name, email, time_zone, join_date, theme, users_opt, last_read) VALUES (...?

Re: how to create an automatic process to add a list of users [message #167986 is a reply to message #167983] Mon, 03 December 2012 17:41 Go to previous messageGo to next message
naudefj is currently offline  naudefj   South Africa
Messages: 3772
Registered: December 2004
Karma: 28
Senior Member
Administrator
Core Developer
Fudapi.inc.php is in the forums FUDdata/scripts directory.

Yes, you can.
Re: how to create an automatic process to add a list of users [message #167988 is a reply to message #167986] Tue, 04 December 2012 00:55 Go to previous message
peterz   Australia
Messages: 8
Registered: March 2011
Location: melbourne
Karma: 0
Junior Member
Thank you again.

If I want to remove all old users except admin, can I just remove users from one table named fud30_users?

What about their posts?


  Switch to threaded view of this topic Create a new topic Submit Reply
Previous Topic: User name in 2-byte
Next Topic: SQL Error
Goto Forum:
  

-=] Back to Top [=-
[ Syndicate this forum (XML) ] [ RSS ]

Current Time: Mon Dec 23 03:05:12 GMT 2024

Total time taken to generate the page: 0.03053 seconds