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
  #72  
Old 10-10-2010, 04:17 PM
GONUMBER6's Avatar
GONUMBER6 GONUMBER6 is offline
 
Join Date: Jan 2010
Location: Sunny Arizona
Posts: 352
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Works great thank you. Marked as installed.
Reply With Quote
  #73  
Old 10-18-2010, 04:30 PM
RobbieZ RobbieZ is offline
 
Join Date: Jul 2008
Posts: 1,117
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Storing CSS as files breaks [AJAX] Forum stats mod, so its a toss up between this one or the other.
Reply With Quote
  #74  
Old 10-18-2010, 05:11 PM
War.Frog's Avatar
War.Frog War.Frog is offline
 
Join Date: Aug 2009
Location: Ontario, Canada
Posts: 262
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Would someone who has this installed be so kind as to attach a screen shot or two in the thread? Thanks!
Reply With Quote
  #75  
Old 10-18-2010, 07:10 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 RobbieZ View Post
Storing CSS as files breaks [AJAX] Forum stats mod, so its a toss up between this one or the other.
this is the fix for that
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
  #76  
Old 10-18-2010, 07:12 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 War.Frog View Post
Would someone who has this installed be so kind as to attach a screen shot or two in the thread? Thanks!
here ya go bud ..
running vb4.0.7 works perfect other than the auto start
Attached Images
File Type: jpg youtube.jpg (26.4 KB, 0 views)
Reply With Quote
  #77  
Old 10-18-2010, 10:02 PM
RobbieZ RobbieZ is offline
 
Join Date: Jul 2008
Posts: 1,117
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Cheers Hippy

@import first line in additional.css
CSS stored as files
Start up plug-in disabled

AJAX still looks a mess. Lol
Reply With Quote
  #78  
Old 10-18-2010, 10:39 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 RobbieZ View Post
Cheers Hippy

@import first line in additional.css
CSS stored as files
Start up plug-in disabled

AJAX still looks a mess. Lol
url or screen shot ?
what Forum stats mod do you use?
your user profile here says you using vb3..?
Reply With Quote
  #79  
Old 10-19-2010, 08:10 AM
RobbieZ RobbieZ is offline
 
Join Date: Jul 2008
Posts: 1,117
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Hippy View Post
url or screen shot ?
what Forum stats mod do you use?
your user profile here says you using vb3..?
1)

2) https://vborg.vbsupport.ru/showthread.php?p=1952909
3) Test board is vb4
Reply With Quote
  #80  
Old 10-19-2010, 06:48 PM
Hippy's Avatar
Hippy Hippy is offline
 
Join Date: Dec 2001
Location: USA, New Jersey
Posts: 2,392
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Sorry RobbieZ I am lost here
I get the mod for forum stats but the screen shot I never seen anything like this
where was this screen shot from ?
this is the ststas hack gone bad from the youtube mod ?

what should it look like..
I asume it changes when you disable the youtube mod ?
Reply With Quote
  #81  
Old 10-20-2010, 04:57 AM
RobbieZ RobbieZ is offline
 
Join Date: Jul 2008
Posts: 1,117
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

It should look like this.



Im thinking the storing of CSS as files is what messing it up.
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 11:29 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.10307 seconds
  • Memory Usage 2,350KB
  • 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
  • (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_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