vb.org Archive

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

LPH2004 10-13-2007 09:08 PM

Quote:

Originally Posted by efc9 (Post 1359232)
replace <insert search term> with your search term and that'll show the search instead of the featured videos on the frontpage.

Perfect !

Now when the page loads, only the Tablet PC and UMPC videos show immediately.

http://www.whatisnew.com/vBTube.php

Now I just need to figure out the menu on the left .. to add preselect search terms....

zuMzuM 10-13-2007 09:12 PM

i have get this error

Code:

Warning: file() [function.file]: URL file-access is disabled in the server configuration in /vBTube/includes/view.php on line 12

Warning: file(http://www.youtube.com/watch?v=E4VMntSUskg) [function.file]: failed to open stream: no suitable wrapper could be found in /vBTube/includes/view.php on line 12

Warning: implode() [function.implode]: Bad arguments. in /vBTube/includes/view.php on line 13


ogameclub 10-13-2007 09:17 PM

Bad searching, e.g: "fikrimin"

JadedSouls 10-13-2007 09:27 PM

So how is the problem with the bullets fixed when using FireFox?

ragtek 10-13-2007 09:28 PM

hi
for next version also delete define('NO_REGISTER_GLOBALS', 1); out from the php
it is not needed its for vb<3

LPH2004 10-13-2007 09:39 PM

This is a kludge but anyone wanting to change the categories in the left menu can go to the template for vBTube and modify.

For example, I added the following as menu options:
Code:

<img src="vBTube/img/12.gif" align="absmiddle">&nbsp;<a href="vBTube.php?do=search&search=UMPC">UMPC Videos</a>
Others may be added, too.

LPH2004 10-13-2007 10:01 PM

Is there a way to sort the videos?

such as by "sort=video_date_uploaded"

efc9 10-13-2007 10:22 PM

Quote:

Originally Posted by zuMzuM (Post 1359254)
i have get this error

Code:

Warning: file() [function.file]: URL file-access is disabled in the server configuration in /vBTube/includes/view.php on line 12

Warning: file(http://www.youtube.com/watch?v=E4VMntSUskg) [function.file]: failed to open stream: no suitable wrapper could be found in /vBTube/includes/view.php on line 12

Warning: implode() [function.implode]: Bad arguments. in /vBTube/includes/view.php on line 13


This is due to a setting on your server..

You can fix this by removing the following from vBTube/includes/view.php:
Code:

$videopage = file("http://www.youtube.com/watch?v=".$vidid);
$videopage = implode("", $videopage);
preg_match('/\/watch_fullscreen\?video_id=.*?&t=(.*?)"/', $videopage, $match);
$downloadurl = 'http://youtube.com/get_video.php?video_id='.$vidid.'&t='.$match[1];

only thing is the "download this video" link won't work for you right now, I've been looking at better ways of handling that anyways..

LPH2004 10-13-2007 10:42 PM

To remove the double // in the Video URL

This is the original code in vBTube_view

Code:

value="$vboptions[homeurl]/$vidurl"
and this is what it should be: (remove the /)

Code:

value="$vboptions[homeurl]$vidurl"

efc9 10-13-2007 10:48 PM

Quote:

Originally Posted by LPH2004 (Post 1359301)
To remove the double // in the Video URL

This is the original code in vBTube_view

Code:

value="$vboptions[homeurl]/$vidurl"
and this is what it should be: (remove the /)

Code:

value="$vboptions[homeurl]$vidurl"

Good Spot, although I actually handled the fix slightly differently it was using a Server Request URI to get the url but it really didn't need too as the $vidid info was also available. think I was getting sleepy when I did that bit *lol*

JadedSouls 10-13-2007 11:38 PM

Awesome! Works like a dream for me now and my members already love it!

oicyu8chu 10-13-2007 11:43 PM

Excellent. Thank you very much for this mod. This will do a lot of good for the forums.

Definitely MOTM material.

Choo

boxingscene 10-13-2007 11:48 PM

Quote:

Originally Posted by LPH2004 (Post 1359283)
Is there a way to sort the videos?

such as by "sort=video_date_uploaded"

That's actually a great idea. I used the previous code provided to only show a certain topic on the main page, but it creates a problem when the same videos come up every time.

Does anyone have a solution to sort them by date?

glorify 10-14-2007 12:16 AM

Installed--needs who's online locations ;)

...and I get an uncached template vbTube_view

Now since ESPN uses youtubes source....lol

Lionel 10-14-2007 12:42 AM

I get a blank page when I try to integrate with vbadvanced.

glorify 10-14-2007 01:15 AM

No problem with VBA here.

SBlueman 10-14-2007 01:22 AM

Maybe that buggy vbulletin slideshow is causing the issues :rolleyes:

Lionel 10-14-2007 01:26 AM

What slideshow has to do with it?
@glorify which version of vbadvanced are you using?

mescalin 10-14-2007 01:40 AM

great mod but when i click on a video to watch its just a blank screen. Any solution to this issue?

rinkrat 10-14-2007 01:44 AM

Yeah having some way to have a custom user category would bring it all home.

Great mod though!!

glorify 10-14-2007 01:45 AM

Quote:

Originally Posted by Lionel (Post 1359422)
What slideshow has to do with it?
@glorify which version of vbadvanced are you using?

RC1 I believe

unitedpunjab 10-14-2007 03:18 AM

I would like to have Post A Comment on Video Feature.

Not the orginal you tube comment system, but Vb own comment system can be added at the bottom of the video page.

unitedpunjab 10-14-2007 03:25 AM

And how can i declare attributes like Sort Video by date added or view in search.??

SBlueman 10-14-2007 03:27 AM

Quote:

Originally Posted by rinkrat (Post 1359427)
Yeah having some way to have a custom user category would bring it all home.

Great mod though!!

Quote:

Originally Posted by unitedpunjab (Post 1359472)
I would like to have Post A Comment on Video Feature.

Not the orginal you tube comment system, but Vb own comment system can be added at the bottom of the video page.

Quote:

Originally Posted by unitedpunjab (Post 1359474)
And how can i declare attributes like Sort Video by date added or view in search.??

ALL great ideas. If they could happen I'd be in heaven. :D

imported_cecini 10-14-2007 03:32 AM

I am getting this error.

Code:

Warning: Invalid argument supplied for foreach() in /vBTube/includes/featured.php on line 12

Mudvayne 10-14-2007 04:11 AM

Installed :D

FIM 10-14-2007 04:32 AM

nice great modd, installed

vnairp11 10-14-2007 05:15 AM

i installed it this is the only error im getting

Warning: Missing argument 1 for http_request() in /usr/local/lib/php/HTTP/Request.php on line 209

VBUsers 10-14-2007 05:29 AM

clicked install and thanks

LPH2004 10-14-2007 05:35 AM

Quote:

Originally Posted by vnairp11 (Post 1359525)
Warning: Missing argument 1 for http_request() in /usr/local/lib/php/HTTP/Request.php on line 209

I'm guessing this is a PEAR error. Maybe change HTTP/Request.php to PEAR/HTTP/Request.php

This is line 66 on vBTube.php in the \vBTube directory (and not the root php file).

Code:

require_once 'HTTP/Request.php';
to
Code:

require_once 'PEAR/HTTP/Request.php';

Mudvayne 10-14-2007 06:32 AM

Uncached templates: vBTube_view (1)

unitedpunjab 10-14-2007 08:17 AM

One more suggestion....

Is this possible to integrate youtube video search some how with vb search. So when a user search a word he also get video links from youtube.

If this can b added, than i think youtube hardly miss out any word :D

Hornstar 10-14-2007 08:32 AM

2 really good mod releases have occurred this month IMO and this is one of them. Nice work!

bazzup 10-14-2007 08:35 AM

*never mind i found it cheers for the update :up:


regards

ninjamaster 10-14-2007 08:58 AM

thanks for this it looks brill

lasto 10-14-2007 09:16 AM

installed and works fine - be better if u could save your favourites somehow so you never had to keep searching

baghdad4ever 10-14-2007 09:41 AM

thanks

sensimilla 10-14-2007 10:08 AM

Hoping that new vbulletin social integration will have such features.

efc9 10-14-2007 10:41 AM

Sort By features will definetly be a part of the next version (along with who's online, and possibly usergroup permissions)

A Comment & Favourites System are great ideas, and I will add them to the "todo" list.

vB Search Integration is a nice idea but not one I'd be working on until I have the core product finished. Sorry.

daz1967 10-14-2007 12:20 PM

https://vborg.vbsupport.ru/external/2007/10/14.gif

please see the above picture, all the categories on the left are present but no videos any ideas?

thanks


All times are GMT. The time now is 08:38 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.01384 seconds
  • Memory Usage 1,817KB
  • 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
  • (11)bbcode_code_printable
  • (9)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (3)pagenav_pagelink
  • (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