miniBB ® miniBB®
miniBB Support Forums
 | Forums | Register | Search | Statistics | Manual |
Re-cycled miniBB Support Forums / Re-cycled /   

How to remove post form unless logged in?

Author tokidoki2005
Registered
#1 | Posted: 27 Nov 2009 20:43 
How can i remove the post form and reply form completely unless the user is logged in?

ive already un-commented the $allForumsReg=TRUE;

I was thinkin about using that var detection to detect it before the entire form is printed instead of adding the "Only registered users are allowed to post here..." text to the form.

Any help will be greatly appreciated!
Mahalo!

Author jontrac
Registered
#2 | Posted: 28 Nov 2009 00:08 
Maybe input the following code to bb_plugins.php may help?

/* Hiding logging form from anonymous users */
if($forum!=0 and $user_id==0 and ($action=='vtopic' or $action=='vthread')) $roForums[]=$forum;
/* --Hiding logging form from anonymous users */


Author Paul
Lead Developer
#3 | Posted: 28 Nov 2009 03:52 

Re-cycled miniBB Support Forums / Re-cycled / How to remove post form unless logged in? Top
This topic is closed. New replies are not allowed.
 
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