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

A few quick questions

Author Dominick
Guest
#1 | Posted: 30 Aug 2010 15:26 
Hi,

- My forum is integrated into my website, and therefore I want to display extra links when users are logged in, but what is the code to determine if users are logged in?

- And I want to automatically check the notification checkbox, but in the template it's defined as one variable, in which php file is the code of the checkbox?

Author Paul
Lead Developer
#2 | Posted: 31 Aug 2010 01:16 
Dominick:
what is the code to determine if users are logged in

The code/condition you may put in bb_plugins is if($user_id>0) { ... }

Dominick:
in which php file is the code of the checkbox

Here is How to find where to edit this and that ;-)

Specific miniBB Support Forums / Specific / A few quick questions Top

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

 Short link for this topic:

 ?
Only registered users are allowed to post here. Please, enter your username/password details upon posting a message, or register first.


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