vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 2.x Full Releases (https://vborg.vbsupport.ru/forumdisplay.php?f=4)
-   -   Hunt out Inactive Users (https://vborg.vbsupport.ru/showthread.php?t=38448)

TECK 05-09-2002 07:48 PM

takara, good job :)
not sure, but does it email automatically the user if deleted?
i dont know if this is default in VB... :)

Takara 05-09-2002 07:55 PM

uuummm, I'm not really sure you know. It uses vB's built in deleting functions. I was going to add an option to be able to email the person, however it required some editing of some additional files. (adding value="$userid" etc to the email forum in the admin CP, so the hack can just easily refrence the page and have it complete its self. a simple thing).

If you still want it I'll go ahead and give you it :p

BrAinZ 05-09-2002 08:04 PM

Is there any way this can be adapted to show anyone who hasn't visited the board for a specified number of days?

I want to "cull" any users who MAY have posted in the past, but haven't logged into the board for a while.

Any ideas?

TECK 05-09-2002 08:07 PM

i personally think is really important to let the user know he(she) was deleted. :)

BrAinZ 05-09-2002 08:17 PM

Quote:

Originally posted by nakkid
i personally think is really important to let the user know he(she) was deleted. :)
Yeah I agree with that.. only curteous :)

Thanks for the hack by the way.. very useful!

Takara 05-09-2002 08:26 PM

Quote:

Originally posted by BrAinZ
Is there any way this can be adapted to show anyone who hasn't visited the board for a specified number of days?

I want to "cull" any users who MAY have posted in the past, but haven't logged into the board for a while.

Any ideas?

I alredy made a version like this :p
https://vborg.vbsupport.ru/showthrea...719#post249719

midad 05-09-2002 08:46 PM

Great hack Takara I've been looking for such hack for a while. Can we put an option to send inactive users for 30 days for example a default e-mail. Just to let them know that we still care about them.....!!! can anyone do that for me please :)
Installed of course....

BrAinZ 05-09-2002 08:51 PM

This is good.. but it makes it difficult to see exactly WHO you should delete.

Needs to ONLY say "YES" if they have not VISITED the site for the last XX days.

Is that possible ?

BrAinZ 05-09-2002 08:55 PM

Thanks Takara, still needs to be a little easier to use for lazy gits like me though :)

BrAinZ 05-09-2002 09:13 PM

I've ALMOST done it myself... but whats the difference between "Last Visit" and "Last Activity" ?

This is what I have so far:

Find this...

PHP Code:

if (($row["lastpost"]==0)&&($isinactive>$timeactive)) 

and replace with:

PHP Code:

$inactivedays=$ddate-$row["lastvisit"];
    if ((
$inactivedays>$timeactive)&&($isinactive>$timeactive)) { 



All times are GMT. The time now is 07:17 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.01555 seconds
  • Memory Usage 1,736KB
  • 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
  • (2)bbcode_quote_printable
  • (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