Contact module -changing URL to stop spam (for a bit)

daveozzz
daveozzz's picture

Joined: 2006-07-25
Posts: 70
Posted: Thu, 2007-06-21 14:10

A pesky spambot has got it's teeth into my contact module.

I want to change it's URL so it'll get 404s when trying to use it in future.

Is there a better way of doing this rather than renaming the 'contact' view within the module? It's not too complicated but requires a few file renames and some hacking.

The url in question: http://blah/gallery2/main.php?g2_view=core.UserAdmin&g2_subView=contactowner.Contact

Thanks in advance,
Dave.
http://www.davidosbornephotography.co.uk


Gallery version = 2.1.1 core 1.1.0.1
PHP version = 4.4.7 apache
Webserver = Apache/1.3.27 (Unix) (Red-Hat/Linux) mod_jk/1.2.2 Sun-ONE-ASP/4.0.0 FrontPage/5.0.2.2623 mod_python/2.7.8 Python/1.5.2 mod_ssl/2.8.12 OpenSSL/0.9.6b DAV/1.0.3 PHP/4.4.7 mod_perl/1.26
Database = mysql 3.23.58, lock.system=flock
Toolkits = Exif, Gd
Acceleration = none, none
Operating system = Linux customersites7.easily.co.uk 2.4.9-e.57smp #1 SMP Thu Dec 2 20:51:12 EST 2004 i686
Default theme = carbon
Locale = en_GB
Browser = Mozilla/5.0 (Windows; U; Windows NT 5.1; en-GB; rv:1.8.1.4) Gecko/20070515 Firefox/2.0.0.4