Icy Phoenix

     
 

CUSTOMIZATION - Contact The Administrator Via contact_us.php

CUSTOMIZATION - Contact The Administrator Via contact_us.php

Article
Reply with quote    Download Post  
Post 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.



 
TheSteffen - View user's profile Send private message  
TheSteffen [ Sat 17 Jan, 2009 11:58 ]
Icy Phoenix is an open source project, you can show your appreciation and support future development by donating to the project.

Support us


CUSTOMIZATION - Contact The Administrator Via contact_us.php

Comments
Reply with quote    Download Post  
Post 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: [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



 
Mighty Gorgon - View user's profile Send private message  
Mighty Gorgon [ Sat 17 Jan, 2009 12:38 ]
Reply with quote    Download Post  
Post 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 - View user's profile Send private message  
TheSteffen [ Sat 17 Jan, 2009 13:27 ]
Reply with quote    Download Post  
Post Re: Contact the Administrator over contact_us.php 
 
OK, it's working.  

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>'),




 
TheSteffen - View user's profile Send private message  
TheSteffen [ Wed 21 Jan, 2009 15:08 ]
Reply with quote    Download Post  
Post Re: Contact The Administrator Over Contact_us.php 
 
Thanks Steffen for posting the how-to.  



 
Chaotic - View user's profile Send private message  
Chaotic [ Wed 21 Jan, 2009 15:54 ]
Reply with quote    Download Post  
Post Re: Contact The Administrator Over Contact_us.php 
 
Great little add on...



 
DWho - View user's profile Send private message  
DWho [ Thu 22 Jan, 2009 22:30 ]
Reply with quote    Download Post  
Post Re: Contact The Administrator Over Contact_us.php 
 
A great how-to!

Moving to docs!



 
novice programmer - View user's profile Send private message  
novice programmer [ Sun 01 Feb, 2009 13:29 ]
Reply with quote    Download Post  
Post Re: Contact The Administrator Over Contact_us.php 
 
in order to avoid misunderstandings:

this how to is to disable the contact formular!!



 
New Player - View user's profile Send private message  
New Player [ Sun 01 Feb, 2009 14:47 ]
Reply with quote    Download Post  
Post 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  



 
TheSteffen - View user's profile Send private message  
TheSteffen [ Sun 01 Feb, 2009 21:24 ]
Reply with quote    Download Post  
Post Re: Contact The Administrator Over Contact_us.php 
 
So...

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



 
novice programmer - View user's profile Send private message  
novice programmer [ Sun 01 Feb, 2009 22:30 ]
Display posts from previous:    

HideWas this topic useful?

Post new topic  Reply to topic  Page 1 of 1
 
 




 


 

  cron