miniBB ® miniBB®
miniBB Support Forums
 | Forums | Register | Reply | Search | Statistics | Manual |
Specific miniBB Support Forums / Specific /   

Use user-login-details in Protect whole forum.

Author Guest
#1 | Posted: 23 Jan 2012 01:19 
Hi guys!

Where do i find the function handling the $protectWholeForum=1; and $protectWholeForumPwd=''; ?

I need to change it so it doesn't check up agains the variables hardcoded into the source but dynamically by looking at the userdatabase and see..

If the user exist .. check password.. if they match up.. give access to forum (rememeber to login the user too).

Thank you!

Author Paul
Lead Developer
#2 | Posted: 23 Jan 2012 12:14 | Edited by: Paul 
Here's how to find where to edit this and that.
Look up for the variable in miniBB files, and you will find the only one proper file and place to edit.

But in general, I didn't get your purpose. It seems like you are trying go more difficult and complicated way, instead of using a pretty simple solution miniBB obviously may have already. For example, you can hide all forums before a user is logged in.

Specific miniBB Support Forums / Specific / Use user-login-details in Protect whole forum. Top

Your Reply Click this icon to move up to the quoted message

 Short link for this topic:

 ?
Only registered users are allowed to post here. Please, enter your username/password details upon posting a message, or register first.


Before posting, make sure your message is compliant with our forum posting rules. If not, it may be locked or deleted with no explanation.
 
miniBB Support Forums Powered by Forum Software miniBB ® Features  Requirements  Demo  Download  Showcase  Gallery of Arts
Compiler  Premium Extensions  Premium Support  License  Contacts
Install the Captcha add-on: protect your miniBB-forums from the automated spam and flood.
Captcha Addon for miniBB