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)

Jaxel 03-31-2009 08:26 PM

Quote:

Originally Posted by Glynn58 (Post 1781259)
Any chance of having a password protected catagorie where we could add adult content ( not porn in my case but adult comedy )

This would be a boost for an already excellent Add-on

Thanks

Just create a secondary usergroup, and restrict a category only to that group.

Glynn58 03-31-2009 08:37 PM

The only trouble with that idea is you can only have so many usergroups before you get boz-eyed and loose track with what the hell you doing :confused: :eek:

meditate 04-02-2009 01:42 AM

Great mod, just upgraded, but..

Having an issue with thumbnails in the new category, not showing and not saving but works in the old category.

anyone know a solution?

realdx 04-02-2009 11:14 AM

Great work, fully working and really happy with it! Thanks!
Just one question, how do I split the video directory page as seen on: http://www.8wayrun.com/video.php
So far I have just one big line for every video, I'd love to have them as on 8wayrun! Cheeers!

nasko 04-02-2009 06:08 PM

I have a problem. I get BLANK page when i open the link.
After a little debug i found the error on line 895 where:
PHP Code:

$announcement $bbcode_parser->parse($vbulletin->options['videodirectory_announcement']); 

Ideas how to fix this?

externalaw.com 04-02-2009 06:30 PM

just upgraded and now the player wont work, www.externalaw.com

TheLastSuperman 04-02-2009 09:12 PM

Quote:

Originally Posted by Jaxel (Post 1776716)
I'm not answering this question AGAIN.
https://vborg.vbsupport.ru/showpost....&postcount=466

Yes, thanks for that FINALLY. If you would have included that when not answering the first two times I could have saved a second search for the word divx on over 40+ pages when divx was never in the reply as 2-3 of us had already asked. Additionally, Please disregard the PM I sent you recently but tact is necessary as you come across ALL WRONG in some of your posts IMO :rolleyes:

If anyone else would like a VIDEO HOSTING MOD which list an entire directories videos from your FTP and links to an pop-up player please PM me as mine will be done in the next few weeks, it's up and running now but I'm doing touch-ups and tweaks currently :D

S-MAN

TheLastSuperman 04-02-2009 09:15 PM

Quote:

Originally Posted by externalaw.com (Post 1782571)
just upgraded and now the player wont work, www.externalaw.com

Did you take your time? Jaxel's mod works flawlessly form what I saw, I just un-installed and it was working fine on a brand new 3.8 board. I suggest un-install then re-install but take your time and make sure everything is uploaded and you followed all his steps. He might have other advice as this is his mod but just a suggestion.

ishare 04-05-2009 06:25 AM

I have a serious problem with Video Directory which is not caused by script itself. After installation, i got below error and couldnt/cant run this hack.
Code:

Database error in vBulletin 3.8.2:

Invalid SQL:

                        SELECT video.*, user.*, IF(video.ratingnum > 0, video.ratingtotal / video.ratingnum, 0) AS ratingavg, IF(NOT ISNULL(user.userid), user.username, video.username) AS username
                        FROM video AS video
                        LEFT JOIN user AS user ON(user.userid = video.userid)
                        WHERE video.videocategoryid IN(0,1)
                        ORDER BY dateline DESC
                        LIMIT 6;

MySQL Error  : Illegal mix of collations (latin1_swedish_ci,IMPLICIT) and (latin5_turkish_ci,IMPLICIT) for operation 'if'
Error Number  : 1267

I did "ALTER DATABASE db_name CHARACTER SET latin5" through phpmyadmin but nothing changed.

Anyone can help ?

troppodel 04-05-2009 12:37 PM

how can i add myspace hoster?

Zarxrax 04-05-2009 09:15 PM

There is a bug in the youtube module which prevents some videos from working.

Here is an example video:
http://www.youtube.com/watch?v=_lxakVAaAJY

Youtube displays the following embed code:
HTML Code:

<embed src="http://www.youtube.com/v/_lxakVAaAJY&hl=en&fs=1&rel=0" type="application/x-shockwave-flash" allowscriptaccess="always" allowfullscreen="true" width="425" height="344"></embed>
However video directory remixed displays the following embed code:
HTML Code:

<embed src="http://www.youtube.com/v/_lxakVAaAJY&autoplay=1&fs=1&rel=0&ap=%2526fmt=18" type="application/x-shockwave-flash" allowfullscreen="true" width="480" height="385" wmode="transparent"></embed>
If I visit the actual url from the video directory's embed code, then as expected, the video does not play. This url is http://www.youtube.com/v/_lxakVAaAJY...ap=%2526fmt=18

However, if you look at the end of the url, you will see &ap=%2526fmt=18
Now I don't know what this is supposed to be... but if I change that part to &fmt=18
then everything works fine.

