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)

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)?


All times are GMT. The time now is 11:37 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.01109 seconds
  • Memory Usage 1,735KB
  • 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
  • (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