Home / Scripts & Code / PHP Scripts / Multimedia / Video
YouPro - Media Script With Points SystemYouPro - Media Script With Points System
YouPro: Boost YouTube Views & Engagement with Mutual Viewing, Point System, Daily Bonuses, and Anti-Cheat Features Average rating of 3.0 based on 4 votesHome / Scripts & Code / PHP Scripts / Multimedia / Video
YouPro - Media Script With Points System
YouPro: Boost YouTube Views & Engagement with Mutual Viewing, Point System, Daily Bonuses, an... Average rating of 3.0Frequently asked questions (FAQ)
How Does the Daily Bonus Work?
The Daily Bonus feature allows users to earn extra points by watching a set number of videos each day. Here’s how it works:
Settings Configuration:
Go to the Daily Bonus Settings section in the Admin Panel:
Enable Daily Bonus: Turns the feature on or off.
Required Daily Watching Count for Bonus: The number of videos a user must watch to qualify for the bonus (e.g., 5 videos).
Daily Bonus Points: The number of bonus points awarded (e.g., 200 points).
Feature Behavior:
If the Daily Bonus feature is disabled, the Daily Bonus menu item in the user dashboard will be hidden, and the bonus feature will be deactivated.
If the feature is enabled, users must watch the required number of videos set by the admin to be eligible for the bonus.
How Users Claim the Bonus:
Users must go to the Daily Bonus page and click the "Claim Bonus" button.
Once the bonus is claimed, the system will track the date and time of the bonus. The user will only be able to claim the next bonus after 24 hours have passed since the last bonus claim.
This feature encourages users to watch more videos daily and rewards them with additional points, helping boost engagement on your platform.
Settings Configuration:
Go to the Daily Bonus Settings section in the Admin Panel:
Enable Daily Bonus: Turns the feature on or off.
Required Daily Watching Count for Bonus: The number of videos a user must watch to qualify for the bonus (e.g., 5 videos).
Daily Bonus Points: The number of bonus points awarded (e.g., 200 points).
Feature Behavior:
If the Daily Bonus feature is disabled, the Daily Bonus menu item in the user dashboard will be hidden, and the bonus feature will be deactivated.
If the feature is enabled, users must watch the required number of videos set by the admin to be eligible for the bonus.
How Users Claim the Bonus:
Users must go to the Daily Bonus page and click the "Claim Bonus" button.
Once the bonus is claimed, the system will track the date and time of the bonus. The user will only be able to claim the next bonus after 24 hours have passed since the last bonus claim.
This feature encourages users to watch more videos daily and rewards them with additional points, helping boost engagement on your platform.
What Happens When I Enable Monetization?
When you enable Monetization, users can earn both points and real money by watching videos. The system uses the points configuration you set to determine the cash value. For example, if a video awards 25 points and your settings specify "1,000 points = 1 USD," then the user will earn $0.025 for watching that video.
The system automatically converts points to money, and the user’s balance is updated in real time. For instance, if the user’s previous balance was $0.09 and they watch a video worth 25 points, their new balance will be $0.115 (rounded to $0.11).
Users can continue to accumulate both points and money simultaneously. Once the user reaches the minimum withdrawal amount you have specified, they can request a payout to their bank account.
Note: Points earned from activities like sign-up bonuses, leaderboard rewards, or daily bonuses do not qualify for cash payouts. Only points earned from watching videos are eligible for conversion to real money.
The system automatically converts points to money, and the user’s balance is updated in real time. For instance, if the user’s previous balance was $0.09 and they watch a video worth 25 points, their new balance will be $0.115 (rounded to $0.11).
Users can continue to accumulate both points and money simultaneously. Once the user reaches the minimum withdrawal amount you have specified, they can request a payout to their bank account.
Note: Points earned from activities like sign-up bonuses, leaderboard rewards, or daily bonuses do not qualify for cash payouts. Only points earned from watching videos are eligible for conversion to real money.
Does the System Support Multiple Currencies?
Yes, the system supports all currencies, but you need to specify the currency manually. You can set the currency from the Settings page under the Point Purchase Settings section.
Here’s what you can configure:
Enable Point Purchase
Payment Amount per Point (e.g., 0.02 USD per point)
Minimum Purchasable Points
Maximum Purchasable Points
Currency (e.g., USD, EUR, GBP, or any other currency)
The currency you enter here will be used throughout the entire platform, including both withdrawal requests and point purchase transactions. This allows you to use any currency supported by your payment processor, ensuring flexibility for users in different regions.
Here’s what you can configure:
Enable Point Purchase
Payment Amount per Point (e.g., 0.02 USD per point)
Minimum Purchasable Points
Maximum Purchasable Points
Currency (e.g., USD, EUR, GBP, or any other currency)
The currency you enter here will be used throughout the entire platform, including both withdrawal requests and point purchase transactions. This allows you to use any currency supported by your payment processor, ensuring flexibility for users in different regions.
What is the Volume Level Setting?
The volume level setting determines the minimum sound level required for users to earn points while watching videos. For example, if you set the volume level to 20%, and users mute the video or lower the volume below this threshold, the video playback and progress timer will automatically pause. In this case, a warning message will be shown to the user, and the video cannot resume until the volume is increased to the required level or higher. Once the user adjusts the volume to meet the specified level, the video will continue playing from where it was paused.
This feature can be useful in ensuring that users actively watch and listen to the content, rather than playing videos in the background without engagement.
If you do not want to use this feature, simply set the value to 0 to disable it.
You can enable or disable this setting in the Settings page under the Video Watching & Approval Settings section, by adjusting the "Minimum Volume Level (0 to disable)" option. For example, setting it to 20 will require a minimum 20% volume level for video playback; setting it to 0 will turn off this requirement entirely.
This feature can be useful in ensuring that users actively watch and listen to the content, rather than playing videos in the background without engagement.
If you do not want to use this feature, simply set the value to 0 to disable it.
You can enable or disable this setting in the Settings page under the Video Watching & Approval Settings section, by adjusting the "Minimum Volume Level (0 to disable)" option. For example, setting it to 20 will require a minimum 20% volume level for video playback; setting it to 0 will turn off this requirement entirely.
How Do I Set the Points Earned per Watch Time?
You can configure the points users earn based on the time they spend watching a video. This feature allows you to set different point values according to the duration watched, encouraging longer engagement with the content.
How to Configure:
Navigate to the Points page in the Admin Panel.
Enter the desired watch time (in seconds) in the "Watch Seconds" field.
Specify the points users will earn for watching a video for that duration in the "Points per Watch" field.
Click "Add Settings" to save your configuration.
Example:
If you set "Watch for 10 seconds, Earn 5 points," users will earn 5 points after watching a video for 10 seconds.
You can add multiple configurations, such as:
Watch for 15 seconds → Earn 10 points
Watch for 20 seconds → Earn 15 points
Watch for 30 seconds → Earn 25 points
You can also edit or delete existing settings using the provided buttons.
Important Note:
If you delete a points setting, all videos associated with that specific points configuration will also be removed from the system. Make sure to review any changes carefully before deleting a points setting to avoid unintended loss of content.
How to Configure:
Navigate to the Points page in the Admin Panel.
Enter the desired watch time (in seconds) in the "Watch Seconds" field.
Specify the points users will earn for watching a video for that duration in the "Points per Watch" field.
Click "Add Settings" to save your configuration.
Example:
If you set "Watch for 10 seconds, Earn 5 points," users will earn 5 points after watching a video for 10 seconds.
You can add multiple configurations, such as:
Watch for 15 seconds → Earn 10 points
Watch for 20 seconds → Earn 15 points
Watch for 30 seconds → Earn 25 points
You can also edit or delete existing settings using the provided buttons.
Important Note:
If you delete a points setting, all videos associated with that specific points configuration will also be removed from the system. Make sure to review any changes carefully before deleting a points setting to avoid unintended loss of content.
How Does the Leaders Feature Work?
The Leaders Feature allows you to create a leaderboard where the top users are rewarded based on their ranking. Here’s how it works:
Enabling or Disabling the Leaders Feature:
If the Leaders Feature is disabled, the "Leaders" menu item in the user dashboard is automatically hidden, and the leaderboard functionality is turned off entirely.
When the feature is enabled, the leaderboard becomes visible, and users can compete for rewards based on their ranking.
Automatic Reward Distribution:
You can configure the number of top users to be displayed and assign rewards based on their ranking.
Each night at 12 AM, the system automatically distributes rewards according to the ranking you have set, from the first place to the last.
For this automated process to work correctly, you must set up a cron job as described in the documentation’s cron job section.
Settings Configuration:
Go to the Settings page and navigate to the Leaders Settings section. Here, you can:
Enable or disable the Leaders Feature.
Enable or disable the Leaders Reward Distribution.
Set the Number of Users to Display on the leaderboard (e.g., 8 users).
Admin Leader Page:
Based on the number of users specified in the "Number of Users to Display" setting, the Admin Leader page will automatically generate the corresponding number of columns.
The admin can then manually assign the rewards for each position based on the ranking.
Example Configuration:
If you set Number of Users to Display to 8, the leaderboard will show the top 8 users.
Rewards are distributed every night at 12 AM based on the rankings.
Ensure that you have the cron job correctly configured for the feature to work seamlessly.
This feature is designed to encourage user engagement by rewarding top performers automatically, helping to boost activity on your platform.
Enabling or Disabling the Leaders Feature:
If the Leaders Feature is disabled, the "Leaders" menu item in the user dashboard is automatically hidden, and the leaderboard functionality is turned off entirely.
When the feature is enabled, the leaderboard becomes visible, and users can compete for rewards based on their ranking.
Automatic Reward Distribution:
You can configure the number of top users to be displayed and assign rewards based on their ranking.
Each night at 12 AM, the system automatically distributes rewards according to the ranking you have set, from the first place to the last.
For this automated process to work correctly, you must set up a cron job as described in the documentation’s cron job section.
Settings Configuration:
Go to the Settings page and navigate to the Leaders Settings section. Here, you can:
Enable or disable the Leaders Feature.
Enable or disable the Leaders Reward Distribution.
Set the Number of Users to Display on the leaderboard (e.g., 8 users).
Admin Leader Page:
Based on the number of users specified in the "Number of Users to Display" setting, the Admin Leader page will automatically generate the corresponding number of columns.
The admin can then manually assign the rewards for each position based on the ranking.
Example Configuration:
If you set Number of Users to Display to 8, the leaderboard will show the top 8 users.
Rewards are distributed every night at 12 AM based on the rankings.
Ensure that you have the cron job correctly configured for the feature to work seamlessly.
This feature is designed to encourage user engagement by rewarding top performers automatically, helping to boost activity on your platform.
Which Videos Do Users See on the Homepage?
The videos displayed on the homepage depend on several factors based on the user's session, language settings, and available points in the system. Here's how it works according to the code logic:
User Session and Language Detection:
If the user is logged in, their language preference is fetched from their profile.
If the user is not logged in, the browser language is detected and used as the language preference.
The supported languages are checked against user and browser preferences. If the language is not supported, it defaults to the site’s default language.
Language Filter Setting:
The site settings include a "Filter Videos by User Language" option.
If this setting is enabled, the videos shown will be filtered based on the user’s language and the browser language.
Logged-in Users: The system checks both the user’s preferred language and the browser’s language setting.
Not Logged-in Users: Only the browser language is considered for filtering.
Approved Videos Only:
The videos shown on the homepage are fetched only if they have been approved by the admin (Approved = 1).
Sorting of Videos:
Videos are sorted based on the points per watch in descending order, followed by the creation date. This prioritizes videos that offer higher rewards.
Owner Points Check:
The system checks the remaining points of the video owner. Only videos where the owner has enough points to reward viewers are displayed.
If the owner’s remaining points are lower than the points required for a watch, the video will not be shown.
Excluding Already Watched Videos:
For logged-in users, videos they have already watched are excluded from the list.
Additionally, users cannot see their own videos in the feed to prevent self-interaction.
Non-logged-in Users:
The video list for non-logged-in users only includes videos where the owner has enough points to cover the points per watch.
Enable or disable language filtering in the Video Watching & Approval Settings section by toggling "Filter Videos by User Language Preference".
Ensure video owners have enough points in their account to keep their videos visible on the homepage.
This explanation should help users understand how videos are selected and displayed on the homepage based on different settings and user interactions.
User Session and Language Detection:
If the user is logged in, their language preference is fetched from their profile.
If the user is not logged in, the browser language is detected and used as the language preference.
The supported languages are checked against user and browser preferences. If the language is not supported, it defaults to the site’s default language.
Language Filter Setting:
The site settings include a "Filter Videos by User Language" option.
If this setting is enabled, the videos shown will be filtered based on the user’s language and the browser language.
Logged-in Users: The system checks both the user’s preferred language and the browser’s language setting.
Not Logged-in Users: Only the browser language is considered for filtering.
Approved Videos Only:
The videos shown on the homepage are fetched only if they have been approved by the admin (Approved = 1).
Sorting of Videos:
Videos are sorted based on the points per watch in descending order, followed by the creation date. This prioritizes videos that offer higher rewards.
Owner Points Check:
The system checks the remaining points of the video owner. Only videos where the owner has enough points to reward viewers are displayed.
If the owner’s remaining points are lower than the points required for a watch, the video will not be shown.
Excluding Already Watched Videos:
For logged-in users, videos they have already watched are excluded from the list.
Additionally, users cannot see their own videos in the feed to prevent self-interaction.
Non-logged-in Users:
The video list for non-logged-in users only includes videos where the owner has enough points to cover the points per watch.
Enable or disable language filtering in the Video Watching & Approval Settings section by toggling "Filter Videos by User Language Preference".
Ensure video owners have enough points in their account to keep their videos visible on the homepage.
This explanation should help users understand how videos are selected and displayed on the homepage based on different settings and user interactions.
Where Do Messages from the Contact Form Go?
The "Contact Form Admin Emails" setting allows you to specify which email addresses will receive messages sent through the contact form. You can enter multiple email addresses separated by commas. For example: [email protected], [email protected].
This feature ensures that all designated admins receive important inquiries or messages from users without missing any notifications.
To set this up, go to the Settings page, find the Contact Form Admin Emails field, and enter the desired email addresses, separated by commas. For example: [email protected].
This feature ensures that all designated admins receive important inquiries or messages from users without missing any notifications.
To set this up, go to the Settings page, find the Contact Form Admin Emails field, and enter the desired email addresses, separated by commas. For example: [email protected].
What is "Pause Watching When Switching Tabs" Feature?
The "Pause Watching When Switching Tabs" feature automatically pauses video playback if the user navigates away from the current tab or window. This ensures that users are actively engaged with the video and not simply playing it in the background to earn points without watching.
When the user switches back to the video tab, playback will resume from where it was paused, allowing them to continue watching and earning points.
This feature helps maintain fair engagement and prevents users from bypassing the viewing requirement.
If you do not want to use this feature, you can disable it by toggling it off in the Settings page under the Video Watching & Approval Settings section, specifically in the "Pause video playback when switching to another tab" option.
When the user switches back to the video tab, playback will resume from where it was paused, allowing them to continue watching and earning points.
This feature helps maintain fair engagement and prevents users from bypassing the viewing requirement.
If you do not want to use this feature, you can disable it by toggling it off in the Settings page under the Video Watching & Approval Settings section, specifically in the "Pause video playback when switching to another tab" option.
What Happens if You Enable or Disable the Language Filter?
If you enable the language filter, users will only see videos specific to their country or region. For example, users in the United States will see videos from other U.S. users, while users in Germany will see videos from Germany. This feature relies on both the user’s country and their preferred language settings, ensuring localized content is shown.
If you disable the language filter, videos from all countries will be visible to everyone globally, regardless of location. In this case, users can see videos from other countries and earn points for interacting with them as well.
Even if users attempt to bypass the filter by changing their browser language, the country filter remains active. The user’s country is determined and recorded during registration, so they won't gain access to videos restricted to a different region. And if they do access these videos, they will still be able to earn points only if the language filter is disabled.
This explanation clarifies how the language filter affects content visibility and point earning for users, providing a better understanding for potential buyers of the script.
You can enable or disable this setting in the Settings page under the Video Watching & Approval Settings section, specifically by toggling the "Filter videos by user language preference" option.
If you disable the language filter, videos from all countries will be visible to everyone globally, regardless of location. In this case, users can see videos from other countries and earn points for interacting with them as well.
Even if users attempt to bypass the filter by changing their browser language, the country filter remains active. The user’s country is determined and recorded during registration, so they won't gain access to videos restricted to a different region. And if they do access these videos, they will still be able to earn points only if the language filter is disabled.
This explanation clarifies how the language filter affects content visibility and point earning for users, providing a better understanding for potential buyers of the script.
You can enable or disable this setting in the Settings page under the Video Watching & Approval Settings section, specifically by toggling the "Filter videos by user language preference" option.
Information
Category | Scripts & Code / PHP Scripts / Multimedia / Video |
First release | 18 November 2024 |
Last update | 18 November 2024 |
Software version | PHP 7.4, PHP 8.0, PHP 8.1, PHP 8.2, PHP 8.3 |
Files included | .php, .css, .html, .sql, Javascript .js |
Tags | leaderboard, monetization, customizable, admin panel, user management, rewards, youtube script, dark mode, light mode, paypal integration, language support, video engagement, mutual viewing, points system, anti-cheat |