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)

efc9 10-14-2007 01:00 PM

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

Quote:

Originally Posted by efc9 (Post 1359697)
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

efc9 10-14-2007 01:50 PM

Quote:

Originally Posted by daz1967 (Post 1359705)
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...ad.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

Quote:

Originally Posted by lasto (Post 1359739)
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

efc9 10-14-2007 02:30 PM

Quote:

Originally Posted by blue6995 (Post 1359738)
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...ad.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.

efc9 10-14-2007 02:31 PM

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

Quote:

Originally Posted by LPH2004 (Post 1359532)
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';

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
Quote:

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

efc9 10-14-2007 04:52 PM

Quote:

Originally Posted by baghdad4ever (Post 1359858)
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

efc9 10-14-2007 05:24 PM

Quote:

Originally Posted by bazzup (Post 1359866)
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.

efc9 10-14-2007 05:25 PM

Quote:

Originally Posted by blazingpc (Post 1359872)
*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

Quote:

Originally Posted by efc9 (Post 1359860)
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

Quote:

Originally Posted by Nickbe (Post 1359899)
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

Quote:

Originally Posted by mescalin (Post 1359701)
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

Quote:

Originally Posted by Nickbe (Post 1359910)
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!

efc9 10-14-2007 07:38 PM

Quote:

Originally Posted by Nickbe (Post 1359915)
I am gettign blank screen issue too, any ideas?

Have you imported the product file too?

efc9 10-14-2007 07:38 PM

Quote:

Originally Posted by edenx (Post 1359924)
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

Quote:

Originally Posted by blazingpc (Post 1359872)
*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

Quote:

Originally Posted by SBlueman (Post 1359998)
How did you set the default search?


Post#38 Explains it.


Quote:

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

Quote:

Originally Posted by basketmen (Post 1360001)
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
Code:

if ((!$_GET['do'] || $_GET['do'] == ''))
{
        $_GET['do'] = 'featured';
}

With
Code:

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...


All times are GMT. The time now is 04:39 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.01910 seconds
  • Memory Usage 1,832KB
  • 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
  • (4)bbcode_code_printable
  • (19)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)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