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)

Alibass 02-02-2010 04:05 PM

Quote:

Originally Posted by Rob F (Post 1973140)
for Lurkers leave it so they have to contact admin to have their accounts restored.

I personally would not want this only option. Members would wear me and my moderators out restoring their accounts. :eek:

Rob F 02-02-2010 05:11 PM

Quote:

Originally Posted by Alibass (Post 1973182)
I personally would not want this only option. Members would wear me and my moderators out restoring their accounts. :eek:

I'm suggesting that there's a choice given for both usergroups. At the moment there's only one Restore Feature option to tick which relates to both groups.

Then users of the mod could go with what works best for them.

Personally I'd like to have it set so that anyone who gets moved for being a lurker has to contact admin to have their account restored. My own opinion is that lurkers are offenders in one sense, whereas inactive might have simply had life get in the way for a while. As I see them differently then I'd like to treat them differently too.

I guess different situations apply to different sites ;)

Alibass 02-02-2010 06:15 PM

Quote:

Originally Posted by Rob F (Post 1973216)
I'm suggesting that there's a choice given for both usergroups. At the moment there's only one Restore Feature option to tick which relates to both groups.

Then users of the mod could go with what works best for them.

Personally I'd like to have it set so that anyone who gets moved for being a lurker has to contact admin to have their account restored. My own opinion is that lurkers are offenders in one sense, whereas inactive might have simply had life get in the way for a while. As I see them differently then I'd like to treat them differently too.

I guess different situations apply to different sites ;)

Then again it's how you use Paul's mod. As he has it now, I created a lurkers group and restricted all permissions except for creating a thread in the forums. I don't allow them to even reply, they half to start a new thread. Once they post they are immediately restored to their original group or wherever you put them. How tight you set your days for lurkers will keep them posting more often if they want to read or post anything in your forums. There are other mods here to stopping them from lurking as a guest also. :)

Rob F 02-02-2010 06:22 PM

Quote:

Originally Posted by Alibass (Post 1973279)
Then again it's how you use Paul's mod. As he has it now, I created a lurkers group and restricted all permissions except for creating a thread in the forums. I don't allow them to even reply, they half to start a new thread. Once they post they are immediately restored to their original group or wherever you put them. How tight you set your days for lurkers will keep them posting more often if they want to read or post anything in your forums. There are other mods here to stopping them from lurking as a guest also. :)

I agree with you completely that its how you use the mod.

For me, I don't want the lurkers being immediately restored. Some in particular only visit my site now to copy ideas that I've implemented (mods) for their own site. They don't contribute at all anymore, and I genuinely don't see that situation changing any time soon. I also don't think they have the balls to appeal for the re-instatement of their account to its previous status once it gets moved. In the past week alone I've seen 3 new mods that I've added amazingly appear on another site - trust me, its not co-incidence :rolleyes:

Hence my viewing lurkers & inactive as completely different categories. For the moment though, I'll be lumping them in together with the Auto Restore turned off ;)

dynamite 02-02-2010 10:40 PM

This mod is exactly what I was looking for!
For lurkers, is there a way to change the required number of posts that have to be made to activate the trigger in the time period. for example 5 instead of just 1?

Paul M 02-03-2010 12:20 AM

Assuming you mean the restore ? No, that isnt possible.

sixdemons 02-05-2010 09:05 PM

instead of moving the user to an other group, can I just delete the inactive users with this mod?

Paul M 02-05-2010 09:07 PM

No.

sixdemons 02-05-2010 09:30 PM

It will be cool if you include this feature in future versions, because I was looking a mod in order to delete inactive users for v4 and there is no mod yet that delete inactive users...

Sador 02-06-2010 09:53 AM

Quote:

Originally Posted by Sador (Post 1970747)
Nice mod, used it on vb 3.x as well.

I do wonder though, if I have the 3.x version of this mod installed, do I need to upgrade to this version (I suppose so) and if I do, will the usergroups all correct themselves when I upgrade the script (assuming I set up a special usergroup for the inactive people) or do I need to change those manually?

