CUSTOMIZATION - Contact The Administrator Via contact_us.php »  Show posts from    to     

Icy Phoenix


Documentation And How To - CUSTOMIZATION - Contact The Administrator Via contact_us.php



TheSteffen [ Sat 17 Jan, 2009 11:58 ]
Post subject: CUSTOMIZATION - Contact The Administrator Via contact_us.php
Hello,

how can I change this?

On the registration site everyone can get the Email Adress.

Code: [Hide] [Select]
If you are visually impaired or cannot otherwise read this code please contact the Administrator for help.


admin_email

How can I change this Email adress to the contact formular?

Because I get a lot of spam over this.

Thanks a lot.


Mighty Gorgon [ Sat 17 Jan, 2009 12:38 ]
Post subject: Re: Contact the Administrator over contact_us.php
You will have the same problem in contact us page if you display it as a guest...

Anyway you can change this:
Code: [Hide] [Select]
'L_CONFIRM_CODE_IMPAIRED' => sprintf($lang['Confirm_code_impaired'], '<a href="mailto:' . $board_config['board_email'] . '">', '</a>'),


You need to change it twice in contact_us.php and includes/usercp_register.php


TheSteffen [ Sat 17 Jan, 2009 13:27 ]
Post subject: Re: Contact the Administrator over contact_us.php
Mighty Gorgon wrote: [View Post]
You will have the same problem in contact us page if you display it as a guest...


Yes, I saw it

Thanks for you quick answer, I will test it.


TheSteffen [ Wed 21 Jan, 2009 15:08 ]
Post subject: Re: Contact the Administrator over contact_us.php
OK, it's working.

I have done this changes.

OPEN includes/usercp_register.php
FIND
Code: [Hide] [Select]
'L_CONFIRM_CODE_IMPAIRED' => sprintf($lang['Confirm_code_impaired'], '<a href="mailto:' . $board_config['board_email'] . '">', '</a>'),

REPLACE WITH
Code: [Hide] [Select]
'L_CONFIRM_CODE_IMPAIRED' => sprintf($lang['Confirm_code_impaired'], '<a href="' . append_sid('contact_us.' . $phpEx) . '">', '</a>'),


OPEN contact_us.php
FIND
Code: [Hide] [Select]
'L_CONFIRM_CODE_IMPAIRED' => sprintf($lang['Confirm_code_impaired'], '<a href="mailto:' . $board_config['board_email'] . '">', '</a>'),

REPLACE WITH
Code: [Hide] [Select]
'L_CONFIRM_CODE_IMPAIRED' => sprintf($lang['Confirm_code_impaired'], '<a href="' . append_sid('contact_us.' . PHP_$phpEx) . '">', '</a>'),


Chaotic [ Wed 21 Jan, 2009 15:54 ]
Post subject: Re: Contact The Administrator Over Contact_us.php
Thanks Steffen for posting the how-to.


DWho [ Thu 22 Jan, 2009 22:30 ]
Post subject: Re: Contact The Administrator Over Contact_us.php
Great little add on...


novice programmer [ Sun 01 Feb, 2009 13:29 ]
Post subject: Re: Contact The Administrator Over Contact_us.php
A great how-to!

Moving to docs!


New Player [ Sun 01 Feb, 2009 14:47 ]
Post subject: Re: Contact The Administrator Over Contact_us.php
in order to avoid misunderstandings:

this how to is to disable the contact formular!!


TheSteffen [ Sun 01 Feb, 2009 21:24 ]
Post subject: Re: Contact The Administrator Over Contact_us.php
New Player wrote: [View Post]
this how to is to disable the contact formular!!


I don't think so... its only disable the href="mailto:emailadress not the contact formular

On IP.de I have done it that way that I changed the mailto to contact_us.php
http://icyphoenix.de/profile.php?mode=register&agreed=true

On on contact_us.php I delete the whole text and mailto.

So it only "blocks" people whitch have problems with captcha.
For me it was a good work around


novice programmer [ Sun 01 Feb, 2009 22:30 ]
Post subject: Re: Contact The Administrator Over Contact_us.php
So...

How to hide the main admin mail adress (contact_us.php linking)




Powered by Icy Phoenix