vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 2.x Beta Releases (https://vborg.vbsupport.ru/forumdisplay.php?f=5)
-   -   Find, Optionally Email and Optionally Delete Inactive Members (https://vborg.vbsupport.ru/showthread.php?t=48964)

amykhar 02-18-2003 08:40 PM

No prob djr. I shall get right on it and be back with a fix.

Amy

amykhar 02-18-2003 09:10 PM

updated the zip. All you need to do is upload the php file again.

I recommend renaming this script to something else on your server for security reasons. I haven't been able to find a way to pass in the username and password for a cron job to be able to run this in the admin folder yet.

djr 02-19-2003 06:21 PM

Hi amy,

The hack gets better and better! Thank you VERY MUCH for implementing all my feat reqs.
I have (what's new) another one :D Because most of the forum-admins will run this script as cronjob, it's probably nicer to have the output how many users (and optionally which usernames) are deleted emailed to the admin. If there's no pruning done, have the script e-mail that, so we know it's up and running and doin' its (very good) job!

If somebody can be of help to Amy for dealing with potentially security risks, please don't hesitate! In the meantime i've renamed the script to something insignificant ;)

Thanks again!
- djr

amykhar 02-19-2003 06:44 PM

The email is a good idea. I will do it tomorrow cause I'm working on somebody else's hack right now. :)

Amy

amykhar 02-23-2003 11:43 PM

OK. I just updated the zip file. The program now emails the webmaster email with information about members who were emailed or deleted.

To update: You will need to add the two new templates and reupload the zip file.

Within the templates, you have access to counts telling how many inactive members there are, how many were emailed, how many were deleted, and list the emailed or deleted members.

Amy

djr 02-25-2003 04:56 PM

Hi Amy,

I forgot to say thank you for all that you've added to the hack. Major thumbs up for making this an excellent hack for the very hard needed forum maintenance a.k.a spring cleaning :D

I love everything about this hack. The fact it's fully automated via cron, the fact it keeps us webmasters notified of its duty and the fact that I feel assured that no redundant user info is left behind in the db!

This is definitely in my Top 10 list of favourite hacks!

- djr

amykhar 02-25-2003 05:14 PM

Thank you, djr :)

Amy

hypedave 02-26-2003 10:46 PM

So bascially, If I set it to 30 Days, then it will look users that havent been active in 30 Days send them an email warning, then in 15 days if that person hasn't logged on then their account will be automatically deleted.

amykhar 02-26-2003 10:49 PM

Yes Dave - if you have both email and delete turned on, that's how it will work.

Amy

hypedave 02-27-2003 01:15 PM

Is there a way to exempt posters with XX amount of posts?

Some users may have like 100 post, and get real busy with school and can't log on for like 2 months.

That would be a nice add-on


All times are GMT. The time now is 07:36 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.01194 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)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)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