Back to vBulletin 3.7 Add-ons

Mini ESPN Video in profile (right side block)
Mod Version: 1.0, by stangger5

This modification is in the archives.
vB Version: 3.7.0 Rating: (1 vote - 5.00 average) Installs: 19
Released: 17 Feb 2008 Last Update: 17 Feb 2008 Downloads: 79
Supported Uses Plugins Template Edits  

Mini ESPN Video for member profile in (right side block) v1.0

You can use any ESPN Video,, embed link..

This version you can set usergroups too..

http://www.next-level-arcade.com/member.php?u=31

First create 2 profile fields.
One for ESPN link and one for ESPN title..

=============================================================
admin >> User Profile Fields >> Add New User Profile Field

1:
Single-Line Text Box
Title: ESPN Link
Description:

Put your ESPN link here.
Like this:
Code:
http://sports.espn.go.com/broadband/player.swf?mediaId=3249865
Field Length: 50

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
17 in $useinfo[field17] to 9 like this,, $useinfo[field9]
=============================================================
Add anther Profile Field,,

2:
Single-Line Text Box
Title: ESPN Title
Description:

Put your ESPN Title here.
Like this:
Dunkin' Dwight Howard Wins in New Orleans

Field Length: 50

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
18 in $useinfo[field18] to 10 like this,, $useinfo[field10]
=============================================================

Import the plugin..

admin >> Plugins & Products >> [Add/Import Product] and import
espn-video-member-profile.xml file..

============================================================

Edit two templates.

1:
admincp >> Styles & Templates >> Member Info Templates >>
memberinfo_block_espn

Find three $useinfo[field17] and change the 17 to the ESPN link field number..

Find two $useinfo[field18] and change the 18 to the ESPN title field number..

2:
Edit: Styles & Templates >> Member Info Templates >> MEMBERINFO

Look for,,

$blocks[stats_mini]
$template_hook[profile_right_mini]
$blocks[friends_mini]
$blocks[albums]
$template_hook[profile_right_album]
$blocks[groups]
$blocks[visitors]

Put $blocks[espn] anywhere in there..
I have mine after $blocks[friends_mini]..
Like this,,

$blocks[stats_mini]
$template_hook[profile_right_mini]
$blocks[friends_mini]
$blocks[espn]
$blocks[albums]
$template_hook[profile_right_album]
$blocks[groups]
$blocks[visitors]

========================================================================

Go to
Code:
http://sports.espn.go.com/broadband/video/
,,find the video you want..
Say the Embed link is
Code:
<object width="440" height="361"><param name="movie" value="http://sports.espn.go.com/broadband/player.swf?mediaId=3249865"/><param name="wmode" value="transparent"/><param name="allowScriptAccess" value="always"/><embed src="http://sports.espn.go.com/broadband/player.swf?mediaId=3249865" type="application/x-shockwave-flash" wmode="transparent" width="440" height="361" allowScriptAccess="always"></embed></object>
Put
Code:
http://sports.espn.go.com/broadband/player.swf?mediaId=3249865
in your ESPN link field..

Then put "Dunkin' Dwight Howard Wins in New Orleans" in your ESPN title field..

To edit your ESPN fields..
USERCP >> Edit Your Details >> Additional Information

================================================================

If you want to edit usergroups,,
admincp >> Plugins & Products >> Plugin Manager:
Mini right side ESPN Video for Member Profile

Just add usergroup ID that you want to enable,,here..
Code:
if (is_member_of($vbulletin->userinfo,1 ,2 , 5, 6, 7))
Like this: ,1 ,2 , 3, 4, 5, 6, 7 ,8 ,9

================================================================
Enjoy !!
stangger5

Download

This modification is archived, downloads are still allowed.

File Type: %1$s mini espn in profile (right side block).zip (2.5 KB, 84 downloads)

Similar Mods

Add-On Releases Mini YouTube Video in Profile (right side block) vBulletin 3.7 Add-ons
Profile Enhancements Mini YouTube Video in Profile (right side block) Embed-URL vBulletin 3.7 Add-ons

vblts.ru supports vBulletin®, 2022-2024