PDA

View Full Version : Miscellaneous Hacks - Stop users from using contact form


Hostboard
09-09-2008, 10:00 PM
If your site is using a Help Desk of sorts for support and are trying to eliminate e-mail support users still can email you by typing in the URL to your site and loading the file sendmessage.php file Instead of deleting, renaming or CHMODing the file I thought it was a better idea to just do a PHP re-direct.

So in sendmessage.php delete everything inbetween and including: <?php and ?>

Insert:


<?php
header("location: [some-url]");
?>


Where some-url is where you would like to send your users when they attempt to manualy contact you via email.

AzaDiyaR
09-10-2008, 06:43 PM
thanks ;)

JamesFreeman
09-11-2008, 06:24 PM
Is their really any point in this,
Contact page, is for support.

Hostboard
09-11-2008, 11:42 PM
Is their really any point in this,
Contact page, is for support.

Did you not read the description?

baghdad4ever
09-12-2008, 10:27 AM
you can do it from admincp

vbulletin options

Hostboard
09-12-2008, 11:36 AM
you can do it from admincp

vbulletin options

No you can't.
http://www.vbulletin.com/forum/showthread.php?t=284521

You can specify a way in the ACP (I.E. url) but the sendmessage.php script is still accessable to anyone who know the file name.

jammiedodger546
09-13-2008, 09:51 AM
This doesn't deserve a 1 star rating. Rated 5. Not going to use it as its not needed but great mod.