Jamroom Logo Jamroom 5 Core
is now Open Source!
User Support Forum Archive (Read Only)
User Documentation and How To's:
Integrate Favorites into the Artist Theme page

Joined: 30 Aug 2005
Posts: 8792
Location: Ultrabubble

Posted: 02/21/07 09:42 
Not a complete "How To" as I haven't tested this much, but this seemed to be working when I tried earlier in the year. I've posted it here in response to another thread.

It lists the artist user favorites in the theme page, one list for each user. If it works, it might need refining for other account types power users etc.

In theme.cfg:

bio_faves.tpl | whichever_page.php

In bio_faves.tpl:

{jr_theme_online band_id=$BAND_ID template="faves_row.tpl" tpl_dir="theme" theme="bfm01"}

In faves_row.tpl:

{foreach from=$USERS key=key item=_usr name=user2}
{* Check to see if we are sharing favorites *}
{if $_usr.USER_SHOW_FAVS == 1}
{jr_ranking mode=favorite order=3 user_id=$_usr.USER_ID show=12 header_template=jr_ranking_user_favs_band_header.tpl row_template=jr_ranking_user_favs_band_row.tpl footer_template=jr_ranking_user_favs_band_footer.tpl tpl_dir="skin" skin="bfm01"}

Kulshi Mezian!

"Stranger from another planet, welcome to our hole. Just strap on your guitar and we'll play some rock and roll"

Ultrabubble create things.
Back to top
Jamroom Team

Joined: 08 Oct 2004
Posts: 6639
Location: Tornado Alley!

Posted: 04/06/07 13:41 
Thanks Steve Wink

Maybe this should get added to the docs?

Douglas Hackney
Jamroom Network Team Member: http://www.jamroom.net
Priority Support: http://www.jamroom.net/Support_Center
Back to top
Display posts from previous:   
User Support Forum Archive (Read Only)
User Documentation and How To's

• 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 - 2010 Talldude Networks, LLC.