Jamroom Logo Jamroom 5 Core
is now Open Source!
User Support Forum Archive (Read Only)
N8Flex:
Adding Alerts to CP for Artists
adamhughes91



Joined: 26 Jan 2010
Posts: 163

Posted: 12/29/12 12:43 
Similar to how the Alerts are in the CP, No User Image, Favorites Sharing Off and such, I wanted to add a couple alerts for artists if they haven't uploaded any songs or videos.

I tried this;

{if strlen($_USER.band_song_count) < 1 && $_USER.band_quota > 0} <img src="skins/Maestro/cp/images/fail.png" alt="-"> &nbsp; <a href="admin.php?menu=&s=section_song">No songs!</a><br />
{/if}

and also this

{if strlen($_USER.band_song_count) === 0 && $_USER.band_quota > 0} <img src="skins/Maestro/cp/images/fail.png" alt="-"> &nbsp; <a href="admin.php?menu=&s=section_song">No songs!</a><br />
{/if}

but I have had no luck. Could someone help me out with this?

Back to top
Natedogg265
N8Flash Designs


Joined: 28 Jan 2007
Posts: 5866
Location: St. Louis, Missouri

Posted: 12/30/12 00:20 
{if $_USER.band_song_count == 0 && $_USER.band_quota > 0}


_________________
Modules, Skins, Flash Players and more.
Exclusively for Jamroom


Back to top
adamhughes91



Joined: 26 Jan 2010
Posts: 163

Posted: 12/30/12 08:50 
Awesome thanks!


Natedogg265:
{if $_USER.band_song_count == 0 && $_USER.band_quota > 0}


Back to top
Display posts from previous:   
User Support Forum Archive (Read Only)
N8Flex

 
Solutions
• Social Media Platform
• Social Networking Software
• Musician Website Manager
• Community Builder
Products
• Jamroom Core
• Jamroom Addons
• Jamroom Modules
• Jamroom Marketplace
Support
• Support Forum
• Documentation
• Support Center
• Contact Support
Community
• Community Forum
• Member Sites
• Developers
Company
• About Us
• Contact Us
• Privacy Policy
©2003 - 2010 Talldude Networks, LLC.