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

Home » FUDforum Development » Plugins and Code Hacks » Private Forums Hack
Show: Today's Messages :: Polls :: Message Navigator
Return to the default flat view Create a new topic Submit Reply
Re: Private Forums Hack [message #1038 is a reply to message #1028] 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
Read Message
Read Message
Read Message
Previous Topic: scalable fonts -- header_1.inc hack
Next Topic: Extra FUDCode tags
Goto Forum:
  

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

Current Time: Sat Nov 30 04:35:22 GMT 2024

Total time taken to generate the page: 0.03862 seconds