Topic: How to hide Admin e-mail ?

Hi !

Every time a new user registers to PunBB he can see the following message:

Thank you for registering. Your password has been sent to the specified address. If it doesn't arrive you can contact the forum administrator at admin@mail.com.

Is it possible to hide this mail address ?
I would so that users could use some kind of a form instead of looking at my email address.

Thanks for any advices.

Greets,
Prozac

Re: How to hide Admin e-mail ?

In register.php, find the following:

message($lang_register['Reg e-mail'].' <a href="mailto:'.$pun_config['o_admin_email'].'">'.$pun_config['o_admin_email'].'</a>.', true);

Replace with the following:

message($lang_register['Reg e-mail'], true);

In lang/English/register.php, find the following:

'Reg e-mail'                =>    'Thank you for registering. Your password has been sent to the specified address. If it doesn\'t arrive you can contact the forum administrator at',

Replace with the following:

'Reg e-mail'                =>    'Thank you for registering. Your password has been sent to the specified address. If it doesn\'t arrive you can contact the forum administrator.',

To use a contact form, you'd need to do a bit of modding on your own. You might either modify PunBB's built-in email form, modify one of the bajillion free contact scripts out there, or write a simple contact form from scratch.

Looking for a certain modification for your forum? Please take a look here before posting.

Re: How to hide Admin e-mail ?

Thanks a lot pogenwurst for taking the time to write such a substantial advice.
Best regards !

Greets,
Prozac