c.c. 04-06-2009 02:06 PM

Why is the New Video called "Neues Video"? Is there a gif that has New Video in english?

c.c. 04-07-2009 07:39 PM

Is anyone that is using Firefox not able to view the videos. I have a user that just shows the spinning dial. It won't load for them, but if they go directly to youtube.com it loads fine? Any ideas? His IE8 works fine.

Al-Mothafar 04-07-2009 10:31 PM

Quote:

Originally Posted by c.c. (Post 1786001)
Is anyone that is using Firefox not able to view the videos. I have a user that just shows the spinning dial. It won't load for them, but if they go directly to youtube.com it loads fine? Any ideas? His IE8 works fine.

Sometimes happened to me and I am using FF3 ..
its not depend on browser , i guess its from youtube service , and I note sometimes take some time to start load video (app. about 10 - 15 sec.) .

c.c. 04-08-2009 11:52 AM

Quote:

Originally Posted by Al-Mothafar (Post 1786143)
Sometimes happened to me and I am using FF3 ..
its not depend on browser , i guess its from youtube service , and I note sometimes take some time to start load video (app. about 10 - 15 sec.) .

He figured it out. He reinstalled Flash and it works fine.

Vital Signs 04-08-2009 01:35 PM

We installed everything properly using 3.8.2 and it displays on the navbar, however when we click the link in the navbar to go to the "Video Directory" it says

Quote:

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.
How do we fix this? Are forums are currently turned off since the site hasn't launched yet however we are all Admins so it should still sow up for us. Any ideas what to check? Thanks

compact123 04-08-2009 02:11 PM

Sir,

i'm upgrade 123 to 124 but i have this error;

http://img14.imageshack.us/img14/1616/adszewz.png

dbirosel 04-08-2009 05:44 PM

What changed from the new update? U didn't tell us what's fixed, new, removed from the mod?

alessai 04-08-2009 09:33 PM

Hello, i found a bug in megavideo.....

there is a new feature in megaupload... that if u upload a video file it will automatically upload it to megavideo,,, and i noticed any video was uploaded through megaupload ... cant be added....

CypherSTL 04-09-2009 09:01 AM

Alright, seen a few of you asking for this, and I wanted something like this as well for an Off-Road 4x4 Forum I'm working on.

To add a "View My Videos" link to your postbit, only if the user has videos, here is the following template, and plugin.

View My Video's Link:
TEMPLATE
--------
Title: video_postbit

Template Code:
Code:

<!-- show vid link -->
<div>
<br>
<a href="video.php?do=viewuser&userid=$post[userid]">View My Videos</a><br />
</div>
<!-- /show vid link -->

PLUGIN
------
Name: Video Directory - Display Video Link in Profile
Hook Location: postbit_display_start
Execution Order: 5

Plugin PHP Code:
Code:

