Skip to content

Promoted Videos And Channels Plugin

Daniel Neto edited this page Jul 31, 2023 · 9 revisions

PromoteVideos Plugin

The PromoteVideos Plugin is a powerful tool that allows users to promote their videos or channels within the YouPHPTube platform. By using this plugin, users can gain more visibility and reach a wider audience, ultimately enhancing their content's exposure and engagement.

Benefits of the PromoteVideos Plugin

  1. Enhanced Visibility: Users can boost the visibility of their videos or channels through promotions, reaching a larger audience and increasing their chances of attracting new viewers and subscribers.

  2. Flexible Promotion Periods: Users have the flexibility to choose specific start and end dates for their promotions, ensuring they align with their marketing strategies and content release schedules.

  3. Customizable Investment: The plugin allows users to invest a chosen amount in their promotions, and the system calculates the promotion time accordingly. This enables users to tailor their promotions based on their budget and promotional goals.

  4. Promotion Sorting: The platform's main page displays promoted videos and channels in descending order, based on the value of the hourly promotion. This ensures that the highest bidder's content appears first on the homepage, creating a competitive and fair promotion system.

How to Use PayPal for Adding Credits

For users who wish to add credits to their wallets through PayPal, the plugin offers a convenient option. To use PayPal, you'll need a PayPal account and acquire your ClientID and ClientSecret from the PayPal Developer Portal. If you don't have a real PayPal account for testing purposes, the plugin comes pre-configured with sandbox settings, allowing you to use the following test credit card numbers:

  • American Express: 378282246310005, 371449635398431, 378734493671000
  • Australian BankCard: 5610591081018250
  • Diners Club: 30569309025904, 38520000023237
  • Discover: 6011111111111117, 6011000990139424
  • MasterCard: 5555555555554444, 5105105105105100
  • Visa: 4111111111111111, 4012888888881881, 4222222222222

To enable real payments, you can disable the sandbox option and replace the sandbox credentials with your actual PayPal ClientID and ClientSecret.

Using the Plugin to Enable Promotions

  1. To enable promotions, users can access the video management section and click on the star button for the desired video, or visit their channel page and click on the designated button.

  2. A form will pop up, allowing users to set a start date and time (must be in the future) and end date for the promotion period.

  3. Users can specify the amount they want to invest in the promotion. The system will calculate the promotion time based on the investment amount.

  4. On the right side of the form, users can view the promoted times and the corresponding value per hour of promotion.

Managing Site Credits

The site credits generated through promotions can either disappear or be directed to a main wallet. To set a main wallet to receive all credits from the site, users need to set the mainWallet_user_id option to the user_id of the main wallet in the database. This ensures that credits from promotions are consolidated in the designated main wallet.

Conclusion

The PromoteVideos Plugin offers an excellent opportunity for users to boost the visibility of their videos or channels on the YouPHPTube platform. With customizable promotions, flexible investment options, and the possibility to use PayPal for adding credits, this plugin empowers content creators to reach their target audience effectively. Whether you're looking to promote your own content or explore the promoted content as a viewer, the PromoteVideos Plugin provides a dynamic and engaging promotional experience.

Clone this wiki locally