Thanks.

Any help on this?

Paul M 02-06-2010 10:39 AM

I dont understand what you mean by "will the usergroups all correct themselves" ?

Sador 02-07-2010 09:53 AM

I have had the 3.8 version of your mod installed on my 3.8 board. That means some usergroups are in the 'inactive group' already because of that mod. If I would now upgrade to this mod, would that cause any problems with the previous version of the mod? Or should I remove the previous version first before installing this version? Thanks.

Paul M 02-07-2010 11:04 AM

No, it should not cause any issues.

Make sure you set the inactive usergroup to be the same as it was before.

Sador 02-07-2010 01:08 PM

Okay, thanks.

War.Frog 02-08-2010 02:40 AM

I just installed this mod, and once it finished the installation process it tried returning me to the Admin CP and I'm stuck on an endless loop of signing in to Admin CP. It's like the mod has stripped my Admin access?

Help! Thoughts?

EDIT: I have lost Admin access to my forum. Wow. I just tried disabling all mods via define('DISABLE_HOOKS', true); with no effect.

Incidentally, my access is via a unique usergroup called "Founder".

War.Frog 02-08-2010 03:57 AM

Ok, I restored my access using tools.php. It appears the default values in this mod (e.g. use Group ID #10 for inactive users) can clash with any custom usergroups already set up...especially if those usergroups include Forum admins!

Is there a way to default these values to something else...like 999...so this doesn't happen to anyone else?

Paul M 02-08-2010 10:48 AM

Hmmm. Interesting, it did an automatic "restore" on you.

Its due for a settings update soon anyway, so I'll change the defaults as part of that.

Tutatruck 02-14-2010 02:40 AM

Great idea this, helps alot. But i am having a bit of trouble with. It moves a few users to the zero post group even if they have a bunch of post. It also moves users to inactive group even if they had visited the forum within the time set. Could it have something to do with the fact that my forum is a migrated one (from MyBB)?

Paul M 02-14-2010 02:09 PM

Please read the description carefully - its not a zero post group.

If they have a last visit time less than the defined period it cannot move them, maybe migrating them doesnt set that field until they actually login.

Tutatruck 02-15-2010 05:36 PM

Quote:

Originally Posted by Paul M (Post 1982146)
Please read the description carefully - its not a zero post group.

Oh, so if i set Lurker settings to move users with zero post in 31 days for example, it wont work? But if i set Lurker settings to move users with 1 post in 31 days it will work? Have i understood that correct? If so, is it possible to enhance the mod to be able to handle zero posters aswell?

Quote:

Originally Posted by Paul M (Post 1982146)
If they have a last visit time less than the defined period it cannot move them, maybe migrating them doesnt set that field until they actually login.

You might very well be correct there, sounds plausible. No biggie really, if they show up in Inactive Users group even if they have been logged in it?s easy to move them manually. The pros are more worth than the cons with this mod :)

Paul M 02-15-2010 07:38 PM

Just to be clear - if the post setting is 31 days, it will move anyone who has not posted in the last 31 days, no matter how many posts they have in total.

Juggernaut 02-15-2010 09:55 PM

Great MOD :D

Paul M 02-15-2010 10:39 PM

<u>4.0.3</u>

The Settings have been split out for the Lurker & Inactive options.

Nadeemjp 02-17-2010 07:43 PM

hello paul
after upgrading to your latest version, i am getting an error whenever i click on anyone's username:

error:
Quote:

UPDATE user

SET usergroupid = 2, milusergroup = 0

WHERE userid =;



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 '' at line 3

Error Number : 1064

Request Date : Wednesday, February 17th 2010 @ 04:48:59 AM

Error Date : Wednesday, February 17th 2010 @ 04:48:59 AM

Script : http://www.familybunker.com/forums/members/a.html

Referrer : http://www.familybunker.com/forums/forum.php

IP Address : xxxxxxxx
Username :

