vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   Modification Requests/Questions (Unpaid) (https://vborg.vbsupport.ru/forumdisplay.php?f=112)
-   -   Temp Ban For All Users That Don't Post (https://vborg.vbsupport.ru/showthread.php?t=103661)

Cloud Strife 12-24-2005 12:50 PM

Temp Ban For All Users That Don't Post
 
I thought i'd be able to do this with move/prune users, but there isnt the option. What I want is to search for all users that havent made a post for say 30 days, then give them a temporary banning for about a week. I think this should be fairly simple to make hopefully.

Can someone help?

Paul M 12-24-2005 02:00 PM

You want to ban people who haven't posted ??????

StGaensler 12-24-2005 02:56 PM

Quote:

Originally Posted by Paul M
You want to ban people who haven't posted ??????

Yes, that's how I understand him.

I don't know how to make cross-table querys but with this query you can move all those users into another usergroup:
Code:

UPDATE user SET usergroupid = X WHERE lastpost < UNIX_TIMESTAMP(NOW()-30*24*60*60)

Zachariah 12-24-2005 02:59 PM

Create a new Usergroup (give it a name) with settings you want the members to have.
- no Arcade
- no Downloads
- no Gallery
- no whatever

Quote:

Usergroup Promotions

setup automatic usergroup promotions, so that users who meet specific criteria are moved into or become a secondary member of another usergroup, generally with greater permissions.

By default, promotions are checked hourly.
Create 2 promotions.
- 1 to move the users to the group
- 1 to move them back when they do whatever it is your want them to do.

http://www.vbulletin.com/docs/html/u..._add_promotion

Cloud Strife 12-24-2005 07:47 PM

Quote:

Originally Posted by Zachariah
Create a new Usergroup (give it a name) with settings you want the members to have.
- no Arcade
- no Downloads
- no Gallery
- no whatever



Create 2 promotions.
- 1 to move the users to the group
- 1 to move them back when they do whatever it is your want them to do.

http://www.vbulletin.com/docs/html/u..._add_promotion


Thanks. But I think you misunderstand. I want it so that if they haven't made a post for 30 days, then it will ban them for 7 days (like the temporary banning options in vB3)

I dont think a 7 day banning is a usergroup though. So I cant figure out how to do this one myself

Cloud Strife 12-25-2005 08:56 PM

bump

Cloud Strife 12-27-2005 01:38 AM

bump

PennylessZ28 12-27-2005 02:52 AM

why would you want to temp ban someone for not posting? I'd never come back or consider posting if you did that.

KBV 12-27-2005 01:44 PM

Wouldn't that be kinda pointless? I mean, someone hasn't posted for 30 days, and you want to ban that person for 7? Either the person wouldn't care because he won't be there anyway to see the ban, or if the user comes back he would most likely be all "wtf?" and never come back after that.

Good luck though.

Cloud Strife 12-28-2005 08:09 PM

bump


All times are GMT. The time now is 11:20 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.01081 seconds
  • Memory Usage 1,729KB
  • 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
  • (1)bbcode_code_printable
  • (3)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (1)pagenav_pagelink
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (10)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
  • pagenav_page
  • pagenav_complete
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete