miniBB ® 

miniBB

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

How to remove post form unless logged in?

 
Author tokidoki2005
Partaker
#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
Partaker
#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?
 Share Topic's Link

This topic is closed. New replies are not allowed.

 

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


  ⇑