Go Back   vb.org Archive > Community Discussions > Modification Requests/Questions (Unpaid)
FAQ Community Calendar Today's Posts Search

Reply
 
Thread Tools Display Modes
  #1  
Old 04-25-2005, 10:18 PM
Tenny Tenny is offline
 
Join Date: Feb 2003
Location: California
Posts: 20
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default Contact Us image verification!

Hey Everyone,

I am pretty positive I'm not the only one, but as of late, I've been getting a lot of spam (free poker, pharmacy, etc) from the "Contact Us" form (sendmessage.php) form.

So I am looking for a way to put the image verification on that, also (not just new registrations). I would greatly enjoy it. I'm getting about 5-6 daily, and only 1-month that is actually correct.

Thanks,
Drew

PS: I ran a search but nothing came up with it, sorry if there is one there.
Reply With Quote
  #2  
Old 04-25-2005, 10:34 PM
akanevsky akanevsky is offline
 
Join Date: Apr 2005
Posts: 3,972
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Just restrict the sendmessage.php form to registered users

if (!$bbuserinfo['userid'])
{
print_no_permission();
}

In the beginning of the file.
Reply With Quote
  #3  
Old 04-25-2005, 10:40 PM
Tenny Tenny is offline
 
Join Date: Feb 2003
Location: California
Posts: 20
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I was thinking of that, but what if the person is having problems registering etc? One friend said he couldn't get into his account (lost the pw, and the email never was sent etc)

But good idea, I'll probably throw that in, if nothing else comes up. thanks!
Reply With Quote
  #4  
Old 10-24-2005, 10:00 PM
timetunnel timetunnel is offline
 
Join Date: Sep 2005
Posts: 86
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Hello.

If you want to add image verification for 'REGISTERED' users, 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.
Reply With Quote
  #5  
Old 02-20-2006, 04:35 PM
RedWingFan's Avatar
RedWingFan RedWingFan is offline
 
Join Date: Oct 2004
Location: Canton, MI USA
Posts: 103
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by timetunnel
Hello.

If you want to add image verification for 'REGISTERED' users, 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.
Is this image verification mod possible to do for unregistered users also? We've gotten 33 of these in the past week, with more coming in daily. Definitely a bot, and from the IP addresses I've checked, they are all coming from web hosting companies. My guess is these are running as zombies on compromised web hosting accounts.

We rely on this Contact Us form to let anyone contact us, not just registered users.
Reply With Quote
  #6  
Old 02-20-2006, 05:12 PM
ConqSoft's Avatar
ConqSoft ConqSoft is offline
 
Join Date: Jul 2003
Location: Raleigh, NC
Posts: 686
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

3.5.3 has built in image verification for guests, if you enable it. timetunnel was just showing how you can remove the conditional to make it show for EVERYONE.
Reply With Quote
  #7  
Old 02-21-2006, 03:12 AM
RedWingFan's Avatar
RedWingFan RedWingFan is offline
 
Join Date: Oct 2004
Location: Canton, MI USA
Posts: 103
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by ConqSoft
3.5.3 has built in image verification for guests, if you enable it. timetunnel was just showing how you can remove the conditional to make it show for EVERYONE.
Actually, if we were on 3.5.x, it'd be applicable. I was asking here in the vB 3.0 mods area since I didn't want to start another thread for it.

If there's nothing available, so be it...maybe I'll request a mod elsewhere, or just write my own contact form outside of vB and disable this one, since it's nothing more than a spam magnet now. 3.5 isn't an option for us right now, not until the resource usage is tamed anyway...
Reply With Quote
  #8  
Old 03-06-2006, 10:36 PM
cbr929rrerion cbr929rrerion is offline
 
Join Date: Oct 2005
Posts: 275
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by timetunnel
Hello.

If you want to add image verification for 'REGISTERED' users, 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.

you are my hero, I have been wanting to add that so everyone has to do the image verification, my board was getting slammed by hackers using php email.. this will help I am sure..

Hats off.. thanks
Reply With Quote
  #9  
Old 03-09-2006, 03:33 AM
timetunnel timetunnel is offline
 
Join Date: Sep 2005
Posts: 86
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

...glad ya like it. ENJOY!
Reply With Quote
  #10  
Old 02-03-2007, 11:41 PM
Andromeda2875 Andromeda2875 is offline
 
Join Date: Jun 2006
Posts: 62
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I hate to hijack a thread however this is happening to me as well and it is annoying. I am running 3.6.4 what do I do to stop spam from the contact me link?
Reply With Quote
Reply


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT. The time now is 01:06 PM.


Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.07993 seconds
  • Memory Usage 2,276KB
  • Queries Executed 11 (?)
More Information
Template Usage:
  • (1)SHOWTHREAD
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (1)ad_showthread_beforeqr
  • (1)ad_showthread_firstpost
  • (1)ad_showthread_firstpost_sig
  • (1)ad_showthread_firstpost_start
  • (6)bbcode_php
  • (3)bbcode_quote
  • (1)footer
  • (1)forumjump
  • (1)forumrules
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (1)navbar
  • (3)navbar_link
  • (120)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (1)pagenav_pagelink
  • (10)post_thanks_box
  • (10)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (10)post_thanks_postbit_info
  • (10)postbit
  • (10)postbit_onlinestatus
  • (10)postbit_wrapper
  • (1)spacer_close
  • (1)spacer_open
  • (1)tagbit_wrapper 

Phrase Groups Available:
  • global
  • inlinemod
  • postbit
  • posting
  • reputationlevel
  • showthread
Included Files:
  • ./showthread.php
  • ./global.php
  • ./includes/init.php
  • ./includes/class_core.php
  • ./includes/config.php
  • ./includes/functions.php
  • ./includes/class_hook.php
  • ./includes/modsystem_functions.php
  • ./includes/functions_bigthree.php
  • ./includes/class_postbit.php
  • ./includes/class_bbcode.php
  • ./includes/functions_reputation.php
  • ./includes/functions_post_thanks.php 

Hooks Called:
  • init_startup
  • init_startup_session_setup_start
  • init_startup_session_setup_complete
  • cache_permissions
  • fetch_threadinfo_query
  • fetch_threadinfo
  • fetch_foruminfo
  • style_fetch
  • cache_templates
  • global_start
  • parse_templates
  • global_setup_complete
  • showthread_start
  • showthread_getinfo
  • forumjump
  • showthread_post_start
  • showthread_query_postids
  • showthread_query
  • bbcode_fetch_tags
  • bbcode_create
  • showthread_postbit_create
  • postbit_factory
  • postbit_display_start
  • post_thanks_function_post_thanks_off_start
  • post_thanks_function_post_thanks_off_end
  • post_thanks_function_fetch_thanks_start
  • post_thanks_function_fetch_thanks_end
  • post_thanks_function_thanked_already_start
  • post_thanks_function_thanked_already_end
  • fetch_musername
  • postbit_imicons
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • postbit_display_complete
  • post_thanks_function_can_thank_this_post_start
  • pagenav_page
  • pagenav_complete
  • tag_fetchbit_complete
  • forumrules
  • navbits
  • navbits_complete
  • showthread_complete