View Full Version : Major Additions - vBTube
bazzup
10-13-2007, 04:47 PM
oo looks good matey shall give it a blast on my test forum :up:
*edit* installed on test forum like a dream looks excellent marked as installed and a little vote there for motm
rjp0615
10-13-2007, 04:50 PM
i've installed it on my forum, but got this message
Warning: main() [function.main]: open_basedir restriction in effect. File(/usr/lib/php/PEAR.php) is not within the allowed path(s): ('.:/proc/uptime:/tmp:/home:/usr/local/lib/php:/usr/home:/usr/local/bin/') in /vBTube/PEAR/HTTP/Request.php on line 46
Warning: main(PEAR.php) [function.main]: failed to open stream: Operation not permitted in /vBTube/PEAR/HTTP/Request.php on line 46
Fatal error: main() [function.require]: Failed opening required 'PEAR.php' (include_path='.:/usr/lib/php:/usr/local/lib/php:/home/wrest7/public_html/forums/vBTube/PEAR') in /home/wrest7/public_html/forums/vBTube/PEAR/HTTP/Request.php on line 46
i've installed it on my forum, but got this message
Warning: main() [function.main]: open_basedir restriction in effect. File(/usr/lib/php/PEAR.php) is not within the allowed path(s): ('.:/proc/uptime:/tmp:/home:/usr/local/lib/php:/usr/home:/usr/local/bin/') in /vBTube/PEAR/HTTP/Request.php on line 46
Warning: main(PEAR.php) [function.main]: failed to open stream: Operation not permitted in /vBTube/PEAR/HTTP/Request.php on line 46
Fatal error: main() [function.require]: Failed opening required 'PEAR.php' (include_path='.:/usr/lib/php:/usr/local/lib/php:/home/wrest7/public_html/forums/vBTube/PEAR') in /home/wrest7/public_html/forums/vBTube/PEAR/HTTP/Request.php on line 46
This error indicates that your host has enabled the PHP open_base_dir setting on your server. Your host needs to add your vBTube installation folder to the allowed paths for this setting (i.e., add the file path referenced in the error as "not within the allowed path").
The open_base_dir setting is primarily used to prevent php scripts for a particular user from accessing files in another user's account. So usually, any files in your own account should be readable by your own scripts.
oo looks good matey shall give it a blast on my test forum :up:
*edit* installed on test forum like a dream looks excellent marked as installed and a little vote there for motmGlad it installed as it was meant too and is working well for you.. Appreciate the motm vote too :)
vBB-vietnam
10-13-2007, 05:07 PM
can i post other video like google
i dont like auto search . i will chose what i want .
how?
sorry for my bad english
can i post other video like google
i dont like auto search . i will chose what i want .
how?
sorry for my bad english
Sorry but this is not a video posting/hosting mod.. It just integrates YouTube searching & Viewing into your site.
FRANKTHETANK 2
10-13-2007, 05:15 PM
is the path http://www.yourforums.com/forums/vbtube.php?
if so - it's not working for me. I don't see it in vboptions either? Am I missing something.
bazzup
10-13-2007, 05:16 PM
hello efc9 i noticed a little prob with the url underneath the vid you are watching
http://www.yoursite.com///forum/vBTube.php?do=view&vidid=8T5qZVt9IRk
notice all the forward slashes after the .com part
bazzup
10-13-2007, 05:16 PM
is the path http://www.yourforums.com/forums/vbtube.php?
if so - it's not working for me. I don't see it in vboptions either? Am I missing something.
its vBTube.php capital b and capital t
FRANKTHETANK 2
10-13-2007, 05:20 PM
its vBTube.php capital b and capital t
lmao...thanks. I guess it pays to get some sleep once in awhile. :eek:
SBlueman
10-13-2007, 05:21 PM
Whoa! Very slick!
*clicks install*
SBlueman
10-13-2007, 05:23 PM
FYI, I just noticed a template error. Check out the dots in the main menu:
hello efc9 i noticed a little prob with the url underneath the vid you are watching
http://www.yoursite.com///forum/vBTube.php?do=view&vidid=8T5qZVt9IRk
notice all the forward slashes after the .com part
Thanks for the bug report. I think this is due to the subdirectory, I'll look into it properly tonight.
cjshirlaw
10-13-2007, 05:26 PM
Looks good. I will wait a week or two and see if there are any bugs cause I am to lazy to upgrade anything :D
Thanks for the modification :up:
thedvs
10-13-2007, 05:26 PM
Works great, absolutely impressed! well done!
FYI, I just noticed a template error. Check out the dots in the main menu:
Are you using firefox?
JadedSouls
10-13-2007, 05:29 PM
Having the code needed to put into the navbar template might be nice for those that don't quite know how to do it right..
Good Point Jaded.
<a href="$vboptions[bburl]/vBTube.php">vBTube</a>
JadedSouls
10-13-2007, 05:31 PM
thank you kindly :)
JadedSouls
10-13-2007, 05:36 PM
Added that to the navbar and it doesn't show anything. I'm also getting 2 dots and using firefox. Other than those 2 things it looks great
SBlueman
10-13-2007, 05:37 PM
Are you using firefox?
Yes I am.
unitedpunjab
10-13-2007, 05:39 PM
I installed and it's working fine
But found few bugs
First bug. look at the attached image. Bullet images are out of box.
And
The permanent link the Vbtube page providing is something like this
http://www.unp.co.in///vBTube.php?do=view&vidid=wzIHWsr8Ydo
Which is not opening at all.... !!!
it shoud b like this
http://www.unp.co.in/vBTube.php?do=view&vidid=wzIHWsr8Ydo
Spank
10-13-2007, 05:47 PM
Can videos be uploaded to youtube via this mod? I think alot of people are going to love you for this efc9.
thedvs
10-13-2007, 05:49 PM
it does need WOL
theres that error in the above post by unitedpunjab & the download video doesn't seem to work on mine.
Thanks for the bug reports everyone, I always feared it would have some. I've figured out the problem with the dot and firefox, it's because I'm missing a <ul> Avant shows it fine but that's down to it's IE core I guess.
The added slashes I'm still trying to identify the problem causing that, but hope to have that fixed soon too, once that's fixed I'll add an update.
Sadly videos cannot be uploaded via this mod, but YouTube are expanding the API to include upload features, so that will be added later.
WOL, Usergroup Permissions, and other general options will be added to the next full version.
kentley
10-13-2007, 06:11 PM
Fantastic mod!
Found a bug - when you search for something ( using search VBtube ) that returns no videos I get loads of "0"s displayed on screen. Can send a pic of this if you want.
K
FRANKTHETANK 2
10-13-2007, 06:14 PM
I'd like to add another category. Where can this be done? I got the category in the product but where can one edit the cat=id? Any help would be great.
JadedSouls
10-13-2007, 06:28 PM
I used this to put it into the navbar link:
<td class="vbmenu_control"><a href="vBTube.php$session[sessionurl_q]">$vbphrase[vBTube_title]</a></td>
Vi3t4Lov3
10-13-2007, 06:31 PM
wow...cool mod...thanks for sahre
I'd like to add another category. Where can this be done? I got the category in the product but where can one edit the cat=id? Any help would be great.
You'll need to edit the vBTube template, I'll make the categories configurable rather than hardcoded into the template in a later version.
vbreal
10-13-2007, 08:01 PM
wil.l add after next update. thanks for the mod!!
Lionel
10-13-2007, 08:09 PM
This is cool. I made something similar for my site a month ago. Suggestion: in my version, admin and mods can post the video in a set forums using the AME hack
LPH2004
10-13-2007, 08:13 PM
This is fantastic !
Is there a way to narrow the search down immediately on the vBTube.php page so that only certain topics are shown? For example, a technology site might only want to show the technology videos on that opening php page. The other videos can be made available through the left menu.
For a live demo: www.whatisnew.com/vBTube.php or www.tabletquestions.com/vBTube.php
These sites are on two different linux based servers to test performance.
shaynehammy
10-13-2007, 08:19 PM
This looks awesome! Will check back once beta is complete. Voted for MOTM.
katilkuzu
10-13-2007, 08:22 PM
installed* good job dude
kentley
10-13-2007, 08:40 PM
*installed*
Voted for MOTM :)
Is there a way to narrow the search down immediately on the vBTube.php page so that only certain topics are shown? For example, a technology site might only want to show the technology videos on that opening php page. The other videos can be made available through the left menu You can edit vBTube.php to show a default search page instead.
in vBTube.php find (updated for v1.2.6):
if ((!$_GET['do'] || $_GET['do'] == ''))
{
$_GET['do'] = 'today';
}
and change to:
if ((!$_GET['do'] || $_GET['do'] == ''))
{
$search='<insert search term>';
$_GET['do'] = 'search';
}
replace <insert search term> with your search term and that'll show the search instead of the featured videos on the frontpage.
This is cool. I made something similar for my site a month ago. Suggestion: in my version, admin and mods can post the video in a set forums using the AME hack
I've thought about adding a "make new thead with this video" feature. Haven't looked at AME but will do so..
Kaleem
10-13-2007, 08:58 PM
/me Clicks Install
LPH2004
10-13-2007, 09:08 PM
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
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:
<img src="vBTube/img/12.gif" align="absmiddle"> <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"
i have get this error
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:
$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
value="$vboptions[homeurl]/$vidurl"
and this is what it should be: (remove the /)
value="$vboptions[homeurl]$vidurl"
To remove the double // in the Video URL
This is the original code in vBTube_view
value="$vboptions[homeurl]/$vidurl"
and this is what it should be: (remove the /)
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
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
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
Yeah having some way to have a custom user category would bring it all home.
Great mod though!!
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.
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.
Warning: Invalid argument supplied for foreach() in /vBTube/includes/featured.php on line 12
Mudvayne
10-14-2007, 04:11 AM
Installed :D
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
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).
require_once 'HTTP/Request.php';
to
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.
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
Do you get any videos showing when you click on the categories?
mescalin
10-14-2007, 01:05 PM
i get a complete blank screen when i click a video to watch :S
am i the only person having this issue?
daz1967
10-14-2007, 01:13 PM
Do you get any videos showing when you click on the categories?
no it stays the same
Jebbie
10-14-2007, 01:36 PM
great mod, works brilliant
no it stays the same
I think this error might be down to restrictions on your Server, but I'm looking into it.
blue6995
10-14-2007, 01:53 PM
Installed and everything appeared to be working fine; however, I am now getting the following error message reported - how can I fix this?
Thanks
Database error in vBulletin 3.6.0:
Invalid SQL:
UPDATE vb3_session
SET lastactivity = 1192370438, location = '/vBulletin/vBTube.php', inforum = 0, inthread = 0, incalendar = 0, badlocation = 0
WHERE sessionhash = 'f3557903d0ab94cc8165c014a0f821ac';
MySQL Error : Lost connection to MySQL server during query Error Number : 2013
Date : Sunday, October 14th 2007 @ 04:02:11 PM
Script : http://www.rwf-forum.co.uk/vBulletin/vBTube.php
Referrer : http://www.rwf-forum.co.uk/vBulletin/showthread.php?p=15889
IP Address : xxx
Username : xxx
Classname : vb_database
lasto
10-14-2007, 01:56 PM
tell you what has been happening this afternoon - its taking ages for the page to display - maybe youtube is busy and its causeing a delay but its slowww
bazzup
10-14-2007, 02:08 PM
tell you what has been happening this afternoon - its taking ages for the page to display - maybe youtube is busy and its causeing a delay but its slowww
I noticed that too but when i went to youtube it was taking just as long to load
lasto
10-14-2007, 02:21 PM
yep must be them so its fine :)
quite a neat hack aint it - but its missing an add to favourite option so i can store what i like without having to search it all time.
bazzup
10-14-2007, 02:24 PM
yeah it is awsome we get a lot of requests for videos to be converted from youtube this way i can do it all on my forum without going anywhere.
I think he has faves on his todo list
Installed and everything appeared to be working fine; however, I am now getting the following error message reported - how can I fix this?
Thanks
Database error in vBulletin 3.6.0:
Invalid SQL:
UPDATE vb3_session
SET lastactivity = 1192370438, location = '/vBulletin/vBTube.php', inforum = 0, inthread = 0, incalendar = 0, badlocation = 0
WHERE sessionhash = 'f3557903d0ab94cc8165c014a0f821ac';
MySQL Error : Lost connection to MySQL server during query Error Number : 2013
Date : Sunday, October 14th 2007 @ 04:02:11 PM
Script : http://www.rwf-forum.co.uk/vBulletin/vBTube.php
Referrer : http://www.rwf-forum.co.uk/vBulletin/showthread.php?p=15889
IP Address : xxx
Username : xxx
Classname : vb_database
This error is caused by your MySQL server crashing, not this hack.. best to check that with your host.
Yes.. Favourites are on the todo list..
YouTube is running a little slow today, and that also means this hack is running slow, sadly nothing I can do about that :(
vnairp11
10-14-2007, 02:45 PM
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).
require_once 'HTTP/Request.php';
to
require_once 'PEAR/HTTP/Request.php';
I changed the line and the error is gone however the script when i cheked today mornign is exteremly slow to load the front page and i came up with these errors
Warning: Missing argument 1 for http_request() in /usr/local/lib/php/HTTP/Request.php on line 209
Warning: Invalid argument supplied for foreach() in /vBTube/includes/featured.php on line 12
Rickeo
10-14-2007, 03:14 PM
sweet been waiting for something like this as they have it for IPB but not this so thanks :)
ForYou
10-14-2007, 03:57 PM
Hello ,
there is error ,
Warning: Invalid argument supplied for foreach() in /vBTube/includes/featured.php on line 12
Poppet
10-14-2007, 04:48 PM
Great mod :up:
Installed on my test forum and it's working great :D Had a couple of errors but only for one video, since then it's been perfect.
Voted for it for MOTM.
baghdad4ever
10-14-2007, 04:50 PM
hi
what is this error
Warning: main() [function.main]: SAFE MODE Restriction in effect. The script whose uid is 32003 is not allowed to access /usr/lib/php/PEAR.php owned by uid 0 in /vBTube/PEAR/HTTP/Request.php on line 46
hi
what is this error
Your host has put restrictions in place that stop the script from working. You'll need to speak to them about allowing access so this script can work.
bazzup
10-14-2007, 04:59 PM
i've noticed i don't know if there is anything you can do about it but..
sometimes when you search you'll have for example: 20 pages you'll get to page 8 and it will show only 1 result on page 8 then you goto page nine and its full again.
its not a major problem for me just pointing it out
regards
blazingpc
10-14-2007, 05:06 PM
*INSTALLS*
Easy install and set up on this.
http://www.blazingpc.com/forum/vBTube.php?
^^ Another demo page if you need one^^.
I also set the default search to "Overclocking" which is the basis of my site so when the page is loaded you have all the overclocking videos.
SBlueman
10-14-2007, 05:21 PM
My members are loving this, I just wanted to thank you!
http://gridironfans.com/forums/vBTube.php
i've noticed i don't know if there is anything you can do about it but..
sometimes when you search you'll have for example: 20 pages you'll get to page 8 and it will show only 1 result on page 8 then you goto page nine and its full again.
its not a major problem for me just pointing it out
regards
This is a problem with the way the paging is currently handled by the API, hopefully the change to GData will fix that.
*INSTALLS*
Easy install and set up on this.
http://www.blazingpc.com/forum/vBTube.php?
^^ Another demo page if you need one^^.
I also set the default search to "Overclocking" with is the basis of my site so when the page is loaded you have all the overclocking videos.
Thanks.. Good Looking site you got there.
baghdad4ever
10-14-2007, 05:27 PM
Your host has put restrictions in place that stop the script from working. You'll need to speak to them about allowing access so this script can work.
the safemod the problem??
or another thing?
Nickbe
10-14-2007, 05:42 PM
Just to be 100% sure do I upload the entire vBtube folder to my forum route or do I upload the files in the vBtube/includes/ folder in the forums/includes folder and the images to the forums/images?
Because uploading the entire vbtube folder to the forum directory is not working. All I am getting is a blank page.
bazzup
10-14-2007, 05:48 PM
Just to be 100% sure do I upload the entire vBtube folder to my forum route or do I upload the files in the vBtube/includes/ folder in the forums/includes folder and the images to the forums/images?
Because uploading the entire vbtube folder to the forum directory is not working. All I am getting is a blank page.
upload the entire folder to forum route and vBTube.php to forum route also
then import the product xml file
Nickbe
10-14-2007, 05:51 PM
yeh done all i get is a blank page when i visit
http://www.forex4noobs.com/forums/vBTube.php
Nickbe
10-14-2007, 05:53 PM
i get a complete blank screen when i click a video to watch :S
am i the only person having this issue?
I am gettign blank screen issue too, any ideas?
bazzup
10-14-2007, 05:57 PM
yeh done all i get is a blank page when i visit
http://www.forex4noobs.com/forums/vBTube.php
i just get a page cannot be displayed on that link
edenx
10-14-2007, 06:05 PM
Where do I change categories?
nice job!
I am gettign blank screen issue too, any ideas?
Have you imported the product file too?
Where do I change categories?
nice job!
Categories are hardcoded in the template, to change them you'll need to edit the vBTube template.
SBlueman
10-14-2007, 07:58 PM
*INSTALLS*
Easy install and set up on this.
http://www.blazingpc.com/forum/vBTube.php?
^^ Another demo page if you need one^^.
I also set the default search to "Overclocking" which is the basis of my site so when the page is loaded you have all the overclocking videos.
How did you set the default search?
basketmen
10-14-2007, 08:01 PM
i am sorry i cant find this answer
how to add video?
how to edit video?
how to delete video?
blazingpc
10-14-2007, 08:02 PM
How did you set the default search?
Post#38 Explains it.
in vBTube.php find:
Code:
if ((!$_GET['do'] || $_GET['do'] == ''))
{
$_GET['do'] = 'featured';
}
and change to:
Code:
if ((!$_GET['do'] || $_GET['do'] == ''))
{
$search='<insert search term>';
$_GET['do'] = 'search';
}
SBlueman
10-14-2007, 08:10 PM
Thank you sir!
blazingpc
10-14-2007, 08:15 PM
i am sorry i cant find this answer
how to add video?
how to edit video?
how to delete video?
You do not add\edit\delete the videos they are drawn from YouTube through the search function.
You can edit the default search to show a specific genre of videos when the page is loaded by using the code above.
993ti
10-14-2007, 08:33 PM
Awesome.
Very simple to install too :)
Not all members have seen it yet but i'm sure they'll like it.
http://www.twenteracingscene.com/vBTube.php
993ti
10-14-2007, 09:02 PM
Btw, if someone wants to sort the default page by category:
In vBTube.php
Replace
if ((!$_GET['do'] || $_GET['do'] == ''))
{
$_GET['do'] = 'featured';
}
With
if ((!$_GET['do'] || $_GET['do'] == ''))
{
$catid='<insert catid here>';
$_GET['do'] = 'cat';
}
You can see the catid by moving the mouse over the category.
In the statusbar you'll see something like this:
http://www.yourdomain.com/vBTube.php?do=cat&catid=2
2 is the catid (on my page it defaults to Autos & vehicles).
rwilkins108
10-14-2007, 09:46 PM
GREAT MOD!
but, how best to integrate with vbAdvanced? How best to attract the forum user into the vbTube pages...
Good Question, I don't actually have vbAdvanced installed, but maybe something like the "what people are viewing" on YouTube itself might be good.. I'll look into it for the future.
Nickbe
10-14-2007, 11:30 PM
Have you imported the product file too?
Yes I have but I keep getting this blank link.
Any ideas.
rwilkins108
10-14-2007, 11:42 PM
Good Question, I don't actually have vbAdvanced installed, but maybe something like the "what people are viewing" on YouTube itself might be good.. I'll look into it for the future.
ah, that sounds like a good idea..
blazingpc
10-14-2007, 11:49 PM
Yes I have but I keep getting this blank link.
Any ideas.
You uploaded the vBTube folder and the vBTube.php file to the forum root then import the product?
When I try to go to the url it appears either the folder is not there or the product was not there.
Unless your host does not recognize the php extension as a page meaning it is looking for index.htm or hmtl.
Nickbe
10-15-2007, 12:54 AM
My whole site is PHP so my host recognizes it.
I uploaded the entire vbtube folder to /forums/
so this would be it
www.mysite.com/forums/vBTube/
Inside that folder are all the other folders
www.mysite.com/forums/vBTube/PEAR
www.mysite.com/forums/vBTube/img
www.mysite.com/forums/vBTube/includes
www.mysite.com/forums/vBTube/xml_saxy_parser.php
You get the picture.
I also uploaded the plugin to the plugin manager. So as far as i can tell I have done everything right.
FRANKTHETANK 2
10-15-2007, 01:00 AM
Nominated MOFT!!! Between your suport and a great mod, you deserve it!!! This is great and thanks again.
Looking forwad to the next release with categories...hint. heh.
MiahBeSmokin420
10-15-2007, 01:13 AM
Here Is A Great Question
I Dont Know If You Will Know The Answer Or Not But
Is There Any Way We Can Have This Mod Here (https://vborg.vbsupport.ru/showthread.php?t=150761)
Work With Your Mod (vBTube)
That Would Be Realy Awsome If We Could
Of Coruse There Would Have To Be Manual Edits But It Would Still Be Great.
Did you also upload the vBTube.php file?
blazingpc
10-15-2007, 01:19 AM
Did you also upload the vBTube.php file?
When I went to his site and tried to access the vBTube page it gave me the option to D\L the php file and it was blank.:confused:
Coach_Guru
10-15-2007, 01:22 AM
Any system to add video title to page title?
Thanks.
Here Is A Great Question
I Dont Know If You Will Know The Answer Or Not But
Is There Any Way We Can Have This Mod Here (https://vborg.vbsupport.ru/showthread.php?t=150761)
Work With Your Mod (vBTube)
That Would Be Realy Awsome If We Could
Of Coruse There Would Have To Be Manual Edits But It Would Still Be Great.
I've had a PM about a similiar thing for another mod (AME). With that I just gave the details needed to add another video url (the actual youtube url) that could be used in forum posts. for that.
in the vBTube_view template find:
<strong>Video URL:</strong><br>
<input name="video_link" type="text" value="$vboptions[bburl]/vBTube.php?do=view&vidid=$vidid" class="vidURLField" onClick="javascript:document.vidForm.video_link.focus();doc ument.vidForm.video_link.select();" size="80" readonly="true">
<br><br>
and add above it:
<strong>AME Embed URL:</strong><br>
<input name="embed_link" type="text" value="http://www.youtube.com/watch?v=$vidid" class="vidURLField" onClick="javascript:document.vidForm.embed_link.focus();doc ument.vidForm.embed_link.select();" size="80" readonly="true">
<br><br>
Riight now on the Dev Version I've added a start a new thread about this video option..
That creates a new thread in a forum of the admin's choice with the video title, and the video shown using custom bbcode this hack adds rather than using AME, Passive or any of the other video hacks, as we are just dealing with YouTube here so we don't need the processing of those hacks..
When I went to his site and tried to access the vBTube page it gave me the option to D\L the php file and it was blank.:confused:
hmmm, might have been corrupted on upload? I'd recommend deleting the files and trying to upload them again.
Any system to add video title to page title?
Thanks.
in vBTube template. change the title tag to:
<title>$vboptions[bbtitle] - vBTube <if condition="$videos[title]">- Viewing: $videos[title]</if></title>
(Don't forget to click Install *g*)
Nominated MOFT!!! Between your suport and a great mod, you deserve it!!! This is great and thanks again.
Looking forwad to the next release with categories...hint. heh.
Thanks Frank.. Work on the Categories is going well ;)
MiahBeSmokin420
10-15-2007, 01:34 AM
I've had a PM about a similiar thing for another mod (AME). With that I just gave the details needed to add another video url (the actual youtube url) that could be used in forum posts. for that.
in the vBTube_view template find:
<strong>Video URL:</strong><br>
<input name="video_link" type="text" value="$vboptions[bburl]/vBTube.php?do=view&vidid=$vidid" class="vidURLField" onClick="javascript:document.vidForm.video_link.focus();doc ument.vidForm.video_link.select();" size="80" readonly="true">
<br><br>
and add above it:
<strong>AME Embed URL:</strong><br>
<input name="embed_link" type="text" value="http://www.youtube.com/watch?v=$vidid" class="vidURLField" onClick="javascript:document.vidForm.embed_link.focus();doc ument.vidForm.embed_link.select();" size="80" readonly="true">
<br><br>
Riight now on the Dev Version I've added a start a new thread about this video option..
That creates a new thread in a forum of the admin's choice with the video title, and the video shown using custom bbcode this hack adds rather than using AME, Passive or any of the other video hacks, as we are just dealing with YouTube here so we don't need the processing of those hacks..
thanks ill check this out
MiahBeSmokin420
10-15-2007, 01:42 AM
Thanks For That Code Worked Good Enough For Me
Also I Took The Liberty To Set Up The WOL Setting For You
Seeing As How They Were Not In The First Download
So Here Yall Go Just Upload This Product And Then You Will Be Good For The WOL
And For Those Of You That Dont Know What WOL Is
WOL = Who's On Line
Get It? Got It? Good!
SBlueman
10-15-2007, 01:43 AM
in the vBTube_view template find:
<strong>Video URL:</strong><br>
<input name="video_link" type="text" value="$vboptions[bburl]/vBTube.php?do=view&vidid=$vidid" class="vidURLField" onClick="javascript:document.vidForm.video_link.focus();doc ument.vidForm.video_link.select();" size="80" readonly="true">
<br><br>
and add above it:
<strong>AME Embed URL:</strong><br>
<input name="embed_link" type="text" value="http://www.youtube.com/watch?v=$vidid" class="vidURLField" onClick="javascript:document.vidForm.embed_link.focus();doc ument.vidForm.embed_link.select();" size="80" readonly="true">
<br><br>
in vBTube template. change the title tag to:
<title>$vboptions[bbtitle] - vBTube <if condition="$videos[title]">- Viewing: $videos[title]</if></title>
(Don't forget to click Install *g*)
Excellent codes guys, thanks! :D:up:
yoyoyoyo
10-15-2007, 01:56 AM
I installed, and when I went to mysite.com/forum/vBTube.php got this error:
Warning: session_start() [function.session-start]: open(/var/sessions/sess_8d4b0bdddcfde4d701716cf96bba21f7, O_RDWR) failed: No such file or directory (2) in /vBTube/vBTube.php on line 8
Warning: session_start() [function.session-start]: Cannot send session cookie - headers already sent by (output started at /home/mysite/public_html/forum/includes/class_core.php:3117) in /vBTube/vBTube.php on line 8
Warning: session_start() [function.session-start]: Cannot send session cache limiter - headers already sent (output started at /home/mysite/public_html/forum/includes/class_core.php:3117) in /vBTube/vBTube.php on line 8
ammoskumar
10-15-2007, 01:58 AM
Thanx for the gr8 hack:) you rock..... but instead of youtube if we can add (embed) all other sites video in there that will be really cool....if you can add this features! i really appreciated.......
I installed, and when I went to mysite.com/forum/vBTube.php got this error:
That's an unusual error I've not seen that one before, would you mind pm'ing me your phpinfo/server data?!
Thanx for the gr8 hack:) you rock..... but instead of youtube if we can add (embed) all other sites video in there that will be really cool....if you can add this features! i really appreciated.......
I might look at doing similiar hacks for other videosites in the future.
Thanks For That Code Worked Good Enough For Me
Also I Took The Liberty To Set Up The WOL Setting For You
Seeing As How They Were Not In The First Download
So Here Yall Go Just Upload This Product And Then You Will Be Good For The WOL
And For Those Of You That Dont Know What WOL Is
WOL = Who's On Line
Get It? Got It? Good!
Thanks for taking the time out to do this, have added it to the firstpost to make it easier to find.
yoyoyoyo
10-15-2007, 02:22 AM
That's an unusual error I've not seen that one before, would you mind pm'ing me your phpinfo/server data?!PM sent
MiahBeSmokin420
10-15-2007, 02:22 AM
Thanks for taking the time out to do this, have added it to the firstpost to make it easier to find.
thanks very much i figured eveyone would like the look of that better anyways
Poppet
10-15-2007, 03:03 AM
I've just integrated the forum with the CMPS and now I'm getting these errors :(
Warning: array_merge() [function.array-merge]: Argument #1 is not an array in /home/mysite/public_html/forum/includes/vba_cmps_include_template.php on line 19
Warning: array_merge() [function.array-merge]: Argument #1 is not an array in /home/mysite/public_html/forum/includes/vba_cmps_include_template.php on line 39
Warning: array_merge() [function.array-merge]: Argument #1 is not an array in /includes/vba_cmps_include_top.php on line 518
Warning: array_merge() [function.array-merge]: Argument #2 is not an array in /includes/vba_cmps_include_top.php on line 518
Warning: session_start() [function.session-start]: Cannot send session cache limiter - headers already sent (output started at /home/mysite/public_html/forum/includes/vba_cmps_include_template.php:19) in /vBTube/vBTube.php on line 8
funkmeister
10-15-2007, 03:09 AM
Post#38 Explains it.And how do you sort them by "Date Added"? In other words, how YouTube parses results with:
http://www.youtube.com/results?search_type=search_videos&search_query=widgets
&search_sort=video_date_uploaded&search_category=0&search=Search&v=&uploaded=
Aside from this - it's perfect, thank you :up:
BecomeUnbroken
10-15-2007, 03:18 AM
I would like to request a video commenting feature..
Great addition .. downloaded, installed and worked straight out of the box .. thanks efc9
Cafe vBTube (http://www.techguyscafe.com/forums/vBTube.php?)
And how do you sort them by "Date Added"? In other words, how YouTube parses results with:
http://www.youtube.com/results?search_type=search_videos&search_query=widgets
&search_sort=video_date_uploaded&search_category=0&search=Search&v=&uploaded=
Aside from this - it's perfect, thank you :up:
When I make the move to the GData API, this should be possible.. I'm going to get another version out with a few new features (probably tomorrow night) and then take a week or so to the change to GData before the next big release.
I would like to request a video commenting feature..
Coming Soon to a vBTube near you ;)
Great addition .. downloaded, installed and worked straight out of the box .. thanks efc9
Cafe vBTube (http://www.techguyscafe.com/forums/vBTube.php?)
My Pleasure.. Glad your Enjoying it :D
malady
10-15-2007, 04:13 AM
I love this mod nominated for MOTM
I stink at most things coding so I appreciate the level of support shown for this already. I'd also love to see the search function be able to parse by date added so that the newest videos come up first.
Also the download video link doesn't seem to be working, it tries to download a php file rather than a video file.
I know its way early in the release but something to keep in mind, YouTube allows you to pull the videos through their API and have them play in your own custom flv player thats branded to your site. Is something like this possible, or maybe sometime in the future?
SBlueman
10-15-2007, 04:33 AM
Thanks For That Code Worked Good Enough For Me
Also I Took The Liberty To Set Up The WOL Setting For You
Seeing As How They Were Not In The First Download
So Here Yall Go Just Upload This Product And Then You Will Be Good For The WOL
And For Those Of You That Dont Know What WOL Is
WOL = Who's On Line
Get It? Got It? Good!
Tried to upload as a product and I got this error:
This file appears to be a Plugin, not a Product. Please use the Plugin Manager to add this file.
Nickbe
10-15-2007, 05:12 AM
Same deal I re-uploaded everything and no luck
http://www.forex4noobs.com/forums/vBTube.php
I am not the only one with his issue somebody mentioned it on page 4 or 5
Any ideas I would really liek for this to work.
Tried to upload as a product and I got this error:
You need to goto the plugin manager, and scroll down to the very bottom where you can upload the file.
Same deal I re-uploaded everything and no luck
http://www.forex4noobs.com/forums/vBTube.php
I am not the only one with his issue somebody mentioned it on page 4 or 5
Any ideas I would really liek for this to work.
I'm assuming some shared hosts block the featured needed for this hack, I'm using a dedicated server so don't come up against these problems so they are very difficult for me to diagnose..
I would ask your host to check the script and see if theres anything they are blocking which is stopping it from working for you.
Nickbe
10-15-2007, 05:39 AM
could my error be vbseo related?
Nickbe
10-15-2007, 05:40 AM
I'm assuming some shared hosts block the featured needed for this hack, I'm using a dedicated server so don't come up against these problems so they are very difficult for me to diagnose..
I would ask your host to check the script and see if theres anything they are blocking which is stopping it from working for you.
Ok thanks I will give them a call
I wanted to move to dedicated but I got no idea how to move the entire forum.
could my error be vbseo related?
possibly, I don't have a vbseo license to check.. trying temporarily disabling it and then trying vBTube again, if it's that causing the problem I'll have a word with the vBSeo developers and see if theres some fix we can come up with.
I've just integrated the forum with the CMPS and now I'm getting these errors :(
You could try removing:
if (session_id() == "") {
session_start();
}
from the start of the vBTube/vBTube.php file. That might fix that, but I don't have CMPS installed to check that..
SBlueman
10-15-2007, 05:44 AM
You need to goto the plugin manager, and scroll down to the very bottom where you can upload the file.
Hmmm...I do as you say, click on [Add New Plugin] and get this (see attached)
I love this mod nominated for MOTM
I stink at most things coding so I appreciate the level of support shown for this already. I'd also love to see the search function be able to parse by date added so that the newest videos come up first.
Also the download video link doesn't seem to be working, it tries to download a php file rather than a video file.
I know its way early in the release but something to keep in mind, YouTube allows you to pull the videos through their API and have them play in your own custom flv player thats branded to your site. Is something like this possible, or maybe sometime in the future?
Thanks, I Appreciate it :)
The download video link, currently uses page scrapping and youtube keep changing the pages *lol* I'm looking at a better method of doing this for the next version.
Custom branded players are definetly an interesting idea, but I can only really add it to the "maybe" pile right now as theres a lot of other features I'd like to add first before that.
Hmmm...I do as you say, click on [Add New Plugin] and get this (see attached)
Sorry. it's Download / Upload Plugins then at the bottom of that page theres a section for "Import Plugin Definitions XML File" click Browse, select the vbtube_wol_data.xml and voila :D
unitedpunjab
10-15-2007, 05:51 AM
possibly, I don't have a vbseo license to check.. trying temporarily disabling it and then trying vBTube again, if it's that causing the problem I'll have a word with the vBSeo developers and see if theres some fix we can come up with.
I have vBseo installed on my website too. But mine vBtube is working fine without any single error till now.
http://www.unp.co.in/vBTube.php
Thnx for this nice mod. Nominated for MOTM
Nickbe
10-15-2007, 05:56 AM
I'm assuming some shared hosts block the featured needed for this hack, I'm using a dedicated server so don't come up against these problems so they are very difficult for me to diagnose..
I would ask your host to check the script and see if theres anything they are blocking which is stopping it from working for you.
My fantastic hosting company told me that they can not go through your code line by line looking for whats being blocked.
Can anybody recommend a good dedicated hosting company? I am tired of this company and its bullshit.
Poppet
10-15-2007, 06:18 AM
You could try removing:
if (session_id() == "") {
session_start();
}
from the start of the vBTube/vBTube.php file. That might fix that, but I don't have CMPS installed to check that..
Thanks efc9 :) I tried that, it got rid of the last error but the 1st 4 are still there :(
Nickbe
10-15-2007, 06:19 AM
In the meantime is anybodies forum hosted by netfirms.com and if so is this working for you?
Sorry Nickbe, looks like it definetly it something your host is blocking that is stopping the script from working.. I'm guessing it's the XML or PEAR that might be a problem.
Hosting wise I'm with http://www.clook.co.uk/ and have never had a problem, they have always been on hand whenever I have needed them.
Thanks efc9 :) I tried that, it got rid of the last error but the 1st 4 are still there :(
hmmm. pm me the code you've used to integrate it into CMPS, and I'll see if I can figure things out for you.
ForYou
10-15-2007, 06:36 AM
Hello ,
there is error ,
Warning: Invalid argument supplied for foreach() in /vBTube/includes/featured.php on line 12
Hello ,
You didn't answer me about my problem ,
Regards
realsumon
10-15-2007, 06:44 AM
working fine - http://www.amaderforum.com/vBTube.php
Poppet
10-15-2007, 06:55 AM
hmmm. pm me the code you've used to integrate it into CMPS, and I'll see if I can figure things out for you.
Thanks efc9 PM sent :)
m2006
10-15-2007, 07:28 AM
Thanks ypu efc9 for good mod
basketmen
10-15-2007, 08:01 AM
suggestion from me
insert video from outside youtube too, like metacafe, google video, break, ebaums world, and others video network
Hello ,
You didn't answer me about my problem ,
Regards
Sorry I missed this error, forum threads are not the best way of dealing with the support of a hack :(
Do you get any other errors on the page?
suggestion from me
insert video from outside youtube too, like metacafe, google video, break, ebaums world, and others video network
This might happen with a later version :)
blind-eddie
10-15-2007, 09:05 AM
Clicks Installed...... This has to be the best mod I have ever seen, This should get the mod of the month.....Great Job
My install works flawlessly.......check it out. (http://outerzone.us/forum/vBTube.php)
MiahBeSmokin420
10-15-2007, 09:12 AM
Tried to upload as a product and I got this error:
yes im sorry i said add it as product
i ment to say plugin
which is eaxctly 1 link below product
well at least it should be unless you got a ghetto rigged vb lol
baghdad4ever
10-15-2007, 09:39 AM
installed
but what is this
vBTube WOL Data.xml
i see this file today
plz explain
yoyoyoyo
10-15-2007, 09:41 AM
I fixed the errors indicated above - they were not caused by this hack, but instead by an overriding php.ini file I had in my forum directory. Sorry for the bother.
One thing that I find to be very confusing is that when I view the vBTube.php file it indicates to indicate and imply that the uploaders of the videos are members of my forum, instead of youtube members, because when I look at the links under their names it says (for example):
http://mysite.com/forum/vBTube.php?do=user&uname=fred_flintstone
and I do not have a member by that name. When I click on their name it takes me to a page with all of the rest of their uploadeed videos, which is cool. but confusing as heck, beacuse it seems to imply that they are a member of my forum. I don't know what you can do to change that, but just wanted you to know that it confused a few of my members as well. Maybe something above their name that says "youtube member: fred_flintstone"
athlon64bit
10-15-2007, 09:43 AM
installed
but what is this
vBTube WOL Data.xml
i see this file today
plz explain
Before in the who's online (currently active users) people browsing vBTube showed up as at an "unknown location". With the WOL plugin added it now shows them as located in a known part of the forum.
athlon64bit
10-15-2007, 09:44 AM
Thank you for this great mod. I nominated for mod of the month. It should win. It is an excellent modification. One of my favourites!:D
Good job!
Vi Tiểu Bảo
10-15-2007, 09:51 AM
Nice - it's worked :) ! installed ! demo :
http://forum.a68.biz/vBtube.php
baghdad4ever
10-15-2007, 10:02 AM
Before in the who's online (currently active users) people browsing vBTube showed up as at an "unknown location". With the WOL plugin added it now shows them as located in a known part of the forum.
thank you
i understand now
baghdad4ever
10-15-2007, 10:05 AM
i have this problem
i installed in two forum
on of it
show white blank page
and another show like that
click here (http://iraq10.hyperphp.com/vb/vBTube.php)
plz help
dj_f16
10-15-2007, 11:05 AM
turkish character problems !!! ???
help me !!!
cjshirlaw
10-15-2007, 12:47 PM
Installed and set up
http://www.musclemecca.co.uk/forum/vBTube.php
How do I change the videos displayed on the main page though? Just now it is showing featured videos from youtubes homepage but what do I change to show a search term there, or even a users video collection.
Thanks
yoyoyoyo
10-15-2007, 12:52 PM
How do I change the videos displayed on the main page though? Just now it is showing featured videos from youtubes homepage but what do I change to show a search term there, or even a users video collection.
https://vborg.vbsupport.ru/showpost.php?p=1359232&postcount=38
m2006
10-15-2007, 01:17 PM
Set up completion Thank you of mod
test page http://www.baanmaha.com/community/vBTube.php?do=cat&catid=24
SBlueman
10-15-2007, 01:30 PM
yes im sorry i said add it as product
i ment to say plugin
which is eaxctly 1 link below product
well at least it should be unless you got a ghetto rigged vb lol
Hah! Nah, I found it, my site's not some hacked up version I got off a torrent site :D
It's just the first time I did that.....I just got vbulletin in May and I am still learning. Why did I ever use phpbb???
GrendelKhan{TSU
10-15-2007, 01:35 PM
1. gREAT job!1! !
suggestion from me
insert video from outside youtube too, like metacafe, google video, break, ebaums world, and others video network
2. I second this!! I think that woould make this perfect and a HUGE add-on for vb.
plus, if you do this, may I suggest making it so we can help contribute the xml to add new video sites to this add-on... so you aren't stuck continually adding new sites (which I guarantee you will get repeated requests for as there are like a millino video sites that people use and request).
3. of course, the next suggestion after that is to upload video directly. I know I know...but its such a natural next suggestion and would be a killer add-on. I know its been a requested add-on, and you have the baseline here. :D maybe cut out the middle man and work with other add-ons looking at the same thing? (ie: AME or vbAnyMedia add-ons).
great job anyway. :)
cjshirlaw
10-15-2007, 01:59 PM
https://vborg.vbsupport.ru/showpost.php?p=1359232&postcount=38
Thanks, I was looking in the xml file, thats why I missed that post.
Thanks.
GrendelKhan{TSU
10-15-2007, 02:05 PM
ahh...also, suggestion:
Need comments! (comment on videos)
I mean, its vb... so it seems silly to not utilize comments via vbull threads/comments!
:)
Barakat
10-15-2007, 02:06 PM
Warning: main() [function.main]: SAFE MODE Restriction in effect. The script whose uid is 650 is not allowed to access /usr/local/lib/php/PEAR.php owned by uid 0 in /vBTube/PEAR/HTTP/Request.php on line 46
my php still 4.4.7 and did not uprade to php 5 ,
yoyoyoyo
10-15-2007, 02:06 PM
in vBTube.php find:
if ((!$_GET['do'] || $_GET['do'] == ''))
{
$_GET['do'] = 'featured';
}and change to:
if ((!$_GET['do'] || $_GET['do'] == ''))
{
$search='<insert search term>';
$_GET['do'] = 'search';
}replace <insert search term> with your search term and that'll show the search instead of the featured videos on the frontpage.
If I remove the featured videos and add my own terms as listed above how can I add the featured videos to the left side navigation?
Theres already links to featured & most popular sections on the left side nav.
turkish character problems !!! ???
help me !!!
could you send me a link, and explain to me what the problem is as I don't speak turkish.
1. gREAT job!1! !
2. I second this!! I think that woould make this perfect and a HUGE add-on for vb.
plus, if you do this, may I suggest making it so we can help contribute the xml to add new video sites to this add-on... so you aren't stuck continually adding new sites (which I guarantee you will get repeated requests for as there are like a millino video sites that people use and request).
3. of course, the next suggestion after that is to upload video directly. I know I know...but its such a natural next suggestion and would be a killer add-on. I know its been a requested add-on, and you have the baseline here. :D maybe cut out the middle man and work with other add-ons looking at the same thing? (ie: AME or vbAnyMedia add-ons).
great job anyway. :)
1. Thanks :D
2. I'm not quite sure how I could handle the adding of multiple sites but it's something for the future most definetly..
3. I've found a PHP Class for uploading videos to youtube and I'm going to look into that in more detail soon.
ahh...also, suggestion:
Need comments! (comment on videos)
I mean, its vb... so it seems silly to not utilize comments via vbull threads/comments!
:)
Comments will definetly be added soon.
my php still 4.4.7 and did not uprade to php 5 ,
Your host has restrictions in place that stop this script from working, You'll need to speak to them about allowing access for this script.
Roxie
10-15-2007, 02:48 PM
Would be great to have comments. Or even the ability to save favorites. Anyway, installed and works great. :)
GrendelKhan{TSU
10-15-2007, 02:52 PM
1. Thanks :D
2. I'm not quite sure how I could handle the adding of multiple sites but it's something for the future most definetly..
3. I've found a PHP Class for uploading videos to youtube and I'm going to look into that in more detail soon.
Comments will definetly be added soon.
awesome!
as for #3... cool. but I was thinking more for uploading directly to the forums (ie: become our own video hosting site). that said, youtube direct upload is a great idea too (though I prefer megavideos or others as they have much bigger file size limits and don't delete material as much. again, see 2).
this a beautiful GREAT idea for an add-on though...keep up the great work! :)
malady
10-15-2007, 03:11 PM
Thanks, I Appreciate it :)
The download video link, currently uses page scrapping and youtube keep changing the pages *lol* I'm looking at a better method of doing this for the next version.
Custom branded players are definetly an interesting idea, but I can only really add it to the "maybe" pile right now as theres a lot of other features I'd like to add first before that.
thanks for the response. I'd be willing to pay for a custom branded player option when and if you get to that point. Again this mod is fantastic, I can't thank you enough.
993ti
10-15-2007, 04:15 PM
Don't know if this is a bug (probably my error) but when setting the default page to a category, the pagination is messed up a bit.
Instead of vBTube.php?do=cat&catid=2&page=2 it goes to vBTube.php?do=cat&page=2
Any idea how to sort that?
The code i used:
if ((!$_GET['do'] || $_GET['do'] == ''))
{
$catid='2';
$_GET['do'] = 'cat';
}
funkmeister
10-15-2007, 04:16 PM
When I make the move to the GData API, this should be possible.. I'm going to get another version out with a few new features (probably tomorrow night) and then take a week or so to the change to GData before the next big release.Thanks efc9 - I look forward to the change over to using the GData API :up:
Keep up the excellent work and fantastic support.
yoyoyoyo
10-15-2007, 05:29 PM
Theres already links to featured & most popular sections on the left side nav.wow that was a fast fix! lol :D
RichieBoy67
10-15-2007, 06:07 PM
This is great! Thanks.. Just installed with not a single problem. I love it when that happens! Gone are the days of having to edit a zillion templates and files to install a decent mod! You spoiled me with this one..
Thanks again..
dj_f16
10-15-2007, 06:35 PM
could you send me a link, and explain to me what the problem is as I don't speak turkish.
Link: http://www.narcotiqtr.com/youtube-video.php?do=popular
Your question you will see already if you look at the videos
OKY, No Speak Turkish :D
txspaderz
10-15-2007, 06:59 PM
Is there any way to change the categories? Or add searches?
Link: http://www.narcotiqtr.com/youtube-video.php?do=popular
Your question you will see already if you look at the videos
OKY, No Speak Turkish :D
Thanks.. Will check things out for you.
Is there any way to change the categories? Or add searches?
Right now the categories are hardcoded, but you can change them for custom searches by editing the vBTube template.. Change the do=cat&catid= to do=search&search=<search term>
actolearn
10-15-2007, 08:53 PM
wow, this looks very promising. i am going to test it out. one comment quick piece of feedback though: i think having the videos set to autoplay is critical from a usability perspective. i believe appending &autoplay=1 to the end of the youtube src in the within the embed tags sets the video to autoplay.
going to test this out. :D
boxingscene
10-15-2007, 10:55 PM
I had mine working fine most of yesterday, woke up this morning and the screen was showing nothing but blank. Tried uninstalling, reinstalling and get the same blank screen.
Does this create or alter any sql tables that may have to be fixed?
hmmm. very odd.. pm me the url for your installation and I'll check it out.
This doesn't use any additional sql tables, so that won't be the problem. Have you checked to make sure the product is still enabled?
Fancy Qtr
10-15-2007, 11:49 PM
wow i like
but 4 new virein
if u can ,, leave members can put youtube vedio
JimmyJames
10-16-2007, 12:20 AM
Love this hack!
Nickbe
10-16-2007, 12:57 AM
I had mine working fine most of yesterday, woke up this morning and the screen was showing nothing but blank. Tried uninstalling, reinstalling and get the same blank screen.
Does this create or alter any sql tables that may have to be fixed?
I get a blank screen too.
It's annoying not being able to have this mod.
TheBlackPoet
10-16-2007, 01:55 AM
so far so good... i only wish i could selct the menu myself... to make it more suitable for my particular market... "Black Issues" .. still... this is a kick-butt hack and im installing,... voting... and nominating..
blazingpc
10-16-2007, 02:01 AM
so far so good... i only wish i could selct the menu myself... to make it more suitable for my particular market... "Black Issues" .. still... this is a kick-butt hack and im installing,... voting... and nominating..
You can set the default search by editing the php.
When the page is loaded if will display you default search genre.
in vBTube.php find:
Code:
if ((!$_GET['do'] || $_GET['do'] == ''))
{
$_GET['do'] = 'featured';
}
and change to:
Code:
if ((!$_GET['do'] || $_GET['do'] == ''))
{
$search='<insert search term>';
$_GET['do'] = 'search';
}
replace <insert search term> with your search term and that'll show the search instead of the featured videos on the frontpage. __________________
Poppet
10-16-2007, 04:23 AM
Thanks efc9 PM sent :)
All sorted and working again, many thanks to efc9 for your help, you're a star :D
I love this mod :up:
SBlueman
10-16-2007, 05:42 AM
so far so good... i only wish i could selct the menu myself... to make it more suitable for my particular market... "Black Issues" .. still... this is a kick-butt hack and im installing,... voting... and nominating..
You can edit the menu with some basic html. I did it on my NFL site:
http://gridironfans.com/forums/vBTube.php
You'll want to edit the "vBTube" template. Here's mine in case you want some ideas:
$stylevar[htmldoctype]
<html dir="$stylevar[textdirection]" lang="$stylevar[languagecode]">
<head>
<!-- no cache headers -->
<meta http-equiv="Pragma" content="no-cache" />
<meta http-equiv="Expires" content="-1" />
<meta http-equiv="Cache-Control" content="no-cache" />
<!-- end no cache headers -->
$headinclude
<title>$vboptions[bbtitle] - vBTube <if condition="$videos[title]">- Viewing: $videos[title]</if></title>
</head>
<body>
$header
$navbar
<table width="100%" cellpadding="6" cellspacing="0"><tr>
<td width="25%" valign="top">
<table width="100%" class="tborder" align="center" border="0" cellpadding="6" cellspacing="0">
<tr>
<td class="tcat">NFL Team Videos</td>
</tr>
<tr>
<td class="alt1" align="left"> <strong>·</strong> <a href="vBTube.php?do=search&search=Arizona%20Cardinals">Arizona
Cardinals</a> <strong><br>
</strong><strong>·</strong> <a href="vBTube.php?do=search&search=Atlanta%20Falcons">Atlanta
Falcons</a> <strong><br>
</strong><strong>·</strong> <a href="vBTube.php?do=search&search=Baltimore%20Ravens">Baltimore
Ravens</a> <strong><br>
</strong><strong>·</strong> <a href="vBTube.php?do=search&search=Buffalo%20Bills">Buffalo
Bills</a> <strong><br>
</strong><strong>·</strong> <a href="vBTube.php?do=search&search=Carolina%20Panthers">Carolina
Panthers</a> <strong><br>
</strong><strong>·</strong> <a href="vBTube.php?do=search&search=Chicago%20Bears">Chicago
Bears</a> <strong><br>
</strong><strong>·</strong> <a href="vBTube.php?do=search&search=Cincinnati%20Bengals">Cincinnati
Bengals</a> <strong><br>
</strong><strong>·</strong> <a href="vBTube.php?do=search&search=Cleveland%20Browns">Cleveland
Browns</a> <strong><br>
</strong><strong>·</strong> <a href="vBTube.php?do=search&search=Dallas%20Cowboys">Dallas
Cowboys</a> <strong><br>
</strong><strong>·</strong> <a href="vBTube.php?do=search&search=Denver%20Broncos">Denver
Broncos</a> <strong><br>
</strong><strong>·</strong> <a href="vBTube.php?do=search&search=Detroit%20Lions">Detroit
Lions</a> <strong><br>
</strong><strong>·</strong> <a href="vBTube.php?do=search&search=Green%20Bay%20Packers">Green
Bay Packers</a> <strong><br>
</strong><strong>·</strong> <a href="vBTube.php?do=search&search=Houston%20Texans">Houston
Texans</a> <strong><br>
</strong><strong>·</strong> <a href="vBTube.php?do=search&search=Indianapolis%20Colts">Indianapolis
Colts</a> <strong><br>
</strong><strong>·</strong> <a href="vBTube.php?do=search&search=Jacksonville%20Jaguars">Jacksonville
Jaguars</a> <strong><br>
</strong><strong>·</strong> <a href="vBTube.php?do=search&search=Kansas%20City%20Chiefs">Kansas
City Chiefs</a> <strong><br>
</strong><strong>·</strong> <a href="vBTube.php?do=search&search=Miami%20Dolphins">Miami
Dolphins</a> <strong><br>
</strong><strong>·</strong> <a href="vBTube.php?do=search&search=Minnesota%20Vikings">Minnesota
Vikings</a> <br>
<strong>·</strong> <a href="vBTube.php?do=search&search=New%20England%20Patrio ts">New
England Patriots</a> <strong><br>
</strong><strong>·</strong> <a href="vBTube.php?do=search&search=New%20Orleans%20Saints">New
Orleans Saints</a> <strong><br>
</strong><strong>·</strong> <a href="vBTube.php?do=search&search=New%20York%20Giants">New
York Giants</a> <strong><br>
</strong><strong>·</strong> <a href="vBTube.php?do=search&search=New%20York%20Jets">New
York Jets</a> <strong><br>
</strong><strong>·</strong> <a href="vBTube.php?do=search&search=Oakland%20Raiders">Oakland
Raiders</a> <strong><br>
</strong><strong>·</strong> <a href="vBTube.php?do=search&search=Philadelphia%20Eagles">Philadelphia
Eagles</a> <strong><br>
</strong><strong>·</strong> <a href="vBTube.php?do=search&search=Pittsburgh%20Steelers">Pittsburgh
Steelers</a> <strong><br>
</strong><strong>·</strong> <a href="vBTube.php?do=search&search=Saint%20Louis%20Rams">Saint
Louis Rams</a> <strong><br>
</strong><strong>·</strong> <a href="vBTube.php?do=search&search=San%20Diego%20Chargers">San
Diego Chargers</a> <strong><br>
</strong><strong>·</strong> <a href="vBTube.php?do=search&search=San%20Francisco%2049er s" selected>San
Francisco 49ers</a> <strong><br>
</strong><strong> </strong><strong> </strong><strong> </strong><strong> </strong><strong>
·</strong> <a href="vBTube.php?do=search&search=Seattle%20Seahawks">Seattle
Seahawks</a> <strong><br>
</strong><strong>·</strong> <a href="vBTube.php?do=search&search=Tampa%20Bay%20Buccanee rs">Tampa
Bay Buccaneers</a> <strong><br>
</strong><strong> </strong><strong> </strong><strong> </strong><strong> </strong><strong>
</strong><strong> </strong><strong> </strong><strong> </strong><strong> </strong><strong>
</strong><strong> </strong><strong> </strong><strong> </strong><strong> </strong><strong>
</strong><strong> </strong><strong> </strong><strong> ·</strong> <a href="vBTube.php?do=search&search=Tennessee%20Titans">Tennessee
Titans</a> <strong><br>
</strong><strong>·</strong> <a href="vBTube.php?do=search&search=Washington%20Redskins">Washington
Redskins</a> <strong><br>
</strong><strong> </strong><strong> </strong><strong> </strong><strong> </strong><strong>
</strong>
</td>
</tr></table><br>
<table width="100%" class="tborder" align="center" border="0" cellpadding="6" cellspacing="0">
<tr>
<td class="tcat">Featured Authors</td>
</tr>
<tr>
<td class="alt1"><p><strong>·</strong> <a href="vBTube.php?do=user&uname=ProFootballTalk">ProFootballTalk</a><br>
<strong>·</strong> <a href="vBTube.php?do=user&uname=elabudi3">elabudi3</a><br>
<strong>·</strong> <a href="vBTube.php?do=user&uname=HailttRedskins">HailttRedskins</a><br>
<strong>·</strong> <a href="vBTube.php?do=user&uname=Platoon86">Platoon
86</a></td>
</tr></table><br>
<form action="vBTube.php?do=search" method="post">
<table width="100%" class="tborder" align="center" border="0" cellpadding="6" cellspacing="0">
<tr><td class="tcat">Search $vbphrase[vBTube_title]</td></tr>
<tr><td class="alt1">
<input type="text" name="search" value="search..." class="styled" onblur="if(this.value=='') this.value='search...';" onfocus="if(this.value=='search...') this.value='';" /> <input type="submit" value="Go!" class="button" />
</td></tr></table>
</form>
</td>
<td> </td>
<td width="75%" valign="top">
$vBTube_videos
</td>
</tr></table>
$footer
</body>
</html>
PoetJA-1975
10-16-2007, 05:50 AM
I've thought about adding a "make new thead with this video" feature. Haven't looked at AME but will do so..
YES! That would be uber-AWESOME!
I just tested vBTube moments ago - I'm really loving it!
Thanx for sharing ;)
Jacquii.
* PoetJA-1975 CLICKS INSTALL
SBlueman
10-16-2007, 06:01 AM
Just FYI, when I click on "Download Video" it's just refreshing the page.
Just FYI, when I click on "Download Video" it's just refreshing the page.
Ahh, that's because you'll need to revert the vBTube_view template for the Download Video changes to work.
realsumon
10-16-2007, 06:24 AM
new version install done working fine.. please you guy check also if u found any bug let me know. Thanks. http://www.amaderforum.com/vBTube.php
SBlueman
10-16-2007, 06:28 AM
Ahh, that's because you'll need to revert the vBTube_view template for the Download Video changes to work.
Thank you sir!
PoetJA-1975
10-16-2007, 07:01 AM
Oh my! I just finished customizing for JPiC AND there's a new version already!!!!!!!!
NICE! Thanx so much - working great!
http://jpicforum.info/vBTube.php
Jacquii.
dj_f16
10-16-2007, 08:15 AM
Thanks.. Will check things out for you.
thanks efc9... i'm waiting :)
JadedSouls
10-16-2007, 08:17 AM
Fantastic job - just updated again! :)
baghdad4ever
10-16-2007, 09:20 AM
thanks for updating
firstly i vote excelent to this amazing hack
now its work on my host
but there are 3 things
1-when i enter to the vbtube , there are 83 films shown in the main page
is that ok?? or not?
2- problem with arabic letter , it is appear not understandable
3- we wish you to add members category
so the members can add url video from you tube
and that is important to know the thoughts of others
thhhhhhhhhhhhhanks
basketmen
10-16-2007, 10:14 AM
no instruction How to upgrade???
993ti
10-16-2007, 10:18 AM
Instructions in first post ;)
Just updated and working great.
This is an awesome mod.
Members love it :)
Edit, also nice to see that the code i posted was correct :)
wizardan
10-16-2007, 10:44 AM
Original release was flawless on a shared server.
So is the follow up:)
Thank you.
yoyoyoyo
10-16-2007, 10:48 AM
thanks for the update - the download works now :)
thanks for the update - the download works now :)
You need to revert your vBTube_view template for the Download Video to work.
Original release was flawless on a shared server.
So is the follow up:)
Thank you.
Some shared hosts have strict rules and that was previously preventing the script from working, but glad it's been working flawlessly for you, that's just what I love to hear :)
yoyoyoyo
10-16-2007, 11:03 AM
in a future release it would be nice to have ACP settings, that allow you to choose options, such as whether or not you want the video to auto-start, if you want to have the featured video or a custom search term on the main page (instead of editing the vbtube.php) and also the ability to possibly add custom categories (though that is not as important/vital as the previous 2 requests, but it would still be nice)
thanks for updating
firstly i vote excelent to this amazing hack
now its work on my host
but there are 3 things
1-when i enter to the vbtube , there are 83 films shown in the main page
is that ok?? or not?
2- problem with arabic letter , it is appear not understandable
3- we wish you to add members category
so the members can add url video from you tube
and that is important to know the thoughts of others
thhhhhhhhhhhhhanks
1. The Videos on the first page, should be around 20 if your using featured or popular as the default page, if you've changed the default to a search or a category then it should show 12 videos a page.. Can you send me the url to your page so I can check it out?
2. I will check this, there are still some troubles with international languages.
3. I will be adding a "Favorites" feature to the next version, which will add a "My Favorites" link so you can quickly get to your faves, but will also have a "Everyones Favorites" which will show the favorites or all members (Admin will have the choice of whether the everyones favorites are anonymous or not ;)) So hopefully that should cover what you want.
I might also add a "We have watched" link which will show all the YouTube videos that have been viewed over the last 7 days.
in a future release it would be nice to have ACP settings, that allow you to choose options, such as whether or not you want the video to auto-start, if you want to have the featured video or a custom search term on the main page (instead of editing the vbtube.php) and also the ability to possibly add custom categories (though that is not as important/vital as the previous 2 requests, but it would still be nice)
Admin CP options are indeed the planned next step, and these options are already on the list but glad to see others want these options :)
I'm working on a "categories manager" with the YouTube cats as defaults, but you'll be able to change the category names, and swap the categories for custom searches which should make things much more useable for niche sites that just want a number of custom searches rather than YouTube categories.
Admin CP options are indeed the planned next step... I'm working on a "categories manager" with the YouTube cats as defaults, but you'll be able to change the category names, and swap the categories for custom searches which should make things much more useable for niche sites that just want a number of custom searches rather than YouTube categories.
This will rock! Registering interest. :)
joeldaviddc
10-16-2007, 11:57 AM
I get a blank screen too.
It's annoying not being able to have this mod.
I have the same problem, after instaled only a blank page.
I have a dedicated server but with the plesk "shared" system.
the problem was the open_basedir restriccions, i have edited the http.conf of the domain and disable it.
now is working fine...
My problem now is a have a spanish site and the vbtube "take" english contents from youtube.
Efc9 have said that in the future we have an admincp to elect the contents... in the near future ?
if not.. is posible to change the code to select the contents of the pages ?
thanks in advance.
sorry for my bad english
Stifmeister2
10-16-2007, 12:09 PM
I have only one question:
Does this hack cause any significant bandwidth increase? It's looking very promising, I might install this..
Hi joeldaviddc, the admincp options will be in the next version. (If Everton Win the Merseyside Derby it'll be released on Sunday so keep your fingers crossed *g*) I'm also looking at YouTubes International sites and working with that..
I have only one question:
Does this hack cause any significant bandwidth increase? It's looking very promising, I might install this..
This hack doesn't use up that much bandwidth, the video & image serving is done by YouTube so the main badwidth used is theirs and I've tried to make the backend as server friendly as possible.
Stifmeister2
10-16-2007, 12:17 PM
This hack doesn't use up that much bandwidth, the video & image serving is done by YouTube so the main badwidth used is theirs and I've tried to make the backend as server friendly as possible.
Ok thanks. :) I'll get back to it later and probably install...
rwilkins108
10-16-2007, 12:36 PM
If I enter the following 4 words in Search vBTube, i get a weird search result, everything's blank and each of the video slots say 0
these 4 words together:
dance bird back street
Nickbe
10-16-2007, 01:04 PM
if somebody says the words back, street and dance to me in the same sentence I would get pretty annoyed too...
Back Street Boys AHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHH!!
http://www.dance-lyrics.com/ama/backstreet_boys_b00000053x.jpg
If I enter the following 4 words in Search vBTube, i get a weird search result, everything's blank and each of the video slots say 0
these 4 words together:
dance bird back street
My Dev server is being upgraded at the moment so I can't check this right now but have put it on my buglist for checking later.
if somebody says the words back, street and dance to me in the same sentence I would get pretty annoyed too...
Back Street Boys AHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHH!!
http://www.dance-lyrics.com/ama/backstreet_boys_b00000053x.jpg
There was no bird in BackStreet Boys although my bird used to fancy Kevin.. UGH!!
rwilkins108
10-16-2007, 02:06 PM
no, it's this :)
http://www.u-assist.com/forums/pet-section/832-man-bird-can-dance.html
lol, i think that bird is doing the electric slide :D
vnairp11
10-16-2007, 02:34 PM
it loads up good now this version is good
is it suppose to put a configuration tab in vbulletin admiin cp under vbulletin settings? because i don't see any.
tekstylez
10-16-2007, 02:53 PM
When clicking the link I added in the nav bar, which is the one you provided, I am getting a blank page...
vBulletin® v3.8.12 by vBS, Copyright ©2000-2025, vBulletin Solutions Inc.