Chicken-run Manager
Posts: 9
62 credits Members referred : 0
« on: May 01, 2006, 05:31:24 pm »
Hello,
now, I'm able to use your nice script.
But I have a problem in configuring the auto_activation mode.
How do I have to write the db_configure.php and login.php if I want to disable the auto_activation ? What is strange is that the user receives the alert with a link to the user_admin.php and not the webmaster... So, it doesn't work because he is not able to use the user_admin.php file.
I would like to do that only in some directories and make the auto_activation possible in some others. So, I think, it's not a good idea to write var $auto_activation = false ; in the db_config.php
Thanks for your help !
================== EDITING THE POST
when the access_user_class.php file contains :
Code:
var $auto_activation = false;
The USER recives the confirmation message and not the webmaster or administrator. The message contains $msg[39] and $[40]
« Last Edit: May 01, 2006, 06:32:17 pm by bnb »
Moderator Community Supporter?
Jedai Sword Master
Gender:
Posts: 6691
34714 credits Members referred : 374
It's time to use PHP5!
« Reply #1 on: May 01, 2006, 09:20:43 pm »
There was a small bug that the email to the admin was empty this fixed (check the thread about release note)
further you set only this settings
Code:
define("ADMIN_MAIL", "admin@yourdomain.com"); define("ADMIN_NAME", "The site admin");
and inside the login file
Code:
$my_access->auto_activation = false; // use this (true/false) to stop the automatic activation
don't forget the new user gets some mail to confirm his email address this is NOT the mail to the admin.
Chicken-run Manager
Posts: 9
62 credits Members referred : 0
« Reply #2 on: May 01, 2006, 11:54:24 pm »
Too complicate to understand...
I hope I downloaded the 1.89 version but the thread about release note explains a new version of the activate_account() function.
Can you upload the working version of this function or of the complete script ? I'm more and more lost.
« Last Edit: May 02, 2006, 12:02:06 am by bnb »
Moderator Community Supporter?
Jedai Sword Master
Gender:
Posts: 6691
34714 credits Members referred : 374