vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 3.5 Add-ons (https://vborg.vbsupport.ru/forumdisplay.php?f=113)
-   -   Inactive User Management (https://vborg.vbsupport.ru/showthread.php?t=94041)

Andreas 08-10-2005 10:00 PM

Inactive User Management
 
Inactive User Management
Description

This Hack lets you automatically prune inactive Users based on several conditions.
It can be configured in ACP / vBulletin Options / vBulletin Options / Inactive User Management.

Details
1 Product XML with 1 Plugin, 4 Phrases and 5 Settings

History
1.0.0
Initial Version

1.0.0 Build 2
Fixed 2 Phrases

1.0.0 Build 3
Fixed broken query in uninstall code

Warning
This Hack is Beta, provided AS-IS.
I take no responsibility, whatever might appen when using this.

I strongly recommend NOT to use this in a production environment!

Please only click Install if you actually have installed/are using this Hack, and click Uninstall whan you don't use it any longer!

Boofo 08-10-2005 10:55 PM

Ok, I'll bite. ;)

Neal-UK 08-10-2005 11:01 PM

Quote:

Originally Posted by Boofo
Ok, I'll bite. ;)

I will, only when someone else does first......does it work ok Boofo? lol

kall 08-10-2005 11:01 PM

Cool!

Oh, in userdelnotification, it should be 'respond', not 'response'.

And... how well do linebreaks work in these body phrases?

Andreas 08-10-2005 11:04 PM

Hmm, linebreaks should work as they do in all other eMail Body Text Phrases too.

I'll fix the phrase when I got time, seems to be a minor issue ;)
Guess that happened as I first wanted to write "As we got no response ..."

ThePimp 08-10-2005 11:41 PM

I will install this when someone has tested it and found no errors. :)

kall 08-11-2005 12:12 AM

It doesn't seem to be picking up the usernames.

(Yes, I somehow missed the huge warning, and am running it on nzb. ;) )
Quote:

Dear . It has come to our attention that you have registered at...

Andreas 08-11-2005 12:15 AM

Hmpf. In Phrase userinactivitywarning it should be $user[username] instead of $username ... slipped through the porting process :)

Azhrialilu 08-11-2005 06:26 AM

You're on a roll, Kirby! Another nice one :D

Cyricx 08-11-2005 02:20 PM

Awesome!!

simon. 08-18-2005 07:25 AM

I would love this in a non beta stage... Can Someone email me when its ok to use it?

Andreas 08-18-2005 10:03 AM

I think it will never leave Beta stage. :)

FD929 08-18-2005 10:50 PM

Quote:

Originally Posted by KirbyDE
I think it will never leave Beta stage. :)

Why not?

Andreas 08-19-2005 01:54 AM

Because Beta Software by definition isn't supported :D

Jenta 08-23-2005 05:37 PM

idea - instead of prune, move

Andreas 08-23-2005 05:54 PM

I'll consider this for future Versions :)

FrozenCreations 08-24-2005 02:48 PM

umm, is i posible to make this mod.hack, not delete the user, just continue to e-mail them until they come and post?

deling users makes your user # go donw :(

Andreas 08-24-2005 02:51 PM

Set the Timespan between Notification and Deletion veeeeery high (like 3650 => 10 Years), then they will not be deleted.

Andreas 08-24-2005 02:53 PM

Quote:

Originally Posted by KirbyDE
Set the Timespan between Notification and Deletion veeeeery high (like 3650 => 10 Years), then they will not be deleted.

> deling users makes your user # go donw
Only if you delete more Users then new ones register :)
I use this on my Board since several month (6 month/14 day set), and the # User keeps increasing.

FrozenCreations 08-24-2005 03:08 PM

yeah, that will happen with me... it will shoot down!

Yorixz 08-29-2005 02:18 PM

Quote:

Originally Posted by KirbyDE
> deling users makes your user # go donw
Only if you delete more Users then new ones register :)
I use this on my Board since several month (6 month/14 day set), and the # User keeps increasing.

Myself I would say; who cares about the amount of registered users if like the half of it is inactive; they won't contribute to your forum at all.

Ontopic; very nice mod, I'll see if I can get this to work later ;)

Boofo 08-31-2005 05:12 AM

Did we forget a table here, Kirby? ;)

PHP Code:

 $db->query_write("DELETE FROM " TABLE_PREFIX " WHERE filename='./includes/cron/inactiveusers.php'"); 


Yorixz 09-03-2005 04:58 PM

Just wondering; how "beta" is this mod? Any chance it'll ++++ up and just delete all my users or something? ;)

Andreas 09-03-2005 05:17 PM

Yes, that could happen.

Oblivion Knight 09-14-2005 05:55 PM

I got this error e-mail sent to me this morning.. I assume it's related to this plugin.

