Can't register when have to be registered/logged in to view boards

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • Susan
    Senior Member
    • May 2000
    • 633

    Can't register when have to be registered/logged in to view boards

    We decided to take our boards to a new level...you have to be registered and logged in in order to view them. However, when you make it so that those unregistered/not logged in can't read the boards, if they click the "register" button, they can't register either...it takes them right back to the "you aren't registered/logged in" page. Is there a fix for this? I've looked and not found anything on the subject.
  • John
    Senior Member
    • Apr 2000
    • 4042

    #2
    Yes - I can see that creating somewhat of a problem. To fix this, you need to make a few changes to the code. Delete all occurences of this code from the first 200 lines of member.php (there should be 3 in total):

    [code]
    $permissions=getpermissions($bbuserid,$bbusergroupid);
    if ($permissions[canview]!=1) {
    eval("echo standarderror(\$bbtitle,\"".gettemplate("error_nopermission")."\");");
    exit;
    }
    [/code]

    This will allow unregistered users to register.

    This fix will be included in the next version.

    John
    John Percival

    Artificial intelligence usually beats real stupidity ;)

    Comment

    • Susan
      Senior Member
      • May 2000
      • 633

      #3
      Thanks for the fix, John! Is the next version coming out soon? I'd rather not hack into the script (I had enough of that with UBB) if I don't have to.

      Susan

      Comment

      • John
        Senior Member
        • Apr 2000
        • 4042

        #4
        Some time in the next week, I hope.

        John
        John Percival

        Artificial intelligence usually beats real stupidity ;)

        Comment

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