add an option to do not let users remove channel filter
0
.gitignore
vendored
Executable file → Normal file
0
plugin/AD_Server/AD_Server.php
Executable file → Normal file
0
plugin/AD_Server/Objects/VastCampaigns.php
Executable file → Normal file
0
plugin/AD_Server/Objects/VastCampaignsLogs.php
Executable file → Normal file
0
plugin/AD_Server/Objects/VastCampaignsVideos.php
Executable file → Normal file
0
plugin/AD_Server/VAST.php
Executable file → Normal file
0
plugin/AD_Server/VMAP.php
Executable file → Normal file
0
plugin/AD_Server/footer.php
Executable file → Normal file
0
plugin/AD_Server/index.php
Executable file → Normal file
0
plugin/AD_Server/install/install.sql
Executable file → Normal file
0
plugin/AD_Server/log.php
Executable file → Normal file
0
plugin/AD_Server/pluginMenu.html
Executable file → Normal file
0
plugin/AD_Server/videojs-ima/videojs.ima.css
Executable file → Normal file
0
plugin/AD_Server/videojs-ima/videojs.ima.js
Executable file → Normal file
0
plugin/AD_Server/videojs-ima/videojs.ima.min.js
vendored
Executable file → Normal file
0
plugin/AD_Server/videojs-ima/videojs.ima.scss
Executable file → Normal file
0
plugin/AD_Server/videojs-markers/videojs-markers.js
Executable file → Normal file
0
plugin/AD_Server/videojs-markers/videojs-markers.js.map
Executable file → Normal file
0
plugin/AD_Server/videojs-markers/videojs-markers.min.js
vendored
Executable file → Normal file
0
plugin/AD_Server/videojs-markers/videojs.markers.css
Executable file → Normal file
0
plugin/AD_Server/videojs-markers/videojs.markers.min.css
vendored
Executable file → Normal file
0
plugin/AD_Server/view/addCampaign.php
Executable file → Normal file
0
plugin/AD_Server/view/addCampaignVideo.php
Executable file → Normal file
0
plugin/AD_Server/view/campaigns.json.php
Executable file → Normal file
0
plugin/AD_Server/view/campaignsVideos.json.php
Executable file → Normal file
0
plugin/AD_Server/view/deleteCampaign.json.php
Executable file → Normal file
0
plugin/AD_Server/view/deleteCampaignVideo.json.php
Executable file → Normal file
0
plugin/AD_Server_Location/AD_Server_Location.php
Executable file → Normal file
0
plugin/AD_Server_Location/Objects/CampaignLocations.php
Executable file → Normal file
0
plugin/AD_Server_Location/campaignPanel.php
Executable file → Normal file
0
plugin/AD_Server_Location/install/install.sql
Executable file → Normal file
0
plugin/Audit/Audit.php
Executable file → Normal file
0
plugin/Audit/Objects/AuditTable.php
Executable file → Normal file
0
plugin/Audit/install/audit.mwb
Executable file → Normal file
0
plugin/Audit/install/audit.mwb.bak
Executable file → Normal file
0
plugin/Audit/install/install.sql
Executable file → Normal file
0
plugin/Audit/page/audits.json.php
Executable file → Normal file
0
plugin/Audit/page/editor.php
Executable file → Normal file
0
plugin/Audit/pluginMenu.html
Executable file → Normal file
0
plugin/Cache/Cache.php
Executable file → Normal file
0
plugin/CloneSite/CloneLog.php
Executable file → Normal file
0
plugin/CloneSite/CloneSite.php
Executable file → Normal file
0
plugin/CloneSite/Objects/Clones.php
Executable file → Normal file
0
plugin/CloneSite/Objects/cloneSiteModel.mwb
Executable file → Normal file
0
plugin/CloneSite/changeStatus.json.php
Executable file → Normal file
0
plugin/CloneSite/cloneClient.json.php
Executable file → Normal file
0
plugin/CloneSite/cloneServer.json.php
Executable file → Normal file
0
plugin/CloneSite/clones.json.php
Executable file → Normal file
0
plugin/CloneSite/delete.json.php
Executable file → Normal file
0
plugin/CloneSite/functions.php
Executable file → Normal file
0
plugin/CloneSite/index.php
Executable file → Normal file
0
plugin/CloneSite/install/install.sql
Executable file → Normal file
0
plugin/CloneSite/pluginMenu.html
Executable file → Normal file
0
plugin/CookieAlert/CookieAlert.php
Executable file → Normal file
0
plugin/CookieAlert/cookiealert-standalone.js
Executable file → Normal file
0
plugin/CookieAlert/cookiealert.css
Executable file → Normal file
0
plugin/CookieAlert/cubes.png
Executable file → Normal file
Before Width: | Height: | Size: 8.4 KiB After Width: | Height: | Size: 8.4 KiB |
0
plugin/CookieAlert/demo.html
Executable file → Normal file
0
plugin/CookieAlert/footer.php
Executable file → Normal file
1
plugin/CustomizeAdvanced/CustomizeAdvanced.php
Executable file → Normal file
|
@ -98,6 +98,7 @@ class CustomizeAdvanced extends PluginAbstract {
|
||||||
$obj->disableContactLeftMenu= false;
|
$obj->disableContactLeftMenu= false;
|
||||||
$obj->disableNavbar= false;
|
$obj->disableNavbar= false;
|
||||||
$obj->userCanNotChangeCategory = false;
|
$obj->userCanNotChangeCategory = false;
|
||||||
|
$obj->hideRemoveChannelFromModeYoutube = false;
|
||||||
|
|
||||||
return $obj;
|
return $obj;
|
||||||
}
|
}
|
||||||
|
|
0
plugin/CustomizeAdvanced/advancedCustom.json.php
Executable file → Normal file
0
plugin/FBTube/FBTube.php
Executable file → Normal file
0
plugin/FBTube/view/getVideos.php
Executable file → Normal file
0
plugin/FBTube/view/modeFacebook.php
Executable file → Normal file
0
plugin/FBTube/view/player.css
Executable file → Normal file
0
plugin/FBTube/view/style.css
Executable file → Normal file
0
plugin/FloatVideo/FloatVideo.php
Executable file → Normal file
1
plugin/Gallery/Gallery.php
Executable file → Normal file
|
@ -61,6 +61,7 @@ class Gallery extends PluginAbstract {
|
||||||
$obj->searchOnChannels = true;
|
$obj->searchOnChannels = true;
|
||||||
$obj->searchOnChannelsRowCount = 12;
|
$obj->searchOnChannelsRowCount = 12;
|
||||||
$obj->playVideoOnFullscreen = false;
|
$obj->playVideoOnFullscreen = false;
|
||||||
|
$obj->filterUserChannel = false;
|
||||||
return $obj;
|
return $obj;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
0
plugin/Gallery/fullscreen.css
Executable file → Normal file
0
plugin/Gallery/fullscreen.js
Executable file → Normal file
15
plugin/Gallery/functions.php
Executable file → Normal file
|
@ -109,8 +109,17 @@ function createOrderInfo($getName, $mostWord, $lessWord, $orderString) {
|
||||||
function createGallerySection($videos, $crc = "", $get = array()) {
|
function createGallerySection($videos, $crc = "", $get = array()) {
|
||||||
global $global, $config, $obj, $advancedCustom;
|
global $global, $config, $obj, $advancedCustom;
|
||||||
$countCols = 0;
|
$countCols = 0;
|
||||||
|
$obj = YouPHPTubePlugin::getObjectData("Gallery");
|
||||||
|
|
||||||
foreach ($videos as $value) {
|
foreach ($videos as $value) {
|
||||||
|
|
||||||
|
// that meas auto generate the channelName
|
||||||
|
if (empty($get) && !empty($obj->filterUserChannel)) {
|
||||||
|
$getCN = array('channelName' => $value['channelName'], 'catName' => @$_GET['catName']);
|
||||||
|
}else{
|
||||||
|
$getCN = $get;
|
||||||
|
}
|
||||||
|
|
||||||
$img_portrait = ($value['rotation'] === "90" || $value['rotation'] === "270") ? "img-portrait" : "";
|
$img_portrait = ($value['rotation'] === "90" || $value['rotation'] === "270") ? "img-portrait" : "";
|
||||||
$name = User::getNameIdentificationById($value['users_id']);
|
$name = User::getNameIdentificationById($value['users_id']);
|
||||||
// make a row each 6 cols
|
// make a row each 6 cols
|
||||||
|
@ -121,7 +130,7 @@ function createGallerySection($videos, $crc = "", $get = array()) {
|
||||||
$countCols ++;
|
$countCols ++;
|
||||||
?>
|
?>
|
||||||
<div class="col-lg-2 col-md-4 col-sm-4 col-xs-6 galleryVideo thumbsImage fixPadding" style="z-index: 2; min-height: 175px;">
|
<div class="col-lg-2 col-md-4 col-sm-4 col-xs-6 galleryVideo thumbsImage fixPadding" style="z-index: 2; min-height: 175px;">
|
||||||
<a class="galleryLink" videos_id="<?php echo $value['id']; ?>" href="<?php echo Video::getLink($value['id'], $value['clean_title'], false, $get); ?>" title="<?php echo $value['title']; ?>">
|
<a class="galleryLink" videos_id="<?php echo $value['id']; ?>" href="<?php echo Video::getLink($value['id'], $value['clean_title'], false, $getCN); ?>" title="<?php echo $value['title']; ?>">
|
||||||
<?php
|
<?php
|
||||||
$images = Video::getImageFromFilename($value['filename'], $value['type']);
|
$images = Video::getImageFromFilename($value['filename'], $value['type']);
|
||||||
$imgGif = $images->thumbsGif;
|
$imgGif = $images->thumbsGif;
|
||||||
|
@ -135,7 +144,7 @@ function createGallerySection($videos, $crc = "", $get = array()) {
|
||||||
</div>
|
</div>
|
||||||
<span class="duration"><?php echo Video::getCleanDuration($value['duration']); ?></span>
|
<span class="duration"><?php echo Video::getCleanDuration($value['duration']); ?></span>
|
||||||
</a>
|
</a>
|
||||||
<a class="h6 galleryLink" videos_id="<?php echo $value['id']; ?>" href="<?php echo Video::getLink($value['id'], $value['clean_title'], false, $get); ?>" title="<?php echo $value['title']; ?>">
|
<a class="h6 galleryLink" videos_id="<?php echo $value['id']; ?>" href="<?php echo Video::getLink($value['id'], $value['clean_title'], false, $getCN); ?>" title="<?php echo $value['title']; ?>">
|
||||||
<h2><?php echo $value['title']; ?></h2>
|
<h2><?php echo $value['title']; ?></h2>
|
||||||
</a>
|
</a>
|
||||||
|
|
||||||
|
@ -245,7 +254,7 @@ function createGallerySection($videos, $crc = "", $get = array()) {
|
||||||
'name': $('#playListName<?php echo $value['id'] . $crc; ?>').val()
|
'name': $('#playListName<?php echo $value['id'] . $crc; ?>').val()
|
||||||
},
|
},
|
||||||
success: function (response) {
|
success: function (response) {
|
||||||
if (response.status==="1") {
|
if (response.status === "1") {
|
||||||
playList = [];
|
playList = [];
|
||||||
console.log(1);
|
console.log(1);
|
||||||
reloadPlayLists();
|
reloadPlayLists();
|
||||||
|
|
0
plugin/Gallery/script.js
Executable file → Normal file
0
plugin/Gallery/style.css
Executable file → Normal file
0
plugin/Gallery/view/BigVideo.php
Executable file → Normal file
0
plugin/Gallery/view/Category.php
Executable file → Normal file
0
plugin/Gallery/view/modeGallery.php
Executable file → Normal file
0
plugin/Hotkeys/Hotkeys.php
Executable file → Normal file
0
plugin/Hotkeys/videojs.hotkeys.min.js
vendored
Executable file → Normal file
0
plugin/IMDbScrape/.gitignore
vendored
Executable file → Normal file
0
plugin/IMDbScrape/IMDbScrape.php
Executable file → Normal file
0
plugin/IMDbScrape/cache/.gitkeep
vendored
Executable file → Normal file
0
plugin/IMDbScrape/cast/not-found.jpg
Executable file → Normal file
Before Width: | Height: | Size: 423 B After Width: | Height: | Size: 423 B |
0
plugin/IMDbScrape/footer.php
Executable file → Normal file
0
plugin/IMDbScrape/get.json.php
Executable file → Normal file
0
plugin/IMDbScrape/imdb.class.php
Executable file → Normal file
0
plugin/IMDbScrape/posters/not-found.jpg
Executable file → Normal file
Before Width: | Height: | Size: 462 B After Width: | Height: | Size: 462 B |
0
plugin/Live/Live.php
Executable file → Normal file
0
plugin/Live/Objects/LiveTransmition.php
Executable file → Normal file
0
plugin/Live/getImage.php
Executable file → Normal file
0
plugin/Live/index.php
Executable file → Normal file
0
plugin/Live/install/install.sql
Executable file → Normal file
0
plugin/Live/install/nginx.conf
Executable file → Normal file
0
plugin/Live/install/nginx.old.conf
Executable file → Normal file
0
plugin/Live/on_play.php
Executable file → Normal file
0
plugin/Live/on_publish.php
Executable file → Normal file
0
plugin/Live/on_record_done.php
Executable file → Normal file
0
plugin/Live/sample-player.zip
Executable file → Normal file
0
plugin/Live/sample-player/index.html
Executable file → Normal file
0
plugin/Live/sample-player/poster.jpg
Executable file → Normal file
Before Width: | Height: | Size: 44 KiB After Width: | Height: | Size: 44 KiB |