PDA

View Full Version : Profile Enhancements - Mini ESPN Video in profile (right side block)


stangger5
17 Feb 2008, 08:02
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..

Demo-www.next-level-arcade.com (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:
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 http://sports.espn.go.com/broadband/video/,,find the video you want..
Say the Embed link is <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 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..
if (is_member_of($vbulletin->userinfo,1 ,2 , 5, 6, 7))

Like this: ,1 ,2 , 3, 4, 5, 6, 7 ,8 ,9

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

:)

zhabbo
17 Feb 2008, 19:40
screenshots please?

stangger5
18 Feb 2008, 08:01
I have a Demo link posted...
Take a look,,you dont have to register...

Ultimate Killer
08 Jun 2008, 14:38
Another great hack, THANKS!!!

PHILLYFAN
08 Aug 2008, 03:20
I did everything to a "T" and there is nothing showing in my profile. Can someone please help me out and might know what I'm doing wrong??

stangger5
08 Aug 2008, 03:52
I did everything to a "T" and there is nothing showing in my profile. Can someone please help me out and might know what I'm doing wrong??

I registered on your site to have a look..

I dont see the option for me to add the espn link in my user_cp..

(1)First create 2 profile fields.
One for ESPN link and one for ESPN title..
(2)Import the plugin..
(3)Edit two templates.
memberinfo_block_espn and MEMBERINFO
(4)Add Embed link..

PHILLYFAN
08 Aug 2008, 18:04
First thing thanks for taking the time and joining my site.

I end of deleting it cause i was so frustrated. I wanna do it over again. I did everything it ask me to do. I went to user CP and added the code but nothing showed on the right side with the link i added.

fukdawrld
08 Aug 2008, 19:58
I did everything to a "T" and there is nothing showing in my profile. Can someone please help me out and might know what I'm doing wrong??

please help via pm.....synciti.net

stangger5
09 Aug 2008, 21:39
First thing thanks for taking the time and joining my site.

I end of deleting it cause i was so frustrated. I wanna do it over again. I did everything it ask me to do. I went to user CP and added the code but nothing showed on the right side with the link i added.

Can you add it back,,so I can try putting in a link ??
Then we can go from there..

Hey,,where did you get the ibProArcade Statistics on your forum home ??
I`ve seen that before...lol..

BucWiLd
10 Aug 2008, 20:12
works great, thanks. how do we get the mp3 setup you have?

nirvana43
11 Aug 2008, 15:07
Nice one man. thanks.

Chance4Today
10 Dec 2008, 00:27
For some reason the video isn't showing up everything installed correctly I am pretty sure.

Chance4Today
10 Dec 2008, 00:32
Maybe 3.8 thing? I will install on another site to check.

Chance4Today
10 Dec 2008, 01:25
Got it thanks :)