Go Back   vb.org Archive > vBulletin Modifications > vBulletin 4.x Modifications > vBulletin 4.x Add-ons

Reply
 
Thread Tools
vBTube LE 2.1.1 Media Library UPDATE vBulletin 4.2.x Details »»
vBTube LE 2.1.1 Media Library UPDATE vBulletin 4.2.x
Version: 2.1.1 Patc, by muratmunich muratmunich is offline
Developer Last Online: Aug 2023 Show Printable Version Email this Page

Category: Major Additions - Version: 4.2.x Rating:
Released: 03-09-2012 Last Update: 11-19-2012 Installs: 188
 
No support by the author.

vBTube.com is proud to present vBTube LE (Lite Edition)


vBTube LE Demo


What is vBTube ?
vBTube Media Gallery - Professional Video CMS for your vBulletin4 Community.
vBTube is the ultimate video sharing script for starting your own YouTube

Features

Embed Videos from:
YouTube, Dailymotion, MetaCafe, Veoh, Google Video, MySpace, MyVideo, Sevenload, Vidmax, Vimeo, Funnyordie.com, Izlesene

Installation / Default

Install Instructions (Comments are stored in a seperate DB Table):

Watch this video installation tutorial:
http://www.vbtube.com/videos/3/vbtube-install.html

1. Upload Contents of "Upload to Forums Root" Folder to Forums Root
2. Chmod 777 following Folders
/vbtube/tmp
/vbtube/upload/thumb_link

3. Import vBTubePRO_v2.0_LE vBx XML File with Product Manager
4. Enter Forum Path at admincp/vBTubePRO/options -> Forum Path
For Example mine here is : /var/srv/www/httpdocs/forum/

If you don't know your relative path go to:

admincp/maintance/view php info
and ook for:
_SERVER["DOCUMENT_ROOT"] /var/srv/www/httpdocs/forum

Don't forget to enter the trailling slash!

5. Click vbtube-db-check (admincp/vbtubepro/vbtube-db-check). Be sure all files are uploaded before
6. Set Permission Settings for each Usergroup. Edit the options however you like
7. Now you can add your Categories.

Admincp/vBTubePRO/Add Category

- Category Name
- Display Number (Start with 10, 100, 200, 300, 400...)

Finished: yourdomain.com/vbtube.php
__________________________________________________ ___________________

Installation / Comments are mixed up in vBulletin Posts

There are 2 ways to use vBTube.
This instruction will show you how to install vBTubePRO mixing the comments in your forum.

This means exactly: When adding videos, vBTube will create threads. When commenting videos, vBTube will create posts to that video thread.

Install Instructions:

Watch this video installation tutorial:
http://www.vbtube.com/videos/2/vbtube-install-mix.html

1. Upload Contents of "Upload to Forums Root" Folder to Forums Root
2. Chmod 777 following Folders
/vbtube/tmp
/vbtube/upload/thumb_link

3. Import vBTubePRO_v2.0_LE vBx XML File with Product Manager
4. Enter Forum Path at admincp/vBTubePRO/options -> Forum Path
For Example mine here is : /var/srv/www/httpdocs/forum/

If you don't know your relative path go to:

admincp/maintance/view php info
and ook for:
_SERVER["DOCUMENT_ROOT"] /var/srv/www/httpdocs/forum

Don't forget to enter the trailling slash!

5. Click vbtube-db-check (admincp/vbtubepro/vbtube-db-check). Be sure all files are uploaded before
6. Now, add a new Forum -> "Forums & Moderators" -> "Add new Forum"
Type "0" for the Display Order. So it is not visible in your forums list.

You got the option to add more Forums for Comments but it's highly recommended to use only 1 Forum for Comments !
We are supporting only the using of 1 ForumID. This means: Add only 1 ForumID to your categories... (You will see this step when adding categories).

7. Now we need the ForumID of the new added Forum for Comments.
Enter the ForumID here:
admincp/vbtubepro/Options/Latest vbTubePRO Postings/Comments ForumID

8. Set Permission Settings for each Usergroup. Edit the options however you like
9. Now you can add your Categories.

Admincp/vBTubePRO/Add Category

- Category Name
- Display Number (Start with 10, 100, 200, 300, 400...)

Finished: yourdomain.com/vbtube.php

LE v2.1

