| Author | Post |
|---|
pooter Member
| Joined: | Thu Jul 17th, 2008 |
| Location: | |
| Posts: | 7 |
|
Posted: Sun Jul 20th, 2008 08:47 pm |
|
Hi everyone,
I am setting up the auto new user to add new members for me. I have everything working except one problem. It accepts a new user and password, puts it in user list in admin panel, and then copies all files and directories from the default directory perfectly. After completeing it sends browser to editwrx directory in root. I added a index.html file in the editwrx folder and it will display this index file after completing the signup. I read it would goto instructions.html so I don't know why it ends up in editwrx folder. I used a htaccess to redirect to my homepage and this works also.
I would like it to redirect my new user to THEIR hompage so they can start working on their pages without getting confused.
Can someone assist me with this?
|
Keith Moderator
| Joined: | Fri Apr 8th, 2005 |
| Location: | |
| Posts: | 583 |
|
Posted: Sun Jul 20th, 2008 10:02 pm |
|
The signup sequence is is hard coded to redirect to instructions.html in their user's folder. If you did not include an instructions.html in your folder_to_populate_from then the redirect doesn't work because the file does not exit and the toolbar reverts to it's standard default to send failed requests to the login page.
To get the redirect to instructions.html, add a page named instructions.html to the folder_to_populate_from. If you want it to instead load something like index.html, then make instructions.html a blank white page and put a redirect on it, either a META tag redirect or even better, put
<script type="text/javascript" location="index.html"></script>
in instructions.html head section to fire the redirect even before the page loads. If you do this, you can have an instructions.html file in their folder for them to later open and view while making it appear that they were redirected straight to their index.html.
If it's REALLY important to not have an instructions.html, you would need to edit /library/ini/add_nu_user.txt line 71 - change instructions.html to index.html.
|
pooter Member
| Joined: | Thu Jul 17th, 2008 |
| Location: | |
| Posts: | 7 |
|
Posted: Sun Jul 20th, 2008 11:15 pm |
|
Hi Keith,
Already had tried to put the instructions.html in folder to populate but still ended up in the editwrx folder. I verified that it does copy it to the user's folder also. I also verified that it sets all the new user's settings and folder location in admin panel.
I changed instructions.html to index.html as you suggested, but still end up back at editwrx folder.
Any other suggestions?
|
Keith Moderator
| Joined: | Fri Apr 8th, 2005 |
| Location: | |
| Posts: | 583 |
|
Posted: Mon Jul 21st, 2008 02:16 am |
|
Opps! As my fishing buddy would say "Deng it!"
I did an update a couple of weeks ago for someone who wanted to use the add user forms just to add users to the system without creating folders etc for then. Well.... I screwed up.
You can do an update to 6.20.080720 or download the fix at http://www.editwrx.com/download/add_user.zip. The file is /library/ini/add_nu_user.txt.
|
pooter Member
| Joined: | Thu Jul 17th, 2008 |
| Location: | |
| Posts: | 7 |
|
Posted: Mon Jul 21st, 2008 02:46 am |
|
You the best.....that did the trick.
Works perfectly now. I changed instructions.html to index.html and it takes it right to the users home page.
Thanks very much for the wonderfull tool for my site.
|
 Current time is 06:00 pm | |
|