miniBB ® 

miniBB

®
Support Forums
  
 | Start | Register | Search | Statistics | File Bank | 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 
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


  ?
Post as a Guest, leaving the Password field blank. You could also enter a Guest name, if it's not taken by a member yet. Sign-in and post at once, or just sign-in, bypassing the message's text.


Before posting, make sure your message is compliant with forum rules; otherwise it could be locked or removed with no explanation.

 

 
miniBB Support Forums Powered by Forum Software miniBB ® Home  Features  Requirements  Demo  Download  Showcase  Gallery of Arts
Compiler  Premium Extensions  Premium Support  License  Contact Us
Install the Captcha add-on: protect your miniBB-forums from the automated spam and flood.


  ⇑