vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   Modification Graveyard (https://vborg.vbsupport.ru/forumdisplay.php?f=224)
-   -   Administrative and Maintenance Tools - Auto-prune Inactive Members (https://vborg.vbsupport.ru/showthread.php?t=75740)

tnguy3n 02-03-2005 10:00 PM

Auto-prune Inactive Members
 
Modded by tnguy3n @ http://www.all4actions.net

Description:
This hack allows to auto-prune inactive users of registered usergroup or any group (assigned by the admin) based on the amount of posts and length of time since last visit the board.
You can set Schedule Task to run once/day or once/week or whenever as you like.

New file: 1
Template mod: none
Installation Time: 1-2 mins

make sure to upload deluser.php to /forumroot/includes/cron or it won't work.

pls click install if you find it useful.

Rhoads 02-04-2005 10:24 PM

Klik Install,
this is very useful

Thnx ;)

ImportPassion 02-05-2005 02:35 AM

does this delete or move to a diff group? I would prefer the latter.

also, a nice addition would be sending an email to the user to tell them what happened.

tnguy3n 02-05-2005 02:47 AM

Quote:

Originally Posted by 7thgenCivic.Com
does this delete or move to a diff group? I would prefer the latter.

also, a nice addition would be sending an email to the user to tell them what happened.

it deletes users...
next version 1.1, i'll have email warning feature before pruning. :)

rookie7 02-05-2005 08:45 PM

Can you add a feature where you can choose to either auto prune or auto move? Or...maybe you can write a different hack to auto move inactive users to a different usergroup..just like what 7thgencivic said?

Thanks

luroca 02-05-2005 09:35 PM

Yes, automove is a good idea.

Thanks

Andreas 02-05-2005 09:45 PM

Nice.
I did smth. similar some month ago:
  • Users who have not logged in for at least 6 month and have not made any post or PM will be emailed and tagged for deletion.
  • If they don't log in within 14 days anfter the notification they are being deleted.

H2k 02-27-2005 05:33 PM

Quote:

Originally Posted by KirbyDE
Nice.
I did smth. similar some month ago:
  • Users who have not logged in for at least 6 month and have not made any post or PM will be emailed and tagged for deletion.
  • If they don't log in within 14 days anfter the notification they are being deleted.

if i just need them to be moved to the Group Called "User A Wating to Confirm Email" and it is email them that they been along time away from the site and they moved to the uncitve member so is there away to do this ?

thankyou :)

almqdad 03-01-2005 02:47 AM

Great

ALcorn 03-02-2005 10:20 PM

Great hack! Thank you :)

Is it possible to write in the log the list of pruned users ? Or at least the number of pruned ?


All times are GMT. The time now is 05:11 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.01018 seconds
  • Memory Usage 1,726KB
  • 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_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