Jamroom Logo Jamroom 5 Core
is now Open Source!
User Support Forum Archive (Read Only)
Jamroom Developers:
jrYouTube_COUNT problem
drachp



Joined: 09 Jan 2009
Posts: 24

Posted: 03/05/09 09:31 
Hello. I want to place the youtube module in tabs fot users in Nova. So in theme_index.tpl I added:

Code
  {if $QUOTA_JRYOUTUBE_ACCESS == 'yes' && $jrYouTube_COUNT > 0}
          <td id="m_jrYouTube" class="p_choice trounded {ldelim}transparent{rdelim}"><a onclick="jrLoad('#pm','jrYouTube.php');jrHideComments();jrHideFanForm();jrSetMenuActive('#m_jrYouTube');">{jr_lang id="10823" default="YouTube"}</a></td>
          <td class="spacer">&nbsp;</td>
  {/if}

My theme.cfg:
# YouTube

Code
jrYouTube_list.cfg | jrYouTube.php

But even if users not have YouTubes videos, it COUNT it "1". So tab is showing.
Question

Back to top
Brian
Jamroom Team


Joined: 09 Jul 2003
Posts: 37583
Location: Seattle, WA

Posted: 03/05/09 12:45 
Try the Jamroom 4.0.7 update and let me know if you still see this issue:

http://www.jamroom.net/Downloads4_Test

Hope this helps!

- Brian


_________________
Make sure and check out:
* The Jamroom FAQ
* The Jamroom Documentation
Back to top
drachp



Joined: 09 Jan 2009
Posts: 24

Posted: 03/06/09 05:22 
Thanks! All works! Smile

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

 
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.