Quote:

Database error in vBulletin 3.5.0 Release Candidate 3:

Invalid SQL:

SELECT userid, username, email, languageid FROM user
WHERE usergroupid IN ()
AND inactivitytag=0
AND lastpost=0
AND pmtotal <= 0
AND lastactivity < UNIX_TIMESTAMP(DATE_ADD(NOW(), INTERVAL -180 DAY));

MySQL Error : You have an error in your SQL syntax. Check the manual that corresponds to your MySQL server version for the right syntax to use near ')
AND inactivitytag=0
AND lastpost=0
AND pmto
Error Number : 1064
Date : Wednesday, September 14th 2005 @ 06:43:27 AM
Script : http://www.gamerseuphoria.com/forum/...p?&rand=116136
Referrer :
IP Address : xx.xxx.xxx.xx
Username : Unregistered
Classname : vb_database
Any ideas? :)

Andreas 09-14-2005 06:27 PM

Yes.
Do you have selected any Usergroups to be affected?

Oblivion Knight 09-14-2005 06:28 PM

Yes.

Registered Users and Users Awaiting Email Confirmation.

Andreas 09-14-2005 06:40 PM

Strange.
Can you check the Value of $vbulletin->options['inactivegroups']?

Oblivion Knight 09-14-2005 07:17 PM

According to phpMyAdmin, the value is 2,3.

Andreas 09-14-2005 07:20 PM

Did you check Table setting or datastore (the later one is important, as this is where $vbulletin->options comes from)?

Oblivion Knight 09-14-2005 07:25 PM

It appears to be the same in both the table setting and the datastore.

Andreas 09-14-2005 07:38 PM

Then this is more then strange.
Did you try to ran the cronjob it manually?

Oblivion Knight 09-15-2005 06:18 AM

Quote:

Originally Posted by KirbyDE
Then this is more then strange.
Did you try to ran the cronjob it manually?

Nope, it attempted to run automatically.

havefun 10-13-2005 11:59 AM

[high]* havefun clicked install
[/high]

nice mod. THX! :)

matthias.m 11-01-2005 06:32 AM

Does this Add-On work with vB 3.5 Gold too?

Greetings
Matthias Mönch

Boss-Hog 11-09-2005 11:01 AM

I have this hack installed and set the inactivity amount at 365. Shortly after that, some of my users started getting the following email:

Quote:

Dear [user].

It has come to our attention that you have registered at
[forum] more then 0 days ago, but didn't login
again since.
Did you forget about us?
We would be happy to see you around again!

If you don't login again within 7 days from now, we will delete your
account.
I went into the options in the admin CP and the setting that had been at 365 somehow been changed to 0. I bumped it back up to 240 (roughly 8 months). Two questions: 1). any idea why this would have changed to 0 (is there a limit on this value?) and 2). how do I prevent those users who received the email from being deleted after the time between warning and removal elapses? Thanks.

Flow Fusion 11-09-2005 11:33 AM

Thank you great hack.

Boss-Hog 11-09-2005 08:29 PM

Quote:

Originally Posted by Boss-Hog
I have this hack installed and set the inactivity amount at 365. Shortly after that, some of my users started getting the following email:



I went into the options in the admin CP and the setting that had been at 365 somehow been changed to 0. I bumped it back up to 240 (roughly 8 months). Two questions: 1). any idea why this would have changed to 0 (is there a limit on this value?) and 2). how do I prevent those users who received the email from being deleted after the time between warning and removal elapses? Thanks.

Now, I'm getting a LOT of emails from my forum's users asking why they're getting that email. Is 365 too high of a number to use or why else would it have 'reset' to 0? Most importantly, how do I prevent these users from being deleted by the hack? Thanks.

Boss-Hog 11-14-2005 11:59 AM

Can someone PLEASE let me know what I need to do so that the massive amount of users who were incorrectly marked for deletion via cron will not be deleted when the "Time between Warning and Removal" is reached very soon? Thank you.

Quote:

Originally Posted by Boss-Hog
I have this hack installed and set the inactivity amount at 365. Shortly after that, some of my users started getting the following email:



I went into the options in the admin CP and the setting that had been at 365 somehow been changed to 0. I bumped it back up to 240 (roughly 8 months). Two questions: 1). any idea why this would have changed to 0 (is there a limit on this value?) and 2). how do I prevent those users who received the email from being deleted after the time between warning and removal elapses? Thanks.


Andreas 11-14-2005 02:17 PM

Normally, it should not happen that users are tagged incorrectly.
What are your exact settings?


All times are GMT. The time now is 04:52 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.01276 seconds
  • Memory Usage 1,817KB
  • 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_php_printable
  • (10)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (2)pagenav_pagelink
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (40)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