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 #1037 is a reply to message #799] Wed, 20 March 2002 12:34 Go to previous messageGo to previous message
Luterin is currently offline  Luterin   Sweden
Messages: 17
Registered: March 2002
Location: Malmö/Sweden
Karma:
Junior Member

Found a little bug where people could "sneak in" and read messages in a private
area,

* msg.php
* Before the line which checks if the user is registerd, add this line.
* The line is "if (!isset($usr) && $frm->anon_viewing=='N') ..........."

if ($frm->private=='Y' && !($usr->private_access=='Y')) error_dialog('This is a Private Forum', 'This is a Private Forum, only invited users may view these forums.' , '');

[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:42:34 GMT 2024

Total time taken to generate the page: 0.04722 seconds