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

Reply
 
Thread Tools
Youtube in profile (actual url) left side. Details »»
Youtube in profile (actual url) left side.
Version: 4, by stangger5 stangger5 is offline
Developer Last Online: Oct 2023 Show Printable Version Email this Page

Category: Profile Enhancements - Version: 4.0.1 Rating:
Released: 12-07-2009 Last Update: 03-27-2011 Installs: 119
Supported Uses Plugins
 

This will put a mini youtube player in members profile,, (left side)..

Click here for the demo..

(New) Version #4
*Fixes autoplay
* Works with "Store CSS Stylesheets as Files" set or not..
*No need to add anything to additional.css..


Options with this version..
*actual youtube url,
*player boarder color,
*player body color,
*auto start,
*change locations,
*usergroup permissions,
*100% XHTML valid,
*no template edits


First create 6 profile fields.
YouTube Title,
YouTube ID,
YouTube Boarder Color,
YouTube Body Color,
YouTube Location,
YouTube Auto Start.


================================================== ==========
admincp >> User Profile Fields >> Add New User Profile Field

1:
Single-Line Text Box
Title: YouTube Title
Description: Put your YouTube Title here.

Private Field: Yes
Field Searchable on Members List: NO
Show on Members List: NO

Then Save..

Remember the Field number....Example: field5
================================================== ==========
Add anther Profile Field,,

2:
Single-Line Text Box
Title: YouTube ID Link
Description: Put your Actual YouTube Link here.

Private Field: Yes
Field Searchable on Members List: NO
Show on Members List: NO

Then Save..

Remember the Field number....Example: field6
================================================== ==========
Add anther Profile Field

3:
Single-Line Text Box
Title: Youtube Boarder Color
Description:
Change Youtube boarder color here..
<br />
<b>Example</b>: 559944

Private Field: Yes
Field Searchable on Members List: NO
Show on Members List: NO

Then Save..

Remember the Field number....Example: field7
================================================== ==========
Add anther Profile Field,,

4:
Single-Line Text Box
Title: Youtube Body Color
Description:
Change Youtube body color here..
<br />
<b>Example</b>: 007744

Private Field: Yes
Field Searchable on Members List: NO
Show on Members List: NO

Then Save..

Remember the Field number....Example: field8
================================================== ==========
Add anther Profile Field,,

5:
Single-Selection Radio Buttons
Title: YouTube Auto Start
Description: This option will auto start the youtube player..

Options:
Yes
No

Private Field: Yes
Field Searchable on Members List: NO
Show on Members List: NO

Then Save..

Remember the Field number....Example: field9
================================================== ==========
Add anther Profile Field,,

6:
Single-Selection Menu
Title: Youtube Location
Description: You can change your Youtube player location here..

Options:
show_first
under_stats
under_friends
under_albums
under_groups
show_last

Private Field: Yes
Field Searchable on Members List: NO
Show on Members List: NO

Then Save..

Remember the Field number....Example: field10
================================================== ==========
Remember to look at the Field name and NOT the field Order

When adding the fields in the admincp,,you need the field name and the number..
Like this:

Place the custom profile field number for the Youtube Title. [ field5]

================================================== ==========
Import the plugin..

admin >> Plugins & Products >> [Add/Import Product] and import
product-youtube_profile_v3 file..

================================================== ==========

Go to : admincp >> Settings >> Options: Mini Youtube for member profile

Fill in all the profiles you just created..

================================================== ==========

Go to your Settings >> Edit your Details: and fill in the Youtube info..
Thats it !!
================================================== ==========

I want to thank BBR-APBT for the admin fields idea !!:up:

Download Now

File Type: zip mini_youtube_profile_vb4_3.zip (2.4 KB, 433 views)
File Type: zip mini_youtube_profile_vb4_4.zip (2.2 KB, 332 views)

Show Your Support

  • This modification may not be copied, reproduced or published elsewhere without author's permission.
Благодарность от:
goxy63

Comments
  #62  
Old 09-01-2010, 01:04 PM
COL NIL SATIS COL NIL SATIS is offline
 
Join Date: Aug 2009
Location: Liverpool UK
Posts: 802
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Mooff View Post
If you have yes selected for "Store CSS Stylesheets as Files" in the acp videos won't show up (you will still have sound and title though).

