PDA

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


stangger5
02-16-2008, 10:00 PM
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
02-17-2008, 05:40 PM
screenshots please?

stangger5
02-18-2008, 06:01 AM
I have a Demo link posted...
Take a look,,you dont have to register...

Ultimate Killer
06-08-2008, 12:38 PM
Another great hack, THANKS!!!

PHILLYFAN
08-08-2008, 01:20 AM
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-08-2008, 01:52 AM
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-08-2008, 04:04 PM
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-08-2008, 05:58 PM
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
08-09-2008, 07:39 PM
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
08-10-2008, 06:12 PM
works great, thanks. how do we get the mp3 setup you have?

nirvana43
08-11-2008, 01:07 PM
Nice one man. thanks.

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

Chance4Today
12-09-2008, 10:32 PM
Maybe 3.8 thing? I will install on another site to check.

Chance4Today
12-09-2008, 11:25 PM
Got it thanks :)