dopetalk
Technology => SMF Forum Code Modifications => Topic started by: Chip on August 10, 2016, 04:39:35 AM
-
http://custom.simplemachines.org/mods/index.php?mod=1295
does what it says ... only documented recently
-
settings via: Admin > Configuration
This Shoutbox is now un-disabled and the SP Shoutbox was removed from the Forum page.
Click on "Forum" to see it.
-
So, it's like the shout box but not public? Only members can see it?
-
So, it's like the shout box but not public? Only members can see it?
Definitely for members only.
-
new version (1.1) installed BUT chat is lost but save in https://forum.drugs-and-users.org/index.php/topic,4145
2 simple manual code changes to ./Sources/ManagePermissions.php
-
After moving to PHP 7.1 on SMF 2.0.18, this is a bug fix in ./Sources/Subs-Shoutbox.php for:
2: strtolower() expects parameter 1 to be string, array given
/var/www/html/Sources/Subs-Shoutbox.php - Line: 33
find:
// Verify
if (!in_array(strtolower($action), $actions) && !in_array('everywhere', $actions))
return $action;
add before:
if (is_array($action)) return $action;
-
PHP 7.0 and above bug:
https://www.simplemachines.org/community/index.php?topic=269091.msg3990447#msg3990447
the original source is in ./Sources/Shoutbox.php-orig
I edited ./Sources/Shoutbox.php and then just commented out the function by adding "//" to the beginning of lines 310-318.
I don't care if the word is too long (that's what the code does) as I want it to accept any length.