Jamroom Logo
Newsletter
Member Spotlight
410935
TheBeat.fm
"TheBeat.fm was established on the foundation and confidence that we could provide and increase exposure to independent musicians, agents and labels. After searching for scripts, we fortunately found Jamroom. Jamroom gives the musician complete control over how they market themselves - and allows us to concentrate more on marketing ourselves as a business. Jamroom has helped enable us run successful contests, promoting musicians for events, and we are even currently planning 2 major California concerts. This couldn’t have happened as efficient as it has without the support and help of Jamroom."
Follow Jamroom on Twitter!

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

{jr_admin_menu} Index {jr_also_bought}

{jr_advert}

Overview:

{jr_advert} is used for embedding advertisements created in the Jamroom Ad Manager into a Jamroom Template.

Usage:

Place the {jr_advert} function, along with any additional parameters, into a template to embed advertisements from the Jamroom Ad Manager

Parameters:

Name Type Required Default Description
advert_id integer no n/a optional "advert_id" parameter - if given, the "advert_id" parameter will force the function to display the advertisement with the specified advert_id.
type string no n/a

optional "type" parameter - if given, the "type" parameter will limit advertisements displayed to only those with the given type.

category string no n/a optional "category" parameter - if given, the "category" parameter will limit advertisements displayed to only those with the given category.
user_id integer no n/a optional "user_id" parameter - if given, the "user_id" parameter will only select random advertisements created by the specified user_id.
quota_id integer no n/a optional "quota_id" parameter - if given, the "quota_id" parameter will only select random advertisements created by the users in the specified advertisement quota_id.
assign string no n/a optional "assign" parameter - if given, the output of the function will be assigned to a template variable of the same name.

 

Examples:

embedded {jr_advert} function call in template for random advertisement:

{jr_advert}


embedded {jr_advert} function call to display a random advertisement created by user_id 0 with the type "banner":

{jr_advert user_id="0" type="banner"}

{jr_admin_menu} page 126 of 185 {jr_also_bought}
Solutions Products Support Community Company
Social Media Platform
Social Networking Software
Musician Website Manager
Community Builder
Jamroom Core
Jamroom Addons
Jamroom Modules
Jamroom Marketplace
Support Forum
Documentation
Support Center
Contact Support
Community Forum
Member Sites
Developers
About Us
Contact Us
Privacy Policy
©2003 - 2012 Talldude Networks, LLC.