Back to vBulletin 3.5 Add-ons

'Contact Us' - Add "image verification" for registered users, too.
Mod Version: 1.00, by timetunnel

This modification is in the archives.
vB Version: 3.5.0 Rating: (1 vote - 5.00 average) Installs: 8
Released: 25 Oct 2005 Last Update: 30 Oct 2005 Downloads: 26
Not Supported Code Changes  

Hello.

For 'Contact Us', to add "image verification" for registered users in addition to the existing 'unregistered users/guests', one method is to do the following:

in "sendmessage.php", search for 'imagecheck'. You'll find this word exists in 2 places.

For each instance, in its associated block of code, modify the following line:

FROM:
====
PHP Code:
if (!$vbulletin->userinfo['userid'] AND $vbulletin->options['contactustype'] == AND $vbulletin->options['gdversion']) 
TO:
==
PHP Code:
if (!$vbulletin->userinfo['userid'] OR $vbulletin->userinfo['userid'] AND $vbulletin->options['contactustype'] == AND $vbulletin->options['gdversion']) 
Hope this helps.

(note: this edit added the code here to vb 3.5.0 from the post in vb 3.0.x section)

EDIT: 10/30/05 - Added a text file for downloading code instructions

Download

This modification is archived and cannot be downloaded.


vblts.ru supports vBulletin®, 2022-2025