MyBB Community Forums

Full Version: Inactive User
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
Pages: 1 2 3
Inactive User


Version: 0.1.2-alpha.1

A plugin for MyBB 1.8.30 to identify and manage users that have gone inactive.

The Inactive User plugin version number conforms with Semantic Versioning 2.0.0 standard. It is being developed on PHP 7.3.7, which may cause issues to users runnning MyBB on PHP 8.

Features
  • Identifies users that have gone inactive.
  • The amount of days to allow after last visit until the user to be considered inactive can be configured.
  • Inactive users are easily recognizable across the forum through the username color and the "Inactive" usertitle.
  • The user can instantly become active again by just logging back in.
  • Choice to keep the inactive users data after plugin deinstallation.

Installation
  • Upload the contents of the inc folder to your forum's inc folder.
  • Go to Configuration >> Plugins and click on Install & Activate.
  • Go to Home >> Board Settings >> Inactive User Settings and adjust the settings to your needs.

Documentation release. The plugin is now packaged with a doc directory containing documentation. The documentation has been written on doxygen format.



Mods site: https://community.mybb.com/mods.php?acti...w&pid=1513
Good idea!

So if the inactive user is logged again some day, the inactive usertitle and rank is removed?
(2022-05-18, 03:29 PM)Eldenroot Wrote: [ -> ]Good idea!

So if the inactive user is logged again some day, the inactive usertitle and rank is removed?

Information on usergroups and usertitles is stored on a table, and it's all restored when the user is back to active.
Does it support this feature - assign a secondary usergroup (inactive) to these inactive users?
(2022-05-18, 07:35 PM)Eldenroot Wrote: [ -> ]Does it support this feature - assign a secondary usergroup (inactive) to these inactive users?

It records all the usergroups the user had, then assigns inactive to primary, and "use primary" to display usergroup.
Problem hy with the inatsllation comes the error message

Warning [2] require_once(/xxx/inc\plugins\inactive_user\usergroups_class.php): failed to open stream: No such file or directory - Line: 125 - File: inc/plugins/inactive_user.php PHP 7.4.29 (Linux)
File	Line	Function
/inc/class_error.php	153	errorHandler->error
/inc/plugins/inactive_user.php	125	errorHandler->error_callback
/inc/plugins/inactive_user.php	125	require_once
/admin/modules/config/plugins.php	435	inactive_user_activate
/admin/index.php	825	require
Did you upload the full content of the archive, respecting the directory structure ?
If yes, is the inc/plugin/inactive_user/ and its files readable ? Check owner and permissions
(2022-05-20, 04:09 PM)Crazycat Wrote: [ -> ]Did you upload the full content of the archive, respecting the directory structure ?
If yes, is the inc/plugin/inactive_user/ and its files readable ? Check owner and permissions

yes , everything uploaded correctly
As I already wrote here - line 125 of plugin file has to be:
require_once MYBB_ROOT ."inc/plugins/inactive_user/usergroups_class.php";

and not:
require_once MYBB_ROOT ."inc\plugins\inactive_user\usergroups_class.php";
(2022-05-20, 09:37 PM)SvePu Wrote: [ -> ]As I already wrote here - line 125 of plugin file has to be:
require_once MYBB_ROOT ."inc/plugins/inactive_user/usergroups_class.php";

and not:
require_once MYBB_ROOT ."inc\plugins\inactive_user\usergroups_class.php";

ok, Thank you, I prefer to leave that addon out
Pages: 1 2 3