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

How To Install Php Tubepress

standalone-php

  • Please log in to reply
5 replies to this topic

#1 geraldo leal

geraldo leal

    Newbie

  • Members
  • Pip
  • 5 posts

Posted 19 August 2013 - 02:37 PM

I have a website that is not wordpress, how to install and setup TubePress this site, since I have not found a tutorial or step by step or explanatory video for this purpose, can anyone tell me how to do this, or point me where to find these tutorials, I appreciate the help, as well as buy and pay even have to bother people, because the company does not offer this material at the time of downloads. if this were done, to avoid any hassles. thanks for any help you can give me, geraldo



#2 brandon

brandon

    Advanced Member

  • TubePress Staff
  • 1989 posts

Posted 22 August 2013 - 04:59 AM

Geraldo,

 

There is a tutorial available here for setting up a PHP site with TubePress Pro.

 

Please follow the directions on that page, and if you are still having problems, please let us know and we'd be more than happy to help out.

Thanks!


Want a faster, more personalized support experience? Open a ticket with us! We will be gradually phasing out forum-based support in favor of a proper ticketing system. Please help us help you!


#3 geraldo leal

geraldo leal

    Newbie

  • Members
  • Pip
  • 5 posts

Posted 24 August 2013 - 03:37 PM

l followed the steps you placed, but it is difficult for a layman, only display. I made it down
first. download TubePress pro
second = put in file www.xxxxx.com.br/lib/wordpress_3_1_1
third = grab files jw flv media player and put in the folder src / main / web / flash / longtail / did, and from there do what please.
thank you
 


#4 brandon

brandon

    Advanced Member

  • TubePress Staff
  • 1989 posts

Posted 26 August 2013 - 06:54 PM

Geraldo,

 

Caso queira instrucoes em portugues, por favor me avise.

 

Here are instructions in English:

    <?php 

        include "/var/www/html/myblog.com/lib/tubepress_pro_x_y_z/src/main/php/classes/TubePressPro.php";

        TubePressPro::setBaseUrl("http://myblog.com/lib/tubepress_pro_x_y_z");

    ?>
    <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>

This is the sample page that shows in our documentation.

 

Firstly, you need to add this block of code, before your opening <html> tag:

<?php 

        include "/var/www/html/myblog.com/lib/tubepress_pro_x_y_z/src/main/php/classes/TubePressPro.php";

        TubePressPro::setBaseUrl("http://myblog.com/lib/tubepress_pro_x_y_z");
?>

Then, within the <head></head> tags of your page, you need to place this code:

<?php print TubePressPro::getHtmlForHead(true); ?>

Finally, where ever on your page you wish for TubePress to display, place the following code:

<?php print TubePressPro::getHtmlForShortcode('mode="tag" tagValue="pittsburgh steelers" resultsPerPage="3"'); ?>

However, the "('mode="tag" tagValue="pittsburgh steelers" resultsPerPage="3"')" section needs to be changed to match what videos you wish to display on your site.  All of the shortcodes can be found here

 

Let us know if you need any more help.

 

Thanks!


Want a faster, more personalized support experience? Open a ticket with us! We will be gradually phasing out forum-based support in favor of a proper ticketing system. Please help us help you!


#5 geraldo leal

geraldo leal

    Newbie

  • Members
  • Pip
  • 5 posts

Posted 27 August 2013 - 10:09 PM

sim, brandon, gostaria que me respondesse em português,  eu não estou entendendo o seguinte, terei que criar esta estrutura no meu site . 

include "/var/www/html/myblog.com/lib/tubepress_pro_x_y_z/src/main/php/classes/TubePressPro.php";

 

eu não tenho uma pasta var terei que criar. e este www/html o meu site é

www.xxxxx.com.br/ o que coloco aqui, a pasta lib com o tubepress e anterior ao www como faço.

obrigado

geraldo



#6 brandon

brandon

    Advanced Member

  • TubePress Staff
  • 1989 posts

Posted 29 August 2013 - 09:30 PM

Geraldo,

 

Para esta parte, você não precisa da parte www do seu domínio.

O
/var/www/nomededomínio/lib/TubePress/... na verdade, refere a estrutura do computador que o seu domínio está hospedado. Imagino que o seu host está usando linux, e a estrutura dos arquivos seria algo como /var/www/nomededomínio/lib/TubePress/...

A maneira mais fácil de obter essa informação é entrar em seu provedor de hospedagem usando FTP (FileZilla é um otimo cliente de FTP gratuito). Depois de instalar Filezilla, no lado direito da tela (a seção remoto) voce verá a estrutura de arquivos de onde está localizado fisicamente no disco rígido de seu servidor de hospedagem de arquivos. Esta é a parte que você precisa copiar e inserir.


Por favor me avise se fui claro o suficiente e se posso ajuda-lo em algo mais.

Obrigado
!


Want a faster, more personalized support experience? Open a ticket with us! We will be gradually phasing out forum-based support in favor of a proper ticketing system. Please help us help you!