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.


Standalone Set Up Problem

  • Please log in to reply
22 replies to this topic

#21 eric


    Lead Developer

  • TubePress Staff
  • 2787 posts

Posted 03 May 2011 - 06:08 PM

Strangely TubePress isn't recognizing $tubepress_base_url. Could be because ExpressionEngine is doing something with globals. Try explicitly declaring the global variable, like this:

<span class="syntaxdefault"><?php global $tubepress_base_url;$tubepress_base_url = 'http://equitrekking.com/video/tp/';include '/var/local/www/equitrekking.com/httpdocs/video/tp/sys/classes/TubePressPro.class.php';?><html>   <head>      <title>TubePress Pro Example in Plain PHP</title>      <?php print TubePressPro::getHtmlForHead(true); ?>       </head>       <body>                <?php print TubePressPro::getHtmlForShortcode('mode="playlist" playlistValue="BB604A85A07B197B" theme="youtube" playerLocation="popup" hqThumbs="true" resultCountCap="15"'); ?>       </body></html></span>
Any change?

#22 Chip ward1359656487

Chip ward1359656487


  • Members
  • PipPip
  • 13 posts

Posted 03 May 2011 - 07:26 PM

This might be a success: http://www.equitrekk...v/travel-video/

#23 eric


    Lead Developer

  • TubePress Staff
  • 2787 posts

Posted 04 May 2011 - 11:09 AM

Awesome! Looks perfect. Everything look OK to you?

Thanks for your patience in working this out. I knew we'd get to the bottom of it.