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

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
  #82  
Old 10-20-2010, 06:55 PM
Hippy's Avatar
Hippy Hippy is offline
 
Join Date: Dec 2001
Location: USA, New Jersey
Posts: 2,392
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

If there is a css for that mod add it to the addition.css

you need to post over at Forum stats mod

I just looked there
there is like 4 files..
but the issue with saving css as a file is resolved for this mod..(youtube in profile)
with the fix posted above witch fixes the save file as css..
posted over at the other thread and I will help you there..
I will test it out on my test forum..
Reply With Quote
  #83  
Old 12-01-2010, 10:13 PM
Hippy's Avatar
Hippy Hippy is offline
 
Join Date: Dec 2001
Location: USA, New Jersey
Posts: 2,392
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Been a while..
Just incase your wondering ...
this mod still installs and works 100% with the latest vb4.1.0
Reply With Quote
  #84  
Old 01-07-2011, 07:50 PM
Shanti Nanda's Avatar
Shanti Nanda Shanti Nanda is offline
 
Join Date: May 2010
Location: Mexico
Posts: 24
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I have a question <3, I've install a new style on my forum, but it doesn't show the video: the problem is with this style, the other it's perfect <3

What should I do?
Reply With Quote
  #85  
Old 01-07-2011, 07:59 PM
Hippy's Avatar
Hippy Hippy is offline
 
Join Date: Dec 2001
Location: USA, New Jersey
Posts: 2,392
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

........
Quote:
Originally Posted by Shanti Nanda View Post
I have a question <3, I've install a new style on my forum, but it doesn't show the video: the problem is with this style, the other it's perfect <3

are you storing css stylesheets as a file ?
this this
What should I do?
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 =)
Reply With Quote
  #86  
Old 01-07-2011, 08:14 PM
Shanti Nanda's Avatar
Shanti Nanda Shanti Nanda is offline
 
Join Date: May 2010
Location: Mexico
Posts: 24
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Oh! Now I remember that I did this long time ago for my previous style... thanks <3
Reply With Quote
  #87  
Old 01-07-2011, 08:20 PM
Hippy's Avatar
Hippy Hippy is offline
 
Join Date: Dec 2001
Location: USA, New Jersey
Posts: 2,392
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

welcome
Reply With Quote
  #88  
Old 01-19-2011, 09:39 PM
kether1 kether1 is offline
 
Join Date: Jun 2006
Posts: 232
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Trying this in 4.1.1 but doesn't seem to work. I tried the css change too. Can someone confirm this works in 4.1.1 fresh install?
Thanks,
K
Reply With Quote
  #89  
Old 01-20-2011, 01:38 AM
Foxtrotelite Foxtrotelite is offline
 
Join Date: Mar 2007
Posts: 56
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Is there any way to mod this so that it could show like a regular youtube sized embedded video somewhere in the profile area?

For instance, make a "YouTube" profile field category so that it would add a tab located in the member's profile, then just have a way to put a full size embed in that blank area?
Reply With Quote
  #90  
Old 03-25-2011, 09:31 PM
kether1 kether1 is offline
 
Join Date: Jun 2006
Posts: 232
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by kether1 View Post
Trying this in 4.1.1 but doesn't seem to work. I tried the css change too. Can someone confirm this works in 4.1.1 fresh install?
Thanks,
K
Okay, could not get this to work correctly. Did anyone on 4.1.1?
Reply With Quote
  #91  
Old 03-27-2011, 05:01 AM
Gamelobby's Avatar
Gamelobby Gamelobby is offline
 
Join Date: Jul 2007
Location: Long Beach, CA
Posts: 997
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Do we really need 6 profile fields for a youtube player..!?
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 07:54 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.09578 seconds
  • Memory Usage 2,345KB
  • 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
  • (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
  • (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