MyBB Community Forums

Full Version: [Solved] Allow guest to access a plugin page
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
Hello there,

I'm doing a small plugin allowing everybody to contact the board team. It's a simple form which post message to a particular forum, with the logged user or a fake one if the user is a guest.

My trouble is that the forum is actually configured to refuse user registration and I want my contact page to be accessible for anybody. Is there a way to override the setting just for this plugin ?

Thanks by advance.

Regards.

Sorry for my quick auto-answer, it may help some of you.

Looking at global.php, I noticed the ALLOWABLE_PAGE constant. Defining it to 1 in the plugin works great.