vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 3.7 Add-ons (https://vborg.vbsupport.ru/forumdisplay.php?f=228)
-   -   Profile Enhancements - Mini ESPN Video in profile (right side block) (https://vborg.vbsupport.ru/showthread.php?t=170721)

stangger5 02-16-2008 10:00 PM

Mini ESPN Video in profile (right side block)
 
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

:)

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

Quote:

Originally Posted by PHILLYFAN (Post 1593810)
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

Quote:

Originally Posted by PHILLYFAN (Post 1593810)
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

Quote:

Originally Posted by PHILLYFAN (Post 1594140)
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?


All times are GMT. The time now is 01:10 AM.

Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.

X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.01444 seconds
  • Memory Usage 1,749KB
  • Queries Executed 10 (?)
More Information
Template Usage:
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (5)bbcode_code_printable
  • (3)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (1)pagenav_pagelink
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (10)printthreadbit
  • (1)spacer_close
  • (1)spacer_open 

Phrase Groups Available:
  • global
  • postbit
  • showthread
Included Files:
  • ./printthread.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/class_bbcode_alt.php
  • ./includes/class_bbcode.php
  • ./includes/functions_bigthree.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
  • printthread_start
  • pagenav_page
  • pagenav_complete
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete