Site in read-only mode
This site is now read-only following the release of MyBB 1.8 and the new mods site.
If you are looking for MyBB 1.8 mods please click here to visit the new mods site.
You can continue to download submissions for MyBB 1.6 and earlier here, however new submissions will only be accepted via the new mods site.
Reviews
Portal Announcement Cut Off - 1.0 by bubulang
Good job!
But I think it sets a "maximum" not a "minimum".
Written By: SaeedGh, 10th August 2010
It works, thanks. The only problem is that it displays every text at the beginning of the thread, and this includes code.
Written By: Torrecus, 25th February 2011
Works 100% on 1.6.4, thank you.
Written By: viper357, 19th November 2011
In order to remove all mycodes from portal announcements:
after -> "global $mybb, $announcement;"
add -> "$announcement['message'] = preg_replace('#\[(.*?)\]#', '',
$announcement['message']);"
in order to remove wraps to get a more tidy and formatted text:
add also -> "$announcement['message'] = preg_replace('#\\n#', ' ',
$announcement['message']);"
All code without ""
Written By: grimi, 11th January 2013