![]() |
Subdirectory Creation upon Registration
Okay, basically, what I'm trying to do is autocreate a subdirectory of the user's registered username which is created after activation on vbulletin 3.0.7;
In register, I placed this code: Code:
//make directory Code:
// activate account Code:
if ($vboptions['welcomemail'] AND !$userinfo['posts']) Does anyone have any ideas or suggestions? |
You have to define the path in which you want the directory ( with the username ) created :)
|
Quote:
i suggested; PHP Code:
PHP Code:
|
It got me on the right path,however, I did the following code through my own research;
Code:
//make directory PLEASE... The code works, however when the page goes to insert the redirection code, because of the Javascript nature of the redirect, I get a parse error - I'm probably going to have to make it stripslashes and insert it from a default field in a MySQL table. We'll see. |
All times are GMT. The time now is 04:47 AM. |
Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|