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)

inciarco 02-09-2009 07:50 PM

That's Right, Jaxel, I didn't Updated them before, that was my Error.

Now that I Updated the Video-Hoster Files is Working Better (I didn't Noticed that those are the ones on the includes/xml Folder that you Provided with the Product :p).

But there's a Small Error on the YouTube and YouTubeHD Video Hoster Files :confused: (Perhaps in one of your Edits of the File ;)):

On videohoster-YouTube

Code:

        function fetch_videobbcode($vid, $videoid = '', $videotitle = '')
        {
                $videoid = $videoid ? $videoid : $this->video_id;
                $videotitle = $videotitle ? $videotitle : $this->video_title;

                if ($this->registry->options['videodirectory_bbcode'])
                {
                        return '[video=' . $videotitle . ']' . $vid . '[/video]';
                }
                else
                {
                        return '[' . $this->hostername . '=' . $videotitle . ']' . $videoid . '[/' . $this->hostername . ']';
                }
        }

They're Inverted; it should be:

Code:

        function fetch_videobbcode($vid, $videoid = '', $videotitle = '')
        {
                $videoid = $videoid ? $videoid : $this->video_id;
                $videotitle = $videotitle ? $videotitle : $this->video_title;

                if ($this->registry->options['videodirectory_bbcode'])
                {
                        return '[' . $this->hostername . '=' . $videotitle . ']' . $videoid . '[/' . $this->hostername . ']';
                }
                else
                {
                        return '[video=' . $videotitle . ']' . $vid . '[/video]';
                }
        }


and on videohoster-YouTubeHD it should be:

Code:

        function fetch_videobbcode($vid, $videoid = '', $videotitle = '')
        {
                $videoid = $videoid ? $videoid : $this->video_id;
                $videotitle = $videotitle ? $videotitle : $this->video_title;

                if ($this->registry->options['videodirectory_bbcode'])
                {
                        return '[' . $this->hostername . '=' . $videotitle . ']' . $videoid . '[/' . $this->hostername . ']';
                }
                else
                {
                        return '[video=' . $videotitle . ']' . $vid . '[/video]';
                }
        }

Otherwise it'll return the Video Tag instead of the YouTube and YouTubeHD Tag if you've selected to Display Tags on the Video Option. ;)

That Error is in the Other Video Hosters, you should do the inversion of the Codes there too. ;)

My Best Regards.

:)

Riccardo83 02-09-2009 08:06 PM

It seems like The USers who uploaded the videos are not listed anymore and also the front page doesnt display any videos?

Only when u click on the Categories you see them? DId i do something wrong?

FIXED DIDNT SET LIMITS!!!

Jaxel 02-09-2009 08:25 PM

@incario... you are confused... there is nothing wrong with the code.

Enabling Video BB Codes enables the [Video=] tags... Disabling the Video BB Codes, reverts it to the [HosterName=] tags. They are setup correctly for that as this is by design.

nightbloom 02-10-2009 01:25 AM

1 Attachment(s)
If anyone is interested, someone made the .xml file for WeGame for me when I installed the older version. I have always stuck with VidDir for just this reason. This update is amazing and my users will love it.

I do have a question. Why are all the times listed as ??? now. And also, why did none of the tags from the previous version survive the update?

ArnyVee 02-10-2009 01:39 AM

nightbloom,

The reason is that Jaxel made it so that the 'length of time' on the videos show using this mod. So, since the information was not 'pulled' using Surviver's original version, you'll show the question marks.

I only had about 20 of them, so I just went into each video and edited the info in. But, I'm sure there's another way of doing it. :)

nightbloom 02-10-2009 02:07 AM

O.o I have a LOT of videos. lol I'll have to work on that a little at a time.

thcf 02-10-2009 08:32 AM

1 Attachment(s)
Installed 1.2.3 works great.

I have 1 problem, its cutting half my descriptions off.


Attachment 94557

vibedream 02-10-2009 12:44 PM

Hi
How to creata new video hoster?

klaush 02-10-2009 04:45 PM

Great stuff! Thanks!

Could someone give me a hint with "sevenload"?

AK47 Nemesis 02-11-2009 12:22 PM

Seems like a very good addon. I am experiencing some bugs though.
In the Admin CP i am unable to view the General Settings, the Video Detail Settings and the Video Tag Settings. It just shows a blank page in the right frame.


All times are GMT. The time now is 06:32 AM.

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.03480 seconds
  • Memory Usage 1,742KB
  • 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
  • (3)bbcode_code_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)pagenav_pagelink
  • (4)pagenav_pagelinkrel
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (10)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