Jump to content
Sign in to follow this  
aeverse

Tubepress shortcode in boxes not rendering

Recommended Posts

aeverse

I've been trying to use the Tubepress plugin shortcode in a Feature Box to create a link to a youtube video in a popup window. (the box isn't wide enough to embed it directly). Right now I have a static image that links to YouTube, but that's not how I want it to work. Here's what the code looks like with each version implemented:


	[tubepress playerLocation='popup' video='p4OYaYsU9Zc'] [/code]

Here's what it generates: (scroll down) Hytrainium test site Here are the Tubepress resources: Tubepress shortcode reference Embedding a single video Any ideas what I'm doing wrong? Thanks!

Share this post


Link to post
Share on other sites
Simon

Shortcodes do work in the feature areas, so the problem could be with the shortcode you are trying to use.

Share this post


Link to post
Share on other sites
aeverse

OK, folks. I've finally got shortcodes working in another feature box, but still can't get my TubePress shortcode to render there. It works fine on a standard post: http://www.hytrainium.com/wp-dev/2011/03/test-movie/'>http://www.hytrainium.com/wp-dev/2011/03/test-movie/ But not on my homepage in a feature box: http://www.hytrainium.com/wp-dev/ Any more thoughts?

Share this post


Link to post
Share on other sites
bryan-hadaway

I personally don't know how good the TubePress plugin is, have you tried others? Perhaps the plugin has alternative code you could use? It might be a good idea to get support rolling with the plugin itself. Thanks, Bryan

Share this post


Link to post
Share on other sites
aeverse

Hi-- So I have started communicating with the tubepress developer and you can follow the discussion here: Tubepress forum. In summary-- 1) Tubepress will not work from a feature box in iBlogPro (even installed on a separate site and disabled all plugins but tubepress)Feature box fails 2) Tubepress works as expected from in a post Test posting 3) I've added echo statements within the tubepress code where shortcodes are interpreted-- Stephen prints on any text and George prints if we move on. When I do this the homepage never seems to see this code, though every other page on the site reports stephengeorge so they are seeing this.... Any thoughts? I'm willing to consider other video plugins that people have used that work well... Amanda

Share this post


Link to post
Share on other sites
aeverse

Hi Bryan-- Thanks for your quick response-- so I decided to take Viper for a test drive on a new site with just default PageLines theme installed-- however once again I am not getting the code in a box to be interpreted- Test site But if I put it in a plain post it works perfectly: Works in a post Any thoughts? Amanda

Share this post


Link to post
Share on other sites
bryan-hadaway

That's odd, I thought I remember getting viper working with someone on this very kind of issue. I'm going to buzz the developers on this one. Thanks, Bryan

Share this post


Link to post
Share on other sites
cmunns
I've finally got shortcodes working in another feature box
If it's working for one shortcode but not for another there really isn't much we can do. Technically speaking on our end, making it shortcode ready is just a couple lines of code. The original plugin might have other requirements or might not be setup to work in custom post types etc...probably part of why the plugin dev was unable to help you solve the problem bc he doesn't know how the home page content is being displayed.

Share this post


Link to post
Share on other sites
aeverse

Hi Adam-- Thank you very much for weighing in!!! So I have tried to get tubepress, viper video, exec-php and YD recent posts to work as a Feature with PageLines and in a Feature Box with iBlogPro on different sites. So far only YD has worked with iBlogPro site-- none of the rest have worked at all! I'm confused by the "custom post types" that you mention and why most of the plugins I want to use (need to use) don't seem to recognize them. Is there some reading I (and the plugin developers) could do to understand how the homepage is being displayed? Until this problem I have never been as excited about a theme as I have with the PageLine family- they are easy to use and customize which makes them so powerful! A developers dream!:) Thanks! Amanda

Share this post


Link to post
Share on other sites
bryan-hadaway

Most plugins are probably set to handle normal posts, not custom post types which are a bit more technical. What's YD? So this is working for you? Thanks, Bryan

Share this post


Link to post
Share on other sites
aeverse

Hi Bryan== YD is YD Recent Posts with thumbnails by Yann Dubois. What I find so strange is that I got it to work with iBlogPro but it doesn't with default PageLines. I would have thought that a Feature Box and a Box would be the same. YD works here (iBlogPro Blog Feature Box): http://www.hytrainium.com/wp-dev/ YD fails here (Pagelines Box): http://www.burlingtonvermontwebdesign.com/?page_id=41 Thanks for your continued insights! Amanda

Share this post


Link to post
Share on other sites
hansonexperience

Yes I saw this problem also. I use the shortcode of tubepress along my blog on:

http://www.hansonexperience.com/blog/mijn-videos

a.s.o. And also a widget with the latest videos coming in on the sidebar. Also the SmartYoutube plugin does not work in the feature box.

Share this post


Link to post
Share on other sites
cmunns

Well actually in this case since it's iBlogPro custom post types aren't an issue...but every shortcode is processed differently. Ask them what the minimum requirements would be for using one of their shortcodes. I'm assuming that in some way the `the_content()` function built-in to wordpress has to be used?

Share this post


Link to post
Share on other sites
aeverse

My latest strategy is to move all of this content out of boxes into the Morefoot sidebar element, since it DOES work in a widget area. Wish I had thought of this sooner. However, as far as I'm concerned, this issue is not resolved, since video plugins simply do not work in boxes. I may end up rebuilding this entire thing using PageLines Base because I need more flexibility than the iBlogPro child theme offers. Wish I had used Base to begin with.

Share this post


Link to post
Share on other sites
bryan-hadaway

That's honestly what I was thinking; PlatformPro packs a lot more punch in this area. So you know, all of the themes will eventually be updated as child themes for PlatformPro so that they can have the same features. No ETA on this sorry. Thanks, Bryan

Share this post


Link to post
Share on other sites
aeverse

In my conversations with the tubepress developer he is using the_content() function-- you can follow the discussion here. How are you driving content to these feature boxes so that we could try to intercept it? Thanks! Amanda

Share this post


Link to post
Share on other sites
bryan-hadaway

Let me buzz the developers for some insight into this. Thanks, Bryan

Share this post


Link to post
Share on other sites
cmunns

Well in iBlogPro the boxes are entered in via the options interface. The shortcodes should work flawlessly in PlatformPro because those use custom post type format and thus the_content()

Share this post


Link to post
Share on other sites
hansonexperience

Hhmmm but the shortcode for oembed also do not work. I posted this here:

http://www.pagelines.com/forum/topic/7453

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

Sign in to follow this  

×