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

Reply
 
Thread Tools
Hypster.com Mp3 Player for Member profile Details »»
Hypster.com Mp3 Player for Member profile
Version: 1.0.1, by luggz luggz is offline
Developer Last Online: Feb 2017 Show Printable Version Email this Page

Category: Profile Enhancements - Version: 3.8.4 Rating:
Released: 01-24-2010 Last Update: Never Installs: 4
Uses Plugins
Code Changes Translations  
No support by the author.

Remember to press install and rate.

So this mod was inspired by TimberFloorAu Play list mod but, based on stangger5 code.

Since the playlist.com method no longer works and mixpod is only video's, i'd thought i'd re-write this mod to work with Hypster.com playlist.

I take no credit on the original mod and base work, all i did was update and a little re-write to work with hypster.

If you use this please click install.

Ok enough oh the jibber jabber and get into it.

I have redone this mod on vb3.8.4 and have not tested on any other versions.
__________________________________________________ ___

First create 4 profile fields.
---First one is for your Hypster id
example: http://www.hypster.com/flash/newplay...2184:1697073:0
so the ID is "1712184:1697073:0"
---Second one is for Hypster Shuffle
Default off
---Third is for Hypster Autoplay
Turn auto play on or off
--- forth Hypster Color
Pick your player color, default is gray.

__________________________________________________ ______________________
admin >> User Profile Fields >> Add New User Profile Field

1)Single-Line Text Box
Title: Hypster Id
Description: Go to embed player, and look for line http://www.hypster.com/flash/newplay...2184:1697073:0.
You just want "1712184:1697073:0"

Private Field: Yes
Field Searchable on Members List: NO
Show on Members List: NO

Then Save..

*** Remember the Field number..
Lets say the field number is 20 you will need to change the
a in $userinfo[fielda] to 20 like this to $userinfo[field20]
__________________________________________________ ______________________
Create another Profile Field,,

2)Single Selection Menu
Title: Hypster Shuffle
Description: Turn shuffle on and off.

Options: ( remember a new line for each of these options )
0
1

Private Field: Yes
Field Searchable on Members List: NO
Show on Members List: NO

Then Save..

*** Remember the Field number..
Lets say the field number is 21 you will need to change the
a in $userinfo[fieldb] to 21 like this to $userinfo[field21]
__________________________________________________ ______________________

Create another Profile Field,,

3)Single Selection Menu
Title: Hypster Autoplay
Description: Turn auto play on and off.

Options: ( remember a new line for each of these options )
false
true

Private Field: Yes
Field Searchable on Members List: NO
Show on Members List: NO

Then Save..

*** Remember the Field number..
Lets say the field number is 22 you will need to change the
a in $userinfo[fieldb] to 22 like this to $userinfo[field22]
__________________________________________________ ______________________

Create another Profile Field,,

4)Single Selection Menu
Title: Hypster Color
Description: Select the color you want

Options: ( remember a new line for each of these options )
gray
purple
blue
green
red
pink
yellow

Private Field: Yes
Field Searchable on Members List: NO
Show on Members List: NO

Then Save..

*** Remember the Field number..
Lets say the field number is 23 you will need to change the
a in $userinfo[fieldb] to 23 like this to $userinfo[field23]

__________________________________________________ ______________________

Import the plugin..

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

__________________________________________________ ______________________

Edit five templates.

1)admincp >> Styles & Templates >> Member Info Templates >>
memberinfo_block_playlist

Find two $userinfo[fieldA] & $userinfo[fieldB] and change them to the Playlist ID field number..

Find one $userinfo[fieldC] and change the C to the shuffle field number..

Find one $userinfo[fieldD] and change the D to the Auto Play feild number

Fine one $userinfo[fieldE] and change the E to the Color feild number

Mine is, 17 17 18 19 20

What it should look like:
Code:
<div align="center">
<!-- Hypster Playlist -->
<if condition="$bbuserinfo[field17]">
<div id="playlist" class="tborder content_block">
	<h4 class="thead block_title">
		<a href="#top" class="collapse_gadget" onclick="return toggle_collapse('playlist')"><img id="collapseimg_playlist" src="images/buttons/collapse_generic.gif" alt="" border="0" /></a>
		<a name="albums"></a>
		<span class="block_name">Hypster Playlist</span>
	</h4>
	<div class="block_content" id="collapseobj_playlist" style="">
	

		
			
	<div class="alt2 block_row block_footer">
<embed quality="high" style="width:400px;visibility:visible; height:300px;" type="application/x-shockwave-flash" height="300" width="400"  pluginspage="http://www.macromedia.com/go/getflashplayer" border="0" src="http://www.hypster.com/flash/newplayer.swf?id=$userinfo[field17]$userinfo[field20]&autoplay=$userinfo[field18]&color_scheme=$userinfo[field19]" />	
	</div>

