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-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?!


All times are GMT. The time now is 04:16 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.01357 seconds
  • Memory Usage 1,755KB
  • 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
  • (8)bbcode_code_printable
  • (9)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)pagenav_pagelink
  • (2)pagenav_pagelinkrel
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (10)printthreadbit
  • (1)spacer_close
  • (1)spacer_open 

Phrase Groups Available:
  • global
  • postbit
  • showthread
Included Files:
  • ./printthread.php
  • ./global.php
  • ./includes/init.php
  • ./includes/class_core.php
  • ./includes/config.php
  • ./includes/functions.php
  • ./includes/class_hook.php
  • ./includes/modsystem_functions.php
  • ./includes/class_bbcode_alt.php
  • ./includes/class_bbcode.php
  • ./includes/functions_bigthree.php 

Hooks Called:
  • init_startup
  • init_startup_session_setup_start
  • init_startup_session_setup_complete
  • cache_permissions
  • fetch_threadinfo_query
  • fetch_threadinfo
  • fetch_foruminfo
  • style_fetch
  • cache_templates
  • global_start
  • parse_templates
  • global_setup_complete
  • printthread_start
  • pagenav_page
  • pagenav_complete
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete