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 - MP3 Player in Profile (https://vborg.vbsupport.ru/showthread.php?t=187174)

fernas 08-03-2008 10:00 PM

MP3 Player in Profile
 
Before anything, I want to thank to Mini YouTube Profile and Embed MP3 coders.

With this mod, your users can have music in their profiles. All the features of this mod are:

- Auto Play.
- MP3 Player in Right Side Block.

Install instuctions:

1.- Import product.
2.- Download Player: http://www.1pixelout.net/code/audio-...ugin/#download
3.- Upload player in forum root.
4.- Create 1 profile field:

Single-Line Text Box
Title: My Music (or whatever)
Description: Put a complete URL to your MP3 file.
Private field: Yes.
Field Searchable on Members List: No
Show on Members List: No

Save.

5.- Edit memberinfo_block_profmp3:

Code:

<if condition="$userinfo[fieldx]">
<div id="profmp3" class="tborder content_block">
        <h4 class="thead block_title">
                <a href="#top" class="collapse_gadget" onclick="return toggle_collapse('profmp3')"><img id="collapseimg_profmp3" src="images/buttons/collapse_generic.gif" alt="" border="0" /></a>
                <a name="albums"></a>
                <span class="block_name">My Music</span>
        </h4>
        <div class="block_content" id="collapseobj_profmp3" style="">

                       
<div class="alt2" align="center"><script language="JavaScript" src="http://www.yousite.com/forum/audio-player/audio-player.js"></script>
<object type="application/x-shockwave-flash" data="http://www.yousite.com/forum/audio-player/player.swf" id="audioplayer4" height="24" width="220">
<param name="movie" value="http://www.yoursite.com/forum/audio-player/player.swf">
<param name="FlashVars"
value="playerID=4&amp;slider=0x303030&track=0xFFFFFF&border=0x666666&loader=0xC52C24&autostart=yes&loop=yes&soundFile=$userinfo[fieldx]">
<param name="quality" value="high">
<param name="menu" value="false">
<param name="wmode" value="transparent">
</object>
       
</div>

</div>
</div>
</if>

Change in fieldx the x with the ID of your profile field.
Change yoursite.com/... with your domain and with the directory where you uploaded the audo player files.

6.- Edit MEMBERINFO template and search:

Code:

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

Put $blocks[profmp3] whatever you want in there:

Code:

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

Sorry for my English :o.

iogames 08-04-2008 06:32 AM

And I will thank u if you tell me about the Mini YouTube Bit!

yahoooh 08-04-2008 08:09 AM

thanks and installed

schlottkej 08-04-2008 04:21 PM

nicely done!

alqloob alsahya 08-04-2008 08:11 PM

nice wo0ow good jop :)

suvari1794 08-04-2008 09:04 PM

nice mod, but it doesn't work on my forum (3.7.2) although i do everything :(

Turbo&Auto 08-05-2008 12:25 PM

^Make sure you catch that last fieldx towards the bottom. I missed it and it wouldnt open my audio files. I went thru everything again and found that to be my problem. Hope that helps :)

dvbusuario 08-05-2008 12:51 PM

Support Shoutcast Stream?

Thx

PinkDaisy 08-05-2008 01:05 PM

I have done all the steps to this mod and it even shows up on my profile, but it just stays at buffering.

Any ideas why?

Thanks in advance.

mkeax 08-05-2008 04:15 PM

Quote:

Originally Posted by PinkDaisy (Post 1591869)
I have done all the steps to this mod and it even shows up on my profile, but it just stays at buffering.

Any ideas why?

Thanks in advance.

Mine keeps saying ERROR even though I have tried everything I know.

Help please? haha.

Breathex 08-06-2008 02:43 AM

Some of my users in different but not banned usergroups, can not see player in profiles. How can i solve this?

G-man 08-06-2008 02:53 AM

Where is the music or mp3 stored for this player. Is it on the server with vB? If so what about copyright issues?

xxalexkimxx 08-06-2008 05:24 AM

Very nice...thanks for sharing

Veer 08-08-2008 08:33 AM

Quote:

Originally Posted by Breathex (Post 1592335)
Some of my users in different but not banned usergroups, can not see player in profiles. How can i solve this?

same problem, admin can see player in profiles but other users can't see Music block.
Is there any solution for it?

Tharos 08-08-2008 09:00 PM

excelent, i gonna test it

PinkDaisy 08-09-2008 02:16 PM

Anyone know why mine stays at buffering?

yahoooh 08-09-2008 05:14 PM

Quote:

Originally Posted by PinkDaisy (Post 1594790)
Anyone know why mine stays at buffering?

depending on connection and link itself from another site

ChrisAntix84 08-10-2008 12:05 AM

Quote:

Originally Posted by yahoooh (Post 1594882)
depending on connection and link itself from another site


nah it cant be that because i uploaded a song to my own server and it always stays buffering aswell

anybody know a solution for this?

PinkDaisy 08-10-2008 12:12 AM

yep, I uploaded mine to my own site to test it and it did the same thing...

yahoooh 08-10-2008 02:22 AM

about me i use another mp3 player and i modified this to work with at maximum 5 mp3 for every user :)

Thelonius Beck 08-10-2008 01:31 PM

Wonderful, I've been looking for this for some time now. Thanks.:D


Quote:

Originally Posted by Breathex (Post 1592335)
Some of my users in different but not banned usergroups, can not see player in profiles. How can i solve this?

Quote:

