vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   Modification Graveyard (https://vborg.vbsupport.ru/forumdisplay.php?f=224)
-   -   Major Additions - Video-Directory Remixed (https://vborg.vbsupport.ru/showthread.php?t=200819)

Ray2khax 01-15-2009 09:05 PM

I only CHMOD the two folders but why am I still getting that error?

Audax666 01-15-2009 09:46 PM

Hi,

if somebody uses vbadvanced cmps and wants the directory navigation column on the right side and want to lift it up on the same level as the video itself.
Just change in the video_shell template
this:
Code:

<if condition="$HTMLembed">$HTMLembed</if>

<table cellpadding="0" cellspacing="0" border="0" width="100%" align="center">
<tr>
        <td style="width: 170px; padding-right: 15px;" valign="top">
                <table class="tborder" cellpadding="$stylevar[cellpadding]" cellspacing="$stylevar[cellspacing]" border="0" width="100%" align="center">
                <tr>
                        <td class="thead">$vbphrase[video_categories]</td>
                </tr>
                <tr>
                        <td class="alt1"><span class="smallfont"><strong><a href="video.php$session[sessionurl_q]">$vbphrase[video_homepage]</a></strong><br /><br />
                                $catbits<br /></span>
                        </td>
                </tr>
                <tr>
                        <td class="thead">$vbphrase[video_statistics]</td>
                </tr>
                <tr>
                        <td class="alt1 smallfont">
                                <if condition="$contributorbits">
                                        <phrase 1="$contriblimit">$vbphrase[top_contributors]</phrase>:<br /><br />
                                        <span class="smallfont">
                                                $contributorbits
                                        <br /></span>
                                </if>
                                $vbphrase[videos_total]: <strong>$totalvideos</strong><br />
                                $vbphrase[categories_total]: <strong>$catcount</strong>
                        </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">
                $HTML
        </td>
</tr>
</table>

with this:
Code:

<table cellpadding="0" cellspacing="0" border="0" width="100%" align="center">
<tr>
<td valign="top">
<if condition="$HTMLembed">$HTMLembed</if>
$HTML

</td>
<td style="width: 170px; padding-right: 15px;" valign="top">
                <table class="tborder" cellpadding="$stylevar[cellpadding]" cellspacing="$stylevar[cellspacing]" border="0" width="100%" align="center">
                <tr>
                        <td class="thead">$vbphrase[video_categories]</td>
                </tr>
                <tr>
                        <td class="alt1"><span class="smallfont"><strong><a href="video.php$session[sessionurl_q]">$vbphrase[video_homepage]</a></strong><br /><br />
                                $catbits<br /></span>
                        </td>
                </tr>
                <tr>
                        <td class="thead">$vbphrase[video_statistics]</td>
                </tr>
                <tr>
                        <td class="alt1 smallfont">
                                <if condition="$contributorbits">
                                        <phrase 1="$contriblimit">$vbphrase[top_contributors]</phrase>:<br /><br />
                                        <span class="smallfont">
                                                $contributorbits
                                        <br /></span>
                                </if>
                                $vbphrase[videos_total]: <strong>$totalvideos</strong><br />
                                $vbphrase[categories_total]: <strong>$catcount</strong>
                        </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>

</tr>
</table>

Maybe it's useful for somebody...

socalrico 01-16-2009 03:57 AM

Great Mod Thanks!

nighteyes 01-16-2009 07:29 AM

I really would love to see an imeem.com hoster file. Imeem allows a lot more of their video content to be embedded than other sites.

GlamRockTalk 01-16-2009 01:10 PM

Quote:

Originally Posted by Ray2khax (Post 1713861)
I only CHMOD the two folders but why am I still getting that error?

2. CHMOD /videothumbnails and /includes/videoserviceapi to 777.

You should have the directories CHMOD777 as well as the sub-directories (YouTube, etc).

Jaxel 01-16-2009 05:41 PM

1 Attachment(s)
Veoh.

GlamRockTalk 01-16-2009 06:00 PM

Jaxel, is it possible to have the Apple Trailers as part of our mod here?

http://www.apple.com/trailers/

Jaxel 01-16-2009 06:08 PM

Quote:

Originally Posted by GlamRockTalk (Post 1714961)
Jaxel, is it possible to have the Apple Trailers as part of our mod here?

http://www.apple.com/trailers/

As I said before... unless the site has individual video RSS files... it cant be done.

DawnsWebDesigns 01-16-2009 08:08 PM

I'm getting this error - anybody know why?

Fatal error: Call to undefined method vB_VideoSharingService_YouTube::fetch_showurl() in /var/www/domains/dawnswebdesigns.com/docs/forum/video.php on line 492

I'm sorry...should've read back about 3/4 pages. I did try to reimport the hosters but I couldn't find the files so I exported what I had & tried to reimport them which didn't work out. But then I found this:

SOLUTION: After upgrading, go to Video Directory - Manager Hoster - Click "Import Video-Hoster" - browse to install folder (VidDirRx-1.2.0\upload\includes\xml) and install the XML files for each hoster and set the settings.

OK now videos are simply loading...they don't show up.

Jaxel 01-16-2009 08:18 PM

Quote:

Originally Posted by DawnsWebDesigns (Post 1715047)
I'm getting this error - anybody know why?

Fatal error: Call to undefined method vB_VideoSharingService_YouTube::fetch_showurl() in /var/www/domains/dawnswebdesigns.com/docs/forum/video.php on line 492

Upgrade to 1.2.1 and REIMPORT YOUR HOSTERS.

DawnsWebDesigns 01-16-2009 08:43 PM

Quote:

Originally Posted by Jaxel (Post 1715060)
Upgrade to 1.2.1 and REIMPORT YOUR HOSTERS.

I have upgraded & I have reimported the hosters. Now all I get are videos trying to load but they don't actually load.

Ex: http://www.dawnswebdesigns.com/forum...ils&videoid=23

GlamRockTalk 01-16-2009 10:50 PM

DawnsWebDesigns,

FYI, I just clicked on the link and the video is working.

DawnsWebDesigns 01-16-2009 10:58 PM

Quote:

Originally Posted by GlamRockTalk (Post 1715194)
DawnsWebDesigns,

FYI, I just clicked on the link and the video is working.

I replied & noticed my helper logged out so I reinstalled the old one that works 'til they can figure this out. Mine's not meant to be a test site so I need things to work.

DawnsWebDesigns 01-16-2009 11:30 PM

PS...just checked my email & got 3 database errors...might have something to do w/ why videos weren't loading?

Code:

Database error in vBulletin 3.8.0:

Invalid SQL:
SELECT videotag.tagtext
FROM vb_videotagvideo AS videotagvideo
INNER JOIN vb_videotag AS videotag ON (videotag.tagid = videotagvideo.tagid)
WHERE videotagvideo.videoid = 3
ORDER BY videotag.tagtext;

MySQL Error  : Table 'dawnswebdesigns_.vb_videotagvideo' doesn't exist
Error Number  : 1146
Request Date  : Friday, January 16th 2009 @ 09:08:24 AM
Error Date    : Friday, January 16th 2009 @ 09:08:24 AM
Script        : http://dawnswebdesigns.com/forum/video.php?do=viewdetails&videoid=3
Referrer      :
Username      : Unregistered
Classname    : vB_Database
MySQL Version :

Code:

Database error in vBulletin 3.8.0:

Invalid SQL:
SELECT videotag.tagtext
FROM vb_videotagvideo AS videotagvideo
INNER JOIN vb_videotag AS videotag ON (videotag.tagid = videotagvideo.tagid)
WHERE videotagvideo.videoid = 3
ORDER BY videotag.tagtext;

MySQL Error  : Table 'dawnswebdesigns_.vb_videotagvideo' doesn't exist
Error Number  : 1146
Request Date  : Friday, January 16th 2009 @ 03:05:30 PM
Error Date    : Friday, January 16th 2009 @ 03:05:31 PM
Script        : http://dawnswebdesigns.com/forum/video.php?do=viewdetails&videoid=3
Referrer      :
Username      : Unregistered
Classname    : vB_Database
MySQL Version :

Code:

Database error in vBulletin 3.8.0:

Invalid SQL:

SELECT videotag.tagtext
FROM vb_videotagvideo AS videotagvideo
INNER JOIN vb_videotag AS videotag ON (videotag.tagid = videotagvideo.tagid)
WHERE videotagvideo.videoid = 27
ORDER BY videotag.tagtext;

MySQL Error  : Table 'dawnswebdesigns_.vb_videotagvideo' doesn't exist
Error Number  : 1146
Request Date  : Friday, January 16th 2009 @ 04:29:41 PM
Error Date    : Friday, January 16th 2009 @ 04:29:41 PM
Script        : http://www.dawnswebdesigns.com/forum/video.php
Referrer      : http://www.dawnswebdesigns.com/forum/index.php
Username      : Dawn
Classname    : vB_Database
MySQL Version : 5.0.32-Debian_7etch6


GlamRockTalk 01-17-2009 03:04 PM

Any idea as to why some videos won't play even though they are 'embeddable'?

For example....this video...

http://www.youtube.com/watch?v=3iHFizLOh_E

...is one that doesn't have that "embedding is disabled" message, but yet when I add it it shows "video is not available" message in the display area.

Are there some videos that are blocked in some way that I'm not aware of?

EDITED: This one....

http://www.youtube.com/watch?v=x3XGjnQgsJA

....gives me a message stating "The response of the video-server can't be read." when trying to 'load information' on it. I had never seen that one before.

glorify 01-18-2009 12:29 AM

Anyway for copyright removal?

rapidphim 01-18-2009 06:03 AM

so, there is no way to have this mod with Play Next of series video?

SgtSling 01-18-2009 09:57 AM

I installed this and it worked great!

1 question. When making a comment... is the avatar suppoed to show up of the person who made a comment?
The comment shows.. but no avatar/title.. etc

GlamRockTalk 01-18-2009 11:39 AM

SgtSling, I had the same problem. You have to move the avatars from their storage in the database to the file system.

You do that by going here.... AdminCP -> Avatars -> User Picture Storage Type -> Go

If that alone didn't do it, then you can try and rebuild the custom avatars through AdminCP -> Maintenance -> Update Counters -> (Look for rebuild custom/avatars option)

Hope that helps :)

Jaxel, you might want to put that in the directions or on the 2nd post (which I haven't checked, so it may be there already :) ) to help with it.

GlamRockTalk 01-18-2009 11:40 AM

Quote:

Originally Posted by glorify (Post 1716340)
Anyway for copyright removal?

Glorify,

I noticed that Surviver had people PM him (since he was originator of the mod) and he will give you instructions on the brand-free version.

glorify 01-18-2009 01:00 PM

Yeah, since it was taken over, I wanna make sure what to do.

rapidphim 01-18-2009 04:47 PM

does anyone know why there is ???? on the timer of the video thumbnail?

GlamRockTalk 01-18-2009 05:04 PM

rapidphim,

If you didn't add the information in automatically by clicking "load information" when uploading the video, then you'd have to go back into the video detail page for that particular video, click on "edit" and then enter the minutes and seconds in those spaces next to the tag field.

rapidphim 01-18-2009 05:06 PM

a ha... I thought it will pick up automatically....

btw, do you know how to not allow posting video on the main category? Example

Main Catagory: no video should be posted
----Category A: video posted
----Category B: video posted

Things like that..... Thanks much.

GlamRockTalk 01-18-2009 05:09 PM

Jaxel, I just noticed that the 'FH Video Directory Mod' is showing the 'latest comments' as the first comment made and not the most recent. Should I go through the actual mod's developer for assistance or would you (or anyone else) know the quick fix on that?

Check here for what I mean....

www.glamrocktalk.com (below "notices" I have the Video FH section)

....you can see that the most recent video is "Queen - Under Pressure (Live at Wembley Stadium 1986)" and the "Latest Comment" was placed by Rothnroll. But, if you go to the video detail for that video....

http://www.glamrocktalk.com/video.ph...ils&videoid=68

....you can see that the "latest comment" is actually by GRTArnyVee. Any help would be appreciated. :up:

daydie 01-18-2009 10:04 PM

is therfe a hoster.xml for megavideo and Veoh please :D

installed

saqib_jutt 01-19-2009 07:56 PM

Hi,
i have vb 3.8.0 installed.
I have upgraded this video directory, and i have followed the upgration method.
imported hosters, done everything what i was required to do.
usergroup permission are checked.
I can watch videos with admin nick, but any othere usergroup including unregisterd users cannot watch videos, even in usergroup permission i have given permission to all usergroups. PLEASE HELP.......
Have fun....

rapidphim 01-19-2009 09:58 PM

daydie,
Veoh is there, few posts back. not yet for megavideo

sagib jutt,
you also need to set up the group permision under Manage Category. go to Admincp, Video Directory, Manage Category, Edit Category you want, and set up the permission.

WarLion 01-20-2009 04:30 PM

i solve the problem if you use your menu for general settings, video detail settings and videotag settings showing a blank page

edit you file
forumroot/includes/xml/cpnav_videodirectory.xml
find
Code:

<link>options.php?do=options&amp;dogroup=videodirectory</link>
                </navoption>
                <navoption displayorder="30">
                        <phrase>modify_videodetail_settings</phrase>
                        <link>options.php?do=options&amp;dogroup=videodirectorydetails</link>
                </navoption>
                <navoption displayorder="30">
                        <phrase>modify_videotag_settings</phrase>
                        <link>options.php?do=options&amp;dogroup=videodirectorytags</link>

and remplase with
Code:

<link><![CDATA[options.php?do=options&amp;dogroup=videodirectory]]></link>
                </navoption>
                <navoption displayorder="30">
                        <phrase>modify_videodetail_settings</phrase>
                        <link><![CDATA[options.php?do=options&amp;dogroup=videodirectorydetails]]></link>
                </navoption>
                <navoption displayorder="30">
                        <phrase>modify_videotag_settings</phrase>
                        <link><![CDATA[options.php?do=options&amp;dogroup=videodirectorytags]]></link>

that will fix the "&" not showing

saqib_jutt 01-20-2009 09:28 PM

Quote:

Originally Posted by rapidphim (Post 1718317)
daydie,
Veoh is there, few posts back. not yet for megavideo

sagib jutt,
you also need to set up the group permision under Manage Category. go to Admincp, Video Directory, Manage Category, Edit Category you want, and set up the permission.

thanks , solved

erinys 01-22-2009 07:08 AM

Hi,

great mod, will you keep this alive towards vb4? no use in it for me to make my members happy with something that will pass thats why i generally choose payed addons.. But this one is really cool so thats why i am asking.

thanks

TCB 01-22-2009 08:16 PM

How come this mod uses so many queries?

video.php?do=viewcategory&categoryid=10 (1 video) takes 9 queries
video.php?do=viewcategory&categoryid=12 (17 videos) takes 25 queries (!?)

you'd think the amount of shown videos in a category would be 'query independant'? For example: when I set the amount of videos to be shown in the vbadvance video directory module from 3 to (for example) 6 videos, it has no influence on the amount of queries for that page. Shouldn't it be cached or something?

When many people browse through the video directory at a particular moment, it really stresses the server.

ArnyVee 01-22-2009 08:19 PM

TCB, how do you determine how much each video takes as far as queries? I'd like to compare how things are running on my site as well.

TCB 01-22-2009 08:41 PM

Quote:

Originally Posted by ArnyVee (Post 1721533)
TCB, how do you determine how much each video takes as far as queries? I'd like to compare how things are running on my site as well.

Just install the microstats mod (https://vborg.vbsupport.ru/showthrea...ght=microstats). Although it says it's for vb3.6, it still works like a charm on vb3.8 :D

tormodg 01-23-2009 12:28 AM

Is there an easy way to get the vB or the vBSEO social bookmarking features to display in this hack? Particularly on each video page.

Jaxel 01-23-2009 06:05 AM

Quote:

Originally Posted by TCB (Post 1721528)
How come this mod uses so many queries?

video.php?do=viewcategory&categoryid=10 (1 video) takes 9 queries
video.php?do=viewcategory&categoryid=12 (17 videos) takes 25 queries (!?)

you'd think the amount of shown videos in a category would be 'query independant'? For example: when I set the amount of videos to be shown in the vbadvance video directory module from 3 to (for example) 6 videos, it has no influence on the amount of queries for that page. Shouldn't it be cached or something?

When many people browse through the video directory at a particular moment, it really stresses the server.

The extra query for each video has to do with the taglist. For each video bit, it has to query the tags on that video. The amoutn of shown videos in the category, IS query independant. However, the scan for tags for each video is not; the amount of tags on each video however, is query independant as well. The reason why this extra query per video is not in the vbadvanced/forumhome mod is because they dont query the tags.

TCB 01-23-2009 06:54 AM

so when tags are disabled showing the list of videos in a category should use much, much queries?

The list of videos in a category is pretty much static untill a new video is added to that category. So why not cache the page? Pulling the data from the database each and everytime someone browse through the videos seems overkill to me.

Perhaps you can contact a developer like thegeek. With his GARS mod, you get to see an icon, description and keywords in the listing of articles (pretty much the same idea as your great mod, but with articles instead of videos), and with his listing just about 9 queries are run (and that's when over 20 articles/icons/descriptions/keywords/authors are shown).

kapwanero 01-23-2009 05:35 PM

Help me pleaseeeee!!!


Error report:
Code:

Database error in vBulletin 3.8.0:

Invalid SQL:

                SELECT user.*, COUNT(video.videoid) AS videocount
                FROM video AS video
                LEFT JOIN user AS user ON(user.userid = video.userid)
                WHERE NOT ISNULL(user.userid)
                GROUP BY video.userid
                ORDER BY videocount DESC
                LIMIT a;

MySQL Error  : You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'a' at line 7
Error Number  : 1064
Request Date  : Friday, January 23rd 2009 @ 08:22:24 PM
Error Date    : Friday, January 23rd 2009 @ 08:22:24 PM
Script        : http://www.xxxx.com/forum/video.php
Referrer      :
IP Address    : 88.xxx.xxxx.134
Username      : xxxx
Classname    : vB_Database
MySQL Version : 5.0.58


Marka Ragnos 01-23-2009 05:39 PM

<a href="http://www.kustmijnkloten.be/forum/video.php" target="_blank">http://www.kustmijnkloten.be/forum/video.php</a>

nice work Jaxel!

Jaxel 01-23-2009 06:24 PM

================================================== =========
Version 1.2.2
================================================== =========
  • Changed the way the video taglists are called on the summary pages...
    • Taglists are now cached! This will save your server from being overloaded.
    • The summary taglist cache is rebuild on every video details view.
    • Be sure to run MAINTENANCE > UPDATE COUNTERS > REBUILD VIDEO TAGS
  • More miscellaneous changes to video hosters... Added support for VEOH as a Video Hoster.
  • FILE EDITS SINCE 1.2.0: (make sure you upload these new versions!)
    • upload/video.php
    • upload/includes/class_dm_video.php
    • upload/includes/functions_videodirectory.php
    • upload/includes/functions_videotags.php
    • upload/includes/xml/videohoster-Dailymotion.xml
    • upload/includes/xml/videohoster-Metacafe.xml
    • upload/includes/xml/videohoster-YouTube.xml
    • upload/includes/xml/videohoster-YouTubeHD.xml
    • upload/includes/xml/videohoster-Veoh.xml


All times are GMT. The time now is 03:54 PM.

Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.

X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.02171 seconds
  • Memory Usage 1,896KB
  • Queries Executed 10 (?)
More Information
Template Usage:
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (8)bbcode_code_printable
  • (9)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)pagenav_pagelink
  • (1)pagenav_pagelinkrel
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (40)printthreadbit
  • (1)spacer_close
  • (1)spacer_open 

Phrase Groups Available:
  • global
  • postbit
  • showthread
Included Files:
  • ./printthread.php
  • ./global.php
  • ./includes/init.php
  • ./includes/class_core.php
  • ./includes/config.php
  • ./includes/functions.php
  • ./includes/class_hook.php
  • ./includes/modsystem_functions.php
  • ./includes/class_bbcode_alt.php
  • ./includes/class_bbcode.php
  • ./includes/functions_bigthree.php 

Hooks Called:
  • init_startup
  • init_startup_session_setup_start
  • init_startup_session_setup_complete
  • cache_permissions
  • fetch_threadinfo_query
  • fetch_threadinfo
  • fetch_foruminfo
  • style_fetch
  • cache_templates
  • global_start
  • parse_templates
  • global_setup_complete
  • printthread_start
  • pagenav_page
  • pagenav_complete
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete