vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 4.x Add-ons (https://vborg.vbsupport.ru/forumdisplay.php?f=245)
-   -   Profile Enhancements - Youtube in profile (actual url) left side. (https://vborg.vbsupport.ru/showthread.php?t=229761)

stangger5 12-07-2009 10:00 PM

Youtube in profile (actual url) left side.
 
1 Attachment(s)
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:

stangger5 12-08-2009 12:35 PM

Reserved...

SİMAR 12-08-2009 12:49 PM

thanks nice

BBR-APBT 12-08-2009 03:52 PM

Nice work

It's nice to see mods with out template edits.

cjwzx2 12-09-2009 01:58 AM

tagged for another day. Looks promising.

Toxic2 12-09-2009 09:08 AM

Ohhh...How I love new Toys LOL On my xmas List to get. Nice...Tks Tagged

AzzidReign 12-09-2009 10:57 AM

Awesome! I'll be tagging this...as I don't have vb4 installed yet!

stangger5 12-14-2009 02:31 PM

Updated for vBulletin 4.0.0 Release Candidate 2 !!

RC2 changed the profile hooks,,so your need to edit the step #6 (Youtube Location) and import the new .XML file...Allow Overwrite: Yes..

Cface 12-16-2009 09:30 AM

have you got any screenshots?

EDIT: So i installed it and nothing...
Added form fields and all. Entered the info on the profile. Didn't show anything.

do i have to have every a field for every form entry even if i don't want some features (like border color, etc)?

One more note...
I assume this is for youtube share urls like:
Code:

http://www.youtube.com/watch?v=1ss959cQASY

stangger5 12-16-2009 10:40 AM

How about a Demo .. ??


All times are GMT. The time now is 11:40 PM.

Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.

X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.01585 seconds
  • Memory Usage 1,744KB
  • Queries Executed 10 (?)
More Information
Template Usage:
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (1)bbcode_code_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (2)pagenav_pagelink
  • (1)pagenav_pagelinkrel
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (10)printthreadbit
  • (1)spacer_close
  • (1)spacer_open 

Phrase Groups Available:
  • global
  • postbit
  • showthread
Included Files:
  • ./printthread.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/class_bbcode_alt.php
  • ./includes/class_bbcode.php
  • ./includes/functions_bigthree.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
  • printthread_start
  • pagenav_page
  • pagenav_complete
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete