View Full Version : Major Additions - Video-Directory
Surviver
12-17-2008, 01:40 PM
Is it possible to make the youtube videos autoplay? Is the code &autoplay=1 ? And where do I insert the code? thanks
includes/videoserviceapi/class_youtube.php
how to install vBulletin 3.8.0 Release Candidate 1 version
readme.txt?!
TriMe
12-17-2008, 02:18 PM
includes/videoserviceapi/class_youtube.php
I tried to edit it, now I'm getting a error:
Parse error: syntax error, unexpected T_CLASS in /home/global43/public_html/includes/videoserviceapi/class_youtube.php on line 1
I re-downloaded your addin but there isn't a class_youtube.php file in the includes/videoserviceapi/ folder. Just a .html. Where is it??
Edit** Nevermind, I imported the YouTube Holster to fix
conker1
12-17-2008, 02:22 PM
Hi.
Your modification is really perfect
i think RSS feeds link problem will fix for next version.
i contacted with sevenload.com about API access.
they sended username and password for API access to me with mail.
But i writed in manage hosted sevenload - edit ;
Username
Sevenload API Access Username : my id
Password
Sevenload API Access Password : my password
but i cant still adding sevenload videos in your modification.
There is one textbox too in panel name is url of video should i write something there ?
Regards
Atilla CONKER
Surviver
12-17-2008, 06:36 PM
Hi.
Your modification is really perfect
i think RSS feeds link problem will fix for next version.
i contacted with sevenload.com about API access.
they sended username and password for API access to me with mail.
But i writed in manage hosted sevenload - edit ;
Username
Sevenload API Access Username : my id
Password
Sevenload API Access Password : my password
but i cant still adding sevenload videos in your modification.
There is one textbox too in panel name is url of video should i write something there ?
Regards
Atilla CONKER
Waht error message do you get when trying to add videos from SL?
conker1
12-17-2008, 08:56 PM
Example link : http://tr.sevenload.com/videolar/zZkhFGk-Komik-hayvanlar
When click "Load Information" i get error messagess "This URL is invalid"
Thanks.
Mr.samy
12-18-2008, 01:21 PM
what about google video ... i think there are more members here want to add this features in hack .... and i hope to add it soon :)
bongwater
12-18-2008, 02:09 PM
I installed it on 3.8.1 beta, made some minor changes to blend in with our existing color scheme. For those who want to see another working demo, click HERE (http://www.ravelinks.com/forums/video.php)
puregraf
12-18-2008, 04:32 PM
hi again, i wanted to add image buttons to the categorys i create that show as links, what file should i edit to make these changes?
thank you!
Surviver
12-18-2008, 05:59 PM
hi again, i wanted to add image buttons to the categorys i create that show as links, what file should i edit to make these changes?
thank you!
I don't understand what you want to do, but you should have a look at the template video_*
Leo Brazil
12-18-2008, 06:17 PM
is it possible to add subcategorys in one of the next version?
After just a couple of days getting this working on my board, I can tell you this would be great for sure. People love it but with a lot of videos in there it's getting a quite mess without subs.
Hey... do you know the RSS feed doesnt work in IE?
http://www.8wayrun.com/video.php?do=rss
Works in Firefox, but not IE.
I can confirm that too. It's not running on IE7
Okay, here are fixed vBSEO Reqrite URLs:
The new code really fixed. All links are now been replaced by vBSEO correctly but the Integration message on ACP are still there.
By the way, each template I have to change to correct the link on Navbar on CMPS ? Any idea ?
I tried to include video.php on navbar replacements on CMPS global options but it didn't work out.
Great job by the way. :up:
kaptanblack
12-18-2008, 06:50 PM
Example link : http://tr.sevenload.com/videolar/zZkhFGk-Komik-hayvanlar
When click "Load Information" i get error messagess "This URL is invalid"
Thanks.
Yes, i have this problem me too.
@Surviver, can you add new video hosters ? (Google video, dailymotion etc..) or how can i add new video hoster for my forum ?
Jaxel
12-19-2008, 01:37 AM
I've made some more changes to your code... I changed the way your script handles the $HTML tag, to include an $HTMLembed tag. This way I could move the actual video outside of the standard box area; I needed this because it allowed me greater space for high definition youtube videos. I also had to create a new template which I call "video_details_embed"...
http://www.8wayrun.com/video.php?do=viewdetails&videoid=109&styleid=3
Changes are more visible in attached screenshots...
TriMe
12-19-2008, 01:49 AM
Thats just amazing
Jaxel
12-19-2008, 02:41 AM
Since people are asking for all of my edits... The 3 files on attachments are my two youtube parsers (one for SD and one for HD) and my edited version of video.php. Simply overwrite your files with the ones I have and you will gain the functionality I have added to my forum... make the changes below FIRST...
CREATE a NEW template called "video_details_embed" with the following:
<table class="tborder" cellpadding="$stylevar[cellpadding]" cellspacing="$stylevar[cellspacing]" border="0" width="100%" align="center">
<tr>
<td class="tcat">
<a href="$videourl" target="_blank">$videoinfo[title]</a>
</td>
</tr>
<tr>
<td class="panelsurround" align="center">
<div class="panel">
$embedhtml
</div>
</td>
</tr>
</table>
<br />
REPLACE your "video_details" template with the following:
<if condition="$numberregistered">
<table class="tborder" cellpadding="$stylevar[cellpadding]" cellspacing="$stylevar[cellspacing]" border="0" width="100%" align="center">
<tr>
<td class="thead">
<a style="float:$stylevar[right]" href="#top" onclick="return toggle_collapse('watching_members')"><img id="collapseimg_watching_members" src="$stylevar[imgdir_button]/collapse_thead$vbcollapse[collapseimg_watching_members].gif" alt="" border="0" /></a> <phrase 1="$totalonline" 2="$numberregistered" 3="$numberguest">$vbphrase[members_who_are_watching_this_video]</phrase>
</td>
</tr>
<tbody id="collapseobj_watching_members" style="$vbcollapse[collapseobj_watching_members]">
<tr valign="top">
<td class="alt1">
$activeusers
</td>
</tr>
</tbody>
</table>
<br />
</if>
<table class="tborder" cellpadding="$stylevar[cellpadding]" cellspacing="$stylevar[cellspacing]" border="0" width="100%" align="center">
<tr>
<td class="thead">
<a style="float:$stylevar[right]" href="#top" onclick="return toggle_collapse('videodetails')"><img id="collapseimg_videodetails" src="$stylevar[imgdir_button]/collapse_thead$vbcollapse[collapseimg_videodetails].gif" alt="" border="0" /></a> $vbphrase[video_details]
</td>
</tr>
<tbody id="collapseobj_videodetails" style="$vbcollapse[collapseobj_videodetails]">
<tr valign="top">
<td class="panelsurround" align="center">
<div class="panel">
<div align="center">
<table class="tborder" cellpadding="$stylevar[cellpadding]" cellspacing="$stylevar[cellspacing]" border="0" width="100%" align="center" style="margin-bottom: 10px;">
<colgroup>
<col width="20%" />
<col width="80%" />
</colgroup>
<tr>
<td class="alt2" align="left" width="20%">
$vbphrase[title]
</td>
<td class="alt2" align="left">
$videoinfo[title]
</td>
</tr>
<tr>
<td class="alt2" align="left">
$vbphrase[video_category]
</td>
<td class="alt2" align="left">
<a href="video.php?$session[sessionurl]do=viewcategory&categoryid=$catinfo[videocategoryid]">$catinfo[title]</a>
</td>
</tr>
</tr>
<tr>
<td class="alt2" align="left">
$vbphrase[rating]
</td>
<td class="alt2" align="left">
<if condition="$show['videorating']">
<div id="videorating">
<if condition="$show['popups']">
<if condition="$show['rating']">
<a href="$show[nojs_link]" id="videorating_current"><img class="inlineimg" src="$stylevar[imgdir_rating]/rating_$videoinfo[rating].gif" alt="<phrase 1="$videoinfo[ratingnum]" 2="$videoinfo[ratingavg]">$vbphrase[rating_x_votes_y_average]</phrase>" border="0" /></a>
<else />
<a href="$show[nojs_link]" id="videorating_current">$vbphrase[rate_this_video]</a>
</if>
<script type="text/javascript"> vbmenu_register("videorating"); </script>
<else />
<!-- Non JS Stuff -->
<if condition="$show['rating']">
<img class="inlineimg" src="$stylevar[imgdir_rating]/rating_$videoinfo[rating].gif" alt="<phrase 1="$videoinfo[ratingnum]" 2="$videoinfo[ratingavg]">$vbphrase[rating_x_votes_y_average]</phrase>" border="0" />
<else />
$vbphrase[rate_this_video_entry]
</if>
<a name="goto_videorating"></a>
<form action="video.php?do=ratevideo&videoid=$videoinfo[videoid]" method="post" style="display: inline">
<input type="hidden" name="securitytoken" value="$bbuserinfo[securitytoken]" />
<input type="hidden" name="s" value="$session[dbsessionhash]" />
<input type="hidden" name="do" value="ratevideo" />
<input type="hidden" name="videoid" value="$videoinfo[videoid]" />
<select name="vote" onchange="this.form.submit()" style="width: 175px">
<optgroup label="$vbphrase[choose_a_rating]">
<option value="5" $voteselected[5]>5 : $vbphrase[excellent]</option>
<option value="4" $voteselected[4]>4 : $vbphrase[good]</option>
<option value="3" $voteselected[3]>3 : $vbphrase[average]</option>
<option value="2" $voteselected[2]>2 : $vbphrase[bad]</option>
<option value="1" $voteselected[1]>1 : $vbphrase[terrible]</option>
</optgroup>
</select>$gobutton
</form>
</if>
</div>
</if>
</td>
</tr>
<tr>
<td class="alt2" align="left">
$vbphrase[date]
</td>
<td class="alt2" align="left">
$videoinfo[date], <span class="time">$videoinfo[time]</span>
</td>
</tr>
<tr>
<td class="alt2" align="left">
$vbphrase[description]
</td>
<td class="alt2" align="left">
$videoinfo[description]
</td>
</tr>
<tr>
<td class="alt2" align="left">
$vbphrase[by]
</td>
<td class="alt2" align="left">
<a href="member.php?$session[sessionurl]u=$videoinfo[userid]">$videoinfo[musername]</a>
</td>
</tr>
<tr>
<td class="alt2" align="left">
$vbphrase[video_service]
</td>
<td class="alt2" align="left">
<a href="$videourl" target="_blank">$hostername</a>
</td>
</tr>
<tr>
<td class="alt2" align="left">
$vbphrase[video_url]
</td>
<td class="alt2" align="left">
<input type="text" class="bginput" size="70" onclick="this.focus(); this.select()" value="$videourl" readonly="readonly" />
</td>
</tr>
<if condition="$videobbcode">
<tr>
<td class="alt2" align="left">
$vbphrase[video_bbcode]
</td>
<td class="alt2" align="left">
<textarea class="bginput" cols="70" rows="2" onclick="this.focus(); this.select()" value="$videobbcode" readonly="readonly">$videobbcode</textarea>
</td>
</tr>
</if>
<tr>
<td class="alt2" align="left">
$vbphrase[embed_code]
</td>
<td class="alt2" align="left">
<textarea class="bginput" cols="70" rows="6" onclick="this.focus(); this.select()" value="$embedcopy" readonly="readonly">$embedcopy</textarea>
</td>
</tr>
<tr>
<td class="alt2" align="left">
$vbphrase[views]
</td>
<td class="alt2" align="left">
<strong>$videoinfo[views]</strong>
</td>
</tr>
<tr>
<td class="alt2" align="left">
$vbphrase[comment_count]
</td>
<td class="alt2" align="left">
<strong>$videoinfo[commentcount]</strong>
</td>
</tr>
<if condition="$show['editvideo'] OR $show['reportvideo']">
<tr>
<td class="alt2" align="left">
$vbphrase[action]
</td>
<td class="alt2" align="left">
<if condition="$show['editvideo']"><a href="video.php?$session[sessionurl]do=editvideo&videoid=$videoinfo[videoid]">[$vbphrase[edit]]</a></if> <if condition="$show['reportvideo']"><a id="report_video" href="">[$vbphrase[report_video]]</a><script type="text/javascript"> vbmenu_register("report_video", true); </script></if>
</td>
</tr>
</if>
</table>
</div>
</div>
</td>
</tr>
</tbody>
</table>
<br />
<table class="tborder" cellpadding="$stylevar[cellpadding]" cellspacing="$stylevar[cellspacing]" border="0" width="100%" align="center">
<tr>
<td class="thead">
<a style="float: $stylevar[right]" href="#top" onclick="return toggle_collapse('videocomments')"><img id="collapseimg_videocomments" src="$stylevar[imgdir_button]/collapse_thead$vbcollapse[collapseimg_videocomments].gif" alt="" border="0" /></a> <a name="comments"></a>$vbphrase[comments]
</td>
</tr>
<tbody id="collapseobj_videocomments" style="$vbcollapse[collapseobj_videocomments]">
<if condition="!$videoinfo['commentcount']">
<tr valign="top">
<td class="alt1" align="center">$vbphrase[there_are_no_comments_to_this_video]</td>
</tr>
<else />
$commentbits
</if>
</tbody>
</table>
<if condition="$pagenav">
<br />
$pagenav
</if>
<if condition="$show['quickreply']">
<!-- quick reply -->
$vBeditTemplate[clientscript]
<br />
<script type="text/javascript" src="clientscript/vbulletin_quick_reply.js?v=$vboptions[simpleversion]"></script>
<script type="text/javascript" src="clientscript/vbulletin_ajax_videocomment.js?v=$vboptions[simpleversion]"></script>
<form action="video.php?do=postcomment&videoid=$videoinfo[videoid]" method="post" name="vbform" onsubmit="return qr_prepare_video_comment_submit(this, $vboptions[videodirectory_commentminlength]);" id="qrform">
<table class="tborder" cellpadding="$stylevar[cellpadding]" cellspacing="$stylevar[cellspacing]" border="0" width="100%" align="center">
<thead>
<tr>
<td class="thead" colspan="2">
<if condition="$show['quickreply_collapse']"><a style="float: $stylevar[right]" href="#top" onclick="return toggle_collapse('quickreply')"><img id="collapseimg_quickreply" src="$stylevar[imgdir_button]/collapse_thead$vbcollapse[collapseimg_quickreply].gif" alt="" border="0" /></a></if>
<phrase 1="$videoinfo[title]">$vbphrase[post_comment_to_video_x]</phrase>
</td>
</tr>
</thead>
<tbody id="qr_error_tbody" style="display: none">
<tr>
<td class="thead">$vbphrase[errors_occured_when_submitted]</td>
</tr>
<tr>
<td class="alt1" id="qr_error_td"></td>
</tr>
<tr>
<td class="tfoot" align="center"><span class="smallfont"><a href="#" onclick="return qr_hide_errors()">$vbphrase[okay]</a></span></td>
</tr>
</tbody>
<tbody id="collapseobj_quickreply" style="$vbcollapse[collapseobj_quickreply]">
<tr>
<td class="panelsurround" align="center">
<div class="panel">
<div align="$stylevar[left]" style="max-width: $stylevar[formwidth]; width: auto !important; width: $stylevar[formwidth]">
<div class="smallfont">$vbphrase[message]:</div>
<div id="$editorid" class="vBulletin_editor">$messagearea</div>
$human_verify
</div>
</div>
<div style="margin-top: $stylevar[cellpadding]px">
<input type="hidden" name="fromquickreply" value="1" />
<input type="hidden" name="s" value="$session[sessionhash]" />
<input type="hidden" name="securitytoken" value="$bbuserinfo[securitytoken]" />
<input type="hidden" name="do" value="postcomment" />
<input type="hidden" name="videoid" value="$videoinfo[videoid]" id="qr_videoid" />
<input type="hidden" name="postid" value="" id="qr_postid" />
<input type="hidden" name="parseurl" value="1" />
<input type="hidden" name="quickreply" value="0" id="qr_quickreply" />
<input type="hidden" name="preview" value="0" />
<input type="hidden" name="loggedinuser" value="$bbuserinfo[userid]" />
<input type="submit" class="button" value="$vbphrase[save_comment]" accesskey="s" title="(Alt + S)" name="sbutton" tabindex="2" id="qr_submit" onclick="clickedelm = this.value" />
</div>
</td>
</tr>
</tbody>
</table>
</form>
<if condition="!is_browser('ie') AND $show['wysiwyg']">
<!-- Mozilla work around for focusing on QR in WYSIWYG mode -->
<div id="qr_scroll"></div>
</if>
<script type="text/javascript">
<!--
// initialize quick reply
qr_init();
//-->
</script>
<!-- / quick reply -->
</if>
<if condition="$show['videorating'] AND $show['popups']">
<!-- blog rating menu -->
<div class="vbmenu_popup" id="videorating_menu" style="display: none">
<form action="video.php?do=ratevideo&videoid=$videoinfo[videoid]" method="post" id="video_videorate_form">
<div class="thead" style="margin: 1px; white-space: nowrap">$vbphrase[rate_this_video]<a name="goto_videorating"></a></div>
<if condition="$show['ratevideo']">
<div id="rating_ratedno">
<ul class="vbmenu_option nobullets" id="videorating_options" style="padding: 4px; margin: 1px; margin-top: 0px">
<li class="smallfont"><label for="vote5"><img class="inlineimg" src="$stylevar[imgdir_rating]/rating_5.gif" alt="$vbphrase[excellent]" /><input type="radio" name="vote" id="vote5" value="5" $votechecked[5] />$vbphrase[excellent]</label></li>
<li class="smallfont"><label for="vote4"><img class="inlineimg" src="$stylevar[imgdir_rating]/rating_4.gif" alt="$vbphrase[good]" /><input type="radio" name="vote" id="vote4" value="4" $votechecked[4] />$vbphrase[good]</label></li>
<li class="smallfont"><label for="vote3"><img class="inlineimg" src="$stylevar[imgdir_rating]/rating_3.gif" alt="$vbphrase[average]" /><input type="radio" name="vote" id="vote3" value="3" $votechecked[3] />$vbphrase[average]</label></li>
<li class="smallfont"><label for="vote2"><img class="inlineimg" src="$stylevar[imgdir_rating]/rating_2.gif" alt="$vbphrase[bad]" /><input type="radio" name="vote" id="vote2" value="2" $votechecked[2] />$vbphrase[bad]</label></li>
<li class="smallfont"><label for="vote1"><img class="inlineimg" src="$stylevar[imgdir_rating]/rating_1.gif" alt="$vbphrase[terrible]" /><input type="radio" name="vote" id="vote1" value="1" $votechecked[1] />$vbphrase[terrible]</label></li>
</ul>
<div id="videorating_submit" class="vbmenu_option" align="center" style="padding: 4px; margin: 1px; margin-top: 0px">
<input type="hidden" name="s" value="$session[dbsessionhash]" />
<input type="hidden" name="do" value="ratevideo" />
<input type="hidden" name="b" value="$videoinfo[videoid]" />
<input type="hidden" name="securitytoken" value="$bbuserinfo[securitytoken]" />
<input type="submit" class="button" value="$vbphrase[vote_now]" />
</div>
</div>
<if condition="!$vbulletin->options['votechange']">
<div id="rating_ratedyes" class="vbmenu_option" style="display:none; padding: 4px; margin: 1px; margin-top: 0px">$vbphrase[already_rated_this_video]</div>
</if>
<else />
<div class="vbmenu_option" style="padding: 4px; margin: 1px; margin-top: 0px">$vbphrase[already_rated_this_video]</div>
</if>
</form>
</div>
<!-- / video rating menu -->
<script type="text/javascript" src="clientscript/vbulletin_ajax_videorate.js?v=$vboptions[simpleversion]"></script>
<script type="text/javascript">
<!--
vB_AJAX_VideoRate_Init('video_videorate_form');
var videoid = $videoinfo[videoid];
//-->
</script>
</if>
<if condition="$show['popups'] AND $show['reportvideo']">
<div class="vbmenu_popup" id="report_video_menu" style="display:none" align="$stylevar[left]">
<table cellpadding="4" cellspacing="1" border="0">
<tr>
<td class="thead">$vbphrase[report_video]</td>
</tr>
<tr>
<td class="vbmenu_option" title="nohilite">
<form action="video.php?do=reportvideo" method="post">
<input type="hidden" name="do" value="reportvideo" />
<input type="hidden" name="s" value="$session[sessionhash]" />
<input type="hidden" name="videoid" value="$videoinfo[videoid]" />
<input type="hidden" name="securitytoken" value="$bbuserinfo[securitytoken]" />
<div><input type="text" class="bginput" name="comment" size="25" tabindex="1001" /><input type="submit" class="button" value="$vbphrase[go]" tabindex="1004" /></div>
<div style="margin-top:$stylevar[cellpadding]px">
$report_categories_html
</div>
</form>
</td>
</tr>
</table>
</div>
</if>
REPLACE your "VIDEO_SHELL" template with the following:
$stylevar[htmldoctype]
<html dir="$stylevar[textdirection]" lang="$stylevar[languagecode]">
<head>
<title>$vboptions[bbtitle] - <if condition="$pagetitle">$pagetitle<else />$vbphrase[videos]</if></title>
<style type="text/css">
.nobullets {
list-style: none;
margin: 0px;
padding: 0px;
}
</style>
$headinclude
<if condition="$vbulletin->options['videodirectory_rssfeed']">
<link rel="alternate" type="application/rss+xml" title="$vboptions[bbtitle] $vbphrase[videos] RSS Feed" href="video.php?do=rss" />
</if>
</head>
<body>
$header
$navbar
<if condition="$HTMLembed">$HTMLembed</if>
<table cellpadding="0" cellspacing="0" border="0" width="100%" align="center">
<tr>
<td style="width: 170px;" valign="top">
<table class="tborder" cellpadding="$stylevar[cellpadding]" cellspacing="$stylevar[cellspacing]" border="0" width="100%" align="center">
<tr>
<td class="thead">$vbphrase[video_statistics]</td>
</tr>
<tr>
<td class="alt1 smallfont">
$vbphrase[categories_total]: <strong>$catcount</strong><br />
$vbphrase[videos_total]: <strong>$totalvideos</strong><br />
<if condition="$contributorbits">
$vbphrase[top_contributors]:<br /><br />
<span class="smallfont">
$contributorbits
<br /></span>
</if>
</td>
</tr>
<tr>
<td class="thead">$vbphrase[video_categories]</td>
</tr>
<tr>
<td class="alt1"><a href="video.php$session[sessionurl_q]">$vbphrase[video_homepage]</a><br /><br />
<span class="smallfont">
$catbits
<br /></span>
</td>
</tr>
<tr>
<td class="thead">$vbphrase[search_videos]</td>
</tr>
<tr>
<td class="alt1">
<form action="video.php?do=search" method="post">
<input type="hidden" name="do" value="search" />
<input type="hidden" name="s" value="$session[sessionhash]" />
<input type="hidden" name="securitytoken" value="$bbuserinfo[securitytoken]" />
<input type="hidden" name="catid" value="$catid" />
<input type="text" value="$search_query" name="q" class="bginput" style="width: 100px;" /> $gobutton
</form>
</td>
</tr>
</table>
<br />
<table class="tborder" cellpadding="$stylevar[cellpadding]" cellspacing="$stylevar[cellspacing]" border="0" width="100%" align="center">
<if condition="$show['bestratedvideos']">
<tr>
<td class="thead">$vbphrase[best_rated_videos]</td>
</tr>
$bestratedbits
</if>
<if condition="$show['bestratedsamecatvideos']">
<tr>
<td class="thead">$vbphrase[best_rated_videos_same_cat]</td>
</tr>
$bestratedscbits
</if>
<if condition="$show['relatedvideos']">
<tr>
<td class="thead">$vbphrase[related_videos]</td>
</tr>
$relatedbits
</if>
<if condition="$show['randomsamecatvideos']">
<tr>
<td class="thead">$vbphrase[random_videos_same_category]</td>
</tr>
$randomscbits
</if>
<if condition="$show['randomvideos']">
<tr>
<td class="thead">$vbphrase[random_videos]</td>
</tr>
$randombits
</if>
</table>
</td>
<td valign="top" style="width: 15px;">
</td>
<td valign="top">
$HTML
</td>
</tr>
</table>
$footer
</body>
</html>
REPLACE your "video_catbit_small" template with the following:
» <a href="$cat[url]">$cat[title] (<acronym title="<phrase 1="$cat[videocount]">$vbphrase[this_category_contains_x_videos]</phrase>">$cat[videocount]</acronym>)</a><br />
REPLACE your "video_contributorbit" template with the following:
» <a href="member.php?$session[sessionutl]u=$user[userid]">$user[musername] (<acronym title="<phrase 1="$user[videocount]">$vbphrase[this_contributor_has_added_x_videos]</phrase>">$user[videocount]</acronym>)</a><br />
Jaxel
12-19-2008, 02:42 AM
The following changes will give you the look of how I did my video listings: (completely optional!)
REPLACE your "video_home" template with the following:
<table class="tborder" cellpadding="$stylevar[cellpadding]" cellspacing="$stylevar[cellspacing]" border="0" width="100%" align="center">
<tr>
<td class="tcat" colspan="2">8WayRun.Com Video Directory Uploading Guidelines</td>
</tr>
<tr>
<td class="alt1" colspan="2">We have just added support for YouTube High Definition! This is <em>not</em> an automatic process, so you must conciously make the decision to add the HD version of your video into the directory. If you have a YouTube HD Video, simply add <strong><font color="red">fmt=22&</font></strong> before the <strong>v=</strong> in your link when you are submitting your video. You should never invoke this setting for videos that were not uploaded in HD, as you will break playback of the video.<br />
<br />
So <strong>youtube.com/watch?v=uXHZzyujkqE</strong> becomes <strong>youtube.com/watch?<font color="red">fmt=22&</font>v=uXHZzyujkqE</strong></td>
</tr>
</table>
<br />
<if condition="$vboptions['videodirectory_limits']['recent']">
<table class="tborder" cellpadding="$stylevar[cellpadding]" cellspacing="$stylevar[cellspacing]" border="0" width="100%" align="center">
<tr>
<td class="tcat" colspan="3">$vbphrase[recent_videos]</td>
</tr>
<if condition="!$recentbits">
<tr>
<td class="alt1" colspan="2">$vbphrase[there_are_no_videos_to_display]</td>
</tr>
</if>
$recentbits
</table>
<br />
</if>
<if condition="$vboptions['videodirectory_limits']['top_rated']">
<table class="tborder" cellpadding="$stylevar[cellpadding]" cellspacing="$stylevar[cellspacing]" border="0" width="100%" align="center">
<tr>
<td class="tcat" colspan="3">$vbphrase[top_rated_videos]</td>
</tr>
<if condition="!$top_ratedbits">
<tr>
<td class="alt1" colspan="2">$vbphrase[there_are_no_videos_to_display]</td>
</tr>
</if>
$top_ratedbits
</table>
<br />
</if>
<if condition="$vboptions['videodirectory_limits']['most_viewed']">
<table class="tborder" cellpadding="$stylevar[cellpadding]" cellspacing="$stylevar[cellspacing]" border="0" width="100%" align="center">
<tr>
<td class="tcat" colspan="3">$vbphrase[most_viewed_videos]</td>
</tr>
<if condition="!$most_viewedbits">
<tr>
<td class="alt1" colspan="2">$vbphrase[there_are_no_videos_to_display]</td>
</tr>
</if>
$most_viewedbits
</table>
<br />
</if>
REPLACE your "video_category" template with the following:
<if condition="$show['catdesc']">
<table class="tborder" cellpadding="$stylevar[cellpadding]" cellspacing="$stylevar[cellspacing]" border="0" width="100%" align="center">
<tr>
<td class="alt1" width="100%"><strong>$catinfo[title]</strong> <span class="smallfont">$catinfo[description]</span></td>
</tr>
</table>
<br />
</if>
<if condition="$show['newvideo']">
<if condition="is_browser('ie')">
<div style="margin-bottom: 1px" align="$stylevar[left]">
<else />
<div style="margin-bottom: 4px" align="$stylevar[left]">
</if>
<a href="video.php?$session[sessionurl]do=addvideo&categoryid=$catinfo[videocategoryid]"><img src="$stylevar[imgdir_button]/newvideo.gif" alt="$vbphrase[add_video]" title="$vbphrase[add_video]" border="0" /></a>
</div>
</if>
<table class="tborder" cellpadding="$stylevar[cellpadding]" cellspacing="$stylevar[cellspacing]" border="0" width="100%" align="center">
<tr>
<td class="tcat" colspan="3">
<phrase 1="$catinfo[title]">$vbphrase[videos_in_category_x]</phrase>
</td>
</tr>
<if condition="!$videobits">
<tr>
<td class="alt1" colspan="3">
$vbphrase[there_are_no_videos_to_display]
</td>
</tr>
</if>
$videobits
</table>
$pagenav
<if condition="$show['newvideo']">
<div style="margin-top: 4px" align="$stylevar[right]">
<a href="video.php?$session[sessionurl]do=addvideo&categoryid=$catinfo[videocategoryid]"><img src="$stylevar[imgdir_button]/newvideo.gif" alt="$vbphrase[add_video]" title="$vbphrase[add_video]" border="0" /></a>
</div>
</if>
REPLACE your "video_bit" template with the following:
<tr>
<td class="alt2" width="1%" align="center"><a href="$video[url]"><img src="$video[thumbnailpath]" alt="$video[title]" title="$video[title]" style="height: 54px;" border="0" /></a></td>
<td valign="top" class="alt1">
<div class="smallfont">
<span style="float: $stylevar[right]; text-align: right;">
<small><a href="$video[caturl]">$video[cattitle]</a></small><br />
$video[date]<br /><span class="time">$video[time]</span><br />
$vbphrase[by] <a href="member.php?$session[sessionurl]u=$video[userid]">$video[musername]</a>
</span>
<strong>
<if condition="$video[videoservice]=='YouTubeHD'"><span style="color: #FF0000;">HD</span></if>
<a href="$video[url]">$video[title]</a><br />
<span class="smallfont">$video[description]</span>
</strong>
</div>
</td>
<td class="alt2" width="1%" align="center">
<img class="inlineimg" src="$stylevar[imgdir_rating]/rating_$video[rating].gif" border="0" /><br />
<span class="smallfont"><small>$vbphrase[views]</small></span><br />
<big><strong>$video[views]</strong></big>
</td>
</tr>
Jaxel
12-19-2008, 04:03 AM
Okay a few new changes... included is a NEW video.php, and two updated templates...
These changes fix the formatting mistakes of Survivor's Comment Deletion system.
REPLACE your "video_details" template with the following:
<if condition="$numberregistered">
<table class="tborder" cellpadding="$stylevar[cellpadding]" cellspacing="$stylevar[cellspacing]" border="0" width="100%" align="center">
<tr>
<td class="thead">
<a style="float:$stylevar[right]" href="#top" onclick="return toggle_collapse('watching_members')"><img id="collapseimg_watching_members" src="$stylevar[imgdir_button]/collapse_thead$vbcollapse[collapseimg_watching_members].gif" alt="" border="0" /></a> <phrase 1="$totalonline" 2="$numberregistered" 3="$numberguest">$vbphrase[members_who_are_watching_this_video]</phrase>
</td>
</tr>
<tbody id="collapseobj_watching_members" style="$vbcollapse[collapseobj_watching_members]">
<tr valign="top">
<td class="alt1">
$activeusers
</td>
</tr>
</tbody>
</table>
<br />
</if>
<table class="tborder" cellpadding="$stylevar[cellpadding]" cellspacing="$stylevar[cellspacing]" border="0" width="100%" align="center">
<tr>
<td class="thead">
<a style="float: $stylevar[right]" href="#top" onclick="return toggle_collapse('videocomments')"><img id="collapseimg_videocomments" src="$stylevar[imgdir_button]/collapse_thead$vbcollapse[collapseimg_videocomments].gif" alt="" border="0" /></a> <a name="comments"></a>$vbphrase[comments]
</td>
</tr>
<tbody id="collapseobj_videocomments" style="$vbcollapse[collapseobj_videocomments]">
<if condition="!$videoinfo['commentcount']">
<tr valign="top">
<td class="alt1" align="center">$vbphrase[there_are_no_comments_to_this_video]</td>
</tr>
<else />
$commentbits
</if>
</tbody>
</table>
<if condition="$pagenav">
$pagenav
</if>
<br />
<table class="tborder" cellpadding="$stylevar[cellpadding]" cellspacing="$stylevar[cellspacing]" border="0" width="100%" align="center">
<tr>
<td class="thead">
<a style="float:$stylevar[right]" href="#top" onclick="return toggle_collapse('videodetails')"><img id="collapseimg_videodetails" src="$stylevar[imgdir_button]/collapse_thead$vbcollapse[collapseimg_videodetails].gif" alt="" border="0" /></a> $vbphrase[video_details]
</td>
</tr>
<tbody id="collapseobj_videodetails" style="$vbcollapse[collapseobj_videodetails]">
<tr valign="top">
<td class="panelsurround" align="center">
<div class="panel">
<div align="center">
<table class="tborder" cellpadding="$stylevar[cellpadding]" cellspacing="$stylevar[cellspacing]" border="0" width="100%" align="center" style="margin-bottom: 10px;">
<colgroup>
<col width="20%" />
<col width="80%" />
</colgroup>
<tr>
<td class="alt2" align="left" width="20%">
$vbphrase[title]
</td>
<td class="alt2" align="left">
$videoinfo[title]
</td>
</tr>
<tr>
<td class="alt2" align="left">
$vbphrase[video_category]
</td>
<td class="alt2" align="left">
<a href="video.php?$session[sessionurl]do=viewcategory&categoryid=$catinfo[videocategoryid]">$catinfo[title]</a>
</td>
</tr>
</tr>
<tr>
<td class="alt2" align="left">
$vbphrase[rating]
</td>
<td class="alt2" align="left">
<if condition="$show['videorating']">
<div id="videorating">
<if condition="$show['popups']">
<if condition="$show['rating']">
<a href="$show[nojs_link]" id="videorating_current"><img class="inlineimg" src="$stylevar[imgdir_rating]/rating_$videoinfo[rating].gif" alt="<phrase 1="$videoinfo[ratingnum]" 2="$videoinfo[ratingavg]">$vbphrase[rating_x_votes_y_average]</phrase>" border="0" /></a>
<else />
<a href="$show[nojs_link]" id="videorating_current">$vbphrase[rate_this_video]</a>
</if>
<script type="text/javascript"> vbmenu_register("videorating"); </script>
<else />
<!-- Non JS Stuff -->
<if condition="$show['rating']">
<img class="inlineimg" src="$stylevar[imgdir_rating]/rating_$videoinfo[rating].gif" alt="<phrase 1="$videoinfo[ratingnum]" 2="$videoinfo[ratingavg]">$vbphrase[rating_x_votes_y_average]</phrase>" border="0" />
<else />
$vbphrase[rate_this_video_entry]
</if>
<a name="goto_videorating"></a>
<form action="video.php?do=ratevideo&videoid=$videoinfo[videoid]" method="post" style="display: inline">
<input type="hidden" name="securitytoken" value="$bbuserinfo[securitytoken]" />
<input type="hidden" name="s" value="$session[dbsessionhash]" />
<input type="hidden" name="do" value="ratevideo" />
<input type="hidden" name="videoid" value="$videoinfo[videoid]" />
<select name="vote" onchange="this.form.submit()" style="width: 175px">
<optgroup label="$vbphrase[choose_a_rating]">
<option value="5" $voteselected[5]>5 : $vbphrase[excellent]</option>
<option value="4" $voteselected[4]>4 : $vbphrase[good]</option>
<option value="3" $voteselected[3]>3 : $vbphrase[average]</option>
<option value="2" $voteselected[2]>2 : $vbphrase[bad]</option>
<option value="1" $voteselected[1]>1 : $vbphrase[terrible]</option>
</optgroup>
</select>$gobutton
</form>
</if>
</div>
</if>
</td>
</tr>
<tr>
<td class="alt2" align="left">
$vbphrase[date]
</td>
<td class="alt2" align="left">
$videoinfo[date], <span class="time">$videoinfo[time]</span>
</td>
</tr>
<tr>
<td class="alt2" align="left">
$vbphrase[description]
</td>
<td class="alt2" align="left">
$videoinfo[description]
</td>
</tr>
<tr>
<td class="alt2" align="left">
$vbphrase[by]
</td>
<td class="alt2" align="left">
<a href="member.php?$session[sessionurl]u=$videoinfo[userid]">$videoinfo[musername]</a>
</td>
</tr>
<tr>
<td class="alt2" align="left">
$vbphrase[video_service]
</td>
<td class="alt2" align="left">
<a href="$videourl" target="_blank">$hostername</a>
</td>
</tr>
<tr>
<td class="alt2" align="left">
$vbphrase[video_url]
</td>
<td class="alt2" align="left">
<input type="text" class="bginput" size="70" onclick="this.focus(); this.select()" value="$videourl" readonly="readonly" />
</td>
</tr>
<if condition="$videobbcode">
<tr>
<td class="alt2" align="left">
$vbphrase[video_bbcode]
</td>
<td class="alt2" align="left">
<textarea class="bginput" cols="70" rows="2" onclick="this.focus(); this.select()" value="$videobbcode" readonly="readonly">$videobbcode</textarea>
</td>
</tr>
</if>
<tr>
<td class="alt2" align="left">
$vbphrase[embed_code]
</td>
<td class="alt2" align="left">
<textarea class="bginput" cols="70" rows="6" onclick="this.focus(); this.select()" value="$embedcopy" readonly="readonly">$embedcopy</textarea>
</td>
</tr>
<tr>
<td class="alt2" align="left">
$vbphrase[views]
</td>
<td class="alt2" align="left">
<strong>$videoinfo[views]</strong>
</td>
</tr>
<tr>
<td class="alt2" align="left">
$vbphrase[comment_count]
</td>
<td class="alt2" align="left">
<strong>$videoinfo[commentcount]</strong>
</td>
</tr>
<if condition="$show['editvideo'] OR $show['reportvideo']">
<tr>
<td class="alt2" align="left">
$vbphrase[action]
</td>
<td class="alt2" align="left">
<if condition="$show['editvideo']"><a href="video.php?$session[sessionurl]do=editvideo&videoid=$videoinfo[videoid]">[$vbphrase[edit]]</a></if> <if condition="$show['reportvideo']"><a id="report_video" href="">[$vbphrase[report_video]]</a><script type="text/javascript"> vbmenu_register("report_video", true); </script></if>
</td>
</tr>
</if>
</table>
</div>
</div>
</td>
</tr>
</tbody>
</table>
<if condition="$show['quickreply']">
<!-- quick reply -->
$vBeditTemplate[clientscript]
<br />
<script type="text/javascript" src="clientscript/vbulletin_quick_reply.js?v=$vboptions[simpleversion]"></script>
<script type="text/javascript" src="clientscript/vbulletin_ajax_videocomment.js?v=$vboptions[simpleversion]"></script>
<form action="video.php?do=postcomment&videoid=$videoinfo[videoid]" method="post" name="vbform" onsubmit="return qr_prepare_video_comment_submit(this, $vboptions[videodirectory_commentminlength]);" id="qrform">
<table class="tborder" cellpadding="$stylevar[cellpadding]" cellspacing="$stylevar[cellspacing]" border="0" width="100%" align="center">
<thead>
<tr>
<td class="thead" colspan="2">
<if condition="$show['quickreply_collapse']"><a style="float: $stylevar[right]" href="#top" onclick="return toggle_collapse('quickreply')"><img id="collapseimg_quickreply" src="$stylevar[imgdir_button]/collapse_thead$vbcollapse[collapseimg_quickreply].gif" alt="" border="0" /></a></if>
<phrase 1="$videoinfo[title]">$vbphrase[post_comment_to_video_x]</phrase>
</td>
</tr>
</thead>
<tbody id="qr_error_tbody" style="display: none">
<tr>
<td class="thead">$vbphrase[errors_occured_when_submitted]</td>
</tr>
<tr>
<td class="alt1" id="qr_error_td"></td>
</tr>
<tr>
<td class="tfoot" align="center"><span class="smallfont"><a href="#" onclick="return qr_hide_errors()">$vbphrase[okay]</a></span></td>
</tr>
</tbody>
<tbody id="collapseobj_quickreply" style="$vbcollapse[collapseobj_quickreply]">
<tr>
<td class="panelsurround" align="center">
<div class="panel">
<div align="$stylevar[left]" style="max-width: $stylevar[formwidth]; width: auto !important; width: $stylevar[formwidth]">
<div class="smallfont">$vbphrase[message]:</div>
<div id="$editorid" class="vBulletin_editor">$messagearea</div>
$human_verify
</div>
</div>
<div style="margin-top: $stylevar[cellpadding]px">
<input type="hidden" name="fromquickreply" value="1" />
<input type="hidden" name="s" value="$session[sessionhash]" />
<input type="hidden" name="securitytoken" value="$bbuserinfo[securitytoken]" />
<input type="hidden" name="do" value="postcomment" />
<input type="hidden" name="videoid" value="$videoinfo[videoid]" id="qr_videoid" />
<input type="hidden" name="postid" value="" id="qr_postid" />
<input type="hidden" name="parseurl" value="1" />
<input type="hidden" name="quickreply" value="0" id="qr_quickreply" />
<input type="hidden" name="preview" value="0" />
<input type="hidden" name="loggedinuser" value="$bbuserinfo[userid]" />
<input type="submit" class="button" value="$vbphrase[save_comment]" accesskey="s" title="(Alt + S)" name="sbutton" tabindex="2" id="qr_submit" onclick="clickedelm = this.value" />
</div>
</td>
</tr>
</tbody>
</table>
</form>
<if condition="!is_browser('ie') AND $show['wysiwyg']">
<!-- Mozilla work around for focusing on QR in WYSIWYG mode -->
<div id="qr_scroll"></div>
</if>
<script type="text/javascript">
<!--
// initialize quick reply
qr_init();
//-->
</script>
<!-- / quick reply -->
</if>
<if condition="$show['videorating'] AND $show['popups']">
<!-- blog rating menu -->
<div class="vbmenu_popup" id="videorating_menu" style="display: none">
<form action="video.php?do=ratevideo&videoid=$videoinfo[videoid]" method="post" id="video_videorate_form">
<div class="thead" style="margin: 1px; white-space: nowrap">$vbphrase[rate_this_video]<a name="goto_videorating"></a></div>
<if condition="$show['ratevideo']">
<div id="rating_ratedno">
<ul class="vbmenu_option nobullets" id="videorating_options" style="padding: 4px; margin: 1px; margin-top: 0px">
<li class="smallfont"><label for="vote5"><img class="inlineimg" src="$stylevar[imgdir_rating]/rating_5.gif" alt="$vbphrase[excellent]" /><input type="radio" name="vote" id="vote5" value="5" $votechecked[5] />$vbphrase[excellent]</label></li>
<li class="smallfont"><label for="vote4"><img class="inlineimg" src="$stylevar[imgdir_rating]/rating_4.gif" alt="$vbphrase[good]" /><input type="radio" name="vote" id="vote4" value="4" $votechecked[4] />$vbphrase[good]</label></li>
<li class="smallfont"><label for="vote3"><img class="inlineimg" src="$stylevar[imgdir_rating]/rating_3.gif" alt="$vbphrase[average]" /><input type="radio" name="vote" id="vote3" value="3" $votechecked[3] />$vbphrase[average]</label></li>
<li class="smallfont"><label for="vote2"><img class="inlineimg" src="$stylevar[imgdir_rating]/rating_2.gif" alt="$vbphrase[bad]" /><input type="radio" name="vote" id="vote2" value="2" $votechecked[2] />$vbphrase[bad]</label></li>
<li class="smallfont"><label for="vote1"><img class="inlineimg" src="$stylevar[imgdir_rating]/rating_1.gif" alt="$vbphrase[terrible]" /><input type="radio" name="vote" id="vote1" value="1" $votechecked[1] />$vbphrase[terrible]</label></li>
</ul>
<div id="videorating_submit" class="vbmenu_option" align="center" style="padding: 4px; margin: 1px; margin-top: 0px">
<input type="hidden" name="s" value="$session[dbsessionhash]" />
<input type="hidden" name="do" value="ratevideo" />
<input type="hidden" name="b" value="$videoinfo[videoid]" />
<input type="hidden" name="securitytoken" value="$bbuserinfo[securitytoken]" />
<input type="submit" class="button" value="$vbphrase[vote_now]" />
</div>
</div>
<if condition="!$vbulletin->options['votechange']">
<div id="rating_ratedyes" class="vbmenu_option" style="display:none; padding: 4px; margin: 1px; margin-top: 0px">$vbphrase[already_rated_this_video]</div>
</if>
<else />
<div class="vbmenu_option" style="padding: 4px; margin: 1px; margin-top: 0px">$vbphrase[already_rated_this_video]</div>
</if>
</form>
</div>
<!-- / video rating menu -->
<script type="text/javascript" src="clientscript/vbulletin_ajax_videorate.js?v=$vboptions[simpleversion]"></script>
<script type="text/javascript">
<!--
vB_AJAX_VideoRate_Init('video_videorate_form');
var videoid = $videoinfo[videoid];
//-->
</script>
</if>
<if condition="$show['popups'] AND $show['reportvideo']">
<div class="vbmenu_popup" id="report_video_menu" style="display:none" align="$stylevar[left]">
<table cellpadding="4" cellspacing="1" border="0">
<tr>
<td class="thead">$vbphrase[report_video]</td>
</tr>
<tr>
<td class="vbmenu_option" title="nohilite">
<form action="video.php?do=reportvideo" method="post">
<input type="hidden" name="do" value="reportvideo" />
<input type="hidden" name="s" value="$session[sessionhash]" />
<input type="hidden" name="videoid" value="$videoinfo[videoid]" />
<input type="hidden" name="securitytoken" value="$bbuserinfo[securitytoken]" />
<div><input type="text" class="bginput" name="comment" size="25" tabindex="1001" /><input type="submit" class="button" value="$vbphrase[go]" tabindex="1004" /></div>
<div style="margin-top:$stylevar[cellpadding]px">
$report_categories_html
</div>
</form>
</td>
</tr>
</table>
</div>
</if>
REPLACE your "video_deletecomment" template with the following:
$stylevar[htmldoctype]
<html xmlns="http://www.w3.org/1999/xhtml" dir="$stylevar[textdirection]" lang="$stylevar[languagecode]">
<head>
$headinclude
<title>$vboptions[bbtitle] - $vbphrase[add_new_video] - $catinfo[title]</title>
</head>
<body>
$header
$navbar
<form action="video.php?do=killcomment&commentid=$videocomment[videocommentid]" method="post" name="vbform">
<input type="hidden" name="s" value="$session[sessionhash]" />
<input type="hidden" name="securitytoken" value="$bbuserinfo[securitytoken]" />
<input type="hidden" name="commentid" value="$videocomment[videocommentid]" />
<input type="hidden" name="do" value="killcomment" />
<table class="tborder" cellpadding="$stylevar[cellpadding]" cellspacing="$stylevar[cellspacing]" border="0" width="100%" align="center">
<tr>
<td class="tcat">$vbphrase[delete_video_comment]</td>
</tr>
<tr>
<td class="thead">$vbphrase[video_title]: <span style="font-weight:normal">$videoinfo[title]</span></td>
</tr>
<tr>
<td class="panelsurround" align="center">
<div class="panel">
<div style="width:$stylevar[formwidth]" align="$stylevar[left]">
<fieldset class="fieldset">
<legend>$vbphrase[deletion_options]</legend>
<table cellpadding="0" cellspacing="$stylevar[formspacer]" border="0">
<tr>
<td>
<div>
<label for="rb_deletetype_0"><input type="radio" name="dodelete" value="0" id="rb_deletetype_0" checked="checked" />$vbphrase[do_not_delete_comment]</label>
</div>
<div>
<label for="rb_deletetype_1"><input type="radio" name="dodelete" value="1" id="rb_deletetype_1" />$vbphrase[physically_remove_comment]</label>
</div>
</td>
</tr>
</table>
</fieldset>
</div>
</div>
<div style="margin-top:$stylevar[cellpadding]px">
<input type="submit" class="button" value="$vbphrase[delete_video_comment]" accesskey="s" />
<input type="reset" class="button" value="$vbphrase[reset_fields]" accesskey="r" />
</div>
</td>
</tr>
</table>
</form>
$footer
</body>
</html>
poromenos
12-19-2008, 10:30 AM
hello,
I have the following problem:
I use Vbadvanced for the main page of my site (ninty.gr)
The link in the navigation bar goes to www.ninty.gr/video.php and not to www.ninty.gr/forum/video.php which is the correct adress
That happens only to the front page of my site ,in all other pages ,it has the correct link
I have added the video.php link to the list from vba panel but still nothing!
Any help??
Thanks in advance
ps. my site is www.ninty.gr
TriMe
12-19-2008, 12:22 PM
Awesome work. A demo can be viewed here (http://www.globalhockeynetwork.com/video.php)
THANKS!!
The Realist
12-19-2008, 01:17 PM
How do you add Categories?
Thanks.
TriMe
12-19-2008, 02:15 PM
Post number 456 (https://vborg.vbsupport.ru/showpost.php?p=1679137&postcount=456) has the answer
ArnyVee
12-19-2008, 02:30 PM
Thanks for sharing Jaxel! :D
I might have to add this mod to both of my vB sites now! ;)
jlew24asu
12-19-2008, 03:47 PM
great mod. wish I had use for videos though
Surviver
12-19-2008, 04:00 PM
Okay a few new changes... included is a NEW video.php, and two updated templates...
These changes fix the formatting mistakes of Survivor's Comment Deletion system.
REPLACE your "video_details" template with the following:
<if condition="$numberregistered">
<table class="tborder" cellpadding="$stylevar[cellpadding]" cellspacing="$stylevar[cellspacing]" border="0" width="100%" align="center">
<tr>
<td class="thead">
<a style="float:$stylevar[right]" href="#top" onclick="return toggle_collapse('watching_members')"><img id="collapseimg_watching_members" src="$stylevar[imgdir_button]/collapse_thead$vbcollapse[collapseimg_watching_members].gif" alt="" border="0" /></a> <phrase 1="$totalonline" 2="$numberregistered" 3="$numberguest">$vbphrase[members_who_are_watching_this_video]</phrase>
</td>
</tr>
<tbody id="collapseobj_watching_members" style="$vbcollapse[collapseobj_watching_members]">
<tr valign="top">
<td class="alt1">
$activeusers
</td>
</tr>
</tbody>
</table>
<br />
</if>
<table class="tborder" cellpadding="$stylevar[cellpadding]" cellspacing="$stylevar[cellspacing]" border="0" width="100%" align="center">
<tr>
<td class="thead">
<a style="float: $stylevar[right]" href="#top" onclick="return toggle_collapse('videocomments')"><img id="collapseimg_videocomments" src="$stylevar[imgdir_button]/collapse_thead$vbcollapse[collapseimg_videocomments].gif" alt="" border="0" /></a> <a name="comments"></a>$vbphrase[comments]
</td>
</tr>
<tbody id="collapseobj_videocomments" style="$vbcollapse[collapseobj_videocomments]">
<if condition="!$videoinfo['commentcount']">
<tr valign="top">
<td class="alt1" align="center">$vbphrase[there_are_no_comments_to_this_video]</td>
</tr>
<else />
$commentbits
</if>
</tbody>
</table>
<if condition="$pagenav">
$pagenav
</if>
<br />
<table class="tborder" cellpadding="$stylevar[cellpadding]" cellspacing="$stylevar[cellspacing]" border="0" width="100%" align="center">
<tr>
<td class="thead">
<a style="float:$stylevar[right]" href="#top" onclick="return toggle_collapse('videodetails')"><img id="collapseimg_videodetails" src="$stylevar[imgdir_button]/collapse_thead$vbcollapse[collapseimg_videodetails].gif" alt="" border="0" /></a> $vbphrase[video_details]
</td>
</tr>
<tbody id="collapseobj_videodetails" style="$vbcollapse[collapseobj_videodetails]">
<tr valign="top">
<td class="panelsurround" align="center">
<div class="panel">
<div align="center">
<table class="tborder" cellpadding="$stylevar[cellpadding]" cellspacing="$stylevar[cellspacing]" border="0" width="100%" align="center" style="margin-bottom: 10px;">
<colgroup>
<col width="20%" />
<col width="80%" />
</colgroup>
<tr>
<td class="alt2" align="left" width="20%">
$vbphrase[title]
</td>
<td class="alt2" align="left">
$videoinfo[title]
</td>
</tr>
<tr>
<td class="alt2" align="left">
$vbphrase[video_category]
</td>
<td class="alt2" align="left">
<a href="video.php?$session[sessionurl]do=viewcategory&categoryid=$catinfo[videocategoryid]">$catinfo[title]</a>
</td>
</tr>
</tr>
<tr>
<td class="alt2" align="left">
$vbphrase[rating]
</td>
<td class="alt2" align="left">
<if condition="$show['videorating']">
<div id="videorating">
<if condition="$show['popups']">
<if condition="$show['rating']">
<a href="$show[nojs_link]" id="videorating_current"><img class="inlineimg" src="$stylevar[imgdir_rating]/rating_$videoinfo[rating].gif" alt="<phrase 1="$videoinfo[ratingnum]" 2="$videoinfo[ratingavg]">$vbphrase[rating_x_votes_y_average]</phrase>" border="0" /></a>
<else />
<a href="$show[nojs_link]" id="videorating_current">$vbphrase[rate_this_video]</a>
</if>
<script type="text/javascript"> vbmenu_register("videorating"); </script>
<else />
<!-- Non JS Stuff -->
<if condition="$show['rating']">
<img class="inlineimg" src="$stylevar[imgdir_rating]/rating_$videoinfo[rating].gif" alt="<phrase 1="$videoinfo[ratingnum]" 2="$videoinfo[ratingavg]">$vbphrase[rating_x_votes_y_average]</phrase>" border="0" />
<else />
$vbphrase[rate_this_video_entry]
</if>
<a name="goto_videorating"></a>
<form action="video.php?do=ratevideo&videoid=$videoinfo[videoid]" method="post" style="display: inline">
<input type="hidden" name="securitytoken" value="$bbuserinfo[securitytoken]" />
<input type="hidden" name="s" value="$session[dbsessionhash]" />
<input type="hidden" name="do" value="ratevideo" />
<input type="hidden" name="videoid" value="$videoinfo[videoid]" />
<select name="vote" onchange="this.form.submit()" style="width: 175px">
<optgroup label="$vbphrase[choose_a_rating]">
<option value="5" $voteselected[5]>5 : $vbphrase[excellent]</option>
<option value="4" $voteselected[4]>4 : $vbphrase[good]</option>
<option value="3" $voteselected[3]>3 : $vbphrase[average]</option>
<option value="2" $voteselected[2]>2 : $vbphrase[bad]</option>
<option value="1" $voteselected[1]>1 : $vbphrase[terrible]</option>
</optgroup>
</select>$gobutton
</form>
</if>
</div>
</if>
</td>
</tr>
<tr>
<td class="alt2" align="left">
$vbphrase[date]
</td>
<td class="alt2" align="left">
$videoinfo[date], <span class="time">$videoinfo[time]</span>
</td>
</tr>
<tr>
<td class="alt2" align="left">
$vbphrase[description]
</td>
<td class="alt2" align="left">
$videoinfo[description]
</td>
</tr>
<tr>
<td class="alt2" align="left">
$vbphrase[by]
</td>
<td class="alt2" align="left">
<a href="member.php?$session[sessionurl]u=$videoinfo[userid]">$videoinfo[musername]</a>
</td>
</tr>
<tr>
<td class="alt2" align="left">
$vbphrase[video_service]
</td>
<td class="alt2" align="left">
<a href="$videourl" target="_blank">$hostername</a>
</td>
</tr>
<tr>
<td class="alt2" align="left">
$vbphrase[video_url]
</td>
<td class="alt2" align="left">
<input type="text" class="bginput" size="70" onclick="this.focus(); this.select()" value="$videourl" readonly="readonly" />
</td>
</tr>
<if condition="$videobbcode">
<tr>
<td class="alt2" align="left">
$vbphrase[video_bbcode]
</td>
<td class="alt2" align="left">
<textarea class="bginput" cols="70" rows="2" onclick="this.focus(); this.select()" value="$videobbcode" readonly="readonly">$videobbcode</textarea>
</td>
</tr>
</if>
<tr>
<td class="alt2" align="left">
$vbphrase[embed_code]
</td>
<td class="alt2" align="left">
<textarea class="bginput" cols="70" rows="6" onclick="this.focus(); this.select()" value="$embedcopy" readonly="readonly">$embedcopy</textarea>
</td>
</tr>
<tr>
<td class="alt2" align="left">
$vbphrase[views]
</td>
<td class="alt2" align="left">
<strong>$videoinfo[views]</strong>
</td>
</tr>
<tr>
<td class="alt2" align="left">
$vbphrase[comment_count]
</td>
<td class="alt2" align="left">
<strong>$videoinfo[commentcount]</strong>
</td>
</tr>
<if condition="$show['editvideo'] OR $show['reportvideo']">
<tr>
<td class="alt2" align="left">
$vbphrase[action]
</td>
<td class="alt2" align="left">
<if condition="$show['editvideo']"><a href="video.php?$session[sessionurl]do=editvideo&videoid=$videoinfo[videoid]">[$vbphrase[edit]]</a></if> <if condition="$show['reportvideo']"><a id="report_video" href="">[$vbphrase[report_video]]</a><script type="text/javascript"> vbmenu_register("report_video", true); </script></if>
</td>
</tr>
</if>
</table>
</div>
</div>
</td>
</tr>
</tbody>
</table>
<if condition="$show['quickreply']">
<!-- quick reply -->
$vBeditTemplate[clientscript]
<br />
<script type="text/javascript" src="clientscript/vbulletin_quick_reply.js?v=$vboptions[simpleversion]"></script>
<script type="text/javascript" src="clientscript/vbulletin_ajax_videocomment.js?v=$vboptions[simpleversion]"></script>
<form action="video.php?do=postcomment&videoid=$videoinfo[videoid]" method="post" name="vbform" onsubmit="return qr_prepare_video_comment_submit(this, $vboptions[videodirectory_commentminlength]);" id="qrform">
<table class="tborder" cellpadding="$stylevar[cellpadding]" cellspacing="$stylevar[cellspacing]" border="0" width="100%" align="center">
<thead>
<tr>
<td class="thead" colspan="2">
<if condition="$show['quickreply_collapse']"><a style="float: $stylevar[right]" href="#top" onclick="return toggle_collapse('quickreply')"><img id="collapseimg_quickreply" src="$stylevar[imgdir_button]/collapse_thead$vbcollapse[collapseimg_quickreply].gif" alt="" border="0" /></a></if>
<phrase 1="$videoinfo[title]">$vbphrase[post_comment_to_video_x]</phrase>
</td>
</tr>
</thead>
<tbody id="qr_error_tbody" style="display: none">
<tr>
<td class="thead">$vbphrase[errors_occured_when_submitted]</td>
</tr>
<tr>
<td class="alt1" id="qr_error_td"></td>
</tr>
<tr>
<td class="tfoot" align="center"><span class="smallfont"><a href="#" onclick="return qr_hide_errors()">$vbphrase[okay]</a></span></td>
</tr>
</tbody>
<tbody id="collapseobj_quickreply" style="$vbcollapse[collapseobj_quickreply]">
<tr>
<td class="panelsurround" align="center">
<div class="panel">
<div align="$stylevar[left]" style="max-width: $stylevar[formwidth]; width: auto !important; width: $stylevar[formwidth]">
<div class="smallfont">$vbphrase[message]:</div>
<div id="$editorid" class="vBulletin_editor">$messagearea</div>
$human_verify
</div>
</div>
<div style="margin-top: $stylevar[cellpadding]px">
<input type="hidden" name="fromquickreply" value="1" />
<input type="hidden" name="s" value="$session[sessionhash]" />
<input type="hidden" name="securitytoken" value="$bbuserinfo[securitytoken]" />
<input type="hidden" name="do" value="postcomment" />
<input type="hidden" name="videoid" value="$videoinfo[videoid]" id="qr_videoid" />
<input type="hidden" name="postid" value="" id="qr_postid" />
<input type="hidden" name="parseurl" value="1" />
<input type="hidden" name="quickreply" value="0" id="qr_quickreply" />
<input type="hidden" name="preview" value="0" />
<input type="hidden" name="loggedinuser" value="$bbuserinfo[userid]" />
<input type="submit" class="button" value="$vbphrase[save_comment]" accesskey="s" title="(Alt + S)" name="sbutton" tabindex="2" id="qr_submit" onclick="clickedelm = this.value" />
</div>
</td>
</tr>
</tbody>
</table>
</form>
<if condition="!is_browser('ie') AND $show['wysiwyg']">
<!-- Mozilla work around for focusing on QR in WYSIWYG mode -->
<div id="qr_scroll"></div>
</if>
<script type="text/javascript">
<!--
// initialize quick reply
qr_init();
//-->
</script>
<!-- / quick reply -->
</if>
<if condition="$show['videorating'] AND $show['popups']">
<!-- blog rating menu -->
<div class="vbmenu_popup" id="videorating_menu" style="display: none">
<form action="video.php?do=ratevideo&videoid=$videoinfo[videoid]" method="post" id="video_videorate_form">
<div class="thead" style="margin: 1px; white-space: nowrap">$vbphrase[rate_this_video]<a name="goto_videorating"></a></div>
<if condition="$show['ratevideo']">
<div id="rating_ratedno">
<ul class="vbmenu_option nobullets" id="videorating_options" style="padding: 4px; margin: 1px; margin-top: 0px">
<li class="smallfont"><label for="vote5"><img class="inlineimg" src="$stylevar[imgdir_rating]/rating_5.gif" alt="$vbphrase[excellent]" /><input type="radio" name="vote" id="vote5" value="5" $votechecked[5] />$vbphrase[excellent]</label></li>
<li class="smallfont"><label for="vote4"><img class="inlineimg" src="$stylevar[imgdir_rating]/rating_4.gif" alt="$vbphrase[good]" /><input type="radio" name="vote" id="vote4" value="4" $votechecked[4] />$vbphrase[good]</label></li>
<li class="smallfont"><label for="vote3"><img class="inlineimg" src="$stylevar[imgdir_rating]/rating_3.gif" alt="$vbphrase[average]" /><input type="radio" name="vote" id="vote3" value="3" $votechecked[3] />$vbphrase[average]</label></li>
<li class="smallfont"><label for="vote2"><img class="inlineimg" src="$stylevar[imgdir_rating]/rating_2.gif" alt="$vbphrase[bad]" /><input type="radio" name="vote" id="vote2" value="2" $votechecked[2] />$vbphrase[bad]</label></li>
<li class="smallfont"><label for="vote1"><img class="inlineimg" src="$stylevar[imgdir_rating]/rating_1.gif" alt="$vbphrase[terrible]" /><input type="radio" name="vote" id="vote1" value="1" $votechecked[1] />$vbphrase[terrible]</label></li>
</ul>
<div id="videorating_submit" class="vbmenu_option" align="center" style="padding: 4px; margin: 1px; margin-top: 0px">
<input type="hidden" name="s" value="$session[dbsessionhash]" />
<input type="hidden" name="do" value="ratevideo" />
<input type="hidden" name="b" value="$videoinfo[videoid]" />
<input type="hidden" name="securitytoken" value="$bbuserinfo[securitytoken]" />
<input type="submit" class="button" value="$vbphrase[vote_now]" />
</div>
</div>
<if condition="!$vbulletin->options['votechange']">
<div id="rating_ratedyes" class="vbmenu_option" style="display:none; padding: 4px; margin: 1px; margin-top: 0px">$vbphrase[already_rated_this_video]</div>
</if>
<else />
<div class="vbmenu_option" style="padding: 4px; margin: 1px; margin-top: 0px">$vbphrase[already_rated_this_video]</div>
</if>
</form>
</div>
<!-- / video rating menu -->
<script type="text/javascript" src="clientscript/vbulletin_ajax_videorate.js?v=$vboptions[simpleversion]"></script>
<script type="text/javascript">
<!--
vB_AJAX_VideoRate_Init('video_videorate_form');
var videoid = $videoinfo[videoid];
//-->
</script>
</if>
<if condition="$show['popups'] AND $show['reportvideo']">
<div class="vbmenu_popup" id="report_video_menu" style="display:none" align="$stylevar[left]">
<table cellpadding="4" cellspacing="1" border="0">
<tr>
<td class="thead">$vbphrase[report_video]</td>
</tr>
<tr>
<td class="vbmenu_option" title="nohilite">
<form action="video.php?do=reportvideo" method="post">
<input type="hidden" name="do" value="reportvideo" />
<input type="hidden" name="s" value="$session[sessionhash]" />
<input type="hidden" name="videoid" value="$videoinfo[videoid]" />
<input type="hidden" name="securitytoken" value="$bbuserinfo[securitytoken]" />
<div><input type="text" class="bginput" name="comment" size="25" tabindex="1001" /><input type="submit" class="button" value="$vbphrase[go]" tabindex="1004" /></div>
<div style="margin-top:$stylevar[cellpadding]px">
$report_categories_html
</div>
</form>
</td>
</tr>
</table>
</div>
</if>
REPLACE your "video_deletecomment" template with the following:
$stylevar[htmldoctype]
<html xmlns="http://www.w3.org/1999/xhtml" dir="$stylevar[textdirection]" lang="$stylevar[languagecode]">
<head>
$headinclude
<title>$vboptions[bbtitle] - $vbphrase[add_new_video] - $catinfo[title]</title>
</head>
<body>
$header
$navbar
<form action="video.php?do=killcomment&commentid=$videocomment[videocommentid]" method="post" name="vbform">
<input type="hidden" name="s" value="$session[sessionhash]" />
<input type="hidden" name="securitytoken" value="$bbuserinfo[securitytoken]" />
<input type="hidden" name="commentid" value="$videocomment[videocommentid]" />
<input type="hidden" name="do" value="killcomment" />
<table class="tborder" cellpadding="$stylevar[cellpadding]" cellspacing="$stylevar[cellspacing]" border="0" width="100%" align="center">
<tr>
<td class="tcat">$vbphrase[delete_video_comment]</td>
</tr>
<tr>
<td class="thead">$vbphrase[video_title]: <span style="font-weight:normal">$videoinfo[title]</span></td>
</tr>
<tr>
<td class="panelsurround" align="center">
<div class="panel">
<div style="width:$stylevar[formwidth]" align="$stylevar[left]">
<fieldset class="fieldset">
<legend>$vbphrase[deletion_options]</legend>
<table cellpadding="0" cellspacing="$stylevar[formspacer]" border="0">
<tr>
<td>
<div>
<label for="rb_deletetype_0"><input type="radio" name="dodelete" value="0" id="rb_deletetype_0" checked="checked" />$vbphrase[do_not_delete_comment]</label>
</div>
<div>
<label for="rb_deletetype_1"><input type="radio" name="dodelete" value="1" id="rb_deletetype_1" />$vbphrase[physically_remove_comment]</label>
</div>
</td>
</tr>
</table>
</fieldset>
</div>
</div>
<div style="margin-top:$stylevar[cellpadding]px">
<input type="submit" class="button" value="$vbphrase[delete_video_comment]" accesskey="s" />
<input type="reset" class="button" value="$vbphrase[reset_fields]" accesskey="r" />
</div>
</td>
</tr>
</table>
</form>
$footer
</body>
</html>
Thanks you very much for sharing your changes!
Regards
Surviver
ArnyVee
12-19-2008, 04:07 PM
Surviver, what is the process to have a brand-free option?
The Realist
12-19-2008, 04:11 PM
I realised after I posted and see the section I needed.
Thanks.
Post number 456 (https://vborg.vbsupport.ru/showpost.php?p=1679137&postcount=456) has the answer
Surviver
12-19-2008, 04:17 PM
Surviver, what is the process to have a brand-free option?
Send me a PM ;)
Jaxel
12-19-2008, 06:37 PM
hello,
I have the following problem:
I use Vbadvanced for the main page of my site (ninty.gr)
The link in the navigation bar goes to www.ninty.gr/video.php and not to www.ninty.gr/forum/video.php which is the correct adress
That happens only to the front page of my site ,in all other pages ,it has the correct link
I have added the video.php link to the list from vba panel but still nothing!
Any help??
Thanks in advance
ps. my site is www.ninty.gr
In your ADMIN CP... in the vBadvanced CMPS Default Settings... add "video.php" to the list of Navbar Replacements... that will fix your problem.
ArnyVee
12-20-2008, 01:08 AM
Thanks Surviver and thanks for sharing your code Jaxel :D
Jaxel, how did you add the image right above the "views" on the video home?
Jaxel
12-20-2008, 01:13 AM
ArnyVee... that is the rating of the video (0 - 5)... I set it up so that it ALWAYS shows the ratings... even if the rating is currently a 0 (which means no one has rated it yet). It just so happens that the default 0 rating image with VB is a blank image, the 0 rating image for my forum is an actual image.
TriMe
12-20-2008, 01:24 AM
Jaxel, question for you.
If someone click on the video, they get re-directed to the youtube page... is there a way to get rid of that... so the embed video isn't actually 'clickable'?
Thanks for everything!
ArnyVee
12-20-2008, 01:34 AM
ArnyVee... that is the rating of the video (0 - 5)... I set it up so that it ALWAYS shows the ratings... even if the rating is currently a 0 (which means no one has rated it yet). It just so happens that the default 0 rating image with VB is a blank image, the 0 rating image for my forum is an actual image.
Ahh..gotcha. Thanks for explaining that one! ;)
And, good point by TryMe, any way of fixing that?
TriMe
12-20-2008, 01:35 AM
ArnyVee... that is the rating of the video (0 - 5)... I set it up so that it ALWAYS shows the ratings... even if the rating is currently a 0 (which means no one has rated it yet). It just so happens that the default 0 rating image with VB is a blank image, the 0 rating image for my forum is an actual image.
Is there a setting for that in vB or is there a hack I can download to do it as well? Its a great idea.
EDIT** Never mind.. I got it. Just make a gif and name it to rating_0.gif then upload :)
compact123
12-20-2008, 02:30 AM
cool thx
ArnyVee
12-20-2008, 03:51 AM
Okay... sub-categories are quickly becoming a MUST on my forums.
I'd have to agree that this is a must-have on this one. With certain forums (like my Disney-related site), I will have TONS of videos and from all sorts of things. So, if we don't get sub-categories, that list is going to be HUGE! :D
ArnyVee
12-20-2008, 06:53 PM
Has anyone done anything with the categories to make them stand out or to help get some additional attention to them? The text seems sorta small, but I also didn't want to make it too large.
Anyone with any suggestions?
Marka Ragnos
12-20-2008, 09:30 PM
well i'm working on making a new vbadvanced page strickly for the videos
http://www.kustmijnkloten.be/forum/cmps_index.php?pageid=video
the left navigation bar is for now just a copy of the homepage
i'm thinking of changing it to categories and small section for video of the week or something.
poromenos
12-21-2008, 09:02 AM
In your ADMIN CP... in the vBadvanced CMPS Default Settings... add "video.php" to the list of Navbar Replacements... that will fix your problem.
I have already done this,but the problem remains!
Mr.samy
12-21-2008, 07:25 PM
is any processing to active google video on it ?
rolandogomez
12-21-2008, 11:50 PM
great mod. wish I had use for videos though
You're kidding right? Here's my photography site with photoshop videos. Great for drawing traffic, more search engine listings, user's stay on the site longer, etc. I have almost 50 Photoshop videos on this link (http://www.garageglamour.com/forums/videos/?do=viewcategory&categoryid=2&categorytitle=adobe-photoshop-related). Of course, now that I showed you, looks like we'll be competing for similar traffic (grins) All the best, really, this is a great mod for your site! My hat's off to everyone that's helping. Thanks, rg.
rolandogomez
12-21-2008, 11:56 PM
Survivor, again, awesome product. I've just installed it on my newest site, http://www.phototherapy.org/forums/video.php and sent you payment for brand free--again! Two sites using your mod and I love it! Thanks! rg sends!
ForYou
12-22-2008, 10:01 AM
Hello ,
Can the members upload there viedeo !!
I mean if the member have a video on his computer and need to upload on video directory !!
Regards
TriMe
12-22-2008, 11:29 AM
Hello ,
Can the members upload there viedeo !!
I mean if the member have a video on his computer and need to upload on video directory !!
Regards
No.
Leo Brazil
12-22-2008, 02:11 PM
In your ADMIN CP... in the vBadvanced CMPS Default Settings... add "video.php" to the list of Navbar Replacements... that will fix your problem.
I have already done this,but the problem remains!
Same to me here...
KW802
12-22-2008, 02:37 PM
In your ADMIN CP... in the vBadvanced CMPS Default Settings... add "video.php" to the list of Navbar Replacements... that will fix your problem.
Same to me here...Depending upon if you are using a custom style or not, and depending upon how that style was coded, you may need to put the replacement as a "header" replacement instead of a "navbar" replacement.
Leo Brazil
12-22-2008, 05:44 PM
hello,
I have the following problem:
I use Vbadvanced for the main page of my site (ninty.gr)
The link in the navigation bar goes to www.ninty.gr/video.php and not to www.ninty.gr/forum/video.php which is the correct adress
That happens only to the front page of my site ,in all other pages ,it has the correct link
I have added the video.php link to the list from vba panel but still nothing!
Any help??
Thanks in advance
ps. my site is www.ninty.gr
I've just got a fix for this, it helped for me.
Open navbar_videolink template
Find:
<td class="vbmenu_control"><a href="video.php$session[sessionurl_q]">$vbphrase[video_directory]</a></td>
and replace to:
<td class="vbmenu_control"><a href="/forum/video.php$session[sessionurl_q]">$vbphrase[video_directory]</a></td>
were: /forum/ is the location of your forum in case you use a different one
It worked for me, I hope it may help you.
TriMe
12-24-2008, 04:18 AM
I tried my first YouTubeHD and had a thumbnail issue. It was because I had to create a folder called YouTubeHD in the site.com/videothumbnails/ folder and chmod it to 777.
ArnyVee
12-24-2008, 02:27 PM
I tried my first YouTubeHD and had a thumbnail issue. It was because I had to create a folder called YouTubeHD in the site.com/videothumbnails/ folder and chmod it to 777.
What a coincidence, I was just trying my first HD one as well. And, I got this message ....
Warning: fopen([path]/videothumbnails/YouTubeHD/xA9RIn2MNDk.jpg) [function.fopen]: failed to open stream: No such file or directory in [path]/includes/videoserviceapi/class_youtubehd.php on line 84
Warning: fwrite(): supplied argument is not a valid stream resource in [path]/includes/videoserviceapi/class_youtubehd.php on line 85
Warning: fclose(): supplied argument is not a valid stream resource in [path]/includes/videoserviceapi/class_youtubehd.php on line 86
So, I'm going to go ahead and add the folder and make sure that was the only issue. :)
Edited: Worked. Thanks TriMe :)
TriMe
12-24-2008, 03:24 PM
[quote=ArnyVee;1692895
Edited: Worked. Thanks TriMe :)[/quote]
Good to hear. Merry Christmas. :)
ChipW
12-24-2008, 09:23 PM
Just for anyone's information. I use 3.7 Beta 4. I changed the minimum version in the .xml file and it installed flawlessly and works great.
The only bug I have is no ACP links. But, I seen there was a video.php in the admincp folder and called it up. No problems.
Jaxel
12-24-2008, 10:15 PM
Thanks, i've updated the YouTube XML File for the next Release (Added an option to enable/disable the related videos)
If you don't want to wait for the next release, you can use the attached XML File!
Regards
Surviver
Survivor... the settings classes for videohoster XML files dont work... it gives an error in admincp/video.php
TriMe... I know what the problem is with your thumbnails not showing... send me a PM on AIM if you can.
Jaxel
12-25-2008, 03:37 AM
I also have a question about this mod for Survivor...
Why do you store the uploader's username in the video table? Shouldn't the userid be enough? If you are reading the usernames from the video table, instead of the vbulletin user table, what happens when someone's username gets changed?
Jaxel
12-25-2008, 05:33 AM
Okay... Merry Christmas Everyone! I have a whole bunch of new edits this time around... and I have made it easier by simply making them all into files for you...
The first file of course is "videoDirectory.XML"... this is simply my template edits. Just download the file and then import it into your style and you will get all my most recent updates. Don't forget of course to download the other files as some of my edits are dependant on them. This new version adds support for comment counting, and manages the new "isHD" variable I've created.
The next file is "video.php"... The core video script I have made a lot of changes to. Allow me to enumerate them...
Added support for VIDEO-DETAILS-EMBED... this is the template I added so that the embedded video goes above the categories, isntead of to the right; this way there is more space for high definition videos.
VideoBBCode now fetches the video title for bbcode embed tags.
PageNav for comments on VIDEO-DETAILS now properly calls up construct_video_url. Why it was not doing this to begin with, when every other video url link was; is beyond me. SHAME ON YOU SURVIVOR! :D
Per Survivor's hotfixes; RSS feeds are properly sanitized for IE and Opera.
I have removed the "random" and "best rated" options for VIDEO-DETAILS. There is no reason to have these options for when people are viewing specific videos. I have left the "related video" options intact.
The Delete Comment page is now constructed properly. It calls its own page, isntead of from the shell.
The new file this time around is "includes/functions_videodirectory.php"...
The construct_video_bit function now has a new routine for handling the new isHD variable. Basically, if the video service for a video contains the word "HD" in it; it will mark the video as HD in the video_bit. (By default, I have this marking as a red "HD" tag). Now the HD tag will work for ANY high definition hosting service, as long as "HD" is in the $hostername (its inside the XML for the video-hoster).
The construct_video_url and construct_category_url functions have been rewritten. For those of you using VBSEO, there will be no change for you. For everyone else, YOU NOW HAVE BASIC SEO! It's not perfect, its only for video and category links. You don't need TfSEO for this; it will work for anybody with Apache. To get the SEO functions, your .htaccess file must include the following:
RewriteEngine On
#### VideoDirectory
RewriteRule ^(.*)video-(.*)-v([0-9]+)(.*)&page=([0-9]+)$ video.php?do=viewdetails&videoid=$3&page=$5 [QSA,L]
RewriteRule ^(.*)video-(.*)-c([0-9]+)(.*)&page=([0-9]+)$ video.php?do=viewcategory&categoryid=$3&page=$5 [QSA,L]
RewriteRule ^(.*)video-(.*)-v([0-9]+)(.*)$ video.php?do=viewdetails&videoid=$3 [QSA,L]
RewriteRule ^(.*)video-(.*)-c([0-9]+)(.*)$ video.php?do=viewcategory&categoryid=$3 [QSA,L]
If you do not want to use the SEO functions (either you dont have an apache server, or dont have access to your .htaccess) delete or comment out the following line from video.php. You dont have to do this if you have VBSEO, since I set the priority to the function to search for VBSEO first, before it looks for this basic SEO... but you can delete the line if you so wish.
define('SEO_ENABLED', true);
Also included are new versions of YouTube.XML and YouTubeHD.XML.
Jaxel
12-25-2008, 07:44 AM
Working on somethign new....
My video directory now has USER VIDEO PAGES....
http://www.8wayrun.com/video.php
http://www.8wayrun.com/video.php?do=viewuser&userid=1
http://www.8wayrun.com/video-jaxel-u1
I'll upload this and further fixes to the basic SEO stuff later... Now EVERY link to videos, categories, and users is SEO.
Surviver
12-25-2008, 09:29 PM
Just for anyone's information. I use 3.7 Beta 4. I changed the minimum version in the .xml file and it installed flawlessly and works great.
The only bug I have is no ACP links. But, I seen there was a video.php in the admincp folder and called it up. No problems.
Can't confirm. Did you refresh the ACP?
Survivor... the settings classes for videohoster XML files dont work... it gives an error in admincp/video.php
TriMe... I know what the problem is with your thumbnails not showing... send me a PM on AIM if you can.
What error exactly do you get?
I also have a question about this mod for Survivor...
Why do you store the uploader's username in the video table? Shouldn't the userid be enough? If you are reading the usernames from the video table, instead of the vbulletin user table, what happens when someone's username gets changed?
The Column is for guests. If a guest posts a video, he has no id - we have to store the username in the video table ;)
Okay... Merry Christmas Everyone! I have a whole bunch of new edits this time around... and I have made it easier by simply making them all into files for you...
The first file of course is "videoDirectory.XML"... this is simply my template edits. Just download the file and then import it into your style and you will get all my most recent updates. Don't forget of course to download the other files as some of my edits are dependant on them. This new version adds support for comment counting, and manages the new "isHD" variable I've created.
The next file is "video.php"... The core video script I have made a lot of changes to. Allow me to enumerate them...
Added support for VIDEO-DETAILS-EMBED... this is the template I added so that the embedded video goes above the categories, isntead of to the right; this way there is more space for high definition videos.
VideoBBCode now fetches the video title for bbcode embed tags.
PageNav for comments on VIDEO-DETAILS now properly calls up construct_video_url. Why it was not doing this to begin with, when every other video url link was; is beyond me. SHAME ON YOU SURVIVOR! :D
Per Survivor's hotfixes; RSS feeds are properly sanitized for IE and Opera.
I have removed the "random" and "best rated" options for VIDEO-DETAILS. There is no reason to have these options for when people are viewing specific videos. I have left the "related video" options intact.
The Delete Comment page is now constructed properly. It calls its own page, isntead of from the shell.
The new file this time around is "includes/functions_videodirectory.php"...
The construct_video_bit function now has a new routine for handling the new isHD variable. Basically, if the video service for a video contains the word "HD" in it; it will mark the video as HD in the video_bit. (By default, I have this marking as a red "HD" tag). Now the HD tag will work for ANY high definition hosting service, as long as "HD" is in the $hostername (its inside the XML for the video-hoster).
The construct_video_url and construct_category_url functions have been rewritten. For those of you using VBSEO, there will be no change for you. For everyone else, YOU NOW HAVE BASIC SEO! It's not perfect, its only for video and category links. You don't need TfSEO for this; it will work for anybody with Apache. To get the SEO functions, your .htaccess file must include the following:
RewriteEngine On
#### VideoDirectory
RewriteRule ^(.*)video-(.*)-v([0-9]+)(.*)&page=([0-9]+)$ video.php?do=viewdetails&videoid=$3&page=$5 [QSA,L]
RewriteRule ^(.*)video-(.*)-c([0-9]+)(.*)&page=([0-9]+)$ video.php?do=viewcategory&categoryid=$3&page=$5 [QSA,L]
RewriteRule ^(.*)video-(.*)-v([0-9]+)(.*)$ video.php?do=viewdetails&videoid=$3 [QSA,L]
RewriteRule ^(.*)video-(.*)-c([0-9]+)(.*)$ video.php?do=viewcategory&categoryid=$3 [QSA,L]
If you do not want to use the SEO functions (either you dont have an apache server, or dont have access to your .htaccess) delete or comment out the following line from video.php. You dont have to do this if you have VBSEO, since I set the priority to the function to search for VBSEO first, before it looks for this basic SEO... but you can delete the line if you so wish.
define('SEO_ENABLED', true);
Also included are new versions of YouTube.XML and YouTubeHD.XML.
Working on somethign new....
My video directory now has USER VIDEO PAGES....
http://www.8wayrun.com/video.php
http://www.8wayrun.com/video.php?do=viewuser&userid=1
http://www.8wayrun.com/video-jaxel-u1
I'll upload this and further fixes to the basic SEO stuff later... Now EVERY link to videos, categories, and users is SEO.
Very nice changes I hope, I'll be able to integrate some of them in Version 1.1.0. :)
But at the momenmt i don't have much time - i don't know when i'll be ready to release the next version ;)
I'm going to integrate the user's page in Version 1.2.0 :)
Regards
Surviver
PS: Sorry, that i replyed with a large delay - but as I said, i don't have much time at the moment ;)
puregraf
12-26-2008, 02:33 AM
i tried to import the videoDirectory.xml file and my vbulletin said:
Importing Style, Please Wait...
[:]
vBulletin Message
This file was created using a different version of vBulletin from the one you are running.
Your version: 1.1.0 B 1
File version: 1.1.0 RC 2
Merry Christmas!!
Digital Jedi
12-26-2008, 03:10 AM
i tried to import the videoDirectory.xml file and my vbulletin said:
Importing Style, Please Wait...
[:]
vBulletin Message
This file was created using a different version of vBulletin from the one you are running.
Your version: 1.1.0 B 1
File version: 1.1.0 RC 2
Merry Christmas!!
Why are you trying to import a product through the Style Manager?
puregraf
12-26-2008, 03:18 AM
because the directions said:
The first file of course is "videoDirectory.XML"... this is simply my template edits. Just download the file and then import it into your style
i imported as a product also and got same error
ArnyVee
12-26-2008, 03:38 AM
Working on somethign new....
My video directory now has USER VIDEO PAGES....
http://www.8wayrun.com/video.php
http://www.8wayrun.com/video.php?do=viewuser&userid=1
http://www.8wayrun.com/video-jaxel-u1
I'll upload this and further fixes to the basic SEO stuff later... Now EVERY link to videos, categories, and users is SEO.
I'll wait until this is added...great job Jaxel :D
I was going to do the update that you posted, but I'll wait and do everything at once. Thanks for sharing and for working on making this great mod even better! :up:
Digital Jedi
12-26-2008, 08:47 AM
because the directions said:
The first file of course is "videoDirectory.XML"... this is simply my template edits. Just download the file and then import it into your style
i imported as a product also and got same error
Oh, your talking about Jaxel's modifications. When you get a style conflict error, you have to set it to Ignore Style Version to get it to import.
Jaxel
12-26-2008, 11:38 AM
Okay... here is my newest build information...
In efforts to make this easier, I have completely rebuilt the product file and enclosed all my changes in a zip file. Extract the zip, upload all the new files, then import the product. This is NOT a replacement product; its an ehancement. You must have Survivor's version first. There are of course several important notes you should read before doing anything...
For some reason, when you re-install the Video-Directory, it does NOT save your previous settings for "Limits". Make sure you go into Videos > General Settings and record your settings in the "Limits" section. Everytime you upgrade, this stuff will be wiped out and I couldn't figure out how to fix Survivor's code to fix it.
I recommend the following settings for your limits...
5 - 15 - 2 - 5 - 0 - 0 - 5 - 20 - 5
When you re-install the Video-Directory, it also does not re-install your videohoster XML files. Simple, this means you need to re-import the two YouTube XML files I have included in the zip. Just import them and it will automatically overwrite your old YouTube XML files.
You may need to update/revert your existing templates to get my new template edits.
By default I have disabled the options for SEO-slugs. While yes, the SEO-slugs do work great; they inherintly break the Who's Online system. I don't know much about SEO or VBplugins, so chances are I wont be fixing this anytime soon. If you use VBSEO, the SEO-slug system doesn't affect you.
If you so wish, you can enable the SEO-slugs as they are right now by uncommenting the following line in /video.php.
// define('SEO_ENABLED', true);
And add the following to your .htaccess file:
RewriteEngine On
#### VideoDirectory
RewriteRule ^(.*)video-(.*)-v([0-9]+)(.*)&page=([0-9]+)$ video.php?do=viewdetails&videoid=$3&page=$5 [QSA,L]
RewriteRule ^(.*)video-(.*)-v([0-9]+)(.*)$ video.php?do=viewdetails&videoid=$3 [QSA,L]
RewriteRule ^(.*)video-(.*)-c([0-9]+)(.*)&page=([0-9]+)$ video.php?do=viewcategory&categoryid=$3&page=$5 [QSA,L]
RewriteRule ^(.*)video-(.*)-c([0-9]+)(.*)$ video.php?do=viewcategory&categoryid=$3 [QSA,L]
RewriteRule ^(.*)video-(.*)-u([0-9]+)(.*)&page=([0-9]+)$ video.php?do=viewuser&userid=$3&page=$5 [QSA,L]
RewriteRule ^(.*)video-(.*)-u([0-9]+)(.*)$ video.php?do=viewuser&userid=$3 [QSA,L]
Okay... that was simple enough... now for my patch notes, once again being worked backwards with Beyond Compare 3
CHANGES TO product-videodirectory.xml from Survivor's Version
Fixed create table constructs to check for existance.
Added new column in videocategory for the indent level.
Rewrote ALL TEMPLATES to be more aestheticly pleasing.
Added templates "video_catbit_small_sub", "video_details_embed" and "video_user".
Added Who's Online information for video user pages.
Added missing phrases for many of the new features in my edits.
Rewrote the majority of the phrases in this mod for better English.
CHANGES TO /video.php from Survivor's Version
Added support for a basic SEO slug system.
Added support for a basic "sub-category" system. Its not actually sub categories; but I have made it so that you can define a "level" for each category. When listing categories on the sidebar, the system will now print out the contents of the template "video_catbit_small_sub" once for each level of the category. So by default, categories are level 0, and video_catbit_small_sub prints out 0 times. If you set a category to level 2, then the contents of video_catbit_small_sub will print out 2 times before it displays the category link. You can see an example of how this works here: http://www.8wayrun.com/video.php
Added support for contributor video pages. Very simple, click on the user link and it will go to a page listing all videos uploaded by that user.
Moved embed code to the top of the page using the template "video_details_embed". This gives more space for high definition video.
VideoBBCode now fetches the video title for bbcode embed tags.
PageNav for comments on VIDEO-DETAILS now properly calls up construct_video_url. Why it was not doing this to begin with, when every other video url link was; is beyond me. SHAME ON YOU SURVIVOR!
Per Survivor's hotfixes; RSS feeds are properly sanitized for IE and Opera. Firefox was displaying the broken RSS feed without issues; so most people didn't notice it.
I have removed the "random" and "best rated" options for VIDEO-DETAILS. There is no reason to have these options for when people are viewing specific videos. I have left the "related video" options intact.
The Delete Comment page is now constructed properly. It calls its own page, instead of from the shell.
I forced category display on all pages. In the original version, on certain pages, the category didn't show up in the videobit... now it always does.
CHANGES TO /admincp/video.php from Survivor's Version
Added support for the category "level" indenting system. In order to change the level of a category, you must do it in the category edit screen in your admincp. I tried to figure out how to do it from the display order screen; but as I said, I dont know much about VB plugins; so i couldn't figure it out.
Changed the videohoster "yesno" setting from "true : false" to "1 : 0"... The problem is that if you set something for true, it worked fine (it properly inputted "1" into the videohoster fields); but if you set something for false, it inputted a null instead of properly inputting "0". So now the "yesno" goes straight to the 1 or 0.
CHANGES TO /includes/class_dm_videocategory.php from Survivor's Version
Added support for the category "level" indenting system.
CHANGES TO /includes/functions_videodirectory.php from Survivor's Version
The construct_video_bit function now has a new routine for handling the new isHD variable. Basically, if the video service for a video contains the word "HD" in it; it will mark the video as HD in the video_bit. (By default, I have this marking as a red "HD" tag). Now the HD tag will work for ANY high definition hosting service, as long as "HD" is in the $hostername (its inside the XML for the video-hoster).
Added support for the contributor video pages.
Added support for the SEO slug system.
I've also rewritten the YouTube videohoster files, so that they have options for enabling/disabling fullscreen, autoplay and related video options.
@Survivor... you can pretty much incorporate ALL of my changes in your next version; this way at least you dont have to do much for the video user pages. You can download a program called Beyond Compare that will show you a line by line comparison to your files. Anyways, the biggest thing I want is a TAGGING system... get that asap! =P
ArnyVee
12-26-2008, 02:29 PM
I recommend the following settings for your limits...
5 - 15 - 2 - 5 - 0 - 0 - 5 - 20 - 5
Is this necessary or simply to mirror what you have on your setup?
When you re-install the Video-Directory, it also does not re-install your videohoster XML files. Simple, this means you need to re-import the two YouTube XML files I have included in the zip. Just import them and it will automatically overwrite your old YouTube XML files.
This just means that I have to upload via FTP and overwrite the previous ones, right?
You may need to update/revert your existing templates to get my new template edits.
How do I do this?
Added support for a basic "sub-category" system. Its not actually sub categories; but I have made it so that you can define a "level" for each category. When listing categories on the sidebar, the system will now print out the contents of the template "video_catbit_small_sub" once for each level of the category. So by default, categories are level 0, and video_catbit_small_sub prints out 0 times. If you set a category to level 2, then the contents of video_catbit_small_sub will print out 2 times before it displays the category link. You can see an example of how this works here: http://www.8wayrun.com/video.php
This is the first step in the right direction. But, we're not there yet. :D
Do we have to change any 'settings' to have this showing? If so, where do we change them?
Added support for contributor video pages. Very simple, click on the user link and it will go to a page listing all videos uploaded by that user.
This is a great feature, by the way! :D
Added support for the category "level" indenting system. In order to change the level of a category, you must do it in the category edit screen in your admincp. I tried to figure out how to do it from the display order screen; but as I said, I dont know much about VB plugins; so i couldn't figure it out.
Does this answer my question from above?
Changed the videohoster "yesno" setting from "true : false" to "1 : 0"... The problem is that if you set something for true, it worked fine (it properly inputted "1" into the videohoster fields); but if you set something for false, it inputted a null instead of properly inputting "0". So now the "yesno" goes straight to the 1 or 0.
Is this something that happens 'behind the scenes' or do we have to do the settings ourselves?
The construct_video_bit function now has a new routine for handling the new isHD variable. Basically, if the video service for a video contains the word "HD" in it; it will mark the video as HD in the video_bit. (By default, I have this marking as a red "HD" tag). Now the HD tag will work for ANY high definition hosting service, as long as "HD" is in the $hostername (its inside the XML for the video-hoster).
So, we no longer have to add the "fmt=22&" to the videos?
@Survivor... the biggest thing I want is a TAGGING system... get that asap! =P
Once the sub-categories work as they should and the tagging is added, that would make things complete :up:
Jaxel
12-26-2008, 02:47 PM
Is this necessary or simply to mirror what you have on your setup?No, just a mirror of what I have...
This just means that I have to upload via FTP and overwrite the previous ones, right?You need to upload via FTP AND overwrite the templates in the mod. Just go to your AdminCP > Manager Hoster > Import video-hoster. Import both youtube files and they will automatically overwrite your old ones.
How do I do this?In your style manager, simply select each video template you've edited and hit the "revert" button.
Do we have to change any 'settings' to have this showing? If so, where do we change them?
Does this answer my question from above?Yes.
Is this something that happens 'behind the scenes' or do we have to do the settings ourselves?Its behind the scenes, nothing you have to do.
So, we no longer have to add the "fmt=22&" to the videos?You still need to differentiate the difference between HD and SD video; what this does is make it easy to define more than just youtubeHD as an HD video source.
I have however, changed the "fmt=22&" thing... you no longer do it that way... isntead, just change the HTTP in your link to HDEF... easier this way.
So http://wwww.youtube.com/watch?v=12345 becomes hdef://www.youtube.com/watch?v=12345
TriMe
12-26-2008, 02:54 PM
This is awesome, Thanks!
ArnyVee
12-26-2008, 04:24 PM
Thanks for answering the questions Jaxel :up:
I'm going to do the updates a little later today.
Mr.samy
12-27-2008, 12:26 AM
I have problem in rss .... every time i try to see it make log off from my forum
RenegadeFan
12-27-2008, 02:50 AM
This is fantastic! We can't wait to put this into use for our members.
Thanks for all the hard work! :)
Marka Ragnos
12-27-2008, 01:11 PM
Nice adjustments
Live demo
http://www.kustmijnkloten.be/forum/video.php
thanks for all your hard work
tidefans
12-27-2008, 02:38 PM
Just added jaxel's mods. Looks good so far!
Thanks.
Marka Ragnos
12-27-2008, 04:14 PM
<a href="http://www.kustmijnkloten.be/forum/video.php?do=viewdetails&videoid=67" target="_blank">http://www.kustmijnkloten.be/forum/v...ils&videoid=67</a>
for some reason every hd movie doesnt work
the video is no longer available
ArnyVee
12-27-2008, 06:05 PM
Well, I finally did the updates this morning, but the contributer video pages aren't there. At least, the links which are supposed to go there (within the Top Contributers section) are still pointing to the public profiles.
Everything else seems to be working so far.
Any tips on what I haven't done which has not changed the actual links from pointing to the right pages?
father guido
12-27-2008, 07:07 PM
Well, I finally did the updates this morning, but the contributer video pages aren't there. At least, the links which are supposed to go there (within the Top Contributers section) are still pointing to the public profiles.
Everything else seems to be working so far.
Any tips on what I haven't done which has not changed the actual links from pointing to the right pages?
I am having the same issue - links are directed to:
/forums/member.php?u=xxxx
Instead of
forums/video.php?do=viewuser&userid=xxxx
Not sure where to make the adjustment
father guido
12-27-2008, 07:12 PM
Well, I finally did the updates this morning, but the contributer video pages aren't there. At least, the links which are supposed to go there (within the Top Contributers section) are still pointing to the public profiles.
Everything else seems to be working so far.
Any tips on what I haven't done which has not changed the actual links from pointing to the right pages?
Here it is - go to your video_contributorbit template and replace the entire contents with
» <a href="$user[userurl]" style="line-height: 16px;">$user[musername] (<acronym title="<phrase 1="$user[videocount]">$vbphrase[this_contributor_has_added_x_videos]</phrase>">$user[videocount]</acronym>)</a><br />
That should fix it for you
tidefans
12-27-2008, 07:32 PM
Ok... The video does not appear on the video.php=videodetails page.
See the attached screenshot.
Not sure where to look to see what's wrong.
any help is appreciated.
father guido
12-27-2008, 07:38 PM
Ok... The video does not appear on the video.php=videodetails page.
See the attached screenshot.
Not sure where to look to see what's wrong.
any help is appreciated.
Did you reinstall your videohoster files?
#2 above - When you re-install the Video-Directory, it also does not re-install your videohoster XML files. Simple, this means you need to re-import the two YouTube XML files I have included in the zip. Just import them and it will automatically overwrite your old YouTube XML files.
Jaxel
12-27-2008, 08:29 PM
You guys who are having problems with the embedded video not showing up, or the contributor page links not working forgot to do something... REVERT YOUR TEMPLATES! You are still using the old templates, which still have the old setups.
As for not all HD videos working... not all videos on youtube are encoded in HD... if you try to use the HD embed code in a video that has not been encoded in HD, the video playback will break.
ArnyVee
12-27-2008, 09:24 PM
Thanks FatherGuido! :up:
Jaxel, I had reverted all of my templates and everything. Just something didn't take with the one template that FatherGuido mentioned the fix on. So, I used his fix and it now works.
Do you suggest I not use that, Jaxel?
tidefans
12-27-2008, 09:38 PM
You guys who are having problems with the embedded video not showing up, or the contributor page links not working forgot to do something... REVERT YOUR TEMPLATES! You are still using the old templates, which still have the old setups.
Exactly what I needed. Somehow I missed that instruction before. MANY THANKS!
Jaxel
12-28-2008, 01:52 AM
Okay... once again I am working on something new... I added two new settings: "Vidbits Per Row" and "Length of the preview-text of title". Obviously, the "Length of the preview-text of title" handles the length of the title to show up on the vidbits. If the title is too long, it will truncate and add an ellipse to the end; the same way that the system truncates the length of the descriptions.
The other variable, "Vidbits Per Row" handles the number of videos that are listed per row. By default, we are all used to seeing only one video per row. I prefer seeing more; so now you can program it! If you wish to stick with only one video, it will as usual call up the "video_bit" template. If you use more than one video per row, it will call up a new template called "video_bit_more". My forum is using TWO for example:
http://www.8wayrun.com/video.php?do=viewuser&userid=1
Of course, a lot of templates have been rewritten and files have been edited to handle it all. So I would be uploading my new changes till next week; as I'm expecting to change more.
ArnyVee
12-28-2008, 02:22 AM
Jaxel, that is a very interesting option to have! Thanks for working on this like you have and I look forward to seeing the changes next week :D
By the way, my thumbnails aren't showing here...
http://www.waltdisneyboards.com/videos/
....what the heck did I do wrong? Any tips? I've got the directory of videothumbnails (and folders within) and includes/videoserviceapi at 777 permissions, but no thumbnails for me. :(
Jaxel
12-28-2008, 04:18 AM
Most thumbnail problems occur because of your htaccess settings; and as I see, you are using VBSEO. Upload an htaccess file to your thumbnail directory, turning rewrite off.
puregraf
12-28-2008, 05:16 AM
edited! works !!
thanks!!!
could you make the members avatar show next to his name for the comments posted? :)
ArnyVee
12-28-2008, 01:32 PM
Most thumbnail problems occur because of your htaccess settings; and as I see, you are using VBSEO. Upload an htaccess file to your thumbnail directory, turning rewrite off.
Would it be simply "RewriteEngine Off" (without the quotes) in a file and uploaded within my videothumbnails directory/folder?
I did that, but it doesn't work. So, I'm assuming that I have to do something else within that file, but I'm not sure what.
Marka Ragnos
12-28-2008, 04:47 PM
and make sure the necessary directories are writable
ArnyVee
12-28-2008, 06:21 PM
Yup...everything is writable. So, not sure why it's not working yet. :(
Edited: Just added a new video and it worked. I just realized that you can't adjust and have the old thumbnails show because they were not working. So, I'll just have to upload those three videos again that are not showing thumbnails.
So, the "RewriteEngine Off" piece has to be added for the forums with vBSEO in the videothumbnails directory. :)
Jaxel
12-29-2008, 05:06 AM
I have a degree in Biomedical Informatics; thats basically computer programming for genetic sequencing and stuff like that, but all the programming I do is through PERL. I learned how to program through reverse engineering webscripts a decade ago; which too, were mostly in PERL... so I'm not well versed in PHP or vBulletin (but I can hack the PERL version of UBB easy peasy).
I'm gonna need some help putting together a tag cloud for this program... anyone wanna help me? AIM me: BadBreath911
indie2industry
12-29-2008, 05:50 PM
Idea...
There should be a block on the users profile for the videos they contributed. For example, you go to a users profile and in one of the blocks on the right of the profile shows the latest 3 vid thumbnails and you can go to that users archive also... The users archive could follow the same format as the video home page..
Just a thought :-)
BTW, I Love this mod
RTMdotORG
12-29-2008, 08:30 PM
can i get an xml for datpiff.com and worldstarhiphop.com?
Mr.samy
12-29-2008, 11:00 PM
I think the product need some fixed ...
problem in the product :
1 - When you delete any video ...it is image not delete .
2 - when let visitors to rate the video ... appear to them always You have already rated this video!
3 - When you let visitors to see who is watch who see also the video .... if who see the video members the table appear but if who see the video is avisitor not appear .
I hope to fixed this problem in next released
puregraf
12-30-2008, 09:55 PM
Jaxel, is it possible to also make a RSS feed for the categories?
Thanks for your time!
ArnyVee
12-31-2008, 12:29 AM
Folks,
I'm having some issues with 'some' of the thumbnails not showing. This is an example of one that I had uploaded but no thumbnail on......
http://youtube.com/watch?v=5-ziqoyr4D8
....anything weird about this video or anything that I have to adjust to make sure it shows? FYI, the person that uploaded it on YouTube is the same person (same username as well) on my site. Could that cause an issue?
Here's the page....
http://www.waltdisneyboards.com/videos/disneyland-3/
Jaxel
12-31-2008, 02:45 AM
Arny... the thumbnail exists... its just broken...
http://www.waltdisneyboards.com/videothumbnails/YouTube/5-ziqoyr4D8.jpg
Could have been a hiccup during the upload that causes the thumbnail to be incompleted, or it could be SEO problems.
bobII
12-31-2008, 07:58 AM
Are there any plans to add videos from NFL.com?
ArnyVee
12-31-2008, 03:11 PM
Arny... the thumbnail exists... its just broken...
http://www.waltdisneyboards.com/videothumbnails/YouTube/5-ziqoyr4D8.jpg
Could have been a hiccup during the upload that causes the thumbnail to be incompleted, or it could be SEO problems.
It's strange Jaxel. I have a few of them not showing properly while others have no problems. :(
Any suggestions on what I can do to 'fix' this?
miloheckport
01-01-2009, 07:14 AM
Great Mod seems to work fine.. Is there any thought into supporting links to quicktime files? That would be a great feature. Thanks for putting this one together..
Vaupell
01-01-2009, 10:33 AM
Installed all good, just remember to set usergroup permissions :p
Morrus
01-01-2009, 02:16 PM
[Edit - never mind, fixed it!]
Jaxel
01-01-2009, 04:44 PM
You guys will be happy to know...
TAG CLOUD!!! http://www.8wayrun.com/video.php
The only thing missing so far is the ajax editing... which right now I cant figure out.
Survivor... do you mind if I start releasing my edits as their own mod? I will of course observe the Copyleft...
indie2industry
01-01-2009, 05:11 PM
You guys will be happy to know...
TAG CLOUD!!! http://www.8wayrun.com/video.php
The only thing missing so far is the ajax editing... which right now I cant figure out.
Survivor... do you mind if I start releasing my edits as their own mod? I will of course observe the Copyleft...
How do you get your videos to display like that??? :confused:
chikkoo
01-01-2009, 05:25 PM
Hi..
Thank you for this very nice Mod.
I just installed it recently, may I suggest some feature that you may look into it.
If they already exist, somebody guide me where to find them.
1) A preview button to view the movies, before pressing the add video button.
2) Edit video to enable editing of the url of the video.
3) Sub-Categories, with categories.
4) Top poster link at the Video Statistics to bring all the videos posted by the user, instead of showing the profile of the poster.
5) ability to import keywords, or add tags.
6) ability to add parameters to hide related video, and other information.
7) Unregistered/Guests can view the categories and other information, but not playing option.
8) Showing Duration of the clips at thread/summary display.
Jaxel
01-01-2009, 05:58 PM
How do you get your videos to display like that??? :confused:I said in a previous post that this customization will be coming in my next version in a few days.
1) A preview button to view the movies, before pressing the add video button.
2) Edit video to enable editing of the url of the video.
3) Sub-Categories, with categories.
4) Top poster link at the Video Statistics to bring all the videos posted by the user, instead of showing the profile of the poster.
5) ability to import keywords, or add tags.
6) ability to add parameters to hide related video, and other information.
7) Unregistered/Guests can view the categories and other information, but not playing option.
8) Showing Duration of the clips at thread/summary display.
1) I wont be able to help you with that, ask Survivor
2) That cant happen; the APIs draw information from the URL; the URL itself isn't even stored anywhere.
3) I have that in my verison... sort of... its just the level system like in VBA CMPS Nav Module
4) Already done in my version...
5) coming soon sometime this week...
6) doesn't this already exist?
7) not worth the effort for me, to add this.
Morrus
01-01-2009, 06:50 PM
I said in a previous post that this customization will be coming in my next version in a few days.
Yes, but that was a few days ago! :D
Jaxel
01-01-2009, 08:17 PM
Yes, but that was a few days ago! :D
I said a WEEK a few days ago... a few days from now...
I'm waiting to figure out this ajax stuff before I release my new version. Does anyone know how this crap works?
ArnyVee
01-02-2009, 12:28 AM
Take your time Jaxel, I think that the new layout and the TAG CLOUD (Woo hoo! :) ) will be worth the wait. :D
You are taking Survivor's awesome mod to the next level my friend! :up:
indie2industry
01-02-2009, 03:46 AM
I said a WEEK a few days ago... a few days from now...
I'm waiting to figure out this ajax stuff before I release my new version. Does anyone know how this crap works?
http://www.sematopia.com/?p=34
http://www.w3schools.com/Ajax/Default.Asp
I don't know if this will be helpful or not but here you go :o
logoz2008
01-02-2009, 08:59 AM
Can anyone add sub-categories feature to this???
indie2industry
01-02-2009, 10:10 AM
Can anyone add sub-categories feature to this???
Jaxel Hooked it up already here in this thread. Here's the post.
https://vborg.vbsupport.ru/showpost.php?p=1693947&postcount=560
when you go to manage categories in the AdminCP, you'll see a new column named Display Order. You would use that to create sub-categories.
:up:
Jaxel
01-02-2009, 12:30 PM
Okay... I'm having trouble getting some new data from the YouTube API... maybe someone can help me...
For adding new videos, I have two new fields
name/id = taglist (this is for adding tags)
name/id = timelength (this is for video duration)
And this is my YouTube.XML prepare_data function as it stands right now:
function prepare_data()
{
if (!$this->verify_videoid())
{
return false;
}
//Request Video Data
$vurl = new vB_vURL($this->registry);
$vurl->set_option(VURL_URL, 'http://gdata.youtube.com/feeds/api/videos/' . $this->video_id);
$vurl->set_option(VURL_USERAGENT, 'vBulletin/' . FILE_VERSION . ' | Video Directory');
$vurl->set_option(VURL_RETURNTRANSFER, 1);
$vurl->set_option(VURL_TIMEOUT, 30);
$result = $vurl->exec();
if ($vurl->fetch_error())
{
$this->set_error(VSS_ERROR_CONNECTION);
return false;
}
require_once(DIR . '/includes/class_xml.php');
$xmlobj = new vB_XML_Parser($result);
if(!$arr = $xmlobj->parse())
{
$this->set_error(VSS_ERROR_RESPONSE);
return false;
}
if (isset($arr['yt:noembed']))
{
$this->set_error(VSS_ERROR_NOEMBEDING);
return false;
}
$this->thumbnailpath = $arr['media:group']['media:thumbnail'][0]['url'];
$this->videodescription = $arr['media:group']['media:description']['value'];
$this->videotitle = $arr['media:group']['media:title']['value'];
$this->taglist = $arr['media:group']['media:keywords']['value'];
$this->timelength = $arr['media:group']['yt:duration']['seconds'];
return true;
}
And this is my vbulletin_ajax_videodirectory.js AJAX code as it stands right now:
function request_videoinfo()
{
if (!fetch_object('videourl').value)
{
return false;
}
YAHOO.util.Connect.asyncRequest("POST", "video.php?do=videoinfo", {
success: handel_videoinfo,
failure: vBulletin_AJAX_Error_Handler,
timeout: 15000
}, SESSIONURL + 'securitytoken=' + SECURITYTOKEN + "&url=" + PHP.urlencode(fetch_object('videourl').value) + "&wysiwyg=" + vB_Editor[editor_id].wysiwyg_mode);
fetch_object('videoajaxbutton').value = vbphrase['requesting_information_please_wait'];
fetch_object('videoajaxbutton').disabled = true;
return false;
}
function handel_videoinfo(ajax)
{
if (ajax.responseXML)
{
// check for error first
var error = ajax.responseXML.getElementsByTagName('error');
if (error.length)
{
fetch_object('thumbnail').setAttribute('src', '');
fetch_object('thumbnail_border').style.display = 'none';
alert(error[0].firstChild.nodeValue);
}
else
{
try
{
var description = ajax.responseXML.getElementsByTagName('description ')[0].firstChild.nodeValue;
vB_Editor[editor_id].insert_text(description);
}
catch (e)
{
}
try
{
var title = ajax.responseXML.getElementsByTagName('title')[0].firstChild.nodeValue;
fetch_object('videotitle').value = title;
}
catch (e)
{
}
try
{
var keywords = ajax.responseXML.getElementsByTagName('keywords')[0].firstChild.nodeValue;
fetch_object('taglist').value = keywords;
}
catch (e)
{
}
try
{
var duration = ajax.responseXML.getElementsByTagName('duration')[0].firstChild.nodeValue;
fetch_object('timelength').value = duration;
}
catch (e)
{
}
try
{
var videothumbnailpath = ajax.responseXML.getElementsByTagName('thumbnailpa th')[0].firstChild.nodeValue;
fetch_object('thumbnail').setAttribute('src', videothumbnailpath);
fetch_object('thumbnail_border').style.display = '';
}
catch (e)
{
}
}
}
fetch_object('videoajaxbutton').value = vbphrase['request_videoinfo_from_service'];
fetch_object('videoajaxbutton').disabled = false;
}
Does anyone know why this isnt working? What am i missing?
jlew24asu
01-02-2009, 01:31 PM
ok here is a dumb question. how do I add categories?
jlew24asu
01-02-2009, 01:32 PM
does anyone have this on CMPS?
Works perfectly with CMPS.
Categories can be added via the admin.
jlew24asu
01-02-2009, 03:11 PM
Works perfectly with CMPS.
Categories can be added via the admin.
would you mind posting the module code?
I know this is stupid but I dont see how to add categories in the admin cp
KW802
01-02-2009, 03:27 PM
would you mind posting the module code?https://vborg.vbsupport.ru/showthread.php?t=199084 ;)
jlew24asu
01-02-2009, 03:32 PM
thanks KW!
I thought I remembered seeing this
jlew24asu
01-02-2009, 03:47 PM
I know this is stupid but I dont see how to add categories in the admin cp
I think I'm missing something...do you go..
admin cp----> video-directory ?
I dont see anything in there about adding categories.
Admincp - videos - add category
If not, check if you uploaded all .xml files of this mod.
Thanks a lot Jaxel for keeping this mod alive :D
I see on your page that you have the default youtube player, while I have on mine that ugly one from Survivor with the blue borders. Also when I hover over 'my' player a youtube 'search' box comes up, while that doesn't happen on your site.
Could you please tell me how to get the same player (style) as on your page?
And also: is there a way to remove the embed block from the video information table and add (retrieve) the original postername from youtube?
Jaxel
01-02-2009, 04:06 PM
And also: is there a way to remove the embed block from the video information table and add (retrieve) the original postername from youtube?
Just delete the embed block from showing in your templates...
As for retrieving the original postername from youtube... yes, you could do that... if you fix my problem from the previous post.
jlew24asu
01-02-2009, 04:07 PM
Admincp - videos - add category
If not, check if you uploaded all .xml files of this mod.
I definitely dont have that. all I have is admincp - video-directory
I only see one xml file to upload. is there more then one? I added video.php to admincp directory but thats it.
XtremeOffroad
01-02-2009, 08:46 PM
Can videos be moved into new categories?
I had tested this without creating categories and now want to move them,
I tried searching and could not find the way.
Thanks.
Edit: Nevermind I found it.
jlew24asu
01-02-2009, 08:59 PM
Can videos be moved into new categories?
I had tested this without creating categories and now want to move them,
I tried searching and could not find the way.
Thanks.
Edit: Nevermind I found it.
how do you add categories?? lol
https://vborg.vbsupport.ru/
jlew24asu
01-02-2009, 09:14 PM
http://img95.imageshack.us/img95/5743/naamloosnh6.jpg
LOL thanks EWGF. I totally didnt see that. I was looking in vb options....and of course Videos is hidden among a bunch of other things on the sid and not in vb options.
whew.
edytwinky
01-02-2009, 09:56 PM
After the installation, is it still required that you have a folder chmodd 777? I don't like to keep folders open like that
Jaxel
01-02-2009, 11:09 PM
Is anyone able to help me with my AJax problem? Until I get that fixed, I wont be releasing my new version.
I checked your codes, but couldn't tell what could be wrong. Then again, I can't seem to be able to get YT HD working ^^"
@ twinky: Don't know for sure, but I don't think thumbnails can automatically be made if the thumbnail folder isn't chmodded to 777.
ArnyVee
01-02-2009, 11:36 PM
Jaxel, I wish I knew Ajax so that I could jump in and help...but, I don't :(
I hope someone can lend a hand so that we can all benefit from it. :up:
Question about YouTube HD...
I'm guessing it is not enough to install videohoster-YouTubeHD.xml and than including a link such as hdef://www.youtube.com/watch?v=OX6H7t1wXZI, right?
Can anyone please confirm :)
Jaxel
01-03-2009, 01:16 AM
I fixed the Ajax stuff... dont worry... I'll upload my new version on Monday when I get back from Magfest.
EWGF... thats exactly how you do it... the HDEF thing only works with my NEW youtubehd xml... the old HD xml works as follows...
http://www.youtube.com/watch?fmt=22&v=OX6H7t1wXZI
I changed it to HDEF instead because it makes it easier. Download my new XMLs, as it has three settings to control the API.
ArnyVee
01-03-2009, 01:28 AM
I fixed the Ajax stuff... dont worry... I'll upload my new version on Monday when I get back from Magfest.
Woo hoo! :D
Great to hear....can't wait to get my tags and nice layout going! Thanks Jaxel! :up:
K4GAP
01-03-2009, 02:32 AM
Getting this:
Butch - TLR, you do not have permission to access this page. This could be due to one of several reasons:
1. Your user account may not have sufficient privileges to access this page. Are you trying to edit someone else's post, access administrative features or some other privileged system?
2. If you are trying to post, the administrator may have disabled your account, or it may be awaiting activation.
And I am the admin, head cook and bottle washer of the site. I have permissions for everything else. Heck I own it all. Well actually the wife said I could get it :|
Where else would there be permissions I'm missing?
BTW, Happy '09 to everyone.
Jaxel
01-03-2009, 03:14 AM
Well I jsut got the TIME LENGTH field working... which means in the future, videos can have information about the length of the video. This information, like the tags is stored LOCALLY... which means videos that don't have time fields right now, wont magically get these time fields when you install my updates. Just like the tags, you must manually put in this information yourself. However; unlike the tag system, there is no easy way to do this without doing it straight in your database.
father guido
01-03-2009, 04:26 AM
Here is a minor issue. If I create a category for a specific user group and add videos - that category is hidden, as it should be, from all other user groups. However, the videos are accessible by clicking the name of the contributor as that shows all the videos added by that member. It essentially circumvents the permissions.
inciarco
01-03-2009, 06:01 AM
The Mod Looks Nice, Very Promising.
Is it possible for you to Instruct the code needed to be placed on the XLM Files to Import New videohosters? :confused:
Is important for Admins to be able to Provide all the Video Embeddings they want; it's like on the Auto Media Embedding Mod, the Admins have the Option to Include as much Video Services as they want, only by knowing the Embedding Code provided by the Video Service.
Could you please provide the Instructions to do that with this Mod? :confused:
My Best Regards.
:)
Digital Jedi
01-03-2009, 06:06 AM
After the installation, is it still required that you have a folder chmodd 777? I don't like to keep folders open like that
You have to CHMOD a folder if you want dynamically created content like this. It's unavoidable. But as long as your folder is protected by the index.php file, it's unlikely it's going to be security risk to anyone who didn't already have access to the server to begin with.
lingstar
01-03-2009, 07:18 AM
Hello,
Might someone share what is the hook I need to add
to display a 3 random video thumbnails on the main
page of my site? I'm running CMPS.
Thanks in advance,
Barbara
Jaxel
01-03-2009, 09:30 AM
Here is a minor issue. If I create a category for a specific user group and add videos - that category is hidden, as it should be, from all other user groups. However, the videos are accessible by clicking the name of the contributor as that shows all the videos added by that member. It essentially circumvents the permissions.
No it doesnt... while yes, the video does appear to them, when they click on the video, they get a permission error. So they can see that the video exists, they just cant watch it. If you ask me, thats even better, because it lets people know "hey, if I want to watch this video, I have to register". In fact, I'm changing the programming so that it doesn't hide the categories...
*EDIT*
Okay! You will be happy to know... not only did I fix this little error... but I did TWO better.
1. Fixed the error... now if a video is in a non-allowed category for a viewer's permissions, it will not show up on the user's listings... (fixed in tag-search too)
2. Fixed other errors... now if a video is in a non-allowed category, it wont show up in the small-bits either! (related videos, random videos, etc)
3. Added "Can see hidden listing" permission... Now you can assign usergroup permissions so that people can see listings for videos thats they dont have permission to watch! This is in response to a request someone previously asked for. Now you can set it so that unregistered users can see all the video listings, but they wont be able to watch. It will entice people to register for your forums.
I fixed the Ajax stuff... dont worry... I'll upload my new version on Monday when I get back from Magfest.
EWGF... thats exactly how you do it... the HDEF thing only works with my NEW youtubehd xml... the old HD xml works as follows...
http://www.youtube.com/watch?fmt=22&v=OX6H7t1wXZI
I changed it to HDEF instead because it makes it easier. Download my new XMLs, as it has three settings to control the API.
Hmm, I'll just wait for your new xml, since I can't get the current ones to work.
Meaning this one:
91152
father guido
01-03-2009, 12:02 PM
No it doesnt... while yes, the video does appear to them, when they click on the video, they get a permission error. So they can see that the video exists, they just cant watch it. If you ask me, thats even better, because it lets people know "hey, if I want to watch this video, I have to register". In fact, I'm changing the programming so that it doesn't hide the categories...
*EDIT*
Okay! You will be happy to know... not only did I fix this little error... but I did TWO better.
1. Fixed the error... now if a video is in a non-allowed category for a viewer's permissions, it will not show up on the user's listings... (fixed in tag-search too)
2. Fixed other errors... now if a video is in a non-allowed category, it wont show up in the small-bits either! (related videos, random videos, etc)
3. Added "Can see hidden listing" permission... Now you can assign usergroup permissions so that people can see listings for videos thats they dont have permission to watch! This is in response to a request someone previously asked for. Now you can set it so that unregistered users can see all the video listings, but they wont be able to watch. It will entice people to register for your forums.
You are a Rockstar! Thank you
chikkoo
01-03-2009, 12:45 PM
Hi.. Jaxel,
Thanks for replying my queries/suggestions.
1) I hope Survivor will take a note of it. I don't want to bother him by sending a PM to him.
2) I was thinking, we can just add another URL, it will replace the old url and contents. If difficult just leave it.
3) Hope it will be added in the next update.
4) Hope this too added in the next update.
5) Good news, thanks.
6) I can't figure it anywhere, would you mind thowing some light on it?
7) I thought it must be easy, if difficult just ignore it.
Thanks once again for providing such a wonderful mod.
I said in a previous post that this customization will be coming in my next version in a few days.
1) I wont be able to help you with that, ask Survivor
2) That cant happen; the APIs draw information from the URL; the URL itself isn't even stored anywhere.
3) I have that in my verison... sort of... its just the level system like in VBA CMPS Nav Module
4) Already done in my version...
5) coming soon sometime this week...
6) doesn't this already exist?
7) not worth the effort for me, to add this.
Hi..
Thank you for this very nice Mod.
I just installed it recently, may I suggest some feature that you may look into it.
If they already exist, somebody guide me where to find them.
1) A preview button to view the movies, before pressing the add video button.
2) Edit video to enable editing of the url of the video.
3) Sub-Categories, with categories.
4) Top poster link at the Video Statistics to bring all the videos posted by the user, instead of showing the profile of the poster.
5) ability to import keywords, or add tags.
6) ability to add parameters to hide related video, and other information.
7) Unregistered/Guests can view the categories and other information, but not playing option.
8) Showing Duration of the clips at thread/summary display.
ArnyVee
01-03-2009, 01:15 PM
Jaxel, you are really kickin' @$$ with this mod! Since this mod is unsupported, those of us that are not coders would be limited to what we could do with the mod. So, I know that I really appreciate the work that you continue to put into this mod! :up:
Jaxel
01-03-2009, 02:13 PM
1) A preview button to view the movies, before pressing the add video button.
2) Edit video to enable editing of the url of the video.
3) Sub-Categories, with categories.
4) Top poster link at the Video Statistics to bring all the videos posted by the user, instead of showing the profile of the poster.
5) ability to import keywords, or add tags.
6) ability to add parameters to hide related video, and other information.
7) Unregistered/Guests can view the categories and other information, but not playing option.
8) Showing Duration of the clips at thread/summary display.
1 - DONE! Coming in next version! I learned how to do ajax! Yay!
2 - as I said, this simply wont be possible; the embed codes itself are based on the URL of the video. So to change the URL of the video, you would break the embed codes.
3 - DONE! In current version as "display levels"... coming with fixes in next version.
4 - DONE! In current version... coming with fixes in next version
5 - DONE! Coming in next version as TAG CLOUD!
6 - Already in Survivor's version, its in your general video settings... I have re-arranged everything and made things easier to understand in my next version.
7 - DONE! Coming in next version as "Can see hidden listings" usergroup permission!
8 - DONE! Coming in next version as "timelength"!
Jaxel
01-03-2009, 03:52 PM
Okay... I realised the way I was doing #7 was completely asanine and complicated. Why was a creating a new exception that had to be calculated on every listing... it was just plain stupid, a pain in the ass, and added a lot of extra queries. So I made it simple...
The whole category setting stuff works as usual... you can turn off listing of categories for usergroups on a case by case basis, as well as the option to de-activate the category for everybody. As well, when searching by tags and users, it will call on the category of the video and exclude videos that are in categories that a user does not have permission to read.
But now I have added a new usergroup permission called "Can Watch Videos". Unless this is set to yes, a usergroup can not watch any videos. They can do everything else that they have permissions for, but hey cant watch videos. This would be great if you want to let unregistered/guests view all video information, but not actually watch the video itself.
Its a lot simpler this way.
KW802
01-04-2009, 12:57 AM
Might someone share what is the hook I need to add to display a 3 random video thumbnails on the main page of my site? I'm running CMPS.Try this...
https://vborg.vbsupport.ru/showthread.php?t=199084
chikkoo
01-04-2009, 02:51 AM
Hi.. Jaxel,
You Rock man..!
This is a most satisfying reply I ever got in vb.org, and a wonderful support from a Not-Supported Mod.
May I add a #9 in my list.
#9 - There is no add Video button at viewing video Page or Video Home page. (Right we need to go to each category to get the Add Video Button). How about adding the button at both these places. Is it possible?
Thanks.
Okay... I realised the way I was doing #7 was completely asanine and complicated. Why was a creating a new exception that had to be calculated on every listing... it was just plain stupid, a pain in the ass, and added a lot of extra queries. So I made it simple...
The whole category setting stuff works as usual... you can turn off listing of categories for usergroups on a case by case basis, as well as the option to de-activate the category for everybody. As well, when searching by tags and users, it will call on the category of the video and exclude videos that are in categories that a user does not have permission to read.
But now I have added a new usergroup permission called "Can Watch Videos". Unless this is set to yes, a usergroup can not watch any videos. They can do everything else that they have permissions for, but hey cant watch videos. This would be great if you want to let unregistered/guests view all video information, but not actually watch the video itself.
Its a lot simpler this way.
1 - DONE! Coming in next version! I learned how to do ajax! Yay!
2 - as I said, this simply wont be possible; the embed codes itself are based on the URL of the video. So to change the URL of the video, you would break the embed codes.
3 - DONE! In current version as "display levels"... coming with fixes in next version.
4 - DONE! In current version... coming with fixes in next version
5 - DONE! Coming in next version as TAG CLOUD!
6 - Already in Survivor's version, its in your general video settings... I have re-arranged everything and made things easier to understand in my next version.
7 - DONE! Coming in next version as "Can see hidden listings" usergroup permission!
8 - DONE! Coming in next version as "timelength"!
logoz2008
01-04-2009, 05:28 AM
Jaxel Hooked it up already here in this thread. Here's the post.
https://vborg.vbsupport.ru/showpost.php?p=1693947&postcount=560
when you go to manage categories in the AdminCP, you'll see a new column named Display Order. You would use that to create sub-categories.
:up:
Thank you much and thanks to Jaxel as well.
But it is getting confusing, I need to first install the Survivor version, then install Jaxel version?
I see Jaxel is talking about releasing a new one, my humble request will be to release a new MOD with all these features and a one time install.
regards
Jaxel
01-04-2009, 06:37 AM
I see Jaxel is talking about releasing a new one, my humble request will be to release a new MOD with all these features and a one time install.
I'm still waiting on word from Survivor for permission... otherwise, I cant.
Jaxel
01-04-2009, 08:41 AM
Okay... it looks like this will be my first major mod release if Survivor agrees to it...
Is there anyone out there who would be willing to help me test the install code?
I'm looking for 1 person who is running my last version... and 1 person who is running survivor's version. Send me a message on AIM: BadBreath911 if you are interested.
Morrus
01-04-2009, 03:09 PM
Okay... it looks like this will be my first major mod release if Survivor agrees to it...
Is there anyone out there who would be willing to help me test the install code?
I'm looking for 1 person who is running my last version... and 1 person who is running survivor's version. Send me a message on AIM: BadBreath911 if you are interested.
If it's released as a separate mod, does that mean losing all the current videos?
dizzine
01-04-2009, 03:31 PM
how do i add a box above the 'latest videos' box on video.php page containing instructional and rules information..?
Jaxel
01-04-2009, 06:15 PM
If it's released as a separate mod, does that mean losing all the current videos?No, it will use all the same tables, so you will lose nothing, except for your Limit settings... which you will need to reconfigure. I haven't figured out a way to fix this bug, but it happens EVERY time you upgrade/install this mod.
how do i add a box above the 'latest videos' box on video.php page containing instructional and rules information..?
Just edit video_home with your HTML.
edytwinky
01-05-2009, 05:34 AM
You have to CHMOD a folder if you want dynamically created content like this. It's unavoidable. But as long as your folder is protected by the index.php file, it's unlikely it's going to be security risk to anyone who didn't already have access to the server to begin with.
Thanks for the heads up.
Vaupell
01-05-2009, 09:44 AM
anyway to add clips from video.google.com ?
Feature requests:
- Show latest comments
- Show number of comments per user
jlew24asu
01-05-2009, 10:34 AM
thumbnails arent showing for me....here or on CMPS :(
Lionsloser07
01-05-2009, 11:51 AM
Hey. There is no video hosters showing up on the second step? What is the problem?
It is also not letting me access the page. "It is giving me the whole "you do not have permission to access this page. This could be due to one of several reasons:". I turned all the permissions to 777. What is the problem?
KW802
01-05-2009, 02:02 PM
thumbnails arent showing for me....here or on CMPS :(What are the permissions to your thumbs folder?
jlew24asu
01-05-2009, 02:19 PM
What are the permissions to your thumbs folder?
/videothumbnails is 777
edit: my mistake. I didnt do that for the subfolders. sorry bout that.
jlew24asu
01-05-2009, 03:07 PM
anyway to add clips from video.google.com ?
great idea
dizzine
01-05-2009, 04:13 PM
photobucket videos..??
great mod btw..!
dizzine
01-05-2009, 04:20 PM
Just edit video_home with your HTML.
sorry, i dont see video_home..! do you mean video.php ?
Only possible if they provide API's
@ above: video_home template in your admin
jlew24asu
01-05-2009, 04:35 PM
Only possible if they provide API's
I dont know much about anything but what about this
http://code.google.com/apis/ajaxsearch/multimedia.html
Morrus
01-05-2009, 05:56 PM
sorry, i dont see video_home..! do you mean video.php ?
video_home is a template. You need to edit it anyway to get rid of the references to Jaxel's website. :)
Hey, Jaxel - just thought - that would work great as a text field in the AdminCP.
Jaxel
01-05-2009, 07:40 PM
video_home is a template. You need to edit it anyway to get rid of the references to Jaxel's website. :)
Hey, Jaxel - just thought - that would work great as a text field in the AdminCP.
Already put it in yesterday.
simunaqv
01-05-2009, 07:51 PM
Hi Jaxel, have you heard from Surviver? Are you going to release any update for this mod?
Jaxel
01-05-2009, 09:01 PM
I'm still waiting for his response... I have everything read to go... just waiting for him.
Oh... and umm... check the comments...
http://www.8wayrun.com/video.php?do=viewdetails&videoid=87
ArnyVee
01-05-2009, 09:42 PM
Jaxel, you rock! :D
Holy mackerol...those comments with the avatars look great! I can't wait for the next round of updates this week! :up:
By the way, someone should concentrate (wish I knew how to help with this mod) on getting additional video sites added to the mod. I know that AME has a TON because of DJ's work on the add-on to the mod (https://vborg.vbsupport.ru/showthread.php?t=195884). Maybe the same sort of approach may apply, but I don't know enough to adapt it to this mod.
Jaxel
01-05-2009, 10:22 PM
The AME works through regular expressions and preg matching. It does't retrieve any information from any service's API's. All the information it pulls are from the URL. You can't pull thumbnails, time codes, and keywords from a URL. But its actually VERY EASY to work in a new script for services.
BobbyDiesel
01-05-2009, 11:31 PM
I can't read through this whole thread.
What do I do if I get a create video table database error while trying to upload xml?
rolandogomez
01-09-2009, 11:45 AM
Jaxel,
Any news? I have a new site I want to launch but want to use this version as I'm starting with VB 3.8 on it and it's a clean install. Please let me know. Thanks, rg.
Lionsloser07
01-09-2009, 11:58 AM
How do you add a category?
ArnyVee
01-09-2009, 12:12 PM
Jaxel,
Any news? I have a new site I want to launch but want to use this version as I'm starting with VB 3.8 on it and it's a clean install. Please let me know. Thanks, rg.
Rolando,
FYI, Jaxel is working on things within his mod.
https://vborg.vbsupport.ru/showthread.php?t=200819
How do you add a category?
Lionsloser07,
You can go to AdminCP --> Videos --> Add a Category
jlew24asu
01-09-2009, 12:27 PM
How do you add a category?
I missed this too. There is a Videos section on the left side in admincp.
Lionsloser07
01-09-2009, 10:46 PM
Hm. It is giving me a database error when I try to add a category. Is this mod compatible with vB 3.8.0?
ArnyVee
01-09-2009, 11:09 PM
People are using it with 3.8.0 already with no reported issues (check up a few posts for an example of one).
Personally, I'm running 3.7.4 at the moment with no issues to report. :D
Whichever error you are getting, look through this thread (use the "search this mod" option at the top) and try and see what the fix is. If you still can't find the answer, then you should post your database error code here and someone should be able to help you with it.
Good luck! :D
Lionsloser07
01-09-2009, 11:13 PM
Here is my database error that i am receiving when I am trying to add a category:
Database error in vBulletin 3.8.0:
Invalid SQL:
INSERT INTO videocategory
(title, description, active, displayorder, level, usergroups)
VALUES
('Lions Videos', 'These are lions videos.', 1, 50, 0, '6');
MySQL Error : Unknown column 'level' in 'field list'
Error Number : 1054
Request Date : Friday, January 9th 2009 @ 06:13:39 PM
Error Date : Friday, January 9th 2009 @ 06:13:39 PM
Script : http://motownsc.com/admincp/video.php?do=categoryinsert
Referrer : http://motownsc.com/admincp/video.php?do=categoryadd
MySQL Version : 5.0.67-community-log
Digital Jedi
01-10-2009, 08:41 AM
Here is my database error that i am receiving when I am trying to add a category:
Database error in vBulletin 3.8.0:
Invalid SQL:
INSERT INTO videocategory
(title, description, active, displayorder, level, usergroups)
VALUES
('Lions Videos', 'These are lions videos.', 1, 50, 0, '6');
MySQL Error : Unknown column 'level' in 'field list'
Error Number : 1054
Request Date : Friday, January 9th 2009 @ 06:13:39 PM
Error Date : Friday, January 9th 2009 @ 06:13:39 PM
Script : http://motownsc.com/admincp/video.php?do=categoryinsert
Referrer : http://motownsc.com/admincp/video.php?do=categoryadd
MySQL Version : 5.0.67-community-log
Sounds like not all your tables where created upon installation.
rolandogomez
01-10-2009, 09:11 AM
Rolando,
FYI, Jaxel is working on things within his mod.
https://vborg.vbsupport.ru/showthread.php?t=200819
Lionsloser07,
You can go to AdminCP --> Videos --> Add a Category
Thank you very much for letting me know. I'm working on a cool Wordpress/Vbulletin site, can't believe I'm doing it, but somehow I've played with it enough that it feels rather seamless when you go back and forth. So I need the video section as part of it cause VB does it better for video pages and stuff, the cool part, you won't be able to tell by looking at it if your on the WP or VB side...unless you know both programs and plugins/mods...thanks, hope to showcase a cool site soon, rg sends!
indie2industry
01-10-2009, 09:17 AM
Thank you very much for letting me know. I'm working on a cool Wordpress/Vbulletin site, can't believe I'm doing it, but somehow I've played with it enough that it feels rather seamless when you go back and forth. So I need the video section as part of it cause VB does it better for video pages and stuff, the cool part, you won't be able to tell by looking at it if your on the WP or VB side...unless you know both programs and plugins/mods...thanks, hope to showcase a cool site soon, rg sends!
I have the same thing............. :D
What's your sites content about? I'll let you look around my board for ideas if you need.
rolandogomez
01-10-2009, 11:15 AM
My site is about photography and though I have a few of those already, this is the first where I ditched Vbadvanced and when with WordPress. It's been fun messing with it, long hours, but almost done. You can PM yours, I'll PM you mine (grin) if yours is not on photography.
Also, I had sent in $$ to Survivor to go brand free, does it still apply here or do I need to send some to Jaxel for his version too? Thanks, rg.
ArnyVee
01-10-2009, 11:50 AM
Rolando,
Jaxel's version is based off of Surviver's mod. So, the brand-free would still apply if you already purchased it from Surviver. Although, I'm sure that Jaxel wouldn't mind a little donation for his help to the community in taking Surviver's great mod to the next level :D
Oh, and I'd love to see what you've done with the WP site. I've been toying with the idea for quite some time and would love to see what you did (and how you did it ;) ) with the 'seamlessness' of it :D
indie2industry
01-12-2009, 06:32 AM
My site is about photography and though I have a few of those already, this is the first where I ditched Vbadvanced and when with WordPress. It's been fun messing with it, long hours, but almost done. You can PM yours, I'll PM you mine (grin) if yours is not on photography.
Also, I had sent in $$ to Survivor to go brand free, does it still apply here or do I need to send some to Jaxel for his version too? Thanks, rg.
sent.
adloos
01-12-2009, 06:31 PM
Have been trying to install this mod and after we get it installed, we see everything, but for some reason we have no settings under general. What could be causing this? Also, when we add a url under video hosters we dont get anything to show up. We are using version 3.74. Anyone have any ideas for us?
Thanks in advanced.
ArnyVee
01-12-2009, 06:39 PM
adloos, it should have it's own "section" in admincp. Listed as "videos". Maybe refresh the screen on the admincp and see if it shows.
I'm using 3.7.4 and it's showing on mine. www.waltdisneyboards.com/videos
Leo Brazil
01-13-2009, 05:17 PM
It's working fine on 3.8.0
adloos
01-13-2009, 05:35 PM
maybe we will try reinstalling it again. Weird to have no settings under general settings.
Just thought maybe someone had this same error before.
Jaxel
01-14-2009, 06:35 PM
Survivor... the settings classes for videohoster XML files dont work... it gives an error in admincp/video.php
Survivor. I found out what the problem was with the settings classes... A video hoster cant handle only having ONE custom setting. If you have two or more custom settings, it works fine. But if you only have one custom setting, it breaks. Would you mind looking into this?
freni32
01-15-2009, 11:03 AM
I got everything installed and working fine, however when I try to upload informatin from the server from you tube it cant display it and when I try to upload any video it takes you to "Internet explorer cant display this page"
here is the url it is trying to upload to:
http://www.radardetectorreview.net/video.php?do=insertvideo&categoryid=3
why cant i upload anything, i chmod every single file and folder!
Digital Jedi
01-15-2009, 11:11 AM
I got everything installed and working fine, however when I try to upload informatin from the server from you tube it cant display it and when I try to upload any video it takes you to "Internet explorer cant display this page"
here is the url it is trying to upload to:
http://www.radardetectorreview.net/video.php?do=insertvideo&categoryid=3
why cant i upload anything, i chmod every single file and folder!
Upload?
Maybe the fact that guests don't have permission to view that URL is the problem?
Ray2khax
01-15-2009, 04:32 PM
When I add the video I get to the redirect page and get this error and then thumbnails don't come up.
Warning: fopen([path]/videothumbnails/YouTube/bsCYaflJMNE.jpg) [function.fopen]: failed to open stream: Permission denied in [path]/includes/videoserviceapi/class_youtube.php on line 84
Warning: fwrite(): supplied argument is not a valid stream resource in [path]/includes/videoserviceapi/class_youtube.php on line 85
Warning: fclose(): supplied argument is not a valid stream resource in [path]/includes/videoserviceapi/class_youtube.php on line 86
Jorge Gomez
01-15-2009, 05:39 PM
Hi,
i have a problem in the installation
XXXXXX you do not have permission to access this page. This may be one of several reasons:
1. Your user account may not have sufficient privileges to access this page. Are you trying to edit a message from another user, access administrative features or some other privileged system?
2. If you're trying to haceer, is to create a new message, the administrator may have disabled your account, or it may be awaiting activation.
freni32
01-15-2009, 08:19 PM
Upload?
Maybe the fact that guests don't have permission to view that URL is the problem?
when you click the button "Add Video" that is the url being displayed...?
All guest have permission to view it
menace2all
01-15-2009, 10:05 PM
Hi,
i have a problem in the installation
I had the same problem i could not login to the video directory same message
[QUOTEXXXXXX you do not have permission to access this page. This may be one of several reasons:
1. Your user account may not have sufficient privileges to access this page. Are you trying to edit a message from another user, access administrative features or some other privileged system?
2. If you're trying to haceer, is to create a new message, the administrator may have disabled your account, or it may be awaiting activation.[/QUOTE]
I am new to VBulletin & spent ages on this try going to Admin cp / Usergroup / Usergroup manager / Administrators
scroll right down to Video-directory permissions they where all set to no
Tick all to yes ( sorted )
Jorge Gomez
01-15-2009, 10:55 PM
thanks!!! Nice :D
freni32
01-16-2009, 12:28 AM
ok I think I figured out the problem, when you try and add a video to upload onto my site, the url it's displaying is:
video.php?do=insertvideo&categoryid=1
shouldnt it have my domain name before it? Probably reason it takes you to a page that doesnt exist?
Can someone check this out, site is: http://www.RadarDetectorReview.net
then go to "Radar Detector Videos"
Also when I try and load information about the you tube video when posting the video it does nothing?
Digital Jedi
01-16-2009, 02:48 AM
ok I think I figured out the problem, when you try and add a video to upload onto my site, the url it's displaying is:
video.php?do=insertvideo&categoryid=1
shouldnt it have my domain name before it? Probably reason it takes you to a page that doesnt exist?
Can someone check this out, site is: http://www.RadarDetectorReview.net
then go to "Radar Detector Videos"
Also when I try and load information about the you tube video when posting the video it does nothing?
Your installation is not setup to let guests view it. I just get a No Permission page.
freni32
01-16-2009, 10:15 AM
Your installation is not setup to let guests view it. I just get a No Permission page.
Ok I setup where guest can view the video page, still showing the same link where when you click "Add Video" the url is wrong? Would I need to edit something in the template maybe? I have TFSEO url rewrites installed on my forum....wondering if it is rewriting it maybe?
Digital Jedi
01-16-2009, 02:10 PM
Ok I setup where guest can view the video page, still showing the same link where when you click "Add Video" the url is wrong? Would I need to edit something in the template maybe? I have TFSEO url rewrites installed on my forum....wondering if it is rewriting it maybe?
Freni, it's not necessary to PM me duplicate copies of every post your making in this thread. Please stick to using this thread for support.
Your installation is trying to add videos to a category three. I don't see a category three.
freni32
01-16-2009, 09:42 PM
Freni, it's not necessary to PM me duplicate copies of every post your making in this thread. Please stick to using this thread for support.
Your installation is trying to add videos to a category three. I don't see a category three.
thats not the problem...I created 3 more categories just to show you for example, and went to one category to create the category but takes you to a page that doesnt exist, look at the "Add Video" link url, it isnt a full url it is showing there ... should it be? What part of the template do I edit to fix the path it is supposed to upload the video onto my site.... also when you try to "load information from server" for the you tube video...it just acts like it does and doesnt at all.... I have uninstalled this and reinstalled this program 3 times now....not sure what is up :(
impalassfz1
01-16-2009, 11:27 PM
Hello.
I have a problem installing this mod.
All files were uploaded following structure.
CHMOD was done on the 2 dirs. to 777.
I then did the import of videodirectory.xml.
your instructions say to not close out after installing but I received a warning message:
Warning: require_once([path]/includes/class_dm_videocategory.php) [function.require-once]: failed to open stream: No such file or directory in [path]/includes/functions.php on line 118
Fatal error: require_once() [function.require]: Failed opening required '/home/goldrace/public_html/forum/includes/class_dm_videocategory.php' (include_path='.:/usr/lib/php:/usr/local/lib/php') in /home/goldrace/public_html/forum/includes/functions.php on line 118
Trying to re run the import I now get this message:
Database error in vBulletin 3.7.3:
Invalid SQL:
CREATE TABLE video (
videoid int(10) unsigned NOT NULL auto_increment,
title varchar(255) NOT NULL,
description mediumtext NOT NULL,
videourl varchar(255) NOT NULL,
videocategoryid int(10) unsigned NOT NULL default '0',
dateline int(10) NOT NULL default '0',
userid int(10) unsigned NOT NULL default '0',
videoservice varchar(250) NOT NULL,
videoidservice varchar(250) NOT NULL,
views int(10) unsigned NOT NULL default '0',
PRIMARY KEY (videoid)
);
MySQL Error : Table 'video' already exists
Error Number : 1050
Is there a possibility that some files are not loaded in the proper location?
Any help will be appreciated. Thanks
TJsDJs
01-17-2009, 11:15 AM
How do I get the video Thumbnails to show? I only have empty placeholders showing up on my site www.tjsdjs.com/forums/video.php. How do I fix?
ArnyVee
01-17-2009, 02:22 PM
How do I get the video Thumbnails to show? I only have empty placeholders showing up on my site www.tjsdjs.com/forums/video.php. How do I fix?
TJsDJs,
Is your thumbnails directory and sub-directories all CHMOD777?
DieselMinded
01-18-2009, 03:29 PM
Is this working on 3.8 ?
Big-K
01-19-2009, 03:57 PM
Hi,
Is there a way to have the "Add Video" Button show on the video landing page, rather than from within categories? Its potentially confusing to have to go to categories before users could add videos.
Better still, is it possible to get rid of categories?
freni32
01-20-2009, 12:50 PM
thats not the problem...I created 3 more categories just to show you for example, and went to one category to create the category but takes you to a page that doesnt exist, look at the "Add Video" link url, it isnt a full url it is showing there ... should it be? What part of the template do I edit to fix the path it is supposed to upload the video onto my site.... also when you try to "load information from server" for the you tube video...it just acts like it does and doesnt at all.... I have uninstalled this and reinstalled this program 3 times now....not sure what is up :(
still not working on my site, will not upload information from you tube on the video, and when you try and upload the video onto your site says page doesnt exist.
There is an error in this mod, the url for the "add video" to upload it onto your site the url path isnt right, no www. in it and only written half way.
freni32
01-20-2009, 12:52 PM
I went to the template and added the beginning url and still no luck:
http://www.radardetectorreview.net/forum/video.php?do=insertvideo&categoryid=1
C138 Kaysone
01-21-2009, 09:00 AM
for a second it took me a while to find which one had the english button that says new video, the others look german or dutch... no idea lol
Big-K
01-21-2009, 04:53 PM
I went to the template and added the beginning url and still no luck:
http://www.radardetectorreview.net/forum/video.php?do=insertvideo&categoryid=1
Did you create categories in admincp?
FiRaRi
01-26-2009, 10:31 PM
i want to upload from video.google.com but not i do. What am i doing for this ?
Eneswar
02-12-2009, 03:02 PM
Any plans to update this to final release?
Leo Brazil
02-12-2009, 04:05 PM
Eneswar, this mod was took over and you can find it here: https://vborg.vbsupport.ru/showthread.php?t=200819
MAD-DOG
02-14-2009, 06:46 PM
when i try to Import Product video directory_1-1-0_RC_2 again after unintall it it gives me this Database error
Database error in v Bulletin 3.7.4:
Invalid SQL:
CREATE TABLE video (
videoid int(10) unsigned NOT NULL auto_increment,
title varchar(255) NOT NULL,
description mediumtext NOT NULL,
videourl varchar(255) NOT NULL,
videocategoryid int(10) unsigned NOT NULL default '0',
dateline int(10) NOT NULL default '0',
userid int(10) unsigned NOT NULL default '0',
videoservice varchar(250) NOT NULL,
videoidservice varchar(250) NOT NULL,
views int(10) unsigned NOT NULL default '0',
PRIMARY KEY (videoid)
);
MySQL Error : Table 'video' already exists
Error Number : 1050
Request Date : Saturday, February 14th 2009 @ 08:21:14 PM
Error Date : Saturday, February 14th 2009 @ 08:21:15 PM
Script : http://my site.com/forum/admincp/plugin.php?do=productimport
Referrer : http://my site.com/forum/admincp/plugin.php?do=productadd
IP Address : xxxxxxxxxxxxxxxxxx
Username : xxxxxxxxxxxxxx
Classname : vB_Database
MySQL Version : 5.0.67-community
how can i fix this plazz help thank you
Majora
02-14-2009, 06:55 PM
Hi folks,
how can I display the "Recent Videos" on the left side like http://www.hookahpro.com/forum/ on forumhome?
Best regards,
Majora
Xencored
02-20-2009, 11:46 PM
Hi mate great addon looks mint but having problems
when am installing it on 3.8.1 i get to the Manage video-hoster page just after i import it and all i see is [Import video-hoster] there is no next button or anything also ive uploaded all files
Thanks
vbplusme
02-23-2009, 03:45 AM
when i try to Import Product video directory_1-1-0_RC_2 again after unintall it it gives me this Database error
Database error in v Bulletin 3.7.4:
Invalid SQL:
CREATE TABLE video (
videoid int(10) unsigned NOT NULL auto_increment,
title varchar(255) NOT NULL,
description mediumtext NOT NULL,
videourl varchar(255) NOT NULL,
videocategoryid int(10) unsigned NOT NULL default '0',
dateline int(10) NOT NULL default '0',
userid int(10) unsigned NOT NULL default '0',
videoservice varchar(250) NOT NULL,
videoidservice varchar(250) NOT NULL,
views int(10) unsigned NOT NULL default '0',
PRIMARY KEY (videoid)
);
MySQL Error : Table 'video' already exists
Error Number : 1050
Request Date : Saturday, February 14th 2009 @ 08:21:14 PM
Error Date : Saturday, February 14th 2009 @ 08:21:15 PM
Script : http://my site.com/forum/admincp/plugin.php?do=productimport
Referrer : http://my site.com/forum/admincp/plugin.php?do=productadd
IP Address : xxxxxxxxxxxxxxxxxx
Username : xxxxxxxxxxxxxx
Classname : vB_Database
MySQL Version : 5.0.67-community
how can i fix this plazz help thank you
That error is telling you that the video table already exists. MySQL will not "overwrite" tables that exist, you either have to uninstall the product and reinstall or manually remove the tables that got created from the previous install before the import will work. HTH
vbplusme
02-23-2009, 04:08 AM
for a second it took me a while to find which one had the english button that says new video, the others look german or dutch... no idea lol
I just uploaded it thinking English but got the same surprise you did. I reworked it to create an English psd from the original. Hope you can use it. This psd has a transparent background so it should work for everything.
kimdk
02-28-2009, 07:03 PM
Installed :)
And it works great :up: Thanks from denmark
angiulli
03-01-2009, 08:56 AM
When i import the product appear it and don't wrong. Why?
mjolner
03-15-2009, 04:56 AM
Is it possible to add a hoster for Drupal style video sites? Does the video module on drupal sites have an API ?
creative-friend
03-17-2009, 08:49 PM
arrhh its soo annoying
kept saying invalid url....
help me out....
desi-boy
03-26-2009, 07:55 PM
hello
i need a videohoster stagevu plezzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzz zzzzz
Forumi Shqiptar
04-01-2009, 06:37 AM
arrhh its soo annoying
kept saying invalid url....
help me out....
same problem over here too any ideas on this?
Im trying to install it on 3.8.2 version of vb
Yosh01
04-01-2009, 11:03 AM
Hi,
is there an option to fetch videos from ostube?
cu
yosh01
Forumi Shqiptar
04-02-2009, 04:15 AM
Ok had to upload all the videohosters from the admincp and it works fine...
Now has anyone got a hoster for GOOGLE VIDEOS? I really need it.
creative-friend
04-03-2009, 05:04 PM
ahhhhhh
i tried it alot but still saying invalid url....:mad:
Forumi Shqiptar
04-04-2009, 03:34 AM
creative-friend follow this steps...
1- Once you unzip the folder upload all the files into your root (where all ur vb files are)
2- After you finish go to your admincp - VIDEOS - MANAGE HOSTER
3- click on the import video hoster and import the following files from the video folder
videodirectory_1-1-0_RC_2_English\upload\includes\xml\videohoster-Metacafe
videodirectory_1-1-0_RC_2_English\upload\includes\xml\videohoster-MyVideo
videodirectory_1-1-0_RC_2_English\upload\includes\xml\videohoster-Sevenload
videodirectory_1-1-0_RC_2_English\upload\includes\xml\videohoster-YouTube
nexus851
04-04-2009, 08:37 AM
Im using the new IE 8 and when i click on "upload video" button, it gives me this error below:
Webpage error details
User Agent: Mozilla/4.0 (compatible; MSIE 8.0; Windows NT 5.1; Trident/4.0; hc; FunWebProducts; .NET CLR 2.0.50727)
Timestamp: Sat, 4 Apr 2009 09:35:39 UTC
Message: HTML Parsing Error: Unable to modify the parent container element before the child element is closed (KB927917)
Line: 0
Char: 0
Code: 0
URI: http://www.xxxxxxxx.com/forum/video.php?do=addvideo&categoryid=1
Please help or suggest solution, thanks
John
creative-friend
04-05-2009, 12:12 AM
creative-friend follow this steps...
1- Once you unzip the folder upload all the files into your root (where all ur vb files are)
2- After you finish go to your admincp - VIDEOS - MANAGE HOSTER
3- click on the import video hoster and import the following files from the video folder
videodirectory_1-1-0_RC_2_English\upload\includes\xml\videohoster-Metacafe
videodirectory_1-1-0_RC_2_English\upload\includes\xml\videohoster-MyVideo
videodirectory_1-1-0_RC_2_English\upload\includes\xml\videohoster-Sevenload
videodirectory_1-1-0_RC_2_English\upload\includes\xml\videohoster-YouTube
Wohoo Thanks Alot....
Thank You So Much.
Forumi Shqiptar
04-05-2009, 03:49 AM
Im really in need for a GOOGLE VIDEOHOSTER can anyone please give any suggestions or if anyone has created one?
many thanks in advance.
team76
04-15-2009, 12:34 PM
excellent work, walking on 3.8.2, thank you very much this mod is very good
http://teamvolt.fr/bf2/forum/video.php :up:
team76
04-17-2009, 11:51 AM
the report-forum option doesn't work
SVTCobraLTD
05-14-2009, 04:30 PM
Did 1.10 RC2 fix the 3.6 problem?
oskqqqq
05-15-2009, 02:59 PM
how can i uninstall the product?
it gives db error when i do
AeonGamer
05-17-2009, 06:33 AM
Hi,
I have installed this. However I cannot access the video.php file. Because it is saying I dont have the correct permissions. I can not find anywhere in the admin cp in which I can edit permissions for using the video directory. Where should I be looking?..
EDIT: NVM about this query. It just needed a few minutes to update. Have sorted this problem out.
Also could you please write up just a line of code for me to stick in my Navbar template so that members can access the addon. ( Im not the greatest with html )
ryans
05-20-2009, 07:45 PM
how can you mass import videos? say like using googles xml? or importing whole playlists.
tuankm
05-23-2009, 12:50 AM
Hi folks,
how can I display the "Recent Videos" on the left side like http://www.hookahpro.com/forum/ on forumhome?
Best regards,
ArnyVee
05-23-2009, 12:57 PM
tuankm,
That's the Video Directory FH List if I recall.
3.7 - https://vborg.vbsupport.ru/showthread.php?t=196331
3.8 - https://vborg.vbsupport.ru/showthread.php?t=196332
tuankm
05-24-2009, 01:06 PM
tuankm,
That's the Video Directory FH List if I recall.
3.7 - https://vborg.vbsupport.ru/showthread.php?t=196331
3.8 - https://vborg.vbsupport.ru/showthread.php?t=196332
I got it, thank you very much
mjolner
05-26-2009, 02:09 AM
I made an hoster file for googlevideo if anyone wants it.
ArnyVee
05-26-2009, 03:23 AM
Someone made Google, Flikr and others here on the Remixed thread.....
https://vborg.vbsupport.ru/showpost.php?p=1734097&postcount=402
has anyone got anywhere making a "Create Thread" plugin, when a user adds a video ?
iBetc
06-06-2009, 11:51 AM
I have installed this but for some reason the thumbnail does not show up for the videos. Could you tell me how to fix this please?
This is a great addition to my forum, thank you.
ArnyVee
06-06-2009, 01:07 PM
I have installed this but for some reason the thumbnail does not show up for the videos. Could you tell me how to fix this please?
This is a great addition to my forum, thank you.
Did you CHMOD777 the videothumbnails directory? If not, try that.
Good luck! :up:
iBetc
06-07-2009, 04:03 AM
After installing this my signatures dissapeared.
Nobody can view anyone's sig. Please help.
iBetc
06-07-2009, 04:04 AM
Did you CHMOD777 the videothumbnails directory? If not, try that.
Good luck! :up:
Lol, in the process of CHMOD'ing this I came to realize I never uploaded the damn folder. No wonder.
So I uploaded it, and I changed the CHMOD, and it's working great. Thanks.
iBetc
06-07-2009, 09:29 AM
Hi,
Is there a way to have the "Add Video" Button show on the video landing page, rather than from within categories? Its potentially confusing to have to go to categories before users could add videos.
Better still, is it possible to get rid of categories?
Agreed.
It was a confusing to me at first, and it's my foum hah.
jaderollie
06-08-2009, 10:11 PM
how do i CHMOD to get thumb nails???
simple terms, as im not good with computers thanks
im all installed, but no thumbnails
ArnyVee
06-08-2009, 10:48 PM
jaderollie, basically you can go to your FTP program (I use Filezilla) and right click on the directory (which is the folder) named 'videothumbnails' .... then, click on "File Permissions". That will take you to another window that pops up and you have to make sure that all of the selections are checked to make it show a "777" permission. Hope that helps! :up:
jaderollie
06-08-2009, 10:53 PM
thanks, and what happens if theres no ftp, or anything??
i say that, as i never do installs, so if there was no ftp, how i do it another way please
vBulletin® v3.8.12 by vBS, Copyright ©2000-2025, vBulletin Solutions Inc.