Main Stories
Slash Boxes

Slash Open Source Project

Slashcode Log In

Log In

[ Create a new account ]

Restricting New Authors To A New Section

posted by Krow on 10:29 PM April 14th, 2001   Printer-friendly   Email story
Anonymous Coward writes "Was this working in slashcode 1.0.7?
I created a "test"author that was restricted to one section.
When I went to test this new user, a small bug: The user is shown all stories when they first log-in. When they hit "stories" on the menu, then the screening works properly.
Maybe this code is missing from the login section of the code, I tried to fix it.. but can't figure it out.
# Some users can only post to a fixed section
if ($I{U}{asection}) {
$I{F}{section} = $I{U}{asection};
$I{F}{displaystatus} = 1;"
This discussion has been archived. No new comments can be posted.
The Fine Print: The following comments are owned by whoever posted them. We are not responsible for them in any way.
More | Login
Loading... please wait.