1
0
Fork 0
mirror of https://github.com/DanielnetoDotCom/YouPHPTube synced 2025-10-05 19:42:38 +02:00
This commit is contained in:
Daniel Neto 2023-07-19 10:53:07 -03:00
parent c16b9ca092
commit 9da836062f
17 changed files with 17 additions and 16 deletions

View file

@ -16,7 +16,7 @@ class AD_Overlay extends PluginAbstract {
public function getDescription() { public function getDescription() {
$txt = "Display simple overlays - similar to YouTube's \"Annotations\" feature in appearance - during video playback."; $txt = "Display simple overlays - similar to YouTube's \"Annotations\" feature in appearance - during video playback.";
$help = "<br><small><a href='https://github.com/WWBN/AVideo/wiki/AD_Overlay-Plugin' target='__blank'><i class='fas fa-question-circle'></i> Help</a></small>"; $help = "<br><small><a href='https://github.com/WWBN/AVideo/wiki/AD_Overlay-Plugin' target='_blank'><i class='fas fa-question-circle'></i> Help</a></small>";
return $txt . $help; return $txt . $help;
} }

View file

@ -22,7 +22,7 @@ class AD_Server extends PluginAbstract {
} }
public function getDescription() { public function getDescription() {
$desc = "VAST Ad Server<br><small><a href='https://github.com/WWBN/AVideo/wiki/Ad-Server-Plugin' target='__blank'><i class='fas fa-question-circle'></i> Help</a></small>"; $desc = "VAST Ad Server<br><small><a href='https://github.com/WWBN/AVideo/wiki/Ad-Server-Plugin' target='_blank'><i class='fas fa-question-circle'></i> Help</a></small>";
return $desc; return $desc;
} }

View file

@ -31,7 +31,7 @@ class ADs extends PluginAbstract
{ {
$txt = "Handle the ads system, like Adsense or similar"; $txt = "Handle the ads system, like Adsense or similar";
$help = ""; $help = "";
$help .= "<br><small><a href='https://github.com/WWBN/AVideo/wiki/ADs-plugin' target='__blank'>" $help .= "<br><small><a href='https://github.com/WWBN/AVideo/wiki/ADs-plugin' target='_blank'>"
. "<i class='fas fa-question-circle'></i> Help</a></small>"; . "<i class='fas fa-question-circle'></i> Help</a></small>";
return $txt . $help; return $txt . $help;

View file

@ -30,7 +30,7 @@ class AdsForJesus extends PluginAbstract {
public function getPluginMenu() { public function getPluginMenu() {
global $global; global $global;
return "<a href='https://forjesus.tv/' target='__blank' class='btn btn-success'><img src='https://forjesus.tv/img/logoLandscape-50.png' alt='4JesusTV' class='img img-responsive'></a>"; return "<a href='https://forjesus.tv/' target='_blank' class='btn btn-success'><img src='https://forjesus.tv/img/logoLandscape-50.png' alt='4JesusTV' class='img img-responsive'></a>";
} }
public function getEmptyDataObject() { public function getEmptyDataObject() {

View file

@ -16,7 +16,7 @@ class Cache extends PluginAbstract {
global $global; global $global;
$txt = "AVideo application accelerator to cache pages.<br>Your website has 10,000 visitors who are online, and your dynamic page has to send 10,000 times the same queries to database on every page load. With this plugin, your page only sends 1 query to your DB, and uses the cache to serve the 9,999 other visitors."; $txt = "AVideo application accelerator to cache pages.<br>Your website has 10,000 visitors who are online, and your dynamic page has to send 10,000 times the same queries to database on every page load. With this plugin, your page only sends 1 query to your DB, and uses the cache to serve the 9,999 other visitors.";
$txt .= "<br>To auto delete the old cache files you can use this crontab command <code>0 2 * * * php {$global['systemRootPath']}plugin/Cache/crontab.php</code> this will delete cache files that are 3 days old everyday at 2 AM"; $txt .= "<br>To auto delete the old cache files you can use this crontab command <code>0 2 * * * php {$global['systemRootPath']}plugin/Cache/crontab.php</code> this will delete cache files that are 3 days old everyday at 2 AM";
$help = "<br><small><a href='https://github.com/WWBN/AVideo/wiki/Cache-Plugin' target='__blank'><i class='fas fa-question-circle'></i> Help</a></small>"; $help = "<br><small><a href='https://github.com/WWBN/AVideo/wiki/Cache-Plugin' target='_blank'><i class='fas fa-question-circle'></i> Help</a></small>";
return $txt . $help; return $txt . $help;
} }

View file

@ -24,7 +24,7 @@ class CloneSite extends PluginAbstract
if (!isSshpass()) { if (!isSshpass()) {
$txt .= "<div class='alert alert-danger'>To use rsync feature you must install sshpass <code>sudo apt-get install sshpass</code></div>"; $txt .= "<div class='alert alert-danger'>To use rsync feature you must install sshpass <code>sudo apt-get install sshpass</code></div>";
} }
$help = "<br><small><a href='https://github.com/WWBN/AVideo/wiki/Clone-Site-Plugin' target='__blank'><i class='fas fa-question-circle'></i> Help</a></small>"; $help = "<br><small><a href='https://github.com/WWBN/AVideo/wiki/Clone-Site-Plugin' target='_blank'><i class='fas fa-question-circle'></i> Help</a></small>";
return $txt . $help; return $txt . $help;
} }

View file

@ -15,7 +15,7 @@ class CustomizeAdvanced extends PluginAbstract {
public function getDescription() { public function getDescription() {
$txt = "Fine Tuning your AVideo"; $txt = "Fine Tuning your AVideo";
$help = "<br><small><a href='https://github.com/WWBN/AVideo/wiki/Advanced-Customization-Plugin' target='__blank'><i class='fas fa-question-circle'></i> Help</a></small>"; $help = "<br><small><a href='https://github.com/WWBN/AVideo/wiki/Advanced-Customization-Plugin' target='_blank'><i class='fas fa-question-circle'></i> Help</a></small>";
return $txt . $help; return $txt . $help;
} }

@ -1 +1 @@
Subproject commit c5e3857804c03fcd09363e16175acdad70e1806b Subproject commit 358ad09ea58cdcf550af4722c570e7b021454de1

View file

@ -46,7 +46,7 @@ class Live extends PluginAbstract {
} }
} }
$desc .= "<br><strong>Start Self hosted WebRTC server:</strong> <code>php {$global['systemRootPath']}plugin/Live/standAloneFiles/WebRTCServer/server.php</code> "; $desc .= "<br><strong>Start Self hosted WebRTC server:</strong> <code>php {$global['systemRootPath']}plugin/Live/standAloneFiles/WebRTCServer/server.php</code> ";
$desc .= "<br><small><a href='https://github.com/WWBN/AVideo/wiki/WebRTC-Server' target='__blank'><i class='fas fa-question-circle'></i> Help</a></small>"; $desc .= "<br><small><a href='https://github.com/WWBN/AVideo/wiki/WebRTC-Server' target='_blank'><i class='fas fa-question-circle'></i> Help</a></small>";
return $desc; return $desc;
} }