This origins in the way the youtube.css is called by the plugin.

Simply put: It uses the css.php to include the youtube.css. If you have the store css option checked the css.php won't be called and therefore the style definitions set in the youtube.css aren't included, hence the video doesn't show.


The fix we used is to import the youtube.css in the additional.css using this line
Code:
@import url("{vb:raw vbcsspath}youtube.css");
(has to be in the first line!)


as a side effect you can deactive the "Youtube css start" plugin which won't be used anymore if you use that fix.


Regards


P.S.: thanks for the youtube in profile plugin, our members love it =)
where do i check this??
Reply With Quote
  #63  
Old 09-01-2010, 01:05 PM
COL NIL SATIS COL NIL SATIS is offline
 
Join Date: Aug 2009
Location: Liverpool UK
Posts: 802
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

If you have yes selected for "Store CSS Stylesheets as Files" in the acp videos won't show up (you will still have sound and title though).
Reply With Quote
  #64  
Old 09-01-2010, 01:30 PM
COL NIL SATIS COL NIL SATIS is offline
 
Join Date: Aug 2009
Location: Liverpool UK
Posts: 802
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

so i place @import url("{vb:raw vbcsspath}youtube.css");

in addittional.css?? vids always worked but now i can hear them but cant see them?
Reply With Quote
  #65  
Old 09-03-2010, 05:55 AM
Hall of Famer Hall of Famer is offline
 
Join Date: Apr 2009
Posts: 89
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Is there a screenshot for this?
Reply With Quote
  #66  
Old 09-03-2010, 06:16 AM
ProFifaLeagues's Avatar
ProFifaLeagues ProFifaLeagues is offline
 
Join Date: Aug 2009
Location: Uk
Posts: 1,191
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Dont think there is but when we had this mod working A1 it shows a little utube video of the members choice on the left of the users profile which could be set to auto start when you viewed there profile page or set to click on to play!
Great little mod and well used on our site mate!
Reply With Quote
  #67  
Old 09-03-2010, 06:24 AM
ProFifaLeagues's Avatar
ProFifaLeagues ProFifaLeagues is offline
 
Join Date: Aug 2009
Location: Uk
Posts: 1,191
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Originally Posted by Mooff
If you have yes selected for "Store CSS Stylesheets as Files" in the acp videos won't show up (you will still have sound and title though).

This origins in the way the youtube.css is called by the plugin.

Simply put: It uses the css.php to include the youtube.css. If you have the store css option checked the css.php won't be called and therefore the style definitions set in the youtube.css aren't included, hence the video doesn't show.


The fix we used is to import the youtube.css in the additional.css using this line
Code:
@import url("{vb:raw vbcsspath}youtube.css");
(has to be in the first line!)


as a side effect you can deactive the "Youtube css start" plugin which won't be used anymore if you use that fix.


Regards


P.S.: thanks for the youtube in profile plugin, our members love it =)
where do i check this??





Thank you thats all sorted and the videos work A1 again!
Reply With Quote
  #68  
Old 09-03-2010, 08:44 AM
ESKORPION ESKORPION is offline
 
Join Date: Aug 2010
Posts: 13
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

This hack works on vb 4.0.6? I've installed but it does not work.
Reply With Quote
  #69  
Old 09-03-2010, 01:03 PM
COL NIL SATIS COL NIL SATIS is offline
 
Join Date: Aug 2009
Location: Liverpool UK
Posts: 802
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

happy days..its back working again
Reply With Quote
  #70  
Old 09-03-2010, 04:48 PM
Hall of Famer Hall of Famer is offline
 
Join Date: Apr 2009
Posts: 89
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Is this one somehow in conflict with Playerlist.com's module? I installed the xml file and followed the instruction here, but nothing happened. The videos wont even show...
Reply With Quote
  #71  
Old 09-03-2010, 07:57 PM
RobbieZ RobbieZ is offline
 
Join Date: Jul 2008
Posts: 1,117
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Thanks
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:47 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.06126 seconds
  • Memory Usage 2,338KB
  • 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
  • (1)bbcode_code
  • (1)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
  • (11)post_thanks_box
  • (1)post_thanks_box_bit
  • (11)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (1)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