1. vBulletin 4.2.x compatible
2. Navigation Tab added to Navigation Manager
3. Mobile Style Bug
4. Background Color Admin Menu fixed
5. MyISAM Product XML included for newer MySQL Versions

Update Instructions:

1. Upload all Files (Content of Upload to Forums Root) to your Forum Root. Close your Board
2. Import vBTubePRO_v2.x.xml Product with vBulletin's Product Manager - Select Overwrite
3. Run DBCheck : admincp/vbtubepro/vbTubePRO DB-Check
4. Option to set Style for vbtube
5. Open your Board

If you like vBTube please click on installed and donate, Thank you.

v2.1 Patched:

This Update is for users who have warning error messages like this:
Warning: trim() expects parameter 1 to be string, array given in [path]/vbtube_add.php on line 139

Download the patched zip file and upload only vbtube_add.php (overwrite old file).

v2.1.1:

Facebook bug fixed
Keywords Array Warning fixed

Thanks

Download Now

File Type: zip vBTubePRO 2.1.1 LE_Patched.zip (483.2 KB, 1198 views)

Show Your Support

  • This modification may not be copied, reproduced or published elsewhere without author's permission.
11 благодарности(ей) от:
alhidaya, iiioroh, misha69, NTT, RichieBoy67, romaszek, Sage Knight, thompson, Toorak Times, victorvu, wat3v3r

Comments
  #212  
Old 08-21-2012, 07:08 AM
mocua's Avatar
mocua mocua is offline
 
Join Date: Sep 2011
Location: Viet Nam
Posts: 7
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

If use VBSEO for this version, please open
VBSEOCP >> Custom Rewrite Rules >> add below

Code:
'^media\.php\?do=cat&id=(.*)&o=(.*)&page=(.*)' => 'category/$1-$3-$2.html'
'^media\.php\?do=myfavs&u=(.*)&page=(.*)' => 'my-favorites/$2/$1.html'
'^media\.php\?do=mymedia&u=(.*)&page=(.*)' => 'my-media/$2/$1.html'

'^media\.php\?do=list&ctype=2' => 'photo-categories.html'
'^media\.php\?do=list&ctype=3' => 'adult-categories.html'

'^media\.php\?do=topvideos&page=(.*)' => 'top-videos-$1.html'
'^media\.php\?do=topphotos&page=(.*)' => 'top-photos-$1.html'
'^media\.php\?do=most_viewed&page=(.*)' => 'most-viewed-$1.html'
'^media\.php\?do=most_voted&page=(.*)' => 'most-voted-$1.html'
'^media\.php\?do=topvideos' => 'top-videos.html'
'^media\.php\?do=topphotos' => 'top-photos.html'
'^media\.php\?do=most_viewed' => 'most-viewed.html'
'^media\.php\?do=most_voted' => 'most-voted.html'
'^media\.php\?do=myfavs' => 'my-favorites.html'
'^media\.php\?do=mymedia' => 'my-media.html'
'^media\.php\?do=list' => 'video-categories.html'
'^youtube_browser\.php' => 'youtube-browser.html'
'^media\.php' => 'media.html'
'^vbtube_show\.php\?tubeid=(\d+)&sti=(.+)' => 'media/$1/$2.html'
Reply With Quote
Благодарность от:
Elenna
  #213  
Old 08-21-2012, 12:57 PM
mocua's Avatar
mocua mocua is offline
 
Join Date: Sep 2011
Location: Viet Nam
Posts: 7
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

If you want the URL that appears in the English character mode (For countries with individual characters), please do the following (I applied for Vietnam)

Please copy the file attached below, to override the installation directory of your forums ROOT

vbtube_functions.php

