CUSTOMIZATION - Contact The Administrator Via contact_us.php


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: [Download] [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.

Profile PM  
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... :wink:

Anyway you can change this:
Code: [Download] [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

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... :wink:


Yes, I saw it :-)

Thanks for you quick answer, I will test it.

Profile PM  
Subject: Re: Contact the Administrator over contact_us.php
OK, it's working. :v:

I have done this changes.

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

REPLACE WITH
Code: [Download] [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: [Download] [Hide] [Select]
'L_CONFIRM_CODE_IMPAIRED' => sprintf($lang['Confirm_code_impaired'], '<a href="mailto:' . $board_config['board_email'] . '">', '</a>'),

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

Profile PM  
Subject: Re: Contact The Administrator Over Contact_us.php
Thanks Steffen for posting the how-to. 8)

Subject: Re: Contact The Administrator Over Contact_us.php
Great little add on...

Subject: Re: Contact The Administrator Over Contact_us.php
A great how-to!

Moving to docs!

Profile PM  
Subject: Re: Contact The Administrator Over Contact_us.php
in order to avoid misunderstandings:

this how to is to disable the contact formular!!

Profile PM  
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. :P
For me it was a good work around :mricy:

Profile PM  
Subject: Re: Contact The Administrator Over Contact_us.php
So...

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

Profile PM  

Page 1 of 1


  
You cannot post new topics
You cannot reply to topics
You cannot edit your posts
You cannot delete your posts
You cannot vote in polls
You cannot attach files
You can download files
You cannot post calendar events

   

This is a "Lo-Fi" version of our main content. To view the full version with more information, formatting and images, please click here.

Powered by Icy Phoenix based on phpBB
Generation Time: 0.3748s (PHP: 6% SQL: 94%)
SQL queries: 30 - Debug Off - GZIP Enabled