Nothing new... I just released the current version (v1.0.8) to the mod DB for validation.muggins wrote:What was the additional feature, Keith?
I've been using a slightly modified version of your excellent mods for months now.. Post the new package?
youtube2.css
.+1ViolaF wrote:Rename the call of the file and the file itself toyoutube2.css
.
Code: Select all
<!-- IF not S_IS_BOT -->
<!-- IF S_USER_LOGGED_IN -->
<div style="padding:10px:center;">
<div align="center"><a href="#" id="hiding15"><img src="{T_THEME_PATH}/images/youtube_videos_mod.png" width="16" height="16" alt="*" title="{L_YOUTUBE_VIDEOS_MOD_LINK}" /> {L_YOU_SHOW_HIDE}</a></div>
</div>
<script type="text/javascript">
// <![CDATA[
$(document).ready(function(){
//-------------------
// $('#datecks').datepicker({ showButtonPanel: false });
//-------------------
$('#hiding15').click(function(){
if ($('#hide15').is(":hidden")){
$('#hide15').slideDown("slow");}
else{
$('#hide15').slideUp("slow");}
return false;});
//-------------------
});
// ]]>
</script>
<div style="display:none;font-size:10px:center;" id="hide15">
<center>
<h1 class="yvh">{L_YOUTUBE_VIDEOS_MOD_PAGE_TITLE}</h1>
<br />
<div style="width: 720px;">
<div id="playerContainer" style="width: 720px;">
<object id="player"></object>
</div>
<br />
<div id="videoSize">
<input type="button" id="Widescreen" value="{L_YOUTUBE_VIDEOS_MOD_WIDESCREEN}" onclick="javascript:HDPlayer()" disabled="true"></input>
<input type="button" id="Standard" value="{L_YOUTUBE_VIDEOS_MOD_STANDARD}" onclick="javascript:HQPlayer()"></input>
</div><br />
<div id="searchForm">
<form id="searchForm" onsubmit="quvic.listVideos('search', this.searchTerm.value, 1); return false;">
<input name="searchTerm" type="text" value="" style="width: 280px;">
<input type="submit" value="{L_YOUTUBE_VIDEOS_MOD_SEARCH}">
</form>
</div>
<br />
<div align="center">
<a href="#" onclick="quvic.listVideos('recently_featured','',1); return false;"><b>{L_YOUTUBE_VIDEOS_MOD_RECENTLY_FEATURED}</b></a> |
<a href="#" onclick="quvic.listVideos('top_rated','',1); return false;"><b>{L_YOUTUBE_VIDEOS_MOD_TOP_RATED}</b></a> |
<a href="#" onclick="quvic.listVideos('most_viewed','',1); return false;"><b>{L_YOUTUBE_VIDEOS_MOD_MOST_VIEWED}</b></a> |
<a href="#" onclick="quvic.listVideos('most_popular','',1); return false;"><b>{L_YOUTUBE_VIDEOS_MOD_MOST_POPULAR}</b></a>
</div>
<br /><br />
<div id="searchResultsNavigation" align="right"><label id="videosinfo" align="right"></label> <form id="navigationForm"><input type="button" id="previousPageButton" onclick="quvic.listVideos(quvic.previousQueryType, quvic.previousSearchTerm, quvic.previousPage);" value="{L_YOUTUBE_VIDEOS_MOD_PREVIOUS_PAGE}" style="display: none;"></input> <input type="button" id="nextPageButton" onclick="quvic.listVideos(quvic.previousQueryType, quvic.previousSearchTerm, quvic.nextPage);" value="{L_YOUTUBE_VIDEOS_MOD_NEXT_PAGE}" style="display: none;"></input></form></div>
<div id="videolist">
<script language="javascript" type="text/javascript">
// <![CDATA[
<!--
quvic.PresentVideos('recently_featured','',1);
//-->
// ]]>
</script>
</div>
<div class="clear"></div>
</p>
</center>
</div>
<br />
<!-- ENDIF -->
<!-- ENDIF -->
Code: Select all
<div id="youtube">
<!-- INCLUDE youtube_header.html -->
</div>
Code: Select all
<?php
if (!defined('IN_PHPBB'))
{
exit;
}
if (empty($lang) || !is_array($lang))
{
$lang = array();
}
$lang = array_merge($lang, array(
'YOU_SHOW_HIDE' => 'Mostra/Nascondi youtube', // iTALIAN (you change in your language)
));
?>
Code: Select all
// DEVELOPERS PLEASE NOTE
Code: Select all
// (c) Salvo Cortesiano / 2013
include('mods/youtube_language.' . $phpEx);
// (c) Salvo Cortesiano / 2013
Yeah... That's not a bug. It's part of the mod. So normally, the page title of the videos page would change to whatever video is playing (as you stated).salvocortesiano wrote:I just found a bug; but this is normal, the title of the board changes with the title of the youtube video
No @muggins, you're not stupid; you're a geniusmuggins wrote:Yes. I am stupid right now, but the page title is set in overall_header.html or index,php. You can override the page title, banner and all sorts of other browser tricks.
Since I am stupid, Google can help you better than I.
from page 1 this keith10456mod appears to offer the same as the _vinny_gallery mod, they're both the same then?Adds a YouTube Videos page to your phpBB website. Your members will be able to search and view the videos that are available on YouTube (without leaving your site).