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

Getting Started: Please Help


  • Please log in to reply
7 replies to this topic

#1 < no first name > Summerhays

< no first name > Summerhays

    Newbie

  • Members
  • Pip
  • 5 posts

Posted 19 April 2012 - 05:07 PM

I bought tubepress pro with an assumption the wordpress plugin would be gooey. Instead I see that I am expected to copy and paste all sorts of strings of code in various places.

i am not a neophtye, but is there a step by step somewhere on the forum? The "support" documentation assumes much more than I know.ie where to post the strings, in what order, are there global setting I can reuse from page to page or do I have to paste the strings into everypage I want a gallery etc. I was expecting a widget or plugin interface with button and switches to turn code on and off. I don't want to have to think like a programmer. Do you have shiny buttons, or knobs in a version I am not seeing?

#2 eric

eric

    Lead Developer

  • TubePress Staff
  • 2787 posts

Posted 19 April 2012 - 09:28 PM

Hi,

At the moment the only knobs and switches you can find are at WP Admin > Settings > TubePress. This management page will define the default options for TubePress. You can use TubePress throughout your site by using shortcodes such as

[tubepress]
to produce an "all defaults" gallery, or by overriding your default options by adding options to the shortcode. e.g.

[tubepress mode="user" userValue="3hough" playerLocation="shadowbox"]
Does this make sense? I've tried to describe this in the docs here. Now, if you want to utilize TubePress in a WordPress template (i.e. outside "the loop") then you'll need to follow these instructions.

Most users don't have to copy/paste too many strings, so if you find yourself doing that please let me know so that I might provide some guidance. Or just let us know where you're having trouble and we can assist. Thanks!

#3 < no first name > Summerhays

< no first name > Summerhays

    Newbie

  • Members
  • Pip
  • 5 posts

Posted 23 April 2012 - 07:06 PM

Thank you for the help. Unfortunately, I am not a programmer. I've survived 5 years in wordpress w/o having to do coding. Unfortunately for me, I am using a "template" I have no idea which "short codes" to put where as I set up a site with three different pages with three different feeds from three different youtube accounts.

What is the best way to get the code for three separate feeds on three seperate pages within one site?

Can you give me some examples with real names in the variable/user/fields.

???

#4 eric

eric

    Lead Developer

  • TubePress Staff
  • 2787 posts

Posted 24 April 2012 - 11:40 PM

OK, let's say that on your three pages you want to show videos from the following three (real) YouTube users: 3hough, engineerguyvideo, and flipboit4midles. There are two possible scenarios here. You can choose the one that suits your needs.

The first scenario is that your three video pages are actual WordPress pages that are simply sharing a common template. If this is the case, you can simply use

[tubepress mode="user" userValue="3hough"
on one page,

[tubepress mode="user" userValue="engineerguyvideo"
on the second, and

[tubepress mode="user" userValue="flipboit4midles"
on the third page. At that point you'll have three distinct pages, each with a gallery of an individual user's videos. That's all there is for the first scenario.

The second scenario is that each page is using a different WordPress template. Before we add anything TubePress-related to a TubePress template, it looks like this:

<?php      get_header();    if (have_posts()) :       while (have_posts()) :          the_post();          the_content();       endwhile;    endif;    get_sidebar();    get_footer(); ?>
Of course, your templates will look different. They will be filled with lots of extra PHP and HTML, and may even be split among different files. But it should resemble this.

Let's add TubePress to this template (following these instructions):

<?php      include "/var/www/html/myblog.com/wp-content/plugins/tubepress_pro_2_4_2/sys/classes/TubePressPro.class.php";      get_header();      print TubePressPro::getHtmlForShortcode('mode="user" userValue="3hough"');         if (have_posts()) :       while (have_posts()) :          the_post();          the_content();       endwhile;    endif;    get_sidebar();    get_footer(); ?>
Instead of

/var/www/html/myblog.com/wp-content/plugins/tubepress_pro_2_4_2
You'll want to use your actual filesystem path to TubePress. But otherwise this will show a gallery of videos for the user "3hough". You can simply repeat the procedure for the other two YouTube users on your other two templates.

Does this make sense? Let me know if I've managed to confuse you further. Thanks!

#5 < no first name > Summerhays

< no first name > Summerhays

    Newbie

  • Members
  • Pip
  • 5 posts

Posted 25 April 2012 - 08:45 AM

your response is amazing and thorough. I will experiment and get back to you. Thank you for the help. I am knee deep in pre-launch mumbojumbo, and you have taken more time on clarity, in support, than all my other vendors combined.

Will report soon.

#6 < no first name > Summerhays

< no first name > Summerhays

    Newbie

  • Members
  • Pip
  • 5 posts

Posted 25 April 2012 - 08:56 AM

I am pasting this simple code right in the body of the page in wordpress? Right?

I pasted

[tubepress mode="user" userValue="3hough"

into a page. But it showed this string when I loaded it for preview.

Then I noticed there was not a ] at the end of the string. So I typed it in like this:

[tubepress mode="user" userValue="3hough" ]

Then the page loaded and gave this:

YouTube determined that the request did not contain proper authentication.


So what does this mean?

As far as using the longer strings for custom wordpress templates, do I post that in the PHP section? If so where? I have never pasted any code into the guts of a custom template.

help.

#7 < no first name > Summerhays

< no first name > Summerhays

    Newbie

  • Members
  • Pip
  • 5 posts

Posted 25 April 2012 - 09:19 AM

hey, adding the bracket ended up working! Thank you.

Now the only issues I have is that I cannot interrupt a video while it is playing by clicking on a thumbnail for another video. In fact, I only get one video to play, then the thumbnails don't give me another. What is the fix for this. I have combed through settings and don't see (yet) at switch which tells the thumbs to "not" play another video.

The layout looks great, the first video plays, and then clicking on the thumbnails doesn't work to retrieve the next videos.

#8 eric

eric

    Lead Developer

  • TubePress Staff
  • 2787 posts

Posted 25 April 2012 - 08:39 PM

hey, adding the bracket ended up working! Thank you.

Now the only issues I have is that I cannot interrupt a video while it is playing by clicking on a thumbnail for another video. In fact, I only get one video to play, then the thumbnails don't give me another. What is the fix for this. I have combed through settings and don't see (yet) at switch which tells the thumbs to "not" play another video.

The layout looks great, the first video plays, and then clicking on the thumbnails doesn't work to retrieve the next videos.


I'm glad to hear that things are starting to shape up the way you want them to! Let's get it to 100% working.

Typically when you have non-responsive thumbnails, there's a JavaScript error on your page that will need to be addressed (more info on this here). These types of issues are usually easy to diagnose remotely. Are you able to share a link to your site so I could take a look? Feel free to PM it to me if you can't share it with the world. Thanks.