MyBB Community Forums

Full Version: Setting the default portal character cutoff.
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
Hey there,

I'm working on a new project and it's also with mybb.
The fact that my knowledge on scripting and theming within MyBB made me decide to make a full website out of this system with the forum as a sidepart.

Portal is the homepage and it loads messages from selected forums as usual.
Only the characters are getting cutoff, and the portal doesn't show entire messages. And I simply can't figure out where to undo this. (or where to set the char limit)

Any help will be greatly appreciated!
Cheers!
Bump.
Bump 2
Maybe i can help you. I use the Short Portal Messages Plugin for this.

[Image: img_00000008q4bhv.png]
Nope didn't solve it, Thank you though!

For the ones that have interest in aiding me,
http://www.realhardstyleradio.com
Bump again.
Yet.. Another bump
I fixed it,
By editing portal.php

Line 464 (For announcements):
$announcement['message'] = substr($announcement['message'], 0, 200)."";

The 200 stands for the ammount of characters that are allowed before the announcement gets cutoff.

Line 369 (For latest threads):
$thread['subject'] = my_substr($thread['subject'], 0, 23)

The 23 stands for the ammount of characters that are allowed before the latest threads gets cutoff.