MyBB Community Forums

Full Version: Force users to login error
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
Hi i wouldnt call it an error but it really stresses me out. In my forum i have enabled the force users to login setting. Now before registering i want the users to be able read the rules and the privacy policy of the site. Only problem that those are blocked by the force users to login thing. Dont get me wrong I dont want to disable the setting, because it works almost perfect but,I want to make it so that it would ignore those pages. 

The privacy polic: /misc.php?action=help&hid=13
The rules page: /misc.php?action=rules
you can add this sites manually to global.php (but on updates you have to change it again if global.php is updated)

search for: $force_bypass = array(
and take a look on the following lines

you have to set an array for misc.php like it is there for member.php
Thank you so much for helping me, i have been struggling with that for like 3 hrs
I had the same problem a few years ago with another site I wanted to be free Wink