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

Just purchased TubPress Pro, help me do the lifting.


  • Please log in to reply
14 replies to this topic

#1 Adam Demientieff

Adam Demientieff

    Member

  • Members
  • PipPip
  • 13 posts

Posted 15 March 2012 - 05:02 PM

I just purchased TubPress Pro. I uploaded the tubepress_pro_2_4_1 folder onto my webserver. I see the index.php file and tubepress.php file. What do I do next with them?
I'm using Dreamweaver cs5, mac osx 10.6.8.

Is there a video tutorial? Template to copy and paste?

Here is my url.

http://storytellersp...ress_pro_2_4_1/

Thanks.

#2 eric

eric

    Lead Developer

  • TubePress Staff
  • 2787 posts

Posted 15 March 2012 - 09:47 PM

Hi,

No videos tutorials (yet!) but we should be able to walk through the steps together. You've uploaded the TubePress Pro directory to your server, so you've really completed most of the installation steps.

Do your index.php file look something like this? This is the absolute basic invocation of TubePress in a standalone PHP environment, and you can copy/paste most of that file (except for $tubepress_base_url and the "include" directive). Feel free to post your index.php and we'll be glad to help you put all the pieces together. Sound good? Thanks!

#3 Robert Chesney

Robert Chesney

    Newbie

  • Members
  • Pip
  • 2 posts

Posted 16 March 2012 - 08:31 PM

I am also trying to install TubePress Pro but my index file does not look anything like the link you posted.
It only has a comment in it.

I unzipped the files and uploaded them into:

http://youonyourwebs...com/tubepress1/

What else do I have to do?

Erik

#4 Adam Demientieff

Adam Demientieff

    Member

  • Members
  • PipPip
  • 13 posts

Posted 16 March 2012 - 09:00 PM

My index.php looks like this...

//This file is here to stop cluttering search engine results for your site with TubePress's internals. Move along, nothing to see here!
?>

#5 Adam Demientieff

Adam Demientieff

    Member

  • Members
  • PipPip
  • 13 posts

Posted 16 March 2012 - 09:11 PM

I tried to follow some of the steps and uploaded the index.php
Here is the link.
http://www.storytell...ress_pro_2_4_1/

this is what the page says...

