PHPBB Inactive User Manager/Reminder

How to set Groups - it does't work - PHPBB Inactive User Manager/Reminder

How to set Groups - it does't work

by stefan-franz » Sat Sep 28, 2024 8:22 am

I wondered, why the extion doesn't work. I found the reason: The Groups are set. How can i remove the groups (except Admin).
Can't find any way.

Unser Reminder - How to set groups.png
Stefan
stefan-franz
Registered User
Posts: 119
Joined: Mon Mar 11, 2019 7:29 pm

Re: How to set Groups - it does't work

by stefan-franz » Sat Sep 28, 2024 11:42 am

Aah, i saw, i can select the group and highlight it. And they stay highlighted.

But i have many user in my forum, who are not logged in over 2 years and many hadn't post anything (because most of my forum is only a knowledge base not to ask or discuss). They are not shown in a list somewhere and i can't find the the views of the screenshots of your main site here.
Stefan
stefan-franz
Registered User
Posts: 119
Joined: Mon Mar 11, 2019 7:29 pm

Re: How to set Groups - it does't work

by stefan-franz » Sat Sep 28, 2024 11:51 am

Ups i have installed the wrong extension. There exists an extensions only called user reminder
Stefan
stefan-franz
Registered User
Posts: 119
Joined: Mon Mar 11, 2019 7:29 pm

Re: How to set Groups - it does't work

by andreask » Sat Sep 28, 2024 12:31 pm

Yes there are two for some reason.
If you need any help for my ext IUM, I'll try to help you as much as I can.

All the best.
Here is what I am working on right now...
Inactive User Manager for phpBB
Give it a try...
If you would like to buy me a bier ;) for my work I will drink it on a hot summer day and thank you!!!
andreask
Registered User
Posts: 773
Joined: Fri Feb 27, 2009 6:13 pm
Name: Andreas

Re: How to set Groups - it does't work

by stefan-franz » Sat Sep 28, 2024 12:36 pm

Your Exenstion is not deletable - many errors.. I'm uploading my backup to have again a tidy board.


Errors by deleting the working datas and after i had deleted this is standing
Die Erweiterung „andreask/ium“ ist ungültig.
Die angegebene Datei konnte nicht gefunden werden: ./../ext/andreask/ium/composer.json

I mean, you need to repair your extension or to take it off!
Take the actual phpboard and php 8.2.23 to check it yourself
Stefan
stefan-franz
Registered User
Posts: 119
Joined: Mon Mar 11, 2019 7:29 pm

Re: How to set Groups - it does't work

by andreask » Sat Sep 28, 2024 12:47 pm

I'm sorry but where exactly does it state that the ext have been tested on php 8.2.23?
Also I do not speak German.
Here is what I am working on right now...
Inactive User Manager for phpBB
Give it a try...
If you would like to buy me a bier ;) for my work I will drink it on a hot summer day and thank you!!!
andreask
Registered User
Posts: 773
Joined: Fri Feb 27, 2009 6:13 pm
Name: Andreas

Re: How to set Groups - it does't work

by stefan-franz » Sat Sep 28, 2024 12:52 pm

I installed your extension - but after in the extension options comes on a site a error, i tried to deinstall it. Deinstall error messages too
After deleting the extension via ftp this is standing in the extensions page

not translated:

The extension “andreask/ium” is invalid.
The specified file could not be found: ./../ext/andreask/ium/composer.json

No i have to rebould my board with the backup - except you have a solution to bring it tidy.
Stefan
stefan-franz
Registered User
Posts: 119
Joined: Mon Mar 11, 2019 7:29 pm

Re: How to set Groups - it does't work

by andreask » Sat Sep 28, 2024 12:57 pm

By the error message you've pasted it seams that you have deleted the files of the extension.
Upload the files and then uninstall the ext.
If you get any errors please post them here so I can see what is going on.
By deleting the ext files only will make it worst. You have to do a proper uninstall process.
Here is what I am working on right now...
Inactive User Manager for phpBB
Give it a try...
If you would like to buy me a bier ;) for my work I will drink it on a hot summer day and thank you!!!
andreask
Registered User
Posts: 773
Joined: Fri Feb 27, 2009 6:13 pm
Name: Andreas

Re: How to set Groups - it does't work

by stefan-franz » Sat Sep 28, 2024 1:12 pm

Installed again:
By click on "inactive users list"
[phpBB Debug] PHP Warning: in file [ROOT]/ext/andreask/ium/classes/ignore_user.php on line 250: Undefined variable $banned


And delete working data (in order to delete it via ftp):
[phpBB Debug] PHP Warning: in file [ROOT]/phpbb/db/tools/tools.php on line 1181: Undefined array key "i"
Zurück zur Foren-Übersicht
Allgemeiner Fehler
SQL ERROR [ mysqli ]

Unknown data type: 'DEFAULT' [4161]

SQL

ALTER TABLE `phpbb_users` ADD COLUMN `0` DEFAULT 'u' NOT NULL

BACKTRACE

FILE: (not given by php)
LINE: (not given by php)
CALL: msg_handler()

FILE: [ROOT]/phpbb/db/driver/driver.php
LINE: 1031
CALL: trigger_error()

FILE: [ROOT]/phpbb/db/driver/mysqli.php
LINE: 213
CALL: phpbb\db\driver\driver->sql_error()

