Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Solved: 8 Years, 8 Months, 3 Weeks ago Portal Truncate
#1
Solved: 8 Years, 8 Months, 3 Weeks ago
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: http://speedcap.net/sharing/files/96/47/...674227.png
However, when you truncate the announcement it should show like this: http://speedcap.net/sharing/files/90/21/...082353.png

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?

Thanks,
- Harry.



Edit: I managed to achieve this with CSS, I will post a tutorial soon.
#2
Solved: 8 Years, 8 Months, 3 Weeks ago
There's also a plugin for this.

http://mods.mybb.com/view/portal-announcement-cut-off


Forum Jump:


Users browsing this thread: 1 Guest(s)