Re: Working with Invision File Manager - User Homepages HI
if you change line 103 of admin.lmtg_myhomepage.php so that the '0' is changed to '1' (just before the long list of 'NULL' ) so it becomes
$sql .= "VALUES ('', '".$usrl_row->username."', '".$password."', '".$usrl_row->name."', '', '', '', NULL , NULL , '', NULL , '', NULL , '', 'user', '', '', '', '1', NULL , NULL , NULL , NULL , NULL , NULL , NULL , NULL , NULL , NULL , NULL , NULL , NULL , NULL , NULL , NULL , NULL , NULL , NULL , NULL );";
and then move the code from lines 42-119 in admin.lmtg_myhomepage.php to line 45 of lmtg_myhomepage.php any registered user should then automatically have a home page and personal filemanager directory space. BUT are you sure you want to do this? I wouldn't recommend doing this unless you DON'T allow automatic registration, otherwise someone can come off the street, autoregister, upload a php script, run it, and destroy your site
cheers
Mark |