View file

@ -18,7 +18,7 @@ class LiveLinks extends PluginAbstract {
public function getDescription() { public function getDescription() {
$desc = "Register Livestreams external Links from any HLS provider, Wowza and others"; $desc = "Register Livestreams external Links from any HLS provider, Wowza and others";
$desc .= $this->isReadyLabel(array('Live')); $desc .= $this->isReadyLabel(array('Live'));
$help = "<br><small><a href='https://github.com/WWBN/AVideo/wiki/LiveLinks-Plugin' target='__blank'><i class='fas fa-question-circle'></i> Help</a></small>"; $help = "<br><small><a href='https://github.com/WWBN/AVideo/wiki/LiveLinks-Plugin' target='_blank'><i class='fas fa-question-circle'></i> Help</a></small>";
return $desc . $help; return $desc . $help;
} }

View file

@ -22,7 +22,7 @@ class LoginApple extends PluginAbstract {
. "<br>Domains and Subdomains: <strong>". $parse['host']."</strong>" . "<br>Domains and Subdomains: <strong>". $parse['host']."</strong>"
. "<br>Return URLs: <strong>{$global['webSiteRootURL']}objects/login.json.php?type=$name</strong>" . "<br>Return URLs: <strong>{$global['webSiteRootURL']}objects/login.json.php?type=$name</strong>"
. ", <strong>{$global['webSiteRootURL']}plugin/MobileManager/oauth2.php?type=$name</strong>"; . ", <strong>{$global['webSiteRootURL']}plugin/MobileManager/oauth2.php?type=$name</strong>";
$help = "<br><small><a href='https://hybridauth.github.io/providers/apple.html' target='__blank'><i class='fas fa-question-circle'></i> Help</a></small>"; $help = "<br><small><a href='https://hybridauth.github.io/providers/apple.html' target='_blank'><i class='fas fa-question-circle'></i> Help</a></small>";
return $str.$help; return $str.$help;
} }

View file

