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 11:03 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.

Nickbe 10-14-2007 11:30 PM

Quote:

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

Quote:

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

Quote:

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

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.

efc9 10-15-2007 01:14 AM

Did you also upload the vBTube.php file?

blazingpc 10-15-2007 01:19 AM

Quote:

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

efc9 10-15-2007 01:24 AM

Quote:

Originally Posted by MiahBeSmokin420 (Post 1360272)
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

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

<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();document.vidForm.video_link.select();" size="80" readonly="true">
<br><br>

and add above it:
Code:

<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();document.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..

efc9 10-15-2007 01:27 AM

Quote:

Originally Posted by blazingpc (Post 1360278)
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.

efc9 10-15-2007 01:29 AM

Quote:

Originally Posted by Coach_Guru (Post 1360280)
Any system to add video title to page title?

Thanks.

in vBTube template. change the title tag to:
Code:

<title>$vboptions[bbtitle] - vBTube <if condition="$videos[title]">- Viewing: $videos[title]</if></title>
(Don't forget to click Install *g*)

efc9 10-15-2007 01:30 AM

Quote:

Originally Posted by FRANKTHETANK 2 (Post 1360264)
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

Quote:

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

<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();document.vidForm.video_link.select();" size="80" readonly="true">
<br><br>

and add above it:
Code:

<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();document.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

Quote:

Originally Posted by efc9 (Post 1360282)

in the vBTube_view template find:
Code:

<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();document.vidForm.video_link.select();" size="80" readonly="true">
<br><br>

and add above it:
Code:

<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();document.vidForm.embed_link.select();" size="80" readonly="true">
<br><br>


Quote:

Originally Posted by efc9 (Post 1360288)
in vBTube template. change the title tag to:
Code:

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

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

efc9 10-15-2007 02:09 AM

Quote:

Originally Posted by yoyoyoyo (Post 1360310)
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?!

efc9 10-15-2007 02:12 AM

Quote:

Originally Posted by ammoskumar (Post 1360311)
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.

efc9 10-15-2007 02:13 AM

Quote:

Originally Posted by MiahBeSmokin420 (Post 1360303)
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

Quote:

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

Quote:

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

Quote:

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

Quote:

Originally Posted by blazingpc (Post 1360003)
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?searc...&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..

TTG 10-15-2007 03:55 AM

Great addition .. downloaded, installed and worked straight out of the box .. thanks efc9


efc9 10-15-2007 04:08 AM

Quote:

Originally Posted by funkmeister (Post 1360369)
And how do you sort them by "Date Added"? In other words, how YouTube parses results with:

http://www.youtube.com/results?searc...&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.

Quote:

Originally Posted by BecomeUnbroken (Post 1360375)
I would like to request a video commenting feature..

Coming Soon to a vBTube near you ;)

Quote:

Originally Posted by TTG (Post 1360392)
Great addition .. downloaded, installed and worked straight out of the box .. thanks efc9


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

Quote:

Originally Posted by MiahBeSmokin420 (Post 1360303)
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:

Quote:

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.

efc9 10-15-2007 05:37 AM

Quote:

Originally Posted by SBlueman (Post 1360418)
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.

efc9 10-15-2007 05:39 AM

Quote:

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

Quote:

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

efc9 10-15-2007 05:40 AM

Quote:

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

efc9 10-15-2007 05:44 AM

Quote:

Originally Posted by Poppet (Post 1360364)
I've just integrated the forum with the CMPS and now I'm getting these errors :(

You could try removing:
Code:

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

Quote:

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

efc9 10-15-2007 05:46 AM

Quote:

Originally Posted by malady (Post 1360409)
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.


All times are GMT. The time now is 09:15 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.01512 seconds
  • Memory Usage 1,864KB
  • Queries Executed 10 (?)
More Information
Template Usage:
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (9)bbcode_code_printable
  • (31)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