Note:
PHP Code:
$translite_simbols = array ( 
        
'#(?|?|ạ|ả|?|?|ầ|ấ|ậ|ẩ|ẫ|ă|ằ|ắ|ặ|ẳ|ẵ)#'
        
'#(?|?|ẹ|ẻ|ẽ|?|ề|ế|ệ|ể|ễ)#'
        
'#(?|?|ị|ỉ|ĩ)#'
        
'#(?|?|ọ|ỏ|?|?|ồ|ố|ộ|ổ|ỗ|ơ|ờ|ớ|ợ|ở|ỡ)#'
        
'#(?|?|ụ|ủ|ũ|ư|ừ|ứ|ự|ử|ữ)#'
        
'#(ỳ|?|ỵ|ỷ|ỹ)#'
        
'#(đ)#'
        
'#(?|?|Ạ|Ả|?|?|Ầ|Ấ|Ậ|Ẩ|Ẫ|Ă|Ằ|Ắ|Ặ|Ẳ|Ẵ)#'
        
'#(?|?|Ẹ|Ẻ|Ẽ|?|Ề|Ế|Ệ|Ể|Ễ)#'
        
'#(?|?|Ị|Ỉ|Ĩ)#'
        
'#(?|?|Ọ|Ỏ|?|?|Ồ|Ố|Ộ|Ổ|Ỗ|Ơ|Ờ|Ớ|Ợ|Ở|Ỡ)#'
        
'#(?|?|Ụ|Ủ|Ũ|Ư|Ừ|Ứ|Ự|Ử|Ữ)#'
        
'#(Ỳ|?|Ỵ|Ỷ|Ỹ)#'
        
'#(Đ)#'
        
"/[^a-zA-Z0-9\-\_]/"
     ) ; 
        
$replace = array ( 
        
'a'
        
'e'
        
'i'
        
'o'
        
'u'
        
'y'
        
'd'
        
'A'
        
'E'
        
'I'
        
'O'
        
'U'
        
'Y'
        
'D'
        
'-'
     ) ; 
      
$title preg_replace($translite_simbols$replace$title); 
      $
$title preg_replace('/(-)+/''-'$title); 
Attached Files
File Type: php vbtube_functions.php (7.2 KB, 11 views)
Reply With Quote
  #214  
Old 08-22-2012, 08:00 AM
mocua's Avatar
mocua mocua is offline
 
Join Date: Sep 2011
Location: Viet Nam
Posts: 7
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Fix share link SEO(share on facebook, ....) for vBTube LE 2.1
Open:
vbtube_functions.php
Find
Code:
$link = $vbulletin->options['bburl']."/vbtube_show.php?".$vbulletin->session->vars['sessionurl']."tubeid=$id&sti=$seoreg2"
Chang to your share link
ex: my share link of my forum:
PHP Code:
$link $vbulletin->options['bburl']."/media/".$vbulletin->session->vars['sessionurl']."$id/$seoreg2.html" 
Example:
Code:
/vbtube_show.php?tubeid=82&sti=Nhung-tai-nan-khong-the-nhin-cuoi-
change to:
Code:
/media/82/Nhung-tai-nan-khong-the-nhin-cuoi-.html
Reply With Quote
  #215  
Old 08-31-2012, 02:31 PM
metalguy639 metalguy639 is offline
 
Join Date: Dec 2008
Posts: 501
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

After I installed this for a client I get this database error when I click on the link for the forum:

Code:
Database error in vBulletin 4.2.0:

Invalid SQL:

		SELECT 	tubeid, title, username, userid, vidlang, link1img, thumb_type, aboutme, tube, mediatype,site,
				views, votes, rates, rating, duration, keywords, reviewid, active, joindate
		FROM vbvbtube_tubes
		WHERE active=1 AND tube='' ORDER BY joindate DESC LIMIT 0,12;

MySQL Error   : Unknown column 'thumb_type' in 'field list'
Error Number  : 1054
Request Date  : Friday, August 31st 2012 @ 10:27:41 AM
Error Date    : Friday, August 31st 2012 @ 10:27:41 AM
Script        : http://xxxxx.com/forums/vbtube.php
Referrer      : http://xxxxx.com/forums/vbplaza.php
IP Address    : xx.xx.xx.xx
Username      : DamienDarwick
Classname     : vB_Database
MySQL Version : 5.1.63-cll
The only thing that works in the admincp is the settings link. I get this when I click the other links:

Code:
Database error in vBulletin 4.2.0:

Invalid SQL:

	SELECT categoryid, deleted
	FROM vbvbtube_categories
	WHERE deleted = 1
	LIMIT 1;

