FUDforum
Fast Uncompromising Discussions. FUDforum will get your users talking.

Home » FUDforum » FUDforum Suggestions » Private Forums?
Show: Today's Messages :: Polls :: Message Navigator
Return to the default flat view Create a new topic Submit Reply
Re: Private Forums? [message #1015 is a reply to message #1013] Tue, 19 March 2002 23:10 Go to previous messageGo to previous message
Ilia is currently offline  Ilia   Canada
Messages: 13241
Registered: January 2002
Karma:
Senior Member
Administrator
Core Developer
Our work is primary aimed at making the 1.9 release which will be the beta of the 2.0, which will support templating... 90% of our time goes toward that goal.
The other 10% is bug solving in the prior releases.

I don't imagine the user group system needed for implementing a proper permission system becoming available until about 1 month from now or so.

If you need it now, go ahead and hack away at a solution Smile

My suggestion would be to create a table forum_perms with 4 fields:

id (auto_increment)
user_id INT
forum_id INT
access ENUM('Y','N');

And then run a query on this table whenever a user tries to access a certain forum.

This I believe is a better system then what you suggest since your system would require an entry inside the fud_users table for each forum, which is BAD if you have many forums.

If you want to optimize your code, you could add "strict ENUM('Y','N') to the fud_forum table. And only perform the additional check inside forum_perms table is strict field is set to Y. This would save a query on most pages, since I suspect you may only have 1 or 2 private forums while all other forums will not be private.


FUDforum Core Developer
[Message index]
 
Read Message icon6.gif
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: multiple domain names
Next Topic: Use <th> instead of <td class="TableHeading">
Goto Forum:
  

-=] Back to Top [=-
[ Syndicate this forum (XML) ] [ RSS ]

Current Time: Sat Nov 30 07:43:19 GMT 2024

Total time taken to generate the page: 0.03522 seconds