@ -18,7 +18,7 @@ class Permissions extends PluginAbstract {
public function getDescription() { public function getDescription() {
$desc = "Permissions will allow you to add intermediate permisson to usergroups without need to make them Admin, " $desc = "Permissions will allow you to add intermediate permisson to usergroups without need to make them Admin, "
. " each plugin will have his own permission rules"; . " each plugin will have his own permission rules";
$help = "<br><small><a href='https://github.com/WWBN/AVideo/wiki/Permissions-Plugin' target='__blank'><i class='fas fa-question-circle'></i> Help</a></small>"; $help = "<br><small><a href='https://github.com/WWBN/AVideo/wiki/Permissions-Plugin' target='_blank'><i class='fas fa-question-circle'></i> Help</a></small>";
//$desc .= $this->isReadyLabel(array('YPTWallet')); //$desc .= $this->isReadyLabel(array('YPTWallet'));
return $desc.$help; return $desc.$help;
} }

View file

@ -14,7 +14,7 @@ class PredefinedCategory extends PluginAbstract {
public function getDescription() { public function getDescription() {
$txt = "Choose what category the video goes when upload, encode or embed"; $txt = "Choose what category the video goes when upload, encode or embed";
$help = "<br><small><a href='https://github.com/WWBN/AVideo/wiki/PredefinedCategory-Plugin' target='__blank'><i class='fas fa-question-circle'></i> Help</a></small>"; $help = "<br><small><a href='https://github.com/WWBN/AVideo/wiki/PredefinedCategory-Plugin' target='_blank'><i class='fas fa-question-circle'></i> Help</a></small>";
return $txt . $help; return $txt . $help;
} }

View file

@ -15,6 +15,7 @@ class Scheduler extends PluginAbstract
{ {
global $global; global $global;
$desc = "Scheduler Plugin"; $desc = "Scheduler Plugin";
$desc = '<br><a href="https://github.com/WWBN/AVideo/wiki/Scheduler-Plugin" target="_blank"><i class="fas fa-question-circle"></i> Help</a>';
if (!_isSchedulerPresentOnCrontab()) { if (!_isSchedulerPresentOnCrontab()) {
$desc = "<strong onclick='tooglePluginDescription(this);'>"; $desc = "<strong onclick='tooglePluginDescription(this);'>";
$desc .= self::getCronHelp(); $desc .= self::getCronHelp();

View file

@ -16,7 +16,7 @@ class TopMenu extends PluginAbstract {
} }
public function getDescription() { public function getDescription() {
$txt = "Responsive Customized Top Menu"; $txt = "Responsive Customized Top Menu";
$help = "<br><small><a href='https://github.com/WWBN/AVideo/wiki/How-to-use-TopMenu-Plug-in' target='__blank'><i class='fas fa-question-circle'></i> Help</a></small>"; $help = "<br><small><a href='https://github.com/WWBN/AVideo/wiki/How-to-use-TopMenu-Plug-in' target='_blank'><i class='fas fa-question-circle'></i> Help</a></small>";
return $txt.$help; return $txt.$help;
} }

View file

@ -22,7 +22,7 @@ class YPTSocket extends PluginAbstract {
$desc .= "<br>To test use <code>php {$global['systemRootPath']}plugin/YPTSocket/test.php</code>"; $desc .= "<br>To test use <code>php {$global['systemRootPath']}plugin/YPTSocket/test.php</code>";
$desc .= "<br>To start it on server reboot add it on your crontab (Ubuntu 18+) <code>sudo crontab -eu root</code> than add this code on the last line <code>@reboot sleep 60;nohup php {$global['systemRootPath']}plugin/YPTSocket/server.php &</code>"; $desc .= "<br>To start it on server reboot add it on your crontab (Ubuntu 18+) <code>sudo crontab -eu root</code> than add this code on the last line <code>@reboot sleep 60;nohup php {$global['systemRootPath']}plugin/YPTSocket/server.php &</code>";
$desc .= "<br>If you use Certbot to renew your SSL use (Ubuntu 18+) <code>sudo crontab -eu root</code> than add this code on the last line <code>0 1 * * * nohup php {$global['systemRootPath']}plugin/YPTSocket/serverCertbot.php &</code>"; $desc .= "<br>If you use Certbot to renew your SSL use (Ubuntu 18+) <code>sudo crontab -eu root</code> than add this code on the last line <code>0 1 * * * nohup php {$global['systemRootPath']}plugin/YPTSocket/serverCertbot.php &</code>";
$help = "<br>run this command start the server <small><a href='https://github.com/WWBN/AVideo/wiki/Socket-Plugin' target='__blank'><i class='fas fa-question-circle'></i> Help</a></small>"; $help = "<br>run this command start the server <small><a href='https://github.com/WWBN/AVideo/wiki/Socket-Plugin' target='_blank'><i class='fas fa-question-circle'></i> Help</a></small>";
//$desc .= $this->isReadyLabel(array('YPTWallet')); //$desc .= $this->isReadyLabel(array('YPTWallet'));
return $desc . $help; return $desc . $help;

View file

@ -15,7 +15,7 @@ class YouPHPFlix2 extends PluginAbstract
public function getDescription() public function getDescription()
{ {
$txt = "Make the first page looks like a Netflix site"; $txt = "Make the first page looks like a Netflix site";
$help = "<br><small><a href='https://github.com/WWBN/AVideo/wiki/Configure-a-Netflix-Clone-Page' target='__blank'><i class='fas fa-question-circle'></i> Help</a></small>"; $help = "<br><small><a href='https://github.com/WWBN/AVideo/wiki/Configure-a-Netflix-Clone-Page' target='_blank'><i class='fas fa-question-circle'></i> Help</a></small>";
return $txt . $help; return $txt . $help;
} }