</div>
</div>
</if>
<!-- / Hypster playlist -->
</div>

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[playlist] anywhere in there..
I have mine after $blocks[friends_mini]..
Like this,,

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

__________________________________________________ ______________________

Go to www.hypster.com and log into your account.
Get the embed code, and look for a line called http://www.hypster.com/flash/newplay...2184:1697073:0. You just want "1712184:1697073:0"

To edit your Playlist fields..
USERCP >> Edit Your Details >>
__________________________________________________ ______________________
I did a rewrite of this mod since all the others are dead, outdated and just don't work.

I found hypster and adapted the code to it, i will be doing a update for the custom player colors just not at this moment.

I have to give credit to the originally coder of this, i used the older version till the site's updated.

Thanks for a easy base to work off of.

I take no credit for the original mod, just the update to make it work with hypster.

__________________________________________________ ____

===Original credits===

HAVE FUN.

This code has been adapted from stannger5 YouTube Code, please give credit where credit is due to Stangger5

stangger5
http://www.next-level-arcade.com/

His code is awesome, all I have done is reconfigure for others to enjoy.

R+E+S+P+E+C+T

Brought to you by British Expats Australia, www.yobromofo.com/forum.

To Contact myself or Stangger5 or yobro

Luggz > https://vborg.vbsupport.ru/member.php?u=241870
Timberfloorau > https://vborg.vbsupport.ru/member.php?u=252664
Stangger5 > https://vborg.vbsupport.ru/member.php?u=100434
______________________________________
Hope this helps someone, luggz.

Download Now

File Type: zip Hypster playlist mod.zip (2.9 KB, 47 views)

Screenshots

File Type: png player.png (33.0 KB, 0 views)
File Type: png user cp.png (12.3 KB, 0 views)

Supporters / CoAuthors

Show Your Support

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

Comments
  #2  
Old 01-25-2010, 03:27 PM
luggz's Avatar
luggz luggz is offline
 
Join Date: Feb 2008
Location: S.C
Posts: 46
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Little update, added the ability for users to turn this mod on or off.

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

1)Single Selection Menu
Title: Hypster On/Off mod
Description: Turn this mod on and off.

Options: ( remember a new line for each of these options )
300 (make this the width of the player)
0

Private Field: Yes
Field Searchable on Members List: NO
Show on Members List: NO

Then Save..

*** Remember the Field number..
Lets say the field number is 21 you will need to change the
a in $userinfo[fieldb] to 21 like this to $userinfo[field21]

---------------------------

Edit one templates.

1)admincp >> Styles & Templates >> Member Info Templates >>
memberinfo_block_playlist

Find line <embed quality="high" style="width:400px;visibility:viable; height:300;"

And replace with

<embed quality="high" style="width:400px;visibility:viable; height:$userinfo[field21];"

Thats it your done, now your users can disabled the mod if they don't like it.

Its a ghetto mod but it works.
Attached Images
File Type: png on off.png (3.6 KB, 0 views)
Reply With Quote
  #3  
Old 02-10-2010, 01:05 AM
guitarlogan guitarlogan is offline
 
Join Date: Jul 2009
Posts: 2
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Hi luggz,

Thanks for the work man.

I was only seeing the MP3 player when logged on as my own ID.

Using $userinfo instead of bbuserinfo in the memberinfo_block_playlist took care of it.

<div align="center">
<!-- Hypster Playlist -->
<if condition="$bbuserinfo[field17]">


Cheers,
gL
Reply With Quote
  #4  
Old 01-08-2011, 03:45 AM
Anne Bonny Anne Bonny is offline
 
Join Date: Jul 2010
Posts: 4
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

When I try to import the product, I get an error saying

XML Error: XML declaration not finished at Line 1

I'm sure it's something I'm doing wrong since I'm poor at these things. Any suggestions?
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 09:04 AM.


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.03781 seconds
  • Memory Usage 2,272KB
  • Queries Executed 21 (?)
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
  • (1)bbcode_code
  • (1)footer
  • (1)forumjump
  • (1)forumrules
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (1)modsystem_post
  • (1)navbar
  • (4)navbar_link
  • (120)option
  • (4)post_thanks_box
  • (4)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (4)post_thanks_postbit_info
  • (3)postbit
  • (4)postbit_attachment
  • (4)postbit_onlinestatus
  • (4)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_postinfo_query
  • fetch_postinfo
  • 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_attachment
  • postbit_display_complete
  • post_thanks_function_can_thank_this_post_start
  • tag_fetchbit_complete
  • forumrules
  • navbits
  • navbits_complete
  • showthread_complete