Go Back   vb.org Archive > vBulletin Modifications > Archive > vB.org Archives > vBulletin 3.6 > vBulletin 3.6 Add-ons
FAQ Community Calendar Today's Posts Search

Reply
 
Thread Tools
YouTube API Integration (lite) Details »»
YouTube API Integration (lite)
Version: 1.11, by Andrew Green Andrew Green is offline
Developer Last Online: Apr 2010 Show Printable Version Email this Page

Category: Major Additions - Version: 3.6.8 Rating:
Released: 02-09-2008 Last Update: 04-13-2008 Installs: 59
DB Changes Uses Plugins Template Edits
Additional Files  
No support by the author.

Note: Requires PHP 5 to run

This is a youtube integration modification. It integrates the youtube API into your website, allowing you to view, search and browse youtube's library from your site. It also includes a playlist system, allowing you and your users to create both public and private playlists. Private playlists can be edited and viewed only by their owners. Public lists are viewable by all, you can choose which user group can edit the public lists, and which can suggest videos, which are then approved or denied by the moderating group.

What this is not is a video hosting application, it works only off youTube's API, which is read only. You cannot upload video's, rate videos or otherwise post information too youtube.

In addition it creates a custom BBCode "[youtube]videoid[/youtube]" unless it already exists. At bottom of each video there will be the BBCode as with the video id plugged in for users to copy and paste into threads.

Live Demo: http://vbgaming.org/forum/yt.php

It is a "lite" version, but it's missing very little, just the ability for users to suggest videos for public lists without giving them full editing ability on them.


v 1.1 - Feb 17
- Some minor bug fixes
- Now includes "Related Videos"
- Now cache's XML files on playlists, greatly speeding up loading those pages

v 1.11 - Apr 1
- Some bug fixes related to playlists

April 7
- Minor fix preventing videos from being added properly fixed

Show Your Support

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

Comments
  #12  
Old 02-10-2008, 03:20 PM
projectego's Avatar
projectego projectego is offline
 
Join Date: Feb 2006
Location: UK
Posts: 724
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

[high]* projectego clicks install [/high]
Reply With Quote
  #13  
Old 02-10-2008, 08:17 PM
iogames's Avatar
iogames iogames is offline
 
Join Date: Jan 2007
Location: Las Vegas, NV.
Posts: 1,433
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Great work as always!
Reply With Quote
  #14  
Old 02-11-2008, 01:40 AM
Roflstilzchen Roflstilzchen is offline
 
Join Date: Nov 2006
Posts: 31
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

great addon, works excellent :up:
Reply With Quote
  #15  
Old 02-11-2008, 06:13 PM
jdelasko's Avatar
jdelasko jdelasko is offline
 
Join Date: Jan 2007
Posts: 159
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Installed and working, except the youtube BBcode doesn't seem to have been installed.

Edit: Nevermind.........added my own code
Reply With Quote
  #16  
Old 02-11-2008, 08:13 PM
Sandy-XXX Sandy-XXX is offline
 
Join Date: Jun 2006
Posts: 39
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Its nice but i dont have PHP 5
Reply With Quote
  #17  
Old 02-12-2008, 11:37 AM
BadgerDog BadgerDog is offline
 
Join Date: Oct 2006
Location: Toronto
Posts: 1,789
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Thanks ...

Installed for private testing before releasing to membership... :up:

Question: How do you restrict access to this page, so usergroups lile "guests" can't use it?

I see how the two options work under Usergroups, but now how access is controlled?

Thanks... nice work....

Regards,
Badger
Reply With Quote
  #18  
Old 02-12-2008, 12:45 PM
Andrew Green's Avatar
Andrew Green Andrew Green is offline
 
Join Date: Nov 2005
Location: Winnipeg, MB
Posts: 996
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Access isn't really controlled, however if the goal is to stop guests you can do this for now:

On Line 40 is this:
Code:
$userid = $vbulletin->userinfo['userid'];
and below it add:
Code:
if(! $userid) print_no_permissions();
I'll add a "Can view" permission setting to both versions in the next little while.
Reply With Quote
  #19  
Old 02-12-2008, 01:17 PM
Mecho's Avatar
Mecho Mecho is offline
 
Join Date: Aug 2006
Posts: 648
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

sorry i dont get one thing :

we should/can add videos manually ?
or
we just set some keywords and it will show all the videos that were using that keywords ?
or
both ?

thanks
Reply With Quote
  #20  
Old 02-12-2008, 01:26 PM
Andrew Green's Avatar
Andrew Green Andrew Green is offline
 
Join Date: Nov 2005
Location: Winnipeg, MB
Posts: 996
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

You can browse the standard feeds. "Most popular", "most viewed", etc.

You can browse by category.

And you can search, also by category.

You can't upload videos, it pulls everything straight from youtube, so anything that is there that allows embedding should be available to your site. The browsing / searching functions will work pretty much the same as on youtube.com, it uses their search engine.
Reply With Quote
  #21  
Old 02-12-2008, 01:39 PM
GuaRRand GuaRRand is offline
 
Join Date: Oct 2005
Posts: 337
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

omg m8, this owns!
Casino and This are my two favorite addons/products!
Reply With Quote
Reply


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 04:10 PM.


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.05015 seconds
  • Memory Usage 2,306KB
  • 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
  • (2)bbcode_code
  • (1)footer
  • (1)forumjump
  • (1)forumrules
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (1)modsystem_post
  • (1)navbar
  • (6)navbar_link
  • (120)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (3)pagenav_pagelink
  • (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