English Deutsch Français Italiano Español Português 繁體中文 Bahasa Indonesia Tiếng Việt ภาษาไทย
All categories

how can i disable phpBB to stop emailing the conformation letter when visitors register on my forum?

2007-07-08 09:13:15 · 2 answers · asked by Anonymous in Computers & Internet Programming & Design

2 answers

You can turn off "admin activation," though that'll let spammers' robots slaughter your forum. The e-mail only goes out if you require an admin to approve all registrations.

Or you can edit "includes\usercp_register.php" (in whatever directory you installed phpBB). The place just below the midpoint (it's line 752 in mine, but I've installed a lot of modifications), and find the if-statement that encompasses the sending of the E-mails. It looks like this:

if ( $board_config[ 'require_activation'] == USER_ACTIVATION_ADMIN )

To be sure you have the right one, verify that it's directly followed by this SQL to find all Admin E-mails:

$sql = "SELECT user_email, user_lang
FROM " . USERS_TABLE . "
WHERE user_level = " . ADMIN;

Comment out the if-statement and replace it with something that won't ever evaluate to true, such as:

if (0)

... and, poof, you won't get E-mails about sign-ups. However, if you require admin action to approve any signed-up user, then you will need to remember without a reminder that you have to manually go and turn on accounts that are legitimate.

2007-07-08 09:34:14 · answer #1 · answered by McFate 7 · 0 0

I would have just said "read the documentation". You are a better man than I.

2007-07-08 10:04:21 · answer #2 · answered by Anonymous · 0 0

fedest.com, questions and answers