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

Home » FUDforum Development » Plugins and Code Hacks » Hack for FUD 2.3.7 - Import Users from a CSV File
Show: Today's Messages :: Polls :: Message Navigator
Switch to threaded view of this topic Create a new topic Submit Reply
icon10.gif  Hack for FUD 2.3.7 - Import Users from a CSV File [message #8901] Thu, 27 February 2003 20:25 Go to next message
humaneasy is currently offline  humaneasy   Portugal
Messages: 37
Registered: November 2002
Location: Portugal
Karma: 0
Member

Hi all,

I made this small hack to allow people that have already a huge amount of users in a maillist and wish to fast and easly "sincronyze" user data and rooms between both.

The message that is sent to the user is hard-coded inside the file but it should use FUD email-templated routines.

If someone wishes and have enough knowledge on how it's FUD built someone could make the necessary changes Wink

Look in admadduser.php for <?php /* Added by Lopo */ ?> and also for lopo in GLOBALS.php because I had to add a new global var Very Happy

admaddusercsv.php and csvwalk.php should be copied to the same directory as admadduser.php.

If this could be added to the next RC it will be nice Rolling Eyes Very Happy

I included also a sample.csv file with two fake users. First line should be exactly like that in order to allow system to work Wink

WARNING!!! DON'T FORGET TO BACKUP YOUR OWN FILES Very Happy

1,

Cool Lopo


HumanEasy - Future Internet Technologies
Re: Hack for FUD 2.3.7 - Import Users from a CSV File [message #39554 is a reply to message #8901] Mon, 05 November 2007 18:07 Go to previous messageGo to next message
tmuka is currently offline  tmuka   United States
Messages: 9
Registered: July 2007
Location: Michigan
Karma: 0
Junior Member
is there any active development on a user import feature?
Re: Hack for FUD 2.3.7 - Import Users from a CSV File [message #39558 is a reply to message #39554] Mon, 05 November 2007 23:58 Go to previous messageGo to next message
Ilia is currently offline  Ilia   
Messages: 13241
Registered: January 2002
Karma: 0
Senior Member
Administrator
Core Developer
You can use FUDAPI to import users from any source.

FUDforum Core Developer
Re: Hack for FUD 2.3.7 - Import Users from a CSV File [message #39560 is a reply to message #39558] Tue, 06 November 2007 18:35 Go to previous message
tmuka is currently offline  tmuka   United States
Messages: 9
Registered: July 2007
Location: Michigan
Karma: 0
Junior Member
thanks for the reply, Ilia!

I ended up using the files above tweaked to work with the current release...

Thanks!
-tony

  Switch to threaded view of this topic Create a new topic Submit Reply
Previous Topic: Displaying a forum outside of the forum software
Next Topic: How to add a hack dnas my forum ??
Goto Forum:
  

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

Current Time: Sun Dec 22 03:14:37 GMT 2024

Total time taken to generate the page: 0.02407 seconds