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

forum for registered users only (the $allForumsReg option and its variations)

Page  Page 4 of 6:  « Previous  1  2  3  4  5  6  Next »  
Author Paul
Lead Developer
#46 | Posted: 8 Jun 2006 09:17 
it opens up a whole new wave of ideas and possabilities for addons

It always was opened, in general :-) I understand now, that we have not documented in full all features of miniBB for coders, so maybe these small snippets will give an idea how to work with them.

Author shedrock
#47 | Posted: 10 Jun 2006 12:39 
This is awesome!. It works like a charm.

Author Rajeev
#48 | Posted: 26 Jul 2006 12:02 
Hello There

I have recently done $allForumsReg=TRUE but still any one can post anonymously. Could you please help.

Author Paul
Lead Developer
#49 | Posted: 26 Jul 2006 12:16 
Be sure you have uncommented this option.




Author Nejib1
#50 | Posted: 30 Jul 2006 11:53 

Your tips works great - just some partiicular forums are out of sight from unregistered users.

Author Paul
Lead Developer
#51 | Posted: 31 Jul 2006 08:18 
Sorry, I didn't understand your latest reply. Was my advice helpful? Are you having more troubles with something?..

Author Sounds
#52 | Posted: 2 Aug 2006 04:19 

Would i be right in saying,
If i'm using //$allForumsReg=TRUE;
I just take off the two // in front of it,
And this causes unregistered users trying to post,
to get a popup window saying "you are not allowed to preform this action"
So basicaly everybody has to be a registered member to post?

If i'm right about this, where would i change the text in that popup window
To let the users know they have to become a member to post etc..

Am i on the right track with this?

Later thanks

Author Team
#53 | Posted: 2 Aug 2006 07:58 
I think, this text is already built-in by default. When you typed your message on our board, you should see sentense "You can post anonymously, entering just a nickname without password, if username is not taken by another member; or leaving both fields empty." under the login fields. If it would be disallowed for anonymous to post, you should see a message "Only registered users can post here. Enter your login/password correctly before posting a message, or register first."

As Ivan wrote, these sentenses may be changed in language pack ($l_anonAllowed and $l_anonDisallowed variables).

We think it's enough for users to know what they should do; anyway, if somebody posts anonymously, he will not lose his posting anyway, because the next screen will report a warning and display his message. This works as described in newest version of miniBB, of course, and we have no plans to change something regarding that.

Author raita
#54 | Posted: 20 Aug 2006 21:29 
as said, works like a charm ;)

Author Ivan
Advanced Member
#55 | Posted: 23 Aug 2006 04:55 | Edited by: Ivan 
Hi Paul!

How can I totally hide certain forum and its topics from the front page and in the same time all registered and loggen in users to view it and to write in it? I somehow cannot see the solution...

Author Paul
Lead Developer
#56 | Posted: 23 Aug 2006 08:13 
The solution would be quite simple... Define $clForums and $clForumsUsers arrays in bb_specials.php as if it was the closed forum with no users. For example:

$clForums=array(FORUM_ID1, FORUM_ID2... );

then at the end of the language pack, paste the following:

if($user_id!=0) {

I've checked it and it should work...

Author Ivan
Advanced Member
#57 | Posted: 23 Aug 2006 09:03 
Thank you! Simple, but very useful! :)

Greetings :)

Author mermer
#58 | Posted: 8 Feb 2008 01:41 
sir i also want to know how to make some forums only viewable and edittable only by registered users...
how sir pls...
i already have time limit in our organization...
i must finish it in 2 days...

thnk you very much si

Author Paul
Lead Developer
#59 | Posted: 8 Feb 2008 03:42 | Edited by: Paul 
There is some code to paste at the end of the language pack (that works if you have specified $regUsrForums array of registered-users-only forums - for hiding all forums from guests locate the hack posted above in this thread):

/* Hack - hiding registered users only forums from guests */
foreach($regUsrForums as $key){
if(!in_array($key, $clForums)) { $clForums[]=$key; $clForumsUsers[$key]=array(); }
/* --Hack - hiding registered users only forums from guests */

Btw... all urgent tasks are subject of our paid support only. How your organization could be related to our own terms?..

Author mermer
#60 | Posted: 9 Feb 2008 03:46 
thnk you very much sir....!!!!

Page  Page 4 of 6:  « Previous  1  2  3  4  5  6  Next » 
FAQ miniBB Support Forums / FAQ / forum for registered users only (the $allForumsReg option and its variations) Top

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

 Short link for this topic:

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  Contacts
Get the Captcha add-on: protect your miniBB-forums from the automated spam and flood.
Captcha Addon for miniBB