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

Can we search specific videos under user mode?


  • Please log in to reply
1 reply to this topic

#1 sameer bhatia

sameer bhatia

    Newbie

  • Members
  • Pip
  • 3 posts

Posted 13 July 2012 - 07:15 AM

Eric,

I am showing videos on my website with the mode="user", this is displaying all the videos which I have uploaded and thats perfect. I want something more over this so that I can put some search. For example I want to show all the videos which are having some matching string in title and the APi will fetch all those videos.

Interms of the API, can something be done like this?
[tubepress mode="user" userValue="3hough" "searhText="match-only-this-in-title"]


Please help...!!!!!!

#2 eric

eric

    Lead Developer

  • TubePress Staff
  • 2787 posts

Posted 15 July 2012 - 12:11 PM

Hi,

Sure, this is possible with the "searchResultsRestrictedToUser" option. This will restrict the search results to videos uploaded by whichever user name you specify. So in your case, you'll want to use a shortcode like this (assuming you want YouTube videos):

[tubepress mode="tag" tagValue="match-only-this-in-title" searchResultsRestrictedToUser="some-user-name"]
Does that make sense? Please give it a try and let us know how it works. Thanks!