Warning: main(/var/www/http://storytellersproductions.com/tubepress_pro_2_4_1/sys/classes/TubePressPro.class.php) [function.main]: failed to open stream: No such file or directory in /home/content/s/t/o/storytellers/html/tubepress_pro_2_4_1/index.php on line 5

Warning: main(/var/www/http://storytellersproductions.com/tubepress_pro_2_4_1/sys/classes/TubePressPro.class.php) [function.main]: failed to open stream: No such file or directory in /home/content/s/t/o/storytellers/html/tubepress_pro_2_4_1/index.php on line 5

Warning: main() [function.include]: Failed opening '/var/www/http://storytellersproductions.com/tubepress_pro_2_4_1/sys/classes/TubePressPro.class.php' for inclusion (include_path='.:/usr/local/lib/php') in /home/content/s/t/o/storytellers/html/tubepress_pro_2_4_1/index.php on line 5

Fatal error: Undefined class name 'tubepresspro' in /home/content/s/t/o/storytellers/html/tubepress_pro_2_4_1/index.php on line 12


Here is the code I put in...


$tubepress_base_url = "http://storytellersproductions.com/tubepress_pro_2_4_1/";

include "/var/www/http://storytellersproductions.com/tubepress_pro_2_4_1/sys/classes/TubePressPro.class.php";
?>



TubePress Pro











#6 eric

eric

    Lead Developer

  • TubePress Staff
  • 2787 posts

Posted 18 March 2012 - 11:47 PM

Try this instead:

<span class="syntaxdefault"><?php$tubepress_base_url = "http://storytellersproductions.com/tubepress_pro_2_4_1/";include "/home/content/s/t/o/storytellers/html/tubepress_pro_2_4_1/sys/classes/TubePressPro.class.php";?><html><head><title>TubePress Pro</title><?php print TubePressPro::getHtmlForHead(true); ?></head><body><?php print TubePressPro::getHtmlForShortcode('mode="tag" tagValue="pittsburgh steelers" resultsPerPage="3"'); ?></body></html></span>
You'll notice that I just changed the "include" directive to point to a different path. That should do it - please let us know. Thanks!

#7 Adam Demientieff

Adam Demientieff

    Member

  • Members
  • PipPip
  • 13 posts

Posted 19 March 2012 - 02:56 AM

This is what I get now.

http://storytellersp...ress_pro_2_4_1/

This is what the page says.

Parse error: syntax error, unexpected T_STRING, expecting T_OLD_FUNCTION or T_FUNCTION or T_VAR or '}' in /home/content/s/t/o/storytellers/html/tubepress_pro_2_4_1/sys/classes/TubePressPro.class.php on line 39

I'm a little confused on the path? My local path is...

Lacie/Website Storytellers Productions/web/

#8 eric

eric

    Lead Developer

  • TubePress Staff
  • 2787 posts

Posted 19 March 2012 - 10:16 AM

Typically that error presents itself when you're running TubePress in a PHP4 environment. You'll need to switch to PHP version 5.0.2 or higher. Your hosting provider should be able to assist you in making the upgrade - in most cases it's simply a setting somewhere in your hosting control panel.

If you want to verify your current version of PHP, simply create a PHP file with the following contents and view it in your browser:

<?php phpinfo(); ?>
Let us know what you find. Thanks.

#9 Adam Demientieff

Adam Demientieff

    Member

  • Members
  • PipPip
  • 13 posts

Posted 19 March 2012 - 11:13 AM

I spoke with my host godaddy today and explained the requirements I needed.

I get this now. Not sure if I need to wait longer for all the changes to take place?

Fatal error: Class 'org_tubepress_impl_util_LangUtils' not found in /home/content/s/t/o/storytellers/html/tubepress_pro_2_4_1/sys/classes/org/tubepress/impl/options/DefaultOptionValidator.class.php on line 83

http://storytellersp...ress_pro_2_4_1/

Am I getting closer? Is there something else I should ask them specifically?

Thanks for your help.

#10 Adam Demientieff

Adam Demientieff

    Member

  • Members
  • PipPip
  • 13 posts

Posted 19 March 2012 - 11:18 AM

looks like I have php version 5.5.14 now.

http://storytellersp...om/php_test.php

Do you have any ideas or something else I should try?

#11 eric

eric

    Lead Developer

  • TubePress Staff
  • 2787 posts

Posted 19 March 2012 - 11:54 AM

We're getting closer!

Fatal error: Class 'org_tubepress_impl_util_LangUtils' not found in /home/content/s/t/o/storytellers/html/tubepress_pro_2_4_1/sys/classes/org/tubepress/impl/options/DefaultOptionValidator.class.php on line 83


This is a known bug that will have a fix out in the next version of TubePress. In the meantime, you can make a simple one-line addition to fix this. Please see this post for details. Let me know if you have any trouble making that edit. Thanks.

#12 Adam Demientieff

Adam Demientieff

    Member

  • Members
  • PipPip
  • 13 posts

Posted 19 March 2012 - 12:26 PM

Thanks, looks like it is working.

http://storytellersp...ress_pro_2_4_1/

Where do I go next to customize this?

Thanks!

#13 Adam Demientieff

Adam Demientieff

    Member

  • Members
  • PipPip
  • 13 posts

Posted 19 March 2012 - 02:46 PM

http://storytellersp...videos_2011.php

I'm getting it to work! I searched around for help, but how do I make a custom size video player? I would like 640 x 360. Would be nice to show the quality settings button.

Thanks Eric!

#14 eric

eric

    Lead Developer

  • TubePress Staff
  • 2787 posts

Posted 19 March 2012 - 07:53 PM

Try something like this:

<?php print TubePressPro::getHtmlForShortcode('mode="playlist" playlistValue="PL5B18EF5DAD4D3FE0" resultsPerPage="6" embeddedHeight="360" embeddedWidth="640"'); ?>
You can find all of the available customization options at the shortcode reference in the TubePress docs.

Let me know how that works for you. Thanks.

#15 Adam Demientieff

Adam Demientieff

    Member

  • Members
  • PipPip
  • 13 posts

Posted 23 March 2012 - 12:02 AM

Works great! Awesome, thanks.