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)
-   -   Add-On Releases - Soundclick Music Player Add-on (https://vborg.vbsupport.ru/showthread.php?t=199810)

indie2industry 12-25-2008 10:00 PM

Soundclick Music Player Add-on
 
With this mod, your users can place their music player from soundclick within their profiles.

Install Instructions:


>>>Step 1. Go To AdminCP, Create 1 profile field:

Single-Line Text Box
Title: Soundclick Music
Description: Insert your soundclick Band ID number here. You can find it by logging into
your soundclick profile and checking the ending of the URL.
Private field: Yes.
Field Searchable on Members List: No
Show on Members List: No





>>>>Step 2. import product
PLEASE NOTE!!!! BEFORE IMPORTING PRODUCT, edit the XML FILE
Find:
Code:

<phpcode><![CDATA[if (is_member_of($vbulletin->userinfo,1 ,2 , 5, 6, 7))
Change 1,2,5,6,7 to the usergroups you want to be able to view the music player.




>>>>Step 3. go to Style Manager-> edit templates-> Member Info Templates-> MEMBERINFO, find:

Code:

<div id="sidebar_container">
        <!-- sidebar -->


directly under that put:

Code:

$blocks[Soundclick_music_player]

>>>>Step 4. go to Style Manager-> edit templates-> Member Info Templates-> memberinfo_block_scmusicplayer, find:

Code:

[fieldx]
([fieldx] shows up 2 times)

>>>>change "x" to appropriate field number<<<<




>>>>Step 5. Go to Style Manager-> edit templates-> Member Info Templates-> memberinfo_css, find:


Code:

#content_container
Directly below put:

Code:

<if condition="$userinfo[fieldx]">
 {
        width:865px;
        float:$stylevar[left];
        margin-$stylevar[right]:-256px;
}
</if>



Find:

Code:

#sidebar_container

Directly Below Put:

Code:

<if condition="$userinfo[fieldx]">
{
        width:306px;
        float:$stylevar[right];
}
</if>






If you have any custom templates that effect your css, make sure adjust them accordingly.

>>>>>change "[fieldx]" to appropriate field number<<<<
Click Installed
:cool:

indie2industry 12-27-2008 06:08 AM

There's also one improvement I'll be making soon.

King Fly 01-07-2009 02:28 PM

imma check it out

King Fly 01-28-2009 09:38 PM

the player never loads any of the songs

indie2industry 02-14-2009 08:03 PM

Quote:

Originally Posted by King Fly (Post 1727580)
the player never loads any of the songs

send me a link..

Allan 02-14-2009 09:46 PM

Do you have demo please ?

uprentiss 04-13-2009 06:51 PM

hey the player is constantly sayin undefined and doesnt load anything

can u uhelp me wit this please

rase2 06-22-2009 05:50 PM

would this work on 3.8?

farazfaraz 06-22-2009 07:10 PM

the best!


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

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.01103 seconds
  • Memory Usage 1,731KB
  • 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
  • (8)bbcode_code_printable
  • (1)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (9)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
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete