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

Creating Custom Form Fields Index Creating Custom RSS Feeds for almost anything in your Jamroom

Creating Custom Login Notes

When you log into your Jamroom, the first page a user (or admin) sees is the "Login Note".  The Login Note is a template that can be modified to suit your needs, so you can display almost anything you want to your users upon log in.

There are 2 different locations that a login note can be found:

  • Active Skin Control Panel Directory - the first place that Jamroom looks is in the Active Skin Control Panel directory.  For example - if your Active Skin is "Nova", then the first place Jamroom looks is jamroom/skins/Nova/cp.
  • Default login template directory - the second place Jamroom looks is in the templates/login directory.  Note that if you are using the Classic Control Panel this is the only place Jamroom looks.

The first Login note template that Jamroom looks for is:

login_note_#quota_id#.tpl

Where #quota_id# is the quota of the user logging in.  The Jamroom Master Admin is quota_id 0, so when logging in as the master admin, Jamroom will look for login_note_0.tpl.

If Jamroom does not finf a login note for the Quota, it will load the "default" login note:

login_note_default.tpl

If this template is not found, a login note is not shown.

Note that the Login Note templates are Smarty templates, so they are very configurable. The following variables are assigned for your use in the templates as well:

Variable Description
{$USER_ID} The Jamroom User_ID Number of the user - i.e. “25”
{$USER_BAND_ID} The Artist_ID the User is associated with (Note that this ID number will change to reflect the current artist id number that user is associated to if the user has access to more than 1 artist account)
{$USER_GROUP_ID} This (typically) is the same as the {$USER_BAND_ID} for users who are only associated with 1 artist account, otherwise it will be a semi-colon separated lists of Artist_ID’s the user has access to.
{$USER_CREATED} This is the time the User Account was created, in Epoch Time (use the Smarty date_format modifier to format to desired date format)
{$USER_UPDATED} This is the time the User Account was last updated, in Epoch Time (use the Smarty date_format modifier to format to desired date format)
{$USER_FULLNAME} This is the User’s Fullname, as entered on the “Your Profile” section.
{$USER_NICKNAME} This is the User’s login name that they use to log in to Jamroom with.
{$USER_EMAILADR} This is the User’s Email Address as entered in the “Your Profile” section.
{$USER_HOMEPAGE} This is the User’s Homepage as entered in the “Your Profile” section.
{$USER_IMNUMBER} This is the User’s Instant Messenger ID/Number as entered in the “Your Profile” section.
{$USER_LANGUAGE} This is the LANGUAGE file that the user currently has selected as their interface language. note this will be the same NAME as the filename for the language file - i.e. “english.lang.php”
{$USER_STYLE} This is the users currently selected Admin Skin - i.e. “Jamroom_Blue.css”
{$SYSTEM_NAME} The name of the Jamroom System (as set in the Jamroom Config)
{$DEFAULT_LANGUAGE} the default language for the system (as set in the Jamroom Config) - i.e. “english.lang.php”
{$BAND_ID} the numeric Jamroom ID of the artist (i.e. “5”)
{$BAND_QUOTA} the numerical ID of the Jamroom Quota the artist account belongs to
{$BAND_TIME} date artist was created (EPOCH) (i.e. 1059951557)
{$BAND_NAME} Name of the artist
{$BAND_URL} The alternate Artist URL as entered in the Modify Artist section.
{$BAND_STORY} The artists background information
{$BAND_MEMBERS} The members that belong to the Artist, as entered in the Modify Artist section.
{$BAND_LOCATION} The artists location (as entered in Modify Artist)
{$BAND_WEBSITE} The artists website (as entered in Modify Artist)
{$BAND_INFLUENCE} the Artist’s Influences (as entered in Modify Artist)
{$BAND_SOUNDLIKE} What the Artist Sounds Like (as entered in Modify Artist)
{$TOTAL_STREAM} The total number of song Streams for the Artist.
{$TOTAL_DOWNLOAD} The total number of Downloads for the Artist.
{$TOTAL_COUNT} The total number of song Streams + Downloads for the Artist.

1) you can find out the Jamroom Quota ID by clicking on “Modify Quota” in the Admin Menu and selecting the quota you want to see the ID for

Creating Custom Form Fields page 45 of 171 Creating Custom RSS Feeds for almost anything in your Jamroom
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