Go Back   vb.org Archive > vBulletin Modifications > Archive > Modification Graveyard

Reply
 
Thread Tools
vBTube Details »»
vBTube
Version: 1.2.6, by efc9 efc9 is offline
Developer Last Online: Aug 2010 Show Printable Version Email this Page

Category: Major Additions - Version: 3.6.8 Rating:
Released: 10-12-2007 Last Update: 10-20-2007 Installs: 144
 
No support by the author.

Removed..

Show Your Support

  • This modification may not be copied, reproduced or published elsewhere without author's permission.

Comments
  #312  
Old 10-17-2007, 03:08 PM
TheBlackPoet's Avatar
TheBlackPoet TheBlackPoet is offline
 
Join Date: May 2006
Location: Pasadena, Texas, USA
Posts: 577
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by efc9 View Post
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.
damn!! thanks.... i was wondering about this... much appreciated
Reply With Quote
  #313  
Old 10-17-2007, 03:19 PM
jasculs jasculs is offline
 
Join Date: Jun 2007
Posts: 217
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Is there anyway to have the vBTube.php file be only accessible to certain usergroups...How would I modify the file to do so. Thanks
Reply With Quote
  #314  
Old 10-17-2007, 03:41 PM
lasto lasto is offline
 
Join Date: Jan 2002
Posts: 1,514
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

this is deffo gonna win HOTM - well done m8
Reply With Quote
  #315  
Old 10-17-2007, 03:51 PM
jasculs jasculs is offline
 
Join Date: Jun 2007
Posts: 217
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Also does anyone know how I can make a direct link to a playlist?
Reply With Quote
  #316  
Old 10-17-2007, 04:07 PM
efc9 efc9 is offline
 
Join Date: Jun 2006
Location: Ashton-Under-Lyne
Posts: 125
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by jasculs View Post
Is there anyway to have the vBTube.php file be only accessible to certain usergroups...How would I modify the file to do so. Thanks
Usergroup permissions will be a part of the next version, for now you can edit the vBTube.php file and add:

find:
Code:
require_once('./global.php');
add after:
Code:
if (is_member_of($vbulletin->userinfo, X, Y, Z))
{
	print_no_permission();
}
Replace the X,Y,Z with the usergroupids you don't wish to have access.
Reply With Quote
  #317  
Old 10-17-2007, 04:08 PM
efc9 efc9 is offline
 
Join Date: Jun 2006
Location: Ashton-Under-Lyne
Posts: 125
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by lasto View Post
this is deffo gonna win HOTM - well done m8
Thanks Here's hoping.. Would be really cool to get MOTM and give me that push to keep developing the script to greater heights
Reply With Quote
  #318  
Old 10-17-2007, 04:09 PM
efc9 efc9 is offline
 
Join Date: Jun 2006
Location: Ashton-Under-Lyne
Posts: 125
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by jasculs View Post
Also does anyone know how I can make a direct link to a playlist?
Create a link to:
Code:
vBTube.php?do=playlist&pid=<insert playlistid>
Reply With Quote
  #319  
Old 10-17-2007, 04:17 PM
basketmen's Avatar
basketmen basketmen is offline
 
Join Date: Nov 2006
Posts: 446
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Tulsa View Post
For today anyway, as I have no idea how often google may change it, but change the IP address in vBTube_view template to 74.125.12.25. It worked this morning but the IP provided in the template worked yesterday and not today.
hi tulsa how do you found that ip address of youtube?


i try here http://www.domainwhitepages.com/ to search youtube ip address but i cant find 74.125.12.25, how do you find it??
Reply With Quote
  #320  
Old 10-17-2007, 04:22 PM
Tulsa Tulsa is offline
 
Join Date: Jul 2005
Location: Broken Arrow, Oklahoma
Posts: 475
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

It's a highly technical question but I'll try and answer it...

I went to youtube, loaded up a video and saw at the bottom left side of my browser FF2.x it say "loading from xx.xx.xx.xx" and tried it out..


Okay, maybe not so technical..
Reply With Quote
  #321  
Old 10-17-2007, 04:24 PM
MR.BOSS MR.BOSS is offline
 
Join Date: Sep 2007
Posts: 131
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

hey efc9, u made a great hack.

after uploading everything. and after adding links to navbar, i just get a white black page. any hint.

please help
Reply With Quote
Reply

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT. The time now is 12:45 AM.


Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2024, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.05075 seconds
  • Memory Usage 2,304KB
  • Queries Executed 25 (?)
More Information
Template Usage:
  • (1)SHOWTHREAD
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (1)ad_showthread_beforeqr
  • (5)bbcode_code
  • (5)bbcode_quote
  • (1)footer
  • (1)forumjump
  • (1)forumrules
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (1)modsystem_post
  • (1)navbar
  • (4)navbar_link
  • (120)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)pagenav_pagelink
  • (2)pagenav_pagelinkrel
  • (11)post_thanks_box
  • (11)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (11)post_thanks_postbit_info
  • (10)postbit
  • (11)postbit_onlinestatus
  • (11)postbit_wrapper
  • (1)spacer_close
  • (1)spacer_open
  • (1)tagbit_wrapper 

Phrase Groups Available:
  • global
  • inlinemod
  • postbit
  • posting
  • reputationlevel
  • showthread
Included Files:
  • ./showthread.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/functions_bigthree.php
  • ./includes/class_postbit.php
  • ./includes/class_bbcode.php
  • ./includes/functions_reputation.php
  • ./includes/functions_post_thanks.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
  • showthread_start
  • showthread_getinfo
  • forumjump
  • showthread_post_start
  • showthread_query_postids
  • showthread_query
  • bbcode_fetch_tags
  • bbcode_create
  • showthread_postbit_create
  • postbit_factory
  • postbit_display_start
  • post_thanks_function_post_thanks_off_start
  • post_thanks_function_post_thanks_off_end
  • post_thanks_function_fetch_thanks_start
  • post_thanks_function_fetch_thanks_end
  • post_thanks_function_thanked_already_start
  • post_thanks_function_thanked_already_end
  • fetch_musername
  • postbit_imicons
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • postbit_display_complete
  • post_thanks_function_can_thank_this_post_start
  • pagenav_page
  • pagenav_complete
  • tag_fetchbit_complete
  • forumrules
  • navbits
  • navbits_complete
  • showthread_complete