MyBB.de Forum

Normale Version: Post Activity Plugin
Du siehst gerade eine vereinfachte Darstellung unserer Inhalte. Normale Ansicht mit richtiger Formatierung.
Eine neue Erweiterung wurde veröffentlicht: Post Activity Plugin

Zitat:Allow specified user groups access to the Post Activity page to see how many posts a user has made in each forum.

Instructions:
1. Upload file UPLOAD.zip to the root of the forum.
2. Once uploaded, extract in place.
3. Activate the plugin in the ACP: ACP -> Configuration -> Post Activity
4. Specify usergroups allowed to view postactivity page: ACP -> Configuration -> Settings -> Post Activity and enter the GIDs separated by commas.

Usage:
/postactivity.php?uid=


This plugin allows certain user groups to see how many posts a user made in a specific forum. The /postactivity.php page (which is to be uploaded at the root of the forums) shows the number of posts made in a descending order.
Eine neue Version wurde veröffentlicht: Post Activity Plugin 2.0.1
Lade ich das PlugIn hoch, erhalte ich im ACP > PlugIns die Fehlermeldung der Zeile 91 welche beinhaltet:
PHP-Code:
?>
wenn ich dies entferne, kann ich das PlugIn aktivieren.

Will ich Einstellungen durchführen, erhalte ich den Fehlercode:
Zitat:Warning [2] implode(): Invalid arguments passed - Line: 1631 - File: admin/modules/config/settings.php PHP 7.2.24-nmm1 (Linux)
File > Line > Function
[PHP] >  > errorHandler->error
/admin/modules/config/settings.php > 1631 > implode
/admin/index.php > 821 > require
Was ist zu tun?
(29.03.2020, 16:03)Gerti schrieb: [ -> ]Was ist zu tun?

Das Problem entsteht, da die /inc/plugins/postactivity.php nach dem Endtag ?> Spaces hat.
Belasse den End-Tag in der Datei, aber entferne alle Leerzeichen unmittelbar danach.
Das hat geklappt.

Das Selbige musste auch in der Datei ./postactivity.php ausdgeführt werden.

Danke für die Hilfe.
Damit so etwas nicht passiert, wird ja auch empfohlen, in reinen PHP Dateien, den schließenden PHP-Tag ?> wegzulassen.
(01.04.2020, 19:40)doylecc schrieb: [ -> ]Damit so etwas nicht passiert..........

Ob das der Plugin-Entwickler auch ließt?! Wink