MyBB Community Forums
Portal Truncate - Printable Version

+- MyBB Community Forums (
+-- Forum: Community Archive (
+--- Forum: Archived Forums (
+---- Forum: Archived Development and Support (
+----- Forum: MyBB 1.6 (
+------ Forum: 1.6 General Support (
+------ Thread: Portal Truncate (/thread-151809.html)

Portal Truncate - MyBB Monster - 2014-03-10

Hey guys,

I am wanting to truncate my portal announcements. If you don't know what truncate is here is an example, currently my announcements show as:
However, when you truncate the announcement it should show like this:

I have tried several methods, php truncate(I'm bad at php so I didn't get far with this) and also jQuery/JavaScript. I got one working, but it only affected the first announcement. Then once I set it to show only one announcement is didn't work.

Can anyone tell me how I would get this to work?

- Harry.

Edit: I managed to achieve this with CSS, I will post a tutorial soon.

RE: Portal Truncate - cfootball1 - 2014-03-11

There's also a plugin for this.