FILE: [ROOT]/phpbb/db/tools/tools.php
LINE: 1011
CALL: phpbb\db\driver\mysqli->sql_query()

FILE: [ROOT]/phpbb/db/tools/tools.php
LINE: 1217
CALL: phpbb\db\tools\tools->_sql_run_sql()

FILE: [ROOT]/phpbb/db/tools/tools.php
LINE: 499
CALL: phpbb\db\tools\tools->sql_column_add()

FILE: (not given by php)
LINE: (not given by php)
CALL: phpbb\db\tools\tools->perform_schema_changes()

FILE: [ROOT]/phpbb/db/migrator.php
LINE: 715
CALL: call_user_func_array()

FILE: [ROOT]/phpbb/db/migrator.php
LINE: 662
CALL: phpbb\db\migrator->run_step()

FILE: [ROOT]/phpbb/db/migrator.php
LINE: 590
CALL: phpbb\db\migrator->process_data_step()

FILE: [ROOT]/phpbb/db/migrator.php
LINE: 518
CALL: phpbb\db\migrator->try_revert()

FILE: [ROOT]/phpbb/db/migrator.php
LINE: 489
CALL: phpbb\db\migrator->revert_do()

FILE: [ROOT]/phpbb/extension/base.php
LINE: 108
CALL: phpbb\db\migrator->revert()

FILE: [ROOT]/phpbb/extension/manager.php
LINE: 342
CALL: phpbb\extension\base->purge_step()

FILE: [ROOT]/includes/acp/acp_extensions.php
LINE: 305
CALL: phpbb\extension\manager->purge_step()

FILE: [ROOT]/includes/functions_module.php
LINE: 684
CALL: acp_extensions->main()

FILE: [ROOT]/adm/index.php
LINE: 81
CALL: p_master->load_active()
Stefan
stefan-franz
Registered User
Posts: 119
Joined: Mon Mar 11, 2019 7:29 pm

Re: How to set Groups - it does't work

by andreask » Sat Sep 28, 2024 1:17 pm

Which version of the ext you are having?
Because the error " [phpBB Debug] PHP Warning: in file [ROOT]/ext/andreask/ium/classes/ignore_user.php on line 250: Undefined variable $banned"
Was already fixed some time ago.
Here is what I am working on right now...
Inactive User Manager for phpBB
Give it a try...
If you would like to buy me a bier ;) for my work I will drink it on a hot summer day and thank you!!!
andreask
Registered User
Posts: 773
Joined: Fri Feb 27, 2009 6:13 pm
Name: Andreas

Re: How to set Groups - it does't work

by stefan-franz » Sat Sep 28, 2024 1:22 pm

1.3.7
Now i have my backup again - but i can test your exteion after you repaired it - if you want.
But no stress.
php Board 3.3.13
php 8.2.23
Stefan
stefan-franz
Registered User
Posts: 119
Joined: Mon Mar 11, 2019 7:29 pm

Re: How to set Groups - it does't work

by andreask » Sat Sep 28, 2024 1:39 pm

Where have you downloaded the ext from?
Was it github or from here?
Also could you post the content of the file "phpbb_ium/classes/ignore_user.php" only the LAST 10 lines will be enough.

Many thanks
Here is what I am working on right now...
Inactive User Manager for phpBB
Give it a try...
If you would like to buy me a bier ;) for my work I will drink it on a hot summer day and thank you!!!
andreask
Registered User
Posts: 773
Joined: Fri Feb 27, 2009 6:13 pm
Name: Andreas

Re: How to set Groups - it does't work

by stefan-franz » Sat Sep 28, 2024 1:43 pm

Downloaded from here

/**
* Getter for banned users
*
* @return array of user ids
*/
private function get_banned(): array
{
$sql = 'SELECT ban_userid from '. BANLIST_TABLE;
$result = $this->db->sql_query($sql);
while($banned_user = $this->db->sql_fetchrow($result))
{
$banned[] = (int) $banned_user['ban_userid'];
}
$this->db->sql_freeresult($result);
return $banned;
}
}
Stefan
stefan-franz
Registered User
Posts: 119
Joined: Mon Mar 11, 2019 7:29 pm

Re: How to set Groups - it does't work

by andreask » Sat Sep 28, 2024 2:06 pm

stefan-franz wrote:Installed again:
By click on "inactive users list"
[phpBB Debug] PHP Warning: in file [ROOT]/ext/andreask/ium/classes/ignore_user.php on line 250: Undefined variable $banned
This is not an error basically, just a warning. It is because you have enabled debug mode.
If you click on inactive users list do you see the page?
Or do you get something else?

As for the other error for the uninstall I'm looking for the problem.
Here is what I am working on right now...
Inactive User Manager for phpBB
Give it a try...
If you would like to buy me a bier ;) for my work I will drink it on a hot summer day and thank you!!!
andreask
Registered User
Posts: 773
Joined: Fri Feb 27, 2009 6:13 pm
Name: Andreas

Re: How to set Groups - it does't work

by stefan-franz » Sat Sep 28, 2024 2:11 pm

If you click on inactive users list do you see the page?
Noting is displayed, only the error message.

I don't have anything special - its running on a webspace at strato.de
Stefan
stefan-franz
Registered User
Posts: 119
Joined: Mon Mar 11, 2019 7:29 pm