SimplePortal
Support => English Support => Topic started by: kal on June 03, 2014, 10:40:38 AM
-
is there a place to turn these on/off?
-
Not as far as I know.
-
actually I have, and I haven't seen any actual documentation for the shoutbox blocks. :/
-
Sorry. I did get rather behind in writing that documentation.
Actually, Hal9000 did most of it. I just reformatted it a bit, and brought some of it up to date after some upgrades.
I have to admit I just have not worked with settings for the shoutbox, and especially not the whisper feature.
-
No worries. You guys are all volunteers after all, right? :)
Would Hal9000 also be the right person to ask about including the shoutbox blocks in Wordpress? I'm actually phasing out SMF for the most part, but I really appreciate the SP stuff, and would like to keep it active.
-
There isn't an option to disable the whispers. However, it's possible with a little code edit.
Sources/Subs-Portal.php
if (preg_match('~^@(.+?): ~' . ($context['utf8'] ? 'u' : ''), $shout['text'], $target) && $smcFunc['strtolower']($target[1]) !== $smcFunc['strtolower']($user_info['name']) && $shout['author']['id'] != $user_info['id'] && !$user_info['is_admin'])
{
unset($shouts[$shout['id']]);
continue;
}