|
'Contact Us' - Add "image verification" for registered users, too.
This modification is in the archives.
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'] == 2 AND $vbulletin->options['gdversion'])
== PHP Code:
if (!$vbulletin->userinfo['userid'] OR $vbulletin->userinfo['userid'] AND $vbulletin->options['contactustype'] == 2 AND $vbulletin->options['gdversion'])
(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. |
|||||||||