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
  #42  
Old 02-19-2010, 11:35 PM
carrlos's Avatar
carrlos carrlos is offline
 
Join Date: Nov 2006
Posts: 259
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by stangger5 View Post
Video and sound both comes from the same link..
Could be your flash player needs an update..??
Have you tried a different browser ??

Works just fine for me with vb4.0.2..

Do you mind pm`ing me a link to your site ,,to have a look ??
My link is in my sig. Check out maXimus' signature.

As HappyFeet said, title shows, has sound, no video.

Edit:
Quote:
Originally Posted by gator777 View Post
stangger5, believe or not, this post help fix the Arcade as well as your YouTube mod.
That fixed the problem. I just don't remember why I set it like that which means I probably messed up something else.
Reply With Quote
  #43  
Old 02-20-2010, 02:42 AM
HappyFeet's Avatar
HappyFeet HappyFeet is offline
 
Join Date: Mar 2009
Location: Tn. USA
Posts: 66
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by carrlos View Post

As HappyFeet said, title shows, has sound, no video.

Edit:
That fixed the problem. I just don't remember why I set it like that which means I probably messed up something else.
I did that too (store css as files set to NO) but found it still the same, but through more checks I found that I also had to disable the vB4:Supercharged hack which compresses .css & javascript files. It works now.

A FYI for those still having problems...
Reply With Quote
  #44  
Old 02-28-2010, 07:52 PM
dianna's Avatar
dianna dianna is offline
 
Join Date: Mar 2008
Location: Texas
Posts: 92
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

ok so I did everything it said to do, if I am on IE I get sound title and no video, on firefox i get title and a small tiny box...see screenshot attached. Now I have read through where you said to disable CSS in acp however mine was already set to no. I do not have supercharge on my site so that can't be causing the issue either. Any idea's how to fix mine???
Attached Images
File Type: jpg yt.jpg (5.0 KB, 0 views)
Reply With Quote
  #45  
Old 03-02-2010, 04:20 PM
dianna's Avatar
dianna dianna is offline
 
Join Date: Mar 2008
Location: Texas
Posts: 92
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

bump...any help here?
Reply With Quote
  #46  
Old 03-02-2010, 06:44 PM
Matais Matais is offline
 
Join Date: Jan 2008
Posts: 47
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

this would be alot nicer if the user only needed to enter the youtube link and you only needed 1 custom field instead of 6 for each user.
Reply With Quote
  #47  
Old 03-07-2010, 12:16 AM
stangger5's Avatar
stangger5 stangger5 is offline
 
Join Date: Jan 2005
Location: Online
Posts: 1,130
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by dianna View Post
bump...any help here?
I`m working on anther version that should help..

Quote:
Originally Posted by Matais View Post
this would be alot nicer if the user only needed to enter the youtube link and you only needed 1 custom field instead of 6 for each user.
You can use this with only one field for members to fill in..
Just add one user field for the youtube link and add the field number in the admincp..
For the other fields just add the info in the blank area in the admincp..
Reply With Quote
  #48  
Old 03-14-2010, 09:42 PM
Mooff Mooff is offline
 
Join Date: Mar 2010
Posts: 301
Благодарил(а): 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).

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
  #49  
Old 03-30-2010, 12:51 PM
goran424's Avatar
goran424 goran424 is offline
 
Join Date: Feb 2010
Location: Thailand
Posts: 99
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Awesome!

You are genius stannger!

5 star for sure...
Reply With Quote
  #50  
Old 04-19-2010, 02:19 AM
trackpads's Avatar
trackpads trackpads is offline
 
Join Date: Aug 2003
Location: Armyville
Posts: 1,074
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Thanks! Installed
Reply With Quote
  #51  
Old 04-20-2010, 09:52 PM
goran424's Avatar
goran424 goran424 is offline
 
Join Date: Feb 2010
Location: Thailand
Posts: 99
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

One more thing: I am using 4.0.2 version and works just perfect. However, just today I found out from members using firefox that they can't see or hear anything. They aren't even aware of this mod existance.....

How to resolve this?
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 05:33 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.09587 seconds
  • Memory Usage 2,357KB
  • Queries Executed 28 (?)
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
  • (5)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
  • (3)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_postinfo_query
  • fetch_postinfo
  • 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