Bug In Private Forums

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • bigsoccer tech
    Senior Member
    • Apr 2000
    • 573
    • 3.6.x

    Bug In Private Forums

    When a forum is made private, users cannot access teh FORUM, but if they know the THREAD ID, they can read the post.

    The forum threads need to be noted as private and authenticated..this is a amjor issue for sites that use private forums for management.
    The BIG Network: Soccer - Aussie Rules - Cricket - Travel - Lacrosse - Music
  • John
    Senior Member
    • Apr 2000
    • 4042

    #2
    This has been noted previously. The fix is to add this code at about line 70 of showthread.php:

    [code]
    if ($threadinfo[visible]==0) {
    $idname="thread";
    eval("echo standarderror(\$bbtitle,\"".gettemplate("error_invalidid")."\");");
    }

    $getperms=getpermissions($bbuserid,$bbusergroupid,$forumid);
    if ($getperms[canview]==0) {
    eval("echo standarderror(\$bbtitle,\"".gettemplate("error_nopermission")."\");");
    exit;
    }

    [/code]
    John Percival

    Artificial intelligence usually beats real stupidity ;)

    Comment

    • werehere
      Senior Member
      • Apr 2000
      • 1827

      #3
      Yes we noted this one before, and the code fix seems to work perfectly:)
      We're Here Forums!
      [email protected]

      Comment

      • bigsoccer tech
        Senior Member
        • Apr 2000
        • 573
        • 3.6.x

        #4
        thanks that fixed it
        The BIG Network: Soccer - Aussie Rules - Cricket - Travel - Lacrosse - Music

        Comment

        widgetinstance 262 (Related Topics) skipped due to lack of content & hide_module_if_empty option.
        Working...
        😀
        😂
        🥰
        😘
        🤢
        😎
        😞
        😡
        👍
        👎