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.
Can't register when have to be registered/logged in to view boards
Collapse
X
-
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.
JohnJohn Percival
Artificial intelligence usually beats real stupidity ;)
widgetinstance 262 (Related Topics) skipped due to lack of content & hide_module_if_empty option.
Comment