Go Back   vb.org Archive > vBulletin Modifications > Archive > vB.org Archives > vBulletin 3.7 > vBulletin 3.7 Add-ons
FAQ Community Calendar Today's Posts Search

Reply
 
Thread Tools
Mini ESPN Video in profile (right side block) Details »»
Mini ESPN Video in profile (right side block)
Version: 1.0, by stangger5 stangger5 is offline
Developer Last Online: Oct 2023 Show Printable Version Email this Page

Category: Profile Enhancements - Version: 3.7.0 Rating:
Released: 02-16-2008 Last Update: 02-16-2008 Installs: 19
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..

Demo-www.next-level-arcade.com

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

Show Your Support

  • This modification may not be copied, reproduced or published elsewhere without author's permission.

Comments
  #12  
Old 08-11-2008, 01:07 PM
nirvana43's Avatar
nirvana43 nirvana43 is offline
 
Join Date: Oct 2007
Location: Pune, India
Posts: 361
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Nice one man. thanks.
Reply With Quote
  #13  
Old 12-09-2008, 10:27 PM
Chance4Today Chance4Today is offline
 
Join Date: Aug 2007
Location: NE
Posts: 187
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

For some reason the video isn't showing up everything installed correctly I am pretty sure.
Reply With Quote
  #14  
Old 12-09-2008, 10:32 PM
Chance4Today Chance4Today is offline
 
Join Date: Aug 2007
Location: NE
Posts: 187
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Maybe 3.8 thing? I will install on another site to check.
Reply With Quote
  #15  
Old 12-09-2008, 11:25 PM
Chance4Today Chance4Today is offline
 
Join Date: Aug 2007
Location: NE
Posts: 187
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Got it thanks
Reply With Quote
Reply


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT. The time now is 02:16 PM.


Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2024, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.10018 seconds
  • Memory Usage 2,247KB
  • Queries Executed 19 (?)
More Information
Template Usage:
  • (1)SHOWTHREAD
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (1)ad_showthread_beforeqr
  • (5)bbcode_code
  • (1)footer
  • (1)forumjump
  • (1)forumrules
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (1)modsystem_post
  • (1)navbar
  • (6)navbar_link
  • (120)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (1)pagenav_pagelink
  • (5)post_thanks_box
  • (5)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (5)post_thanks_postbit_info
  • (4)postbit
  • (5)postbit_onlinestatus
  • (5)postbit_wrapper
  • (1)spacer_close
  • (1)spacer_open
  • (1)tagbit_wrapper 

Phrase Groups Available:
  • global
  • inlinemod
  • postbit
  • posting
  • reputationlevel
  • showthread
Included Files:
  • ./showthread.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/functions_bigthree.php
  • ./includes/class_postbit.php
  • ./includes/class_bbcode.php
  • ./includes/functions_reputation.php
  • ./includes/functions_post_thanks.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
  • showthread_start
  • showthread_getinfo
  • forumjump
  • showthread_post_start
  • showthread_query_postids
  • showthread_query
  • bbcode_fetch_tags
  • bbcode_create
  • showthread_postbit_create
  • postbit_factory
  • postbit_display_start
  • post_thanks_function_post_thanks_off_start
  • post_thanks_function_post_thanks_off_end
  • post_thanks_function_fetch_thanks_start
  • post_thanks_function_fetch_thanks_end
  • post_thanks_function_thanked_already_start
  • post_thanks_function_thanked_already_end
  • fetch_musername
  • postbit_imicons
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • postbit_display_complete
  • post_thanks_function_can_thank_this_post_start
  • pagenav_page
  • pagenav_complete
  • tag_fetchbit_complete
  • forumrules
  • navbits
  • navbits_complete
  • showthread_complete