Go Back   vb.org Archive > vBulletin 3 Discussion > vB3 General Discussions
FAQ Community Calendar Today's Posts Search

Reply
 
Thread Tools Display Modes
  #1  
Old 08-23-2004, 01:16 PM
Club3G Club3G is offline
 
Join Date: Aug 2004
Location: Orlando, Fl
Posts: 300
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default vBIndex shoutbox spam problem

I run VBIndex at http://www.club3g.com, and am having a small issue with trolls filling up my shoutbox with spam and profanity. Users need to be activated to post messages, but the shoutbox is available for unconfirmed/unvalidated users, and there's zero flood control on it.

Last night I had one guy shout over 100 times in a matter of minutes, so disabled the shoutbox altogether.

Is there something out there that can require _activation_ for shouts, as well as flood control?

Thanks much.
Reply With Quote
  #2  
Old 08-23-2004, 02:05 PM
AN-net's Avatar
AN-net AN-net is offline
 
Join Date: Dec 2003
Location: AnimationTalk.com
Posts: 2,367
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

activation of shouts would be redundant since so many are posted in a day but flood control is not

find this in you vbindex php file:
PHP Code:
    $DB_site->query("    ## INSERT NEW SHOUT ##
                        INSERT INTO "
.TABLE_PREFIX."vbindex_shoutbox
                        (shoutid, userid, shout, dateline)
                        VALUES
                        (NULL, '
$bbuserinfo[userid]', '".addslashes(convert_url_to_bbcode($_POST['shout']))."',
                         '"
.TIMENOW."')"); 
change that to:
PHP Code:
    $flood$DB_site->query_first("SELECT dateline FROM ".TABLE_PREFIX."vbindex_shoutbox WHERE userid=".$bbuserinfo['userid']." ORDER BY dateline DESC");
    if((
TIMENOW $flood['dateline'])<= XX)
    {
        eval(
print_standard_error('vbi_shoutflood'));
    }
    else
    {
        
$DB_site->query("    ## INSERT NEW SHOUT ##
                            INSERT INTO "
.TABLE_PREFIX."vbindex_shoutbox
                            (shoutid, userid, shout, dateline)
                            VALUES
                            (NULL, '
$bbuserinfo[userid]', '".addslashes(convert_url_to_bbcode($_POST['shout']))."',
                             '"
.TIMENOW."')");

            
$url "$_SERVER[PHP_SELF]?$session[sessionurl]";
            eval(
print_standard_redirect('redirect_vbi_shoutadded'));
    } 
replace XX with the number of seconds between each shout

you will also have to add a new phrase to front end error messages group in admincp and name it vbi_shoutflood.

In that phrase you can say such things as "You must wait longer before shouting again."

also this hasn't been tested
Reply With Quote
  #3  
Old 08-24-2004, 04:10 PM
Club3G Club3G is offline
 
Join Date: Aug 2004
Location: Orlando, Fl
Posts: 300
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Hmm, didn't seem to work. And as soon as I turned it on, the idiot spammed it full immediately.

Thank you though =)
Reply With Quote
  #4  
Old 08-24-2004, 04:42 PM
AN-net's Avatar
AN-net AN-net is offline
 
Join Date: Dec 2003
Location: AnimationTalk.com
Posts: 2,367
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

just tested it and it doesnt work, it doesnt even use the redirect which is coded in there, i searched for maybe another insert query but none exists so this is very odd....
Reply With Quote
  #5  
Old 09-13-2004, 12:18 PM
Club3G Club3G is offline
 
Join Date: Aug 2004
Location: Orlando, Fl
Posts: 300
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

^ A fix for this would be just spiffy. Our users are missing it, and I can't turn the thing back on without a flood of profanity.
Reply With Quote
  #6  
Old 10-26-2004, 04:21 PM
Club3G Club3G is offline
 
Join Date: Aug 2004
Location: Orlando, Fl
Posts: 300
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Bump
Reply With Quote
  #7  
Old 06-18-2007, 02:21 AM
Nomadite Nomadite is offline
 
Join Date: Sep 2006
Posts: 4
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Wow, this is an old thread...

I'm starting to have the same prob in my forum whereby unregistered users are posting crap and porn/spam links and profanity in the Shoutbox. Is there any way to stop them from being able to access the Shoutbox (v 3.5Gold) if they are not registered users?
Reply With Quote
  #8  
Old 06-18-2007, 06:17 AM
Dismounted's Avatar
Dismounted Dismounted is offline
 
Join Date: Jun 2005
Location: Melbourne, Australia
Posts: 15,047
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

You said yourself, this is an old thread.....Why don't you post in the shoutbox's release thread?
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 05:35 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.04911 seconds
  • Memory Usage 2,240KB
  • Queries Executed 13 (?)
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
  • (2)bbcode_php
  • (1)footer
  • (1)forumjump
  • (1)forumrules
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (1)navbar
  • (3)navbar_link
  • (120)option
  • (8)post_thanks_box
  • (8)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (8)post_thanks_postbit_info
  • (8)postbit
  • (8)postbit_onlinestatus
  • (8)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_postinfo_query
  • fetch_postinfo
  • 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
  • tag_fetchbit_complete
  • forumrules
  • navbits
  • navbits_complete
  • showthread_complete