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

Reply
 
Thread Tools
vBTube 1.2.9 (CSRF protection added) Details »»
vBTube 1.2.9 (CSRF protection added)
Version: 1.2.9, by Playa82 Playa82 is offline
Developer Last Online: Apr 2011 Show Printable Version Email this Page

Category: Add-On Releases - Version: 3.7.x Rating:
Released: 03-14-2008 Last Update: 05-23-2008 Installs: 209
Uses Plugins
 
No support by the author.

Do your visitors like searching for and sharing YouTube Videos with each other? Well now they can do it from your site. This Mod incorporates youtube into your site so you can view all the videos via category or the features & most popular videos. Users can also search the videos, meaning an unlimited amount of content for your site.

You can also post youtube links in your threads.

All searching & viewing is done on your site so your members never leave and you can add your own adverts or whatever to the displays to maximize revenue.

U CAN'T ADD VIDEOS WITH THIS HACK !!!



Live Demo here:

http://crackmuzik-gfx-elite.de/vBTube.php

Installation Instructions:

1. Upload the contents of the upload folder to your forum root directory.

2. Import product-vBTube in your admincp using the product manager.

3. In your style manager, find your navbar template and;

FIND:
Code:
<td class="vbmenu_control"><a href="calendar.php$session[sessionurl_q]">$vbphrase[calendar]</a></td>
Below that line add:
Code:
<td class="vbmenu_control"><a href="vBTube.php$session[sessionurl_q]">$vbphrase[vBTube_title]</a></td>

To add your own categories read this post:

https://vborg.vbsupport.ru/showpost....0&postcount=34

------------------------------------------------------------------------------------------------------
This is not the same like vBTubePRO - Lite Version 1.0.4 !!!

It's also not compatible with vBTubePRO - Lite Version 1.0.4 !!!

------------------------------------------------------------------------------------------------------

Supporters / CoAuthors

Show Your Support

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

Comments
  #112  
Old 03-22-2008, 08:11 PM
bigtime bigtime is offline
 
Join Date: Jun 2002
Location: Houston, Texas
Posts: 171
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Hi,

Here are some other security issues I think should be corrected:


On line 13 of cat.php, change:

PHP Code:
$pages $_GET[page]; 
To:

PHP Code:
$pages intval($_GET['page']); 

Same change to playlist.php on line 13, user.php on line 49.

On line 43 of vBTube.php, find this:

PHP Code:
if (!$_GET[page]) { $pages 1; }
else { 
$pages $_GET[page]; }
$pages intval($_GET['page']); 
Change it to this:

PHP Code:
if (!$_GET[page]) { $pages 1; }
else { 
$pages intval($_GET['page']); } 
Hope I caught them all.


BTW, Playa82, thanks again for the great addon! Don't let anyone's rude comments discourage you!

Tim
Reply With Quote
  #113  
Old 03-22-2008, 11:26 PM
DoB Rhapsody DoB Rhapsody is offline
 
Join Date: Jul 2007
Posts: 148
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Question!

How do i change the default videos that are displayed when someone goes to "vBTube.php"? I want to display gaming related content. I don't just want to link to a search result though. I also don't mind if it displays "results: xxx xxx" in the video area, as long as it's not a dynamic link.
Reply With Quote
  #114  
Old 03-23-2008, 04:06 AM
bigtime bigtime is offline
 
Join Date: Jun 2002
Location: Houston, Texas
Posts: 171
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by DoB Rhapsody View Post
Question!

How do i change the default videos that are displayed when someone goes to "vBTube.php"? I want to display gaming related content. I don't just want to link to a search result though. I also don't mind if it displays "results: xxx xxx" in the video area, as long as it's not a dynamic link.
Is there an existing gaming category at youtube? If not, the only way I know to do it would be the edit I posted earlier in this thread.

Tim
Reply With Quote
  #115  
Old 03-23-2008, 05:34 AM
DoB Rhapsody DoB Rhapsody is offline
 
Join Date: Jul 2007
Posts: 148
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by bigtime View Post
Is there an existing gaming category at youtube? If not, the only way I know to do it would be the edit I posted earlier in this thread.

Tim

Found it, thanks for that. One thing still bugs me though, why are all the videos in the categories foreign!!
Reply With Quote
  #116  
Old 03-23-2008, 11:25 AM
Playa82 Playa82 is offline
 
Join Date: Mar 2006
Location: Germany
Posts: 319
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by bigtime View Post
Hi,

Here are some other security issues I think should be corrected:


On line 13 of cat.php, change:

PHP Code:
$pages $_GET[page]; 
To:

PHP Code:
$pages intval($_GET['page']); 

Same change to playlist.php on line 13, user.php on line 49.

On line 43 of vBTube.php, find this:

PHP Code:
if (!$_GET[page]) { $pages 1; }
else { 
$pages $_GET[page]; }
$pages intval($_GET['page']); 
Change it to this:

PHP Code:
if (!$_GET[page]) { $pages 1; }
else { 
$pages intval($_GET['page']); } 
Hope I caught them all.


BTW, Playa82, thanks again for the great addon! Don't let anyone's rude comments discourage you!

Tim

thanks, i already noticed the codes above. but it's still a xss error when u don't edit your .htaccess file...
Reply With Quote
  #117  
Old 03-23-2008, 04:14 PM
arco arco is offline
 
Join Date: Apr 2007
Posts: 101
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Here's some stars I made you can use with dark styles.
Reply With Quote
  #118  
Old 03-24-2008, 11:24 PM
kall's Avatar
kall kall is offline
 
Join Date: Apr 2004
Location: New Zealand
Posts: 2,608
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by connkid25 View Post
You put your site URL. Such as example.com. Nothing else goes there.

You need to edit the htaccess in the root directory so it can be set for the entire site.
He said that he has a .htaccess in the forum root.

Telling him that setting one up "in the root directory so it can be set for the entire site" is both incorrect and misleading. The one in /forum/ will NOT inherit the values in the /root/ one. It will OVERRIDE them entirely.
Reply With Quote
  #119  
Old 03-24-2008, 11:50 PM
connkid25's Avatar
connkid25 connkid25 is offline
 
Join Date: Jul 2005
Location: Los Angeles, CA
Posts: 75
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by kall View Post
He said that he has a .htaccess in the forum root.

Telling him that setting one up "in the root directory so it can be set for the entire site" is both incorrect and misleading. The one in /forum/ will NOT inherit the values in the /root/ one. It will OVERRIDE them entirely.
It should be enabled globally on the server. Instead of being rude about it, you could have then told him to edit both. Simple and fixed!
Reply With Quote
  #120  
Old 03-25-2008, 05:10 PM
Magnumutz's Avatar
Magnumutz Magnumutz is offline
 
Join Date: Feb 2006
Location: Romania
Posts: 731
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Okay, what does the new update contain?
Reply With Quote
  #121  
Old 03-25-2008, 06:21 PM
Playa82 Playa82 is offline
 
Join Date: Mar 2006
Location: Germany
Posts: 319
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Magnumutz View Post
Okay, what does the new update contain?
XSS Protection
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:38 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.12734 seconds
  • Memory Usage 2,339KB
  • Queries Executed 26 (?)
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
  • (8)bbcode_php
  • (6)bbcode_quote
  • (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
  • (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