Jamroom Logo Jamroom 5 Core
is now Open Source!
Follow Jamroom on Twitter!

This document applies to Jamroom 3 only!
For current Jamroom 4 Documentation, visit the main Jamroom Documentation section.

{jr_theme_favorite} Index {jr_theme_not_logged_in}

{jr_theme_logged_in}


The {jr_theme_logged_in} Template function is what is known as a "block" function.  A "block" Function can be used around a block of HTML or Template code, and only if the the viewing user is logged in (i.e. has a valid User Account in your Jamroom) will they see what is placed between the opening {jr_theme_logged_in} block tag, and the closing {/jr_theme_logged_in} tag.

Note: {jr_theme_logged_in} is a deprecated function, and should no longer be used in Jamroom 3.1 and newer.  The {jr_logged_in} template function can perform the same functions as the {jr_theme_logged_in} template function, but with better support.  This page has been left here for reference purposes only.
Note: This Template function ONLY WORKS within Jamroom Artist/Member Theme templates - it will not work in the Jamroom Skin Templates located in the jamroom/skins directory.

Parameters

Name Type Required Default Description
* any no n/a

By default, there are no "specific" parameters the {jr_theme_logged_in} block function accepts, however it can accept any parameter and use it as an additional conditional on the logged in status of the viewing user.

For example, if you want to not only make sure the viewing user was logged in, but also wanted to be sure they were part of Jamroom Quota "5", you're opening {jr_theme_logged_in} call would look like:

{jr_theme_logged_in band_quota="5"}

 

Examples:

use of {jr_theme_logged_in} block template function:

{jr_theme_logged_in}

Only Users that are logged in will be able to see this ;)

{/jr_theme_logged_in}


{jr_theme_favorite} page 104 of 185 {jr_theme_not_logged_in}
Solutions Products Support Community Company
Social Media Platform
Social Networking Software
Musician Website Manager
Community Builder
Jamroom 5
Jamroom 5 Modules
Jamroom Marketplace
Support Forum
Documentation
Support Center
Contact Support
Community Forum
Member Sites
Developers
About Us
Contact Us
Privacy Policy
©2003 - 2024 The Jamroom Network