Jump to content


These Forums Are Now Read-Only


For TubePress support, please post a question here or open a support ticket and we will be glad to assist.


Photo

Playing a tag, shortcode called thru php


  • Please log in to reply
3 replies to this topic

#1 Raya Pomelkova

Raya Pomelkova

    Newbie

  • Members
  • Pip
  • 9 posts

Posted 13 December 2012 - 11:41 AM

Hello Eric,



it doesn't see the tag, although i have a couple of videos tagged with that.

http://summitministries.tv/#Broadcast

I think it's something to do with the double quotation marks, (in your documentation tag values are written like this - tagValue='"spirit of truth"', but php doesn't read it properly if i do that).

Any ideas on what I can do?

#2 eric

eric

    Lead Developer

  • TubePress Staff
  • 2787 posts

Posted 14 December 2012 - 03:55 PM

Hello!

Your shortcode looks good to me. Just for the sake of reference, here is syntax that uses single/double quotes correctly:

TubePressPro::getHtmlForShortcode('mode="tag" tagValue="SummitChurchBroadcast" embeddedHeight="533" embeddedWidth="950" resultCountCap="1" showInfo="false"');
Could you point out a video or two that isn't showing up that you feel should? That might help me figure out what we could do to improve the results.

Also, if you know that all videos with this tag will be uploaded by a particular YouTube user, you could take advantage of the searchResultsRestrictedToUser option to narrow it down. e.g.

TubePressPro::getHtmlForShortcode('mode="tag" tagValue="SummitChurchBroadcast" searchResultsRestrictedToUser="summitchurchonline" embeddedHeight="533" embeddedWidth="950" resultCountCap="1" showInfo="false"');
Let me know. Thanks!

#3 jclarke

jclarke

    Newbie

  • Members
  • Pip
  • 1 posts

Posted 14 March 2013 - 03:11 PM

Do you need to have TubePress Pro to use the searchResultsRestrictedToUser?



#4 brandon

brandon

    Advanced Member

  • TubePress Staff
  • 1989 posts

Posted 14 March 2013 - 06:30 PM

Hi jclarke,

 

No, you do not need to be a TubePress Pro user in order to use the searchResultsRestrictedToUser tag.

 

Thanks!


Want a faster, more personalized support experience? Open a ticket with us! We will be gradually phasing out forum-based support in favor of a proper ticketing system. Please help us help you!