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
Return to the default flat view 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 previous message
humaneasy is currently offline  humaneasy   Portugal
Messages: 37
Registered: November 2002
Location: Portugal
Karma:
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
[Message index]
 
Read Message icon10.gif
Read Message
Read Message
Read Message
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: Sat May 18 11:40:28 GMT 2024

Total time taken to generate the page: 0.05323 seconds