MyBB Community Forums

Full Version: Cut off characters on portal announcements?
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
How would I truncate characters on portal announcments to be limited to the first 150 or so characters? I know it would be in portal.php but not sure exactly where I'd need to add a sql statement to only get the first 150 chracters.
You can try this plugin called PortalReadMore.
(2018-03-18, 06:58 PM)Brian. Wrote: [ -> ]You can try this plugin called PortalReadMore.

Thanks for the option. Though this just adds in a div to hid the text. I actually want to truncate it. As the template I'm working on integrating into mybb has a few set heights that require the text to be truncated.