MySQL Error   : Unknown column 'deleted' in 'field list'
Error Number  : 1054
Request Date  : Friday, August 31st 2012 @ 10:29:40 AM
Error Date    : Friday, August 31st 2012 @ 10:29:40 AM
Script        : http://xxxx.com/forums/vbtube_admin.php?do=showcat_v
Referrer      : http://xxxx.com/forums/admincp/index.php?do=savenavprefs&nojs=0&navprefs=vbulletin_0,vbulletin_1,vbulletin_2,vbulletin_3,vbulletin_4,vbulletin_5,vbulletin_6,vbulletin_7,vbulletin_8,vbulletin_9,vbulletin_10,vbulletin_11,vbulletin_12,vbulletin_13,vbulletin_14,vbulletin_15,vbulletin_16,vbulletin_17,vbulletin_18,vbulletin_19,vbulletin_20,vbulletin_21,vbulletin_22,vbulletin_23,vbulletin_24,vbulletin_25,vbulletin_26,vbulletin_27,vbulletin_28,vbulletin_29,vbulletin_30,vbulletin_31,vbulletin_32,vbulletin_33,vbulletin_34,arcade_0,vbtube_0,vbbuxvbplaza_0,vbbuxvbplaza_1,vbbuxvbplaza_2,vbbuxvbplaza_3,vbbuxvbplaza_4,vbbuxvbplaza_5,vbbuxvbplaza_6,vbbuxvbplaza_7,vbbuxvbplaza_8,vbbuxvbplaza_9,vbbuxvbplaza_10,credits_0,rbs_0
IP Address    : xx.xx.xx.xx
Username      : DamienDarwick
Classname     : vB_Database
MySQL Version : 5.1.63-cll
Reply With Quote
  #216  
Old 09-02-2012, 04:50 AM
Easy5s.net Easy5s.net is offline
 
Join Date: Jun 2011
Posts: 201
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I post the video successfully but access http://domain.com/vbtube.php as follows:

Quote:
Warning: require_once(vbtube/includes/sites/1.php): failed to open stream: No such file or directory in [path]\vbtube\includes\vbtube_autotube.php on line 41
Fatal error: require_once(): Failed opening required 'vbtube/includes/sites/1.php' (include_path='c:\server\bin\php52\pear') in E:\server\htdocs\testvb4\vbtube\includes\vbtube_au totube.php on line 41
Reply With Quote
  #217  
Old 09-05-2012, 07:26 PM
Allcoll Allcoll is offline
 
Join Date: Mar 2007
Posts: 4
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

hi,

it works good but there is no link in navbar.
how can we add vbtube link to the navbar?
Reply With Quote
  #218  
Old 09-10-2012, 04:38 AM
Vick98 Vick98 is offline
 
Join Date: Nov 2010
Posts: 154
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Allcoll View Post
hi,

it works good but there is no link in navbar.
how can we add vbtube link to the navbar?
Log in to your AdminCP and under Settings>Navigation Manger change the tab name and order.
Reply With Quote
  #219  
Old 09-10-2012, 04:39 AM
Vick98 Vick98 is offline
 
Join Date: Nov 2010
Posts: 154
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Why am I getting this message when trying uploading videos?

'Please upload only Image Type Files! (jpg, gif, png)'
Reply With Quote
  #220  
Old 09-10-2012, 06:50 PM
Vick98 Vick98 is offline
 
Join Date: Nov 2010
Posts: 154
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

^^^ Any Idea?
Reply With Quote
  #221  
Old 09-11-2012, 03:27 AM
Athana Athana is offline
 
Join Date: Dec 2011
Posts: 1
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I am getting this trim error:

Quote:
Warning: trim() expects parameter 1 to be string, array given in [path]/vbtube_add.php on line 140
What can it be?
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 05:59 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.07364 seconds
  • Memory Usage 2,377KB
  • 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
  • (6)bbcode_code
  • (2)bbcode_php
  • (3)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
  • (12)post_thanks_box_bit
  • (11)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (2)post_thanks_postbit
  • (11)post_thanks_postbit_info
  • (10)postbit
  • (2)postbit_attachment
  • (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
  • fetch_musername
  • post_thanks_function_fetch_thanks_end
  • post_thanks_function_thanked_already_start
  • post_thanks_function_thanked_already_end
  • post_thanks_function_fetch_thanks_bit_start
  • post_thanks_function_show_thanks_date_start
  • post_thanks_function_show_thanks_date_end
  • post_thanks_function_fetch_thanks_bit_end
  • post_thanks_function_fetch_post_thanks_template_start
  • post_thanks_function_fetch_post_thanks_template_end
  • postbit_imicons
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • postbit_attachment
  • postbit_display_complete
  • post_thanks_function_can_thank_this_post_start
  • pagenav_page
  • pagenav_complete
  • tag_fetchbit_complete
  • forumrules
  • navbits
  • navbits_complete
  • showthread_complete