News:

Bored?  Looking to kill some time?  Want to chat with other SMF users?  Join us in IRC chat or Discord

Main Menu

Topic Participants

Started by live627, September 03, 2023, 12:35:58 AM

Previous topic - Next topic

live627

Link to the mod

Topic Participants
A modification for both SMF 2.0 and SMF 2.1 that adds a small widget/block below topics that shows topic participants.

Settings
One setting is added in the general modification settings area that controls how many members to display. Zero (0) means no limit.

Permissions
One permission is added to the board permissions area under the "Topics" subsection that dictates which member groups can see the block.

Doug Heffernan

Very nice mod. Thanks for sharing it.

Steve

#2
Getting an error whenever I clear the error log and then leave the ACP.

84eccef0987fcb202e63b750ad88d731
https://****************/index.php?action=admin;area=logs;sa=errorlog;desc
/home/steve/public_html/forums/Themes/default/GenericMenu.template.php (Line 282)

Backtrace:

Type of error
Undefined_vars
Error message
2: Undefined array key "label"
File
/home/steve/public_html/forums/Themes/default/GenericMenu.template.php
Line
282
URL of page causing the error
https://**************/index.php?action=admin;area=logs;sa=errorlog;desc
Backtrace information

    #0: smf_error_handler()
    Called from /home/steve/public_html/forums/Themes/default/GenericMenu.template.php on line 282
    #1: template_generic_menu_tabs()
    Called from /home/steve/public_html/forums/Themes/default/GenericMenu.template.php on line 58
    #2: template_generic_menu_dropdown_above()
    Called from /home/steve/public_html/forums/Sources/Load.php on line 2783
    #3: loadSubTemplate()
    Called from /home/steve/public_html/forums/Sources/Subs.php on line 4580
    #4: template_header()
    Called from /home/steve/public_html/forums/Sources/Subs.php on line 4181
    #5: obExit()
    Called from /home/steve/public_html/forums/index.php on line 187
My pet rock is not feeling well. I think it's stoned.


Steve

#4
Why would the error start after installing this mod and continue after uninstalling it then @live627? I haven't had any errors until now.
My pet rock is not feeling well. I think it's stoned.

live627

idk; this mod does not add or remove any menu items.

Steve

#6
My apologies @live627, it isn't this mod alone causing the problem, but a conflict with either Stop Forum Spam or Spoof Detector.

I'll do more testing a little later to see which it is.


Edit: I had enough time to check which was causing the problem and it was Stop Forum Spam. With it and this mod installed, I get the error above. Uninstalling Stop Forum Spam makes the error go away.
My pet rock is not feeling well. I think it's stoned.

ZabiinoOo

much errors have this mod:
PHP Parse error:  syntax error, unexpected 'array' (T_ARRAY), expecting variable (T_VARIABLE) in /Sources/StopForumSpam.php on line 16

line 16:
private array $changedSettings = [];

live627


Doug Heffernan

It looks like @ZabiinoOo posted in the wrong mod's support topic.

ZabiinoOo


Advertisement: