miniBB ®  
miniBB Support Forums
 | Forums | Register | Reply | Search | Statistics | Manual | miniBB Mobile
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
CEO
#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:

 ?
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
  Attract your miniBB-community, letting members
publish their own photos with the Photo album add-on!
Photo album addon for miniBB