if ((THIS_SCRIPT == 'showpost') OR (THIS_SCRIPT == 'private') OR (THIS_SCRIPT == 'showthread') OR (THIS_SCRIPT == 'announcement') OR (THIS_SCRIPT == 'newreply'))
{
    global $db, $vbulletin;
    {
        if (THIS_SCRIPT == 'private')
        {
            $this->post['userid'] =& $post['fromuserid'];
        }
            $alluservideos =  $db->query_read("
                SELECT *
                FROM " . TABLE_PREFIX . "video
                WHERE (userid = ".$this->post['userid'].")
                ");

            $db->num_rows($alluservideos);

            if ($db->num_rows($alluservideos) > 0)
            {
                eval('$template_hook[\'postbit_userinfo_right\'] .= "' . fetch_template('video_postbit') . '";');
            }
                $db->free_result($alluservideos);
    }
}


Navigation Link Suggestion:
Since the link is added to the navigation bar via plug-ins and some people have vbAdvanced, or another form of CMS/Portal page, this edit for that plugin will automatically add the Forum URL to the link.

Plug-In Name: Navbar-Link
Product: Video-Directory
Code:

if ($vbulletin->options['videodirectory_navbarlink_hook'] == 1)
{
    $template_hook['navbar_buttons_left'] .= '<td class="vbmenu_control"><a href="'.$vbulletin->options['bburl'].'/video.php'.$session['sessionurl'].'">'.$vbphrase['video_directory'].'</a></td>';
}

if ($vbulletin->options['videodirectory_navbarlink_hook'] == 2)
{
    $template_hook['navbar_quick_links_menu_pos1'] .= '<tr><td class="vbmenu_option"><a href="'.$vbulletin->options['bburl'].'/video.php'.$session['sessionurl'].'">'.$vbphrase['video_directory'].'</a></td></tr>';
}

if ($vbulletin->options['videodirectory_navbarlink_hook'] == 3)
{
    $template_hook['navbar_community_menu_end'] .= '<tr><td class="vbmenu_option"><a href="'.$vbulletin->options['bburl'].'/video.php'.$session['sessionurl'].'">'.$vbphrase['video_directory'].'</a></td></tr>';
}

Jaxel, feel free to add these to the mod if you would like.

abhimation 04-09-2009 12:55 PM

1 Attachment(s)
Hey,

Loved this mod. Just upgraded it to the latest and everything went all smooth. Only issue is, my videos are still showing in the same old smaller size instead of the large size thats in the Screenshots. Please help. I need to have large sized HD videos too.

I have installed and imported host settings and have got many HD videos.

I got vbMediaPlayer 1.2 installed too. Can that be a problem ?

GaRanT 04-09-2009 01:00 PM

what to do if Captcha not show digits for Unregistered / Not Logged In.. users?

lnxtr 04-10-2009 06:01 AM

Turkish video Don't true add

nasko 04-10-2009 07:40 PM

Quote:

Originally Posted by nasko (Post 1782563)
I have a problem. I get BLANK page when i open the link.
After a little debug i found the error on line 895 where:
PHP Code:

$announcement $bbcode_parser->parse($vbulletin->options['videodirectory_announcement']); 

Ideas how to fix this?

Please help me! What could be the problem?

tjmaxwell 04-10-2009 08:21 PM

Hi,

I followed these instructions and it appeared to be working fine, but now I'm getting random database errors in certain threads:

Code:

                SELECT *
                FROM video
                WHERE (userid = );

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 ')' at line 3
Error Number  : 1064

Any ideas why this might be happening? I really want to be able to use this.

Quote:

Originally Posted by CypherSTL (Post 1787216)
Alright, seen a few of you asking for this, and I wanted something like this as well for an Off-Road 4x4 Forum I'm working on.

To add a "View My Videos" link to your postbit, only if the user has videos, here is the following template, and plugin.

View My Video's Link:
TEMPLATE
--------
Title: video_postbit

Template Code:
Code:

<!-- show vid link -->
<div>
<br>
<a href="video.php?do=viewuser&userid=$post[userid]">View My Videos</a><br />
</div>
<!-- /show vid link -->

PLUGIN
------
Name: Video Directory - Display Video Link in Profile
Hook Location: postbit_display_start
Execution Order: 5

Plugin PHP Code:
Code:

if ((THIS_SCRIPT == 'showpost') OR (THIS_SCRIPT == 'private') OR (THIS_SCRIPT == 'showthread') OR (THIS_SCRIPT == 'announcement') OR (THIS_SCRIPT == 'newreply'))
{
    global $db, $vbulletin;
    {
        if (THIS_SCRIPT == 'private')
        {
            $this->post['userid'] =& $post['fromuserid'];
        }
            $alluservideos =  $db->query_read("
                SELECT *
                FROM " . TABLE_PREFIX . "video
                WHERE (userid = ".$this->post['userid'].")
                ");

            $db->num_rows($alluservideos);

            if ($db->num_rows($alluservideos) > 0)
            {
                eval('$template_hook[\'postbit_userinfo_right\'] .= "' . fetch_template('video_postbit') . '";');
            }
                $db->free_result($alluservideos);
    }
}


Navigation Link Suggestion:
Since the link is added to the navigation bar via plug-ins and some people have vbAdvanced, or another form of CMS/Portal page, this edit for that plugin will automatically add the Forum URL to the link.

Plug-In Name: Navbar-Link
Product: Video-Directory
Code:

if ($vbulletin->options['videodirectory_navbarlink_hook'] == 1)
{
    $template_hook['navbar_buttons_left'] .= '<td class="vbmenu_control"><a href="'.$vbulletin->options['bburl'].'/video.php'.$session['sessionurl'].'">'.$vbphrase['video_directory'].'</a></td>';
}

if ($vbulletin->options['videodirectory_navbarlink_hook'] == 2)
{
    $template_hook['navbar_quick_links_menu_pos1'] .= '<tr><td class="vbmenu_option"><a href="'.$vbulletin->options['bburl'].'/video.php'.$session['sessionurl'].'">'.$vbphrase['video_directory'].'</a></td></tr>';
}

if ($vbulletin->options['videodirectory_navbarlink_hook'] == 3)
{
    $template_hook['navbar_community_menu_end'] .= '<tr><td class="vbmenu_option"><a href="'.$vbulletin->options['bburl'].'/video.php'.$session['sessionurl'].'">'.$vbphrase['video_directory'].'</a></td></tr>';
}

Jaxel, feel free to add these to the mod if you would like.


CypherSTL 04-10-2009 11:03 PM

Sounds like it isn't properly carrying over the variable for the posts user id.

Try adding the video_postbit template to the cache_templates.

Stefanus 04-11-2009 04:58 PM

Errors found while checking this document as XHTML 1.0 Transitional!

The following sample of the code where the errors is found - can someone direct me to the correct area to "fix". the code is "do=viewdetails&videoid" and should read "do=viewdetails&amp;videoid"
PHP Code:

#  <td class="thead">Random Videos</td>
# </tr>
# <tr>
# <td class="alt1" align="center">
# <div style="position: relative;">
# <span style="position:absolute; bottom:0px; right:3px; font-size:12px; color:#FFFFFF; background-color:#000000; padding:2px;">
# <strong>7:26</strong>
# </span>
# <a href="video.php?do=viewdetails&videoid=13"><img src="videothumbnails/YouTube/-i57BB0IGWE.jpg" alt="xxxxxxxxxx" title="xxxxxxxxxx" style="width: 150px;" border="0" /></a></div>
# <div style="padding-top: 3px;"><span class="smallfont"><a href="video.php?do=viewdetails&videoid=13">xxxxxxxxxx</a></span></div> 

Thanks,
Stefanus

wicked80 04-11-2009 06:18 PM

Hi Friends,
I did an upgrade to 1.2.4 and all of a sudden none of my usergroups are able to view any videos.The strange thing is I am not able to check this settting under 'usergroup->video-directory permissions':

Can watch and view video details

Everytime, I say 'yes' and click save, it saves. But then when I try to view it again, it resets it automatically to 'No'.

Can someone help me, I am using 3.8.0 and I have appropriate permissions set for each category under 'Video->Manage Categories'.

Zarxrax 04-11-2009 07:24 PM

How can I set this up so that only certain user groups can post videos into a certain category, but general users can post videos in other categories? I want to have a category for "official" videos for my site, and separate categories for user-supplied videos.

Michael.A 04-13-2009 12:10 AM

well i have Video-directory on one of my forums and is working fin an tell today i trad to add a you tupe video and the img of the video did not show up so i went to look on the ftp and the img was there but the size of it was '' 0 '' so can u plzz help me fix this thank you.

forum url = http://coderz4life.com/forums/video.php

ArnyVee 04-13-2009 12:46 AM

Mad--Dog, that happened to me once. I was actually temporarily out of disk space with my hosting company. Not sure if that's your case or if your directories were not CHMOD777 for some reason.

Michael.A 04-13-2009 01:09 AM

Quote:

Originally Posted by ArnyVee (Post 1789908)
Mad--Dog, that happened to me once. I was actually temporarily out of disk space with my hosting company. Not sure if that's your case or if your directories were not CHMOD777 for some reason.

ok well
disk space =
Disk Space Usage
137.05/∞ MB
Monthly Bandwidth Transfer
1940.07/∞ MB
that means no limits of space or Bandwidth
----------------------------------------
CHMOD777 i did that 2 any more ids why is it doing this??

when u say directories ur talking about
i did all of
Code:

CHMOD /videothumbnails/* and /includes/videoserviceapi to 777 and all the sup folders
that.
or the the public HTML or the upload folder ?

troppodel 04-14-2009 08:56 PM

hi jaxel
how can i add myspace links?

WikidMindz 04-15-2009 03:02 PM

strange question but I'm very very interested in this hack and i was wondering is there ANY way possible that i could allow users to upload their videos to it BUT make it to where I or my staff has to approve the uploaded video before others can view it if you need info as to why im asking you may pm me

DobieGillis? 04-15-2009 03:05 PM

Quote:

Originally Posted by WikidMindz (Post 1791786)
strange question but I'm very very interested in this hack and i was wondering is there ANY way possible that i could allow users to upload their videos to it BUT make it to where I or my staff has to approve the uploaded video before others can view it if you need info as to why im asking you may pm me

good question

biocyberman 04-15-2009 06:39 PM

Fatal error: Cannot redeclare construct_category_url() (previously declared in /includes/functions_videodirectory.php:190) in /includes/functions_vbglossar.php on line 963

It conflicts with vbglossar. What's the fix?

biocyberman 04-15-2009 06:52 PM

I just did quick fix by changing all construct_category_url ocurrences to different name

afrodiz 04-16-2009 01:11 PM

Hi everybody :D
Any way to play external video link ? ( Youtube, is banned in China ) or get more hoster !?

dancue 04-16-2009 01:15 PM

Will a video post count towards the person's post count?
Will a comment posted count towards post counts?

Can they?

g0dfather1984 04-17-2009 05:47 AM

I keep receiving that my url is invalid?


All times are GMT. The time now is 06:18 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.03207 seconds
  • Memory Usage 1,868KB
  • 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
  • (9)bbcode_code_printable
  • (2)bbcode_html_printable
  • (3)bbcode_php_printable
  • (10)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)pagenav_pagelink
  • (2)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