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 Change The Wording


Best Answer brandon, 20 January 2015 - 09:48 PM

Hello mkernal,

 

You will have to edit the PHP code on line 206 in the file located here: \wp-content\plugins\tubepress_pro_4_0_5\src\add-ons\youtube_v2\classes\tubepress\youtube2\ioc\YouTubeExtension.php

                    tubepress_youtube2_api_Constants::OPTION_YOUTUBE_RELATED_VALUE      => 'Videos related to this YouTube video', //>(translatable)<
                    tubepress_youtube2_api_Constants::OPTION_YOUTUBE_PLAYLIST_VALUE     => 'This YouTube playlist',                //>(translatable)<
                    tubepress_youtube2_api_Constants::OPTION_YOUTUBE_FAVORITES_VALUE    => 'This YouTube user\'s "favorites"',     //>(translatable)<
                    tubepress_youtube2_api_Constants::OPTION_YOUTUBE_TAG_VALUE          => 'YouTube search for',                   //>(translatable)<
                    tubepress_youtube2_api_Constants::OPTION_YOUTUBE_USER_VALUE         => 'Videos from this YouTube user',        //>(translatable)<
                    tubepress_youtube2_api_Constants::OPTION_RATING                     => 'Average rating',                       //>(translatable)<
                    tubepress_youtube2_api_Constants::OPTION_RATINGS                    => 'Number of ratings',                    //>(translatable)<
                ),

Simply change the words between the single quotes, save, upload to the same location on your server, and then place this at the end of your URL where tubepress is installed: tubepress_clear_system_cache=true

 

Ex: www.mydomain.com/vidoes&tubepress_clear_system_cache=true

 

Thanks!

Go to the full post


  • Please log in to reply
5 replies to this topic

#1 mkernal

mkernal

    Member

  • Members
  • PipPip
  • 24 posts
  • LocationToronto, ON, CANADA

Posted 18 January 2015 - 11:56 AM

For example,  when I execute [tubepress ratings="true"] it returns this....

 

Number of ratings:000

 

 

How can I change the wording from "Number of ratings" to "Rating"

 

thank-you in advance



#2 brandon

brandon

    Advanced Member

  • TubePress Staff
  • 1989 posts

Posted 20 January 2015 - 09:48 PM   Best Answer

Hello mkernal,

 

You will have to edit the PHP code on line 206 in the file located here: \wp-content\plugins\tubepress_pro_4_0_5\src\add-ons\youtube_v2\classes\tubepress\youtube2\ioc\YouTubeExtension.php

                    tubepress_youtube2_api_Constants::OPTION_YOUTUBE_RELATED_VALUE      => 'Videos related to this YouTube video', //>(translatable)<
                    tubepress_youtube2_api_Constants::OPTION_YOUTUBE_PLAYLIST_VALUE     => 'This YouTube playlist',                //>(translatable)<
                    tubepress_youtube2_api_Constants::OPTION_YOUTUBE_FAVORITES_VALUE    => 'This YouTube user\'s "favorites"',     //>(translatable)<
                    tubepress_youtube2_api_Constants::OPTION_YOUTUBE_TAG_VALUE          => 'YouTube search for',                   //>(translatable)<
                    tubepress_youtube2_api_Constants::OPTION_YOUTUBE_USER_VALUE         => 'Videos from this YouTube user',        //>(translatable)<
                    tubepress_youtube2_api_Constants::OPTION_RATING                     => 'Average rating',                       //>(translatable)<
                    tubepress_youtube2_api_Constants::OPTION_RATINGS                    => 'Number of ratings',                    //>(translatable)<
                ),

Simply change the words between the single quotes, save, upload to the same location on your server, and then place this at the end of your URL where tubepress is installed: tubepress_clear_system_cache=true

 

Ex: www.mydomain.com/vidoes&tubepress_clear_system_cache=true

 

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 mkernal

mkernal

    Member

  • Members
  • PipPip
  • 24 posts
  • LocationToronto, ON, CANADA

Posted 21 January 2015 - 10:30 PM

thanks again for your response.

however, i cant seem to find that file on my webpage server.

 

Im running tubepress pro 3.1.6



#4 brandon

brandon

    Advanced Member

  • TubePress Staff
  • 1989 posts

Posted 23 January 2015 - 09:44 PM

mkernal,

 

Please update to the latest TubePress version, as it is much more stable and feature rich.  Then you will be able to follow these directions and obtain the results you are looking to obtain.

 

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 mkernal

mkernal

    Member

  • Members
  • PipPip
  • 24 posts
  • LocationToronto, ON, CANADA

Posted 29 January 2015 - 03:51 AM

Brandon,

 

I currently have Version 3.1.6

You don't have a later version available.

 

I believe the latest version is 4.0.0

 

but you don't have it in pro version...

 

What should I do???

 

Thanks again!



#6 brandon

brandon

    Advanced Member

  • TubePress Staff
  • 1989 posts

Posted 29 January 2015 - 09:24 PM

mkernel,

 

TubePress 4.0.6 is available in Pro, just go to the marketplace link at the top of this page and you will see it there.

 

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!