Classname : vB_Database_MySQLi

MySQL Version :

what could have caused this problem and how can this be cured?
thank you

Paul M 02-17-2010 09:36 PM

Quote:

Originally Posted by Nadeemjp (Post 1984929)
what could have caused this problem and how can this be cured?
thank you

I have no idea - I cant see any way to cause that - you have no username or userid information (i.e. no userinfo). It makes no sense.

Jonluci 02-18-2010 11:49 PM

Thanks for this great mod. Installed it and works great :)
Can this be made to exclude some groups when searching for inactive and lurkers.

Like donors be exempt from this.

Paul M 02-19-2010 01:18 AM

I suggest you look at the settings ;)

Jonluci 02-19-2010 01:40 AM

Quote:

Originally Posted by Paul M (Post 1986078)
I suggest you look at the settings ;)

:eek: oh boy....i was so blind :D
lol :D

tahrim 03-01-2010 04:52 PM

Thanksssssss

JonnyThunder 03-04-2010 12:01 PM

Hi Paul,

I wanted to put in a feature request.

Would it be possible to add the ability to automatically send an email to users who have been moved for lurking or inactivity. I think this would help the forum by reminding these people that the site exists! A little nudge to get them back to the site instead of just losing them, which could potentially happen!

Just an idea anyhow. Keep up the great mod work!

Paul M 03-04-2010 09:44 PM

Sorry, its been asked before, and the answer is the same. I dont plan to add that. You can easily send an email to anyone in the relevant group using the existing acp mail users inteface. :)

lilquit 03-19-2010 07:55 AM

Can the lurkers be viewed on the front end so everyone can see who they are? Please tell me how if so
Thank you

Maur?cioSB 03-28-2010 05:49 PM

Paul,
When you have time, how about define phrases to these:
Code:

0|-</optioncode>
                                <defaultvalue>0</defaultvalue>
                        </setting>
                        <setting varname="mil_inactive_groups_list" displayorder="30">
                                <datatype>free</datatype>
                                <optioncode>usergroup:10</optioncode>
                                <defaultvalue>a:1:{i:0;i:2;}</defaultvalue>
                        </setting>
                        <setting varname="mil_inactive_restore" displayorder="40">
                                <datatype>integer</datatype>
                                <optioncode>radio:piped
0|Disable restore option
1|Restore to original usergroup
2|Restore to usergroup specified below></optioncode>

It would be easier to translate.
Tks.,
Maur?cioSB
PS.: I think there is no need to the ">" after the third option.

Paul M 03-28-2010 08:26 PM

You cant translate settings into phrases.

Dr.osamA 03-29-2010 12:35 AM

thanxx for update

Bergler 03-29-2010 07:00 PM

When you have this up and running, when you look at the usergroups will it show in the "Lurkers" usergroup who has been moved. I have had this mod running since last night and haven't seen anything happen, most likely my error. Here is a image of my settings. I am not using the inactive feature is that ok? Sorry if I missed something, I always seem to miss the obvious!

Paul M 03-30-2010 11:44 AM

Lurkers / Inactive are only processed once a day.

Bergler 03-31-2010 09:09 PM

Quote:

Originally Posted by Paul M (Post 2012808)
Lurkers / Inactive are only processed once a day.

Thanks for that Paul. It has now been more than two days and this is what my usergroups look like, any ideas, Thanks.

Paul M 03-31-2010 10:38 PM

Since I dont have access to your forum, I cannot really say - but other than a settings error, Id guess you have no one who meets the requirements you have set.

Julie 04-10-2010 08:01 AM

Paul, I know you said this doesn't check or alter secondary groups, but I was wondering if it is possible to check secondary usergroups, technically I mean? So that, if user A is member of primary group X (that is checked for inactivity), but has secondary group Y (isn't checked for inactivity), he doesn't get moved.


All times are GMT. The time now is 07:19 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.01425 seconds
  • Memory Usage 1,830KB
  • 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
  • (11)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (3)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