Home N-13 News Forums Help Search
RegisterForgot password?
How to add image to post necklacesdiscou
Known bugs - 4.0.3 necklacesdiscou

Latest N-13 News 4.0.3

What is N-13 News?
Where can I get help?
Known bugs

Forums Suggestions Desired Extra Features
Andyb
Posted on 16 May 2008, 22:50:52

Access: Member
Total Posts: 18
Joined: 2008-05-16

HI,

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.

Sorry for the long explanations.

AndyB
#183
Chris
Posted on 16 May 2008, 23:01:23

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

Code:
<div style="overflow: hidden; width: 400px; height: 400px">Your content here</div>

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.
#184
Last edited by Chris at 2008-05-16 23:01:53 Reason:
Andyb
Posted on 16 May 2008, 23:08:28

Access: Member
Total Posts: 18
Joined: 2008-05-16

Chris,

You are a genius mate,

can't wait for the next version,

Thanks for the quick reply,

Keep up the good work,

Andy B.
#185
Network-13.com © 2013