vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   Modification Graveyard (https://vborg.vbsupport.ru/forumdisplay.php?f=224)
-   -   Administrative and Maintenance Tools - Move Inactive and Lurker Users To New Usergroup (https://vborg.vbsupport.ru/showthread.php?t=231874)

Paul M 04-10-2010 11:42 AM

Technically you could probably modify the sql into something really horrible to do this - but I wouldnt recommend trying. :)

Julie 04-11-2010 10:42 AM

Quote:

Originally Posted by Paul M (Post 2018883)
Technically you could probably modify the sql into something really horrible to do this - but I wouldnt recommend trying. :)

Oh ok, thanks, then I won't try altering the SQL :D

blue6995 04-30-2010 08:50 PM

Quote:

Originally Posted by Paul M (Post 1967421)
Well I suppose you could read the options ;)

BTW, those users are not in COPPA, they will have a usergroup of zero - its just that vbulletin has no u/g of zero, so it shows the first one in the list.

I too must learn to read! I installed this mod but then got called away before I could make any changes. Consequently, I didn't get round to setting the Lurker cut off point to 0 until the next day. Of course, by then, I presume the daily check had been run and loads of my members have been moved to usergroup 0, which is preventing them accessing some parts of the forum and getting a message they have been banned.

Other than going through every member that hasn't made a post for 90 days, is there an easier way I can get them back to the registered users group from usergroup 0?

Many thanks

Paul M 05-01-2010 01:15 PM

Try setting the lurker group as usergroup 2, it should then move them all to that next time it runs.

Otherwise you can just run a bit of SQL :

Code:

UPDATE user SET usergroupid = 2 WHERE usergroupid = 0

blue6995 05-01-2010 02:12 PM

Quote:

Originally Posted by Paul M (Post 2030057)
Try setting the lurker group as usergroup 2, it should then move them all to that next time it runs.

Otherwise you can just run a bit of SQL :

Code:

UPDATE user SET usergroupid = 2 WHERE usergroupid = 0

Paul, many thanks. I ran the SQL, which worked a treat!

Raptor 05-18-2010 03:10 PM

Is there a lurker option for the 3.8.x mod ?

I only see inactive option. Thanks.

Paul M 05-18-2010 06:17 PM

Nope, its only in the 4.0 version.

Raptor 05-18-2010 07:31 PM

Thanks Paul M

OK can you help me structure an SQL query then please ? :)

basically to update a usergroup id if belongs to X where join date is before Y and activity after Z with posts less than A

example move users from registered ug to lurker ug if they registered before 2010-01-01 and visited the board after 2010-05-01 with posts less than 1

Bouncer222 05-21-2010 09:33 PM

nvm

Ken Sanders 05-22-2010 01:52 AM

Wow! Exactly what I need! Will this work with 4.0.3? If so, count me in and I'll happily donate!
Managing users has been a real pain.


All times are GMT. The time now is 04:56 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.01144 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_code_printable
  • (3)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)pagenav_pagelink
  • (1)pagenav_pagelinkrel
  • (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