The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
Mini YouTube Video in Profile (right side block) Details »» | ||||||||||||||||||||||
Mini YouTube Video in Profile (right side block)
Developer Last Online: Oct 2023
Mini YouTube Video for member profile in right side block v2.1
(New)Added cache_templates,,user group permissions and the option for auto-play... Demo-www.next-level-arcade.com ================================================== ========== First create 3 profile fields. One for YouTube ID' one for YouTube title and one for Auto-play.. ================================================== ========== admin >> User Profile Fields >> Add New User Profile Field 1: Single-Line Text Box Title: YouTube ID Description: Put your YouTube ID here. Private Field: Yes Field Searchable on Members List: NO Show on Members List: NO Then Save.. Remember the Field number.. Say the field number is 9,,you will need to change the i in $userinfo[fieldi] to 9 like this,, $userinfo[field9] ================================================== ========== Add anther Profile Field,, 2: 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.. Say the field number is 10,,you will need to change the t in $userinfo[fieldt] to 10 like this,, $userinfo[field10] ================================================== ========== Add anther Profile Field,, 3: Single-Line Text Box Title: YouTube Auto-play Description: Put &autoplay=1 in the input box below,to have it auto-play.. Private Field: Yes Field Searchable on Members List: NO Show on Members List: NO Then Save.. Remember the Field number.. Say the field number is 11,,you will need to change the a in $userinfo[fielda] to 11 like this,, $userinfo[field11] ================================================== ========== Import the plugin.. admin >> Plugins & Products >> [Add/Import Product] and import youtube-member-profile.xml file.. ================================================== ========== Edit two templates. 1: admincp >> Styles & Templates >> Member Info Templates >> memberinfo_block_youtube Find three $userinfo[fieldi] and change the i to the YouTube ID field number.. Find two $userinfo[fieldt] and change the t to the YouTube title field number.. Find one $userinfo[fielda] and change the a to the YouTube auto-play field number.. 2: Edit: Styles & Templates >> Member Info Templates >> MEMBERINFO Look for,, Code:
$blocks[stats_mini] $template_hook[profile_right_mini] $blocks[friends_mini] $blocks[albums] $template_hook[profile_right_album] $blocks[groups] $blocks[visitors] I have mine arter $blocks[friends_mini].. Like this,, Code:
$blocks[stats_mini] $template_hook[profile_right_mini] $blocks[friends_mini] $blocks[youtube] $blocks[albums] $template_hook[profile_right_album] $blocks[groups] $blocks[visitors] Go to youtube dot com,,find the video you want.. Say the link is Code:
http://www.youtube.com/watch?v=HhuVgywiO3w Then put,,Welcome Home Roscoe Jenkins,,in your YouTube title field.. To edit your YouTube fields.. USERCP >> Edit Your Details >> Additional Information ================================================== ============== To edit usergroups,, admincp >> Plugins & Products >> Plugin Manager: Mini right side YouTube for Member Profile Add the usergroup ID,,that you want to be able to use the YouTube vidoes.. Code:
if (is_member_of($vbulletin->userinfo,1 ,2 , 5, 6, 7)) ================================================== ============== If you have an older version,,uninstall the plug-in and revert the memberinfo_block_youtube template before installing the newest version.. Enjoy !! stangger5 Show Your Support
|
Comments |
#112
|
||||
|
||||
Quote:
|
#113
|
|||
|
|||
thank you very mutch
installed |
#114
|
|||
|
|||
Doing coding for YouTube videos I realized you can also add colours like in the autoplay field you can add this blue colour to the skin by entering theres other colours and such aswell.
edit; I've figured out the colour code &color1=0x66FF00&color1=0xCC0000" Break down: 1. &color1=0x (Always keep this at 1) 2. 66FF00& (The colour the colour codes go by hex colours no need for #) 3. color2= (Always keep this at 2) 4. 0xCC0000" (Should choose a slightly darker colour) |
#115
|
|||
|
|||
Quote:
This is an excellent hack though! |
#116
|
|||
|
|||
My members pointed out a possible bug...
I have the permissions set so that only VIPs & above are able to use the YouTube vids. What I didn't realize is that if you don't have permission to use it you also don't have permission to view anyone else's. I'm hoping this has just never been noticed. Anyone know how to fix this? |
#117
|
|||
|
|||
just installed!
|
#118
|
|||
|
|||
After reading 6 pages of alterations, I'm not sure what is updated or not, example, the auto play and the option yes or No? Or do I need go through the pages again to see what needs to be added to the Authors posted (2) files. I think I shouldn't have read all the pages from members, it now has me more confused. Is it all updated or is there needed additional options in proceeding pages?
It certainly is a Nice Mod, but it has me a bit shy and I would like to install it if I can figure out where it stands. ( a non coder perspective) |
#119
|
||||
|
||||
cant see why you would need the mod although its nice.......just add it into a module? at any size you wish surely
|
#120
|
|||
|
|||
Not working for me on www.mariokartwii.com
|
#121
|
|||
|
|||
Nevermind.. Autoplay code wasn't there correctly
|
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|