vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 3.7 Add-ons (https://vborg.vbsupport.ru/forumdisplay.php?f=228)
-   -   Add-On Releases - Automatic Inactive Users Pruning - vB3.7 RC2 (https://vborg.vbsupport.ru/showthread.php?t=177403)

J98680Bxxxxx 05-21-2008 07:31 PM

Quote:

Originally Posted by Super Jinni (Post 1527176)
and what about if the users who got pruned signed in and/or post a thread or post?
do they automatically remove to the group which they were belonged to before pruning?

thank you for this, I didn't notice it just now..
and currently I'm using Paul's which I really like.. but as you said, it has not features as yours..

are they work in the same way with Paul's or there is differences?

There is no automatic removal from the "Pruned Usergroup", simply because, in my forum for example, moderator(s) must ensure that pruned users are not just posting non sense of the type "Thank you, nice thread" or "Thank you, keep up the good work", etc... over and over just to get unpruned.

The basic principle for pruning is the same as with Paul's Mod. Read the "What this Mod does" from the Thread text above.

Super Jinni 05-22-2008 11:13 AM

ok, I think I like this one more than Paul's Mod

I guess I have to uninstall Paul's Mod in order to install this one right?

and I think if you can make an option for the automatic removal from the "Pruned Usergroup" to turn it on/of according to some conditions depending on the cases that user has moved to the "Pruned Usergroup"

to be honest with you, I've been using Paul's Mod for a while no, and there are some users who they have been in the "Inactive Usergroups" ,and I'm afraid if I Uninstall Paul's Mod I'll have some problems with those who are now in the "Inactive Usergroup".

any suggestions?

:)

J98680Bxxxxx 05-22-2008 11:38 AM

Hi Super Jinni,

It's up to you how you want to use these two mods. I don't think that this Mod and the one from Dr. Peper conflict. Just ensure that you specify the same usergroup Id for prumed members. In any case, you can always move pruned members to any other usergroup manually from your ACP -> Usergroups -> Usergroup Manager.

It is possible to have an automatic removal from the "Pruned Usergroup" according to some conditions. You can use the cron of this mod as basis and just change the SQL query accordingly. :)

Super Jinni 05-22-2008 12:55 PM

ok then, I'm gonna give it a try.. I'll install it beside Paul's Mod..

if I have any problem, I'll post it here..

thanks

:)

Zelda-King 05-26-2008 03:31 PM

I just ran the first cron job on 3.7 Gold. Some users were 'pruned' but they weren't put in the specified usergroup. Would that be because they'd already been inactive for well over the specified time and thus immediately deleted or what?

Am using the following config:
Code:

// The user must had logged in the forum in the last x days
$lastactivity = 365;

// The amount of days an user stays "flagged" before been pruned
$flaggedtime = 7;

// The user must have posted in the forum in the last x days
$lastpost = 365;

// Users with more than this amount of posts will not be pruned
$maxposts = 1;

// Set this to true to email the members that are been pruned
$sendmail = true;

// This is the UserGroup that will receive pruned members.
// If you do not have such usergroup already available,
// please create one and refer to its id number here.
$groupid = 23;

// Set here the usergroups you do NOT wish to have modified,
// seperate each groupid with a space
$exclude = "5 6 7 10 22";


J98680Bxxxxx 05-26-2008 06:13 PM

Quote:

Originally Posted by Zelda-King (Post 1531944)
I just ran the first cron job on 3.7 Gold. Some users were 'pruned' but they weren't put in the specified usergroup. Would that be because they'd already been inactive for well over the specified time and thus immediately deleted or what?
...

Hi Zelda-King,

On the first cron job, users get flagged, not pruned yet. Nothing get deleted. Users are moved from one usergroup to another only after the specified flagged time.

Ensure that you actually have the specified usergroup Id = 23 created, also checkout the usergroup ID of those members that were 'pruned'.

:)

Zelda-King 05-26-2008 06:22 PM

Hello!

Well that would explain it then. Nicely timed response too! I was just wondering why no one had changed to that usergroup and yet my member count hadn't gone down either.

What I'm not sure about is how to find which users have been flagged. Oh, and are they e-mailed at this stage or on being pruned?

J98680Bxxxxx 05-26-2008 08:23 PM

Hi,

Those members flagged receive an e-mail notifying them of their situation and asking them to improve their activity status. When the specified flagged time expire, they get 'pruned' and also receive a second e-mail notifying them of their change in status.

To find users that have been flagged, you can use phpMyAdmin (on your server CPanel) and view the (last column of) user table.

Hope it help. :)

Mum 05-26-2008 10:17 PM

What does the email say? (i'm not sure how to find it to read it)

Zelda-King 05-27-2008 03:45 AM

Perfectly clear. Thanks for clearing that up!


All times are GMT. The time now is 02:12 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.01053 seconds
  • Memory Usage 1,741KB
  • 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
  • (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