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

Error using Shortcode


  • Please log in to reply
8 replies to this topic

#1 Michael Allgood

Michael Allgood

    Newbie

  • Members
  • Pip
  • 1 posts

Posted 10 September 2010 - 01:22 AM

I'm trying to embed a playlist, and looking at the docs, the syntax would be:

[tubepress mode=“playlist” playlistValue=“438E3A1F37CCB0A5”]

I have verified that my playlist "438E3A1F37CCB0A5" works - I can embed it just using the [tubepress] shortcode - but I need to embed multiple playlists - each on its own page.

So...when I use the shortcode and use playlistvalue, I publish the page and get:

Problem retrieving videos from provider: Bad Request

I'm using the latest version of Wordpress and the latest version of Tubepress.

Any help?

thanks!

Mike

#2 eric

eric

    Lead Developer

  • TubePress Staff
  • 2787 posts

Posted 10 September 2010 - 02:00 PM

Hi Mike,

Are you able to share a link to your site? I'd be interested in looking at the debug output of your gallery: http://tubepress.com...u.php#debugging. You can pm me if you're not comfortable sharing your site to the world :)

#3 Matt Scott

Matt Scott

    Newbie

  • Members
  • Pip
  • 1 posts

Posted 08 October 2010 - 12:07 PM

Hi

I am also having this exact issue if anyone can help shed any light on the matter? I'm using the arras theme if that should make a difference?

Thanks

Matt

#4 Adam Bates

Adam Bates

    Newbie

  • Members
  • Pip
  • 1 posts

Posted 12 October 2010 - 07:28 PM

Having the same problem but only when using shortcode

[tubepress mode=“playlist” playlistValue=“160317E74FFD4F1E”]

[tubepress mode="user" userValue="CreizaiOne" ajaxPagination="true" playerLocation="fancybox" relativeDates="true" uploaded="true" embeddedHeight="455" embeddedWidth="625"]

Second code works fine and so does the playlist function if I go through Settings > tubepress > playlist mode, but not when using shortcode.
http://creizai.br0chan.org/?page_id=87

#5 Stanley Felix

Stanley Felix

    Newbie

  • Members
  • Pip
  • 2 posts

Posted 28 October 2010 - 09:37 PM

Also having this same issue when using shortcode

[tubepress mode=“playlist” playlistValue=“96C43AB9D26FD2F1”]

however if I define playlist id via setup and use [tubepress] all videos from playlist are pulled in successfully.

Please help.

#6 Stanley Felix

Stanley Felix

    Newbie

  • Members
  • Pip
  • 2 posts

Posted 28 October 2010 - 09:49 PM

Hi Guys,

I seem to have figured it out. I got this to work by removing the quotes from the shortcodes, somehow the quotes are being duplicated by the plugin.

Here is an example:
[tubepress mode=playlist playlistValue=XXXXXXXXXXXX]


Hope this helps.

#7 Cam Merton

Cam Merton

    Member

  • Members
  • PipPip
  • 21 posts

Posted 01 November 2010 - 09:52 PM

Yes I had a similar problem and it was all due to copying and pasting the shortcode from the docs into Wordpress - the quotes seem to paste in as a different character rather than the normal quote character (yes I know there's some technical terms that could be used there!). Just make sure you replace the quotes when you paste the shortcodes in or write them manually.

#8 James Fischerle

James Fischerle

    Member

  • Members
  • PipPip
  • 29 posts

Posted 08 November 2010 - 06:36 PM

Thanks for the fix on this, re removing the quotes. Solved my problem!

James

#9 Blake Beltram

Blake Beltram

    Newbie

  • Members
  • Pip
  • 1 posts

Posted 17 November 2010 - 02:31 PM

Okay, I'm pretty green at this, and this seems totally random to me, but I seem to have discovered that the solution was capitalizing the "V" in playlistValue. (Notice sfelix has this in his fix as well.) I tried getting rid of the quotes - didn't work. Capitalized the V - worked. I wonder if that was also the fix with sfelix?
[tubepress mode=playlist playlistValue=XXXXXXXXXXXX]