vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vB4 General Discussions (https://vborg.vbsupport.ru/forumdisplay.php?f=251)
-   -   deleting 500 posts of spam user (https://vborg.vbsupport.ru/showthread.php?t=322203)

ketanco 03-23-2016 07:04 PM

deleting 500 posts of spam user
 
When i try to delete the posts of a spam user if it is more than 50 it tells me to go to control panel

i dont want to do it as it takes time, so how and where can i modify this 50 number to say 500? support told me to come to this forum to do that

FYI note: when i asked this to support, they told me to go to control panel first but then they said there is a bug and it can not be done in control panel and i must go to user about page and delete all his posts from front end 25 each time max, which is very time consuming if there is a lovely spam bot which posted 500 posts

MarkFL 03-23-2016 07:17 PM

You might want to look into this product:

One Touch Ban & Clean-up

ketanco 03-23-2016 07:50 PM

all i want to know is how to change to 50 to 500

thanks but i am not interested in any mods etc....

which file which folder, which line exactly, must i go to change 50 to 500?

Dave 03-23-2016 08:08 PM

Check /inlinemod.php around line 1083 and 1364, look for
PHP Code:

$show['prevent_userselection'] = ($user['post_count'] > 50 AND empty($vbulletin->GPC['useraction'])); 

and
PHP Code:

if (intval($user_check['total']) <= 50

And change the numbers.
Just keep in mind vBulletin had its reasons for limiting it to 50.

ketanco 03-23-2016 08:16 PM

thanks
what kind of reasons?

In Omnibus 03-23-2016 08:46 PM

Quote:

Originally Posted by ketanco (Post 2567923)
thanks
what kind of reasons?

It's a server intensive process. You could lock up the server or database.

Lynne 03-24-2016 05:01 PM

And some servers will give you an error if you try to delete more than 1000 at a time.


All times are GMT. The time now is 06:39 AM.

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.01023 seconds
  • Memory Usage 1,725KB
  • Queries Executed 10 (?)
More Information
Template Usage:
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (2)bbcode_php_printable
  • (1)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (7)printthreadbit
  • (1)spacer_close
  • (1)spacer_open 

Phrase Groups Available:
  • global
  • postbit
  • showthread
Included Files:
  • ./printthread.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/class_bbcode_alt.php
  • ./includes/class_bbcode.php
  • ./includes/functions_bigthree.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
  • printthread_start
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete