vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vB4 General Discussions (https://vborg.vbsupport.ru/forumdisplay.php?f=251)
-   -   Time in Usergroup (https://vborg.vbsupport.ru/showthread.php?t=296450)

KGodel 03-23-2013 08:16 PM

Time in Usergroup
 
Hello all. I have a small problem I'd love your help with!

We move inactive members to a specific usergroup, let's call it "Inactive". These members must request to get out of the group. If they don't within 30 days, we want to prune their accounts. Currently, we can only prune accounts that are simply inactive for 60 days easily. Is there any way to store the date when they are moved into the "Inactive" usergroup and automatically remove them after 30 days in that group? Thanks!

KGodel 03-25-2013 08:00 AM

Bumping this to see if anyone knows how or if I am on the right track and can give me some pointers, but I'm thinknig of adding a plugin that operates every time there is a usergroup change and saving the date of the change to either a hidden profile field or a hidden field in the user table and then scheduling an automated task to check users in my "inactive group" and purge anyone whose last usergroup change was 30 days ago. Does this sound solid? If so can someone maybe help me get started?

KGodel 04-07-2013 02:19 AM

Another bump, still in need of some assistance with this one.

KGodel 10-22-2013 12:40 AM

Still looking for some help with this.


All times are GMT. The time now is 01:19 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.00986 seconds
  • Memory Usage 1,706KB
  • 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)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (4)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