2014-02-18, 12:43 PM
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.
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.