dopetalk
Technology => SMF Forum Code Modifications => Topic started by: Chip on January 04, 2016, 09:58:59 PM
-
see http://simpleportal.net/index.php?topic=10710.0 (http://simpleportal.net/index.php?topic=10710.0)
edit /var/www/html/Sources/PortalAdminShoutbox.php
edit /var/www/html/Sources/PortalBlocks.php
Just add your bbc to the array. Make sure there is an image for it in every theme's images / bbc folder.
Also the image name(s) must be the bbc name .gif
then Admin > SimplPortal > Shoutbox List > select Shoutbox > mark in "Allowed BBC"
-
the latest list:
$context['allowed_bbc'] = array(
'b' => $txt['bold'],
'i' => $txt['italic'],
'u' => $txt['underline'],
's' => $txt['strike'],
'pre' => $txt['preformatted'],
'flash' => $txt['flash'],
'img' => $txt['image'],
'url' => $txt['hyperlink'],
'email' => $txt['insert_email'],
'ftp' => $txt['ftp'],
'glow' => $txt['glow'],
'shadow' => $txt['shadow'],
'sup' => $txt['superscript'],
'sub' => $txt['subscript'],
'tt' => $txt['teletype'],
'code' => $txt['bbc_code'],
'quote' => $txt['bbc_quote'],
'size' => $txt['font_size'],
'font' => $txt['font_face'],
'color' => $txt['change_color'],
'highlight' => $txt['highlight'],
'bouncy' => $txt['bouncing_object'],
'move' => $txt['move'],
'info' => $txt['info'],
'embed' => $txt['embed'],
'blink' => $txt['blink'],
'test' => $txt['test'],
'spoiler' => $txt['spoiler'],
'nobbc' => $txt['nobbc'],
'member' => $txt['member'],
'bg' => $txt['bg'],
'html' => $txt['html'],
'me' => 'me',
);
-
added "wiki"