miniBB Support Forums
|
Forums
|
Register
|
Reply
|
Search
|
Statistics
|
Manual
|
miniBB Support Forums
/
Specific
/
A few quick questions
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?
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
;-)
miniBB Support Forums
/
Specific
/ A few quick questions
↑
Top
Your Reply
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.
News & Announcements
FAQ
How To
Bugs
The Other
Official Addons and Solutions
Custom Tutorials and Modifications
Master Class
Specific
Re-cycled
Suggestions
Testimonials
qwerty
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
!