miniBB Support Forums | 15 years on The Web
miniBB ®


 | 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.
 Share Topic's Link

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

You are welcome to post anonymously, by entering a nickname with no password (if the similar Username has not been taken yet), or by leaving both fields empty. If you have a forums account, you can also sign in from this page without posting a message, or sign in and post at once.

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  Contact Us
Check out the Captcha add-on: protect your miniBB-forums from the automated spam and flood.