Firstly I would like to say what a fantastic news system you have developed.
A couple of things I would like to know if it is possible to add/change ?
1. Limit number of lines (or letters) for a given category,
I would like to display news items relating to a given category in a <div> on a certain page and have noticed that without a limit the text can overflow the <div> if too much text is added to each news item.
Is there a way to prevent this, whilst allowing, say 1 to 5 ,news items but not allowing the total lines to exceed the <div> size.
2. Only allow a user to add news to categories that have been set up in their user by the administrator ? (this is halfway there when they can only edit their own posts)
Could this be extended to only allow posting to categories OK'd for their user by the administrator.
Access: Admin
Total Posts: 1395
Joined: 2006-05-19
Hi Andyb,
When adding your content to a div element. if the content is going to exceed the total height/width of that container what you can do to stop it overflowing or breaking the container is use the css overflow style, for example
As long as you set the width and the height of the element the content will simply not be shown if it exceeds the boundries of div.
As for allowing users to access to certain categories, I'm only few days away from releasing the next version 3.1 of the script. so I'll try add that before I finish it. as long as your using 3.0 you'll be able to upgrade to the latest version without loosing any data.