Originally Posted by Pehchaan (Post 1593928)
same problem, admin can see player in profiles but other users can't see Music block.
Is there any solution for it?

You will need to edit the XML which has a list of usergroups who can view the MP3 player. Just add your custom usergroup numbers to the list, save, and overwrite the product.

ChrisAntix84 08-10-2008 01:36 PM

Quote:

Originally Posted by PinkDaisy (Post 1595124)
yep, I uploaded mine to my own site to test it and it did the same thing...


daisy i have mine working now, the problem was that the song i first uploaded was 8mb and the second one was only 2mb which worked, maybe the file you uploaded was to big aswell

try uploading a smaller file and see if that works :)

Veer 08-11-2008 05:25 PM

Quote:

Originally Posted by Thelonius Beck (Post 1595451)
Wonderful, I've been looking for this for some time now. Thanks.:D






You will need to edit the XML which has a list of usergroups who can view the MP3 player. Just add your custom usergroup numbers to the list, save, and overwrite the product.

Oh I Got it, thanks :)

Chance4Today 08-13-2008 03:20 PM

How do I find the

Quote:

Description: Put a complete URL to your MP3 file.
I have 3.7.2

and where do we get music? OK I am a newbie LOL

Chance4Today 08-13-2008 03:36 PM

Everything uploaded but nothing here must have done something wrong..

AnabolicResourc 08-14-2008 09:44 PM

Works great !!

PinkDaisy 08-14-2008 10:08 PM

I did do one that is less than that and it's still the same. Oh well. :(

popular 08-18-2008 06:06 PM

im stuck @ error opening file/file not found and ive tried them all including the userfieldx at the bottom

GrendelKhan{TSU 08-18-2008 06:59 PM

LOVING IT!!
GK Profile demo


edit: getting problem not working in IE but working in FF. :( any ideas?

Baldilocks 08-20-2008 12:00 AM

Yeah, i'd like to know where to get music as well. :)

GrendelKhan{TSU 08-20-2008 12:53 AM

ok. I could only get this to work if:

- the mp3 is self-hosted (ie: on same server as forums)
- in FireFox


anyone get this working properly for IE and using mp3 urls from other locatoins?



Quote:

Originally Posted by Thelonius Beck (Post 1595451)
Wonderful, I've been looking for this for some time now. Thanks.:D

You will need to edit the XML which has a list of usergroups who can view the MP3 player. Just add your custom usergroup numbers to the list, save, and overwrite the product.


ok...opened xml file (opened the attached xml of this add-on in wordpad), but what does the code look like where we have to add usergroups? what is the correct semantics for adding?
sorry.... xml n00b... :(

Edit: found it!! woot! :D

GrendelKhan{TSU 08-21-2008 01:48 AM

bump....

still only get it to work in FireFox

Anyone get this working properly for IE??

:confused:


EDIT! got to to work...was missing the last userinfo filed in thememberinfo_block_profmp3 edit. doh!

yotsume 08-31-2008 01:25 PM

Installed... this rocks... literally! hahaha

ArnyVee 08-31-2008 06:14 PM

Am I supposed to upload my own music or can I stream? Anyway that I can save diskspace by having music somewhere else?

Espeacke 08-31-2008 07:09 PM

hello I could give one second please ..
First apologize for my English and I am from mexico is very bad.

I get error when opening the file.

https://vborg.vbsupport.ru/

Even I have already done everything to change routes, with different servers, check everything, and everything I do well.
Even wear the test.mp3 and continues to give "error opening file."
Hopefully I can give advice.

Thank you.

GrendelKhan{TSU 09-01-2008 08:11 AM

Quote:

Originally Posted by ArnyVee (Post 1611364)
Am I supposed to upload my own music or can I stream? Anyway that I can save diskspace by having music somewhere else?

either/or. I have some I host and host elsewhere (ie: works for me at a free host. :))

yotsume 09-14-2008 11:33 AM

Can the player height be made a little wider so the tags, time, and other info aren't so squished. If the player was a little wider it would be much easier to read the info on the player. Is there a file we can edit to change the height of the player?

THANKS!

EGF_Mafia 09-17-2008 06:23 PM

Quote:

Originally Posted by Espeacke (Post 1611391)
hello I could give one second please ..
First apologize for my English and I am from mexico is very bad.

I get error when opening the file.

https://vborg.vbsupport.ru/

Even I have already done everything to change routes, with different servers, check everything, and everything I do well.
Even wear the test.mp3 and continues to give "error opening file."
Hopefully I can give advice.

Thank you.

i get the same error. any help?

Replicators 09-17-2008 08:26 PM

I can see a better version made of this, the music box is a lil small, it could be improved by allowing users to add images and such to it, aswell as a autoscrolling lyric box or something. Personally, i don't think users should be allowed to upload music themselves, but only allow them to use music in the forums library, like how myspace has it. This way we can set the album image above all songs, so members wouldn't have to mess with uploading the image for the song. It would be the forum owners responsability for copyright bs, or atleast make this optional. Below the mp3 box would be a link to the library of songs in which users can just select what song they want.

Baldilocks 09-19-2008 04:12 AM

You only get "Error Opening File" if you are not linking DIRECTLY to an .mp3 file.


All times are GMT. The time now is 06:04 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.01380 seconds
  • Memory Usage 1,827KB
  • 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
  • (3)bbcode_code_printable
  • (12)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (2)pagenav_pagelink
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (40)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