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.

Jamroom Ranking System - Comment Mode Index Jamroom Ranking System - Event Mode

Ranking Orders

  1. Order by Content Title (alphabetically) (default)
  2. Order by Content Title (reverse alphabetically)
  3. Order by Content Creation Date (newest to oldest)
  4. Order by Content Creation Date (oldest to newest)
  5. Order by Content Updated Date (newest to oldest)
  6. Order by Content Updated Date (oldest to newest)
  7. Order by Content Author Username (alphabetically)
  8. Order by Content Author Username (reverse alphabetically)
  9. Order by Content Size (bytes) (highest to lowest)
  10. Order by Content Size (bytes) (lowest to highest)
  11. Order by Content Word Count (highest to lowest)
  12. Order by Content Word Count (lowest to highest)
  13. Order Randomly
  14. Order by Content Category (this is a special order - only 1 entry for each category found will be returned)

 

Additional Supported Parameters

In addition to the Common Function Parameters defined in the Jamroom Ranking System Guide, the "content" mode also supports the following additional parameters:

PARAMETER TYPE DEFAULT DESCRIPTION
content_id number n/a The "content_id" parameter can be passed in so that only the given content_id entry will be shown.
category  string n/a The "category" parameter will make it so only Content entries that are within the given category will be shown.
user_id  number n/a The "user_id" parameter will make it so only Content entries that were written by the given user_id will be shown.
author string n/a The "author" parameter allows you to make it so only Content entries that were written by the given author (user_nickname) will be shown.

 

Available search_area values

SEARCH_AREA DESCRIPTION
content_title "content_title" will search the Content Title (content_title database column).
content_category "content_category" will search the Content Category (content_category database column).
content_body "content_body" will search the main Content Body (content_body database column).
content_all_fields content_all_fields will search the content_title, content_category and content_body areas.
content_???? Any Content Custom Form fields are also searchable - consult the Custom Form Fields section of your Jamroom Config for details on the search_area name to use.

 

Template Variables for use in the row_template

VARIABLE DESCRIPTION
{$CONTENT_RANK} The numerical position on the output result set (starting at 1).
{$CONTENT_ID} Jamroom Content ID for the entry
{$CONTENT_TITLE} The title of the Content Entry
{$CONTENT_BODY} The "body" (main content) of the Content entry.
{$CONTENT_CREATED} The 11 digit epoch time the Content Entry was created.
{$CONTENT_UPDATED} The 11 digit epoch time the Content was last updated.
{$CONTENT_NAME} The Content "name" that can be used via the index.php script to show the content (i.e. the URL name)
{$CONTENT_CATEGORY} The Category the Content entry belongs to.
{$CONTENT_SIZE} The size (in bytes) of the Content Body.
{$CONTENT_WORDS} The number of words in the Content Body.
{$CONTENT_PUBLISH_DATE} The 11 digit epoch time of the date the Content was scheduled for publishing.  Will be empty or set to 0 (zero) if no publication date was entered when it was created or updated.
{$CONTENT_REMOVAL_DATE} The 11 digit epoch time of the date the Content was scheduled for removal (i.e. no longer be shown).  Will be empty or set to 0 (zero) if no removal date was entered when it was created or updated.
{$USER_ID} Jamroom User ID of Content entry author.
{$USER_NICKNAME} Login name of Content entry author.
{$USER_EMAILADR} Email Address of Content entry author.
{$USER_SHOW_EMAIL} Will be set to "0" of the User has chosen to NOT show their email address via the setting the in their Profile.
{$USER_FULLNAME} "Full Name" for Content entry author as entered in their Profile
{$USER_CREATED} 11 digit Epoch time the Content entry author's User Account was created.
{$USER_UPDATED} 11 digit Epoch time the Conetnt entry author's User Account was last updated.
{$USER_LASTLOGIN} 11 digit Epoch time the Content entry author last logged in.

 


Jamroom Ranking System - Comment Mode page 63 of 185 Jamroom Ranking System - Event Mode
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