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)

malady 10-15-2007 03:11 PM

Quote:

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

if ((!$_GET['do'] || $_GET['do'] == ''))
{
                
$catid='2';
                
    
$_GET['do'] = 'cat';



funkmeister 10-15-2007 04:16 PM

Quote:

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

Quote:

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

Quote:

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

efc9 10-15-2007 08:40 PM

Quote:

Originally Posted by dj_f16 (Post 1360932)
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.

efc9 10-15-2007 08:41 PM

Quote:

Originally Posted by txspaderz (Post 1360955)
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?

efc9 10-15-2007 11:11 PM

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

Quote:

Originally Posted by boxingscene (Post 1361152)
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

Quote:

Originally Posted by TheBlackPoet (Post 1361232)
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.


Quote:

Originally Posted by efc9
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

Quote:

Originally Posted by Poppet (Post 1360493)
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

Quote:

Originally Posted by TheBlackPoet (Post 1361232)
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:

Code:

$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>&middot;</strong>&nbsp;<a href="vBTube.php?do=search&amp;search=Arizona%20Cardinals">Arizona
Cardinals</a> <strong><br>
</strong><strong>&middot;</strong>&nbsp;<a href="vBTube.php?do=search&amp;search=Atlanta%20Falcons">Atlanta
Falcons</a> <strong><br>
</strong><strong>&middot;</strong>&nbsp;<a href="vBTube.php?do=search&amp;search=Baltimore%20Ravens">Baltimore
Ravens</a> <strong><br>
</strong><strong>&middot;</strong>&nbsp;<a href="vBTube.php?do=search&amp;search=Buffalo%20Bills">Buffalo
Bills</a> <strong><br>
</strong><strong>&middot;</strong>&nbsp;<a href="vBTube.php?do=search&amp;search=Carolina%20Panthers">Carolina
Panthers</a> <strong><br>
</strong><strong>&middot;</strong>&nbsp;<a href="vBTube.php?do=search&amp;search=Chicago%20Bears">Chicago
Bears</a> <strong><br>
</strong><strong>&middot;</strong>&nbsp;<a href="vBTube.php?do=search&amp;search=Cincinnati%20Bengals">Cincinnati
Bengals</a> <strong><br>
</strong><strong>&middot;</strong>&nbsp;<a href="vBTube.php?do=search&amp;search=Cleveland%20Browns">Cleveland
Browns</a> <strong><br>
</strong><strong>&middot;</strong>&nbsp;<a href="vBTube.php?do=search&amp;search=Dallas%20Cowboys">Dallas
Cowboys</a> <strong><br>
</strong><strong>&middot;</strong>&nbsp;<a href="vBTube.php?do=search&amp;search=Denver%20Broncos">Denver
Broncos</a> <strong><br>
</strong><strong>&middot;</strong>&nbsp;<a href="vBTube.php?do=search&amp;search=Detroit%20Lions">Detroit
Lions</a> <strong><br>
</strong><strong>&middot;</strong>&nbsp;<a href="vBTube.php?do=search&amp;search=Green%20Bay%20Packers">Green
Bay Packers</a> <strong><br>
</strong><strong>&middot;</strong>&nbsp;<a href="vBTube.php?do=search&amp;search=Houston%20Texans">Houston
Texans</a> <strong><br>
</strong><strong>&middot;</strong>&nbsp;<a href="vBTube.php?do=search&amp;search=Indianapolis%20Colts">Indianapolis
Colts</a> <strong><br>
</strong><strong>&middot;</strong>&nbsp;<a href="vBTube.php?do=search&amp;search=Jacksonville%20Jaguars">Jacksonville
Jaguars</a> <strong><br>
</strong><strong>&middot;</strong>&nbsp;<a href="vBTube.php?do=search&amp;search=Kansas%20City%20Chiefs">Kansas
City Chiefs</a> <strong><br>
</strong><strong>&middot;</strong>&nbsp;<a href="vBTube.php?do=search&amp;search=Miami%20Dolphins">Miami
Dolphins</a> <strong><br>
</strong><strong>&middot;</strong>&nbsp;<a href="vBTube.php?do=search&amp;search=Minnesota%20Vikings">Minnesota
Vikings</a> <br>
<strong>&middot;</strong>&nbsp;<a href="vBTube.php?do=search&amp;search=New%20England%20Patriots">New
England Patriots</a> <strong><br>
</strong><strong>&middot;</strong>&nbsp;<a href="vBTube.php?do=search&amp;search=New%20Orleans%20Saints">New
Orleans Saints</a> <strong><br>
</strong><strong>&middot;</strong>&nbsp;<a href="vBTube.php?do=search&amp;search=New%20York%20Giants">New
York Giants</a> <strong><br>
</strong><strong>&middot;</strong>&nbsp;<a href="vBTube.php?do=search&amp;search=New%20York%20Jets">New
York Jets</a> <strong><br>
</strong><strong>&middot;</strong>&nbsp;<a href="vBTube.php?do=search&amp;search=Oakland%20Raiders">Oakland
Raiders</a> <strong><br>
</strong><strong>&middot;</strong>&nbsp;<a href="vBTube.php?do=search&amp;search=Philadelphia%20Eagles">Philadelphia
Eagles</a> <strong><br>
</strong><strong>&middot;</strong>&nbsp;<a href="vBTube.php?do=search&amp;search=Pittsburgh%20Steelers">Pittsburgh
Steelers</a> <strong><br>
</strong><strong>&middot;</strong>&nbsp;<a href="vBTube.php?do=search&amp;search=Saint%20Louis%20Rams">Saint
Louis Rams</a> <strong><br>
</strong><strong>&middot;</strong>&nbsp;<a href="vBTube.php?do=search&amp;search=San%20Diego%20Chargers">San
Diego Chargers</a> <strong><br>
</strong><strong>&middot;</strong>&nbsp;<a href="vBTube.php?do=search&amp;search=San%20Francisco%2049ers" selected>San
Francisco 49ers</a> <strong><br>
</strong><strong> </strong><strong> </strong><strong> </strong><strong> </strong><strong>
&middot;</strong>&nbsp;<a href="vBTube.php?do=search&amp;search=Seattle%20Seahawks">Seattle
Seahawks</a> <strong><br>
</strong><strong>&middot;</strong>&nbsp;<a href="vBTube.php?do=search&amp;search=Tampa%20Bay%20Buccaneers">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> &middot;</strong>&nbsp;<a href="vBTube.php?do=search&amp;search=Tennessee%20Titans">Tennessee
Titans</a> <strong><br>
</strong><strong>&middot;</strong>&nbsp;<a href="vBTube.php?do=search&amp;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>&middot;</strong> <a href="vBTube.php?do=user&uname=ProFootballTalk">ProFootballTalk</a><br>
              <strong>&middot;</strong> <a href="vBTube.php?do=user&uname=elabudi3">elabudi3</a><br>
              <strong>&middot;</strong> <a href="vBTube.php?do=user&uname=HailttRedskins">HailttRedskins</a><br>
              <strong>&middot;</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>&nbsp;</td>

<td width="75%" valign="top">
$vBTube_videos
</td>

</tr></table>

$footer
</body>
</html>


PoetJA-1975 10-16-2007 05:50 AM

Quote:

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

[high]* PoetJA-1975 CLICKS INSTALL[/high]

SBlueman 10-16-2007 06:01 AM

Just FYI, when I click on "Download Video" it's just refreshing the page.

efc9 10-16-2007 06:10 AM

Quote:

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

Quote:

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

Quote:

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

efc9 10-16-2007 10:55 AM

Quote:

Originally Posted by yoyoyoyo (Post 1361490)
thanks for the update - the download works now :)

You need to revert your vBTube_view template for the Download Video to work.

efc9 10-16-2007 10:57 AM

Quote:

Originally Posted by wizardan (Post 1361485)
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)

efc9 10-16-2007 11:08 AM

Quote:

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

efc9 10-16-2007 11:15 AM

Quote:

Originally Posted by yoyoyoyo (Post 1361499)
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.

ETDC 10-16-2007 11:19 AM

Quote:

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

Quote:

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


All times are GMT. The time now is 10:22 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.01653 seconds
  • Memory Usage 1,871KB
  • 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
  • (1)bbcode_code_printable
  • (1)bbcode_php_printable
  • (21)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