Page Index Toggle Pages: [1] 2  Send TopicPrint
Hot Topic (More than 10 Replies) Audio Player in Profile V1.3 for 2.2.3 (Read 17003 times)
Derek Barnstorm
God Member
*****
Offline



Posts: 1146
Location: Warwickshire
Joined: Mar 23rd, 2008
Gender: Male
Audio Player in Profile V1.3 for 2.2.3
Jul 15th, 2008 at 8:29pm
Print Post  
Audio Player in Profile V 1.3

Description:
This mod will allow users to add a link to an Mp3 in User CP and play it back from their profile.
Please visit the JW Player website for more information on their license:

http://creativecommons.org/licenses/by-nc-sa/3.0/

http://www.jeroenwijering.com/?item=JW_FLV_Player

Screenshots:

User CP:


Profile:


Enable/Disable in Admin Center:


Zip package:
Audio_Player_in_Profile_V_1_3.mod
Audio_Player_in_Profile_V_1_3_German.mod
Audio_Player_in_Profile_V_1_3_German_Du.mod
cgi-bin/yabb2/Languages/English/Audio.lng
cgi-bin/yabb2/Languages/German/Audio.lng
cgi-bin/yabb2/Languages/German_Du/Audio.lng
yabbfiles/swfobject.js

Installation:
1) Modify YaBB files using BoardMod or manually.
2) Load modified files to your server.

Admin/Modlist.pl
Admin/NewSettings.pl
Admin/Settings_Main.pl
Sources/Profile.pl
Sources/System.pl
Languages/******/Admin.lng

History:
1.0 - Original Version - 15th July 2008
1.1 - Added Enable/Disable in Admin Center - 23rd July 2008
1.2 - Fixed small bug - If disabled in Admin Center after users had linked to Mp3 the player was still showing - 28th July 2008
1.3 - Removed code from MyCenter.pl. Added German and German_Du language - 16th August 2008
« Last Edit: Oct 16th, 2008 at 7:40pm by Derek Barnstorm »  

Back to top
 
IP Logged
 
Outumuro
God Member
*****
Offline


Publisher - YaBB Toolbar

Posts: 569
Location: Los Angeles
Joined: Apr 14th, 2004
Gender: Male
Re: Music Player in Profile
Reply #1 - Jul 16th, 2008 at 8:01am
Print Post  
Hi Derek,

This looks like a really cool idea.  Couple of questions.
  • Does the player stream or download the file?
  • When you click on the profile, the player doesn't autostart does it (hoping not)?
Suggestion.  Using audio rather than music for the name and description.  Music of course implies... well, music.  Audio implies anything you can listen to... music, speech, etc.

Let's say someone wants to put a audio description of themselves in their profile:

"Hi, my name is Fred.  I live in Bedrock with my wife, Wilma and daughter, Pebbles.  My best friend Barney lives next door with his wife, Betty and their son, Bamm-Bamm.  When not working together at the Slate Gravel Company, Barney & I also write mods for our favorite forum... YaBB."

Audio profiles so to speak... in addition to music. Wink
  


Back to top
WWW  
IP Logged
 
ThM
God Member
*****
Offline



Posts: 585
Location: Germany, Nds.
Joined: May 21st, 2006
Gender: Male
Re: Music Player in Profile
Reply #2 - Jul 16th, 2008 at 10:58am
Print Post  
Hi Derek,

works great with MP3  Thumbs Upsup:

and

@Outumuro

... no autostart  Wink

German_Du and German language strings (It's the same)

Code
Select All
###############################################################################
# Music.lng (Music Player in Profile Mod text definitions)                    #
###############################################################################

$germanlngver = '$Revision: 1.0 $';

%music_txt =(
'01' => "Audiodatei:",
'02' => "Es muss eine vollständige Url sein. <br />(z.B. http://www.meineseite.com/song.mp3)",
'03' => "Mein Lieblingslied",
);

1; 

« Last Edit: Jul 16th, 2008 at 4:35pm by ThM »  

Greeting ThM
Back to top
 
IP Logged
 
Derek Barnstorm
God Member
*****
Offline



Posts: 1146
Location: Warwickshire
Joined: Mar 23rd, 2008
Gender: Male
Re: Audio Player in Profile
Reply #3 - Jul 16th, 2008 at 4:05pm
Print Post  
Ah yes, 'Audio' is a better idea... I've updated the first post.

Outumuro wrote on Jul 16th, 2008 at 8:01am:
  • Does the player stream or download the file?
  • When you click on the profile, the player doesn't autostart does it (hoping not)?

The player streams the Mp3, it is not downloadable.
No autostart.

ThM, before I add the language packs, is that correct or does the word 'Muzik' need changing to whatever 'Audio' is?

This is the new English file:

Code
Select All
###############################################################################
# Audio.lng (Audio Player in Profile Mod text definitions)			     #
###############################################################################

$englishlngver = '$Revision: 1.0 $';

%audio_txt =(
'01' => "Add an Mp3 to your profile",
'02' => "This must be a complete URL. <br />http://www.mysite.com/myaudio.mp3",
'03' => "Audio",
);

1; 



I've got to go out for a while now, so I'll update the screenshots when I get back.

Thanks,

Derek
« Last Edit: Jul 17th, 2008 at 3:15pm by Derek Barnstorm »  
Back to top
 
IP Logged
 
ThM
God Member
*****
Offline



Posts: 585
Location: Germany, Nds.
Joined: May 21st, 2006
Gender: Male
Re: Audio Player in Profile
Reply #4 - Jul 16th, 2008 at 4:38pm
Print Post  
Quote:
..... is that correct or does the word 'Muzik' need changing to whatever 'Audio' is?


I think use "My favorite Song" instead "Music"
I've modified the german language string in post #2
  

Greeting ThM
Back to top
 
IP Logged
 
Derek Barnstorm
God Member
*****
Offline



Posts: 1146
Location: Warwickshire
Joined: Mar 23rd, 2008
Gender: Male
Re: Audio Player in Profile
Reply #5 - Jul 17th, 2008 at 3:14pm
Print Post  
Thanks ThM, but I've gone with Outumuro's idea, so we are using 'Audio' instead of 'Music', so this is the new English file that needs translating if that's okay:

Code
Select All
###############################################################################
# Audio.lng (Audio Player in Profile Mod text definitions)			     #
######################################################################## #######

$englishlngver = '$Revision: 1.0 $';

%audio_txt =(
'01' => "Add an Mp3 to your profile",
'02' => "This must be a complete URL. <br />http://www.mysite.com/myaudio.mp3",
'03' => "Audio",
);

1;  



Thanks
  
Back to top
 
IP Logged
 
Outumuro
God Member
*****
Offline


Publisher - YaBB Toolbar

Posts: 569
Location: Los Angeles
Joined: Apr 14th, 2004
Gender: Male
Re: Audio Player in Profile
Reply #6 - Jul 17th, 2008 at 9:58pm
Print Post  
  


Back to top
WWW  
IP Logged
 
Spikecity
God Member
*****
Offline


Beer anyone ?

Posts: 2630
Location: New York
Joined: Apr 16th, 2002
Gender: Male
Re: Audio Player in Profile
Reply #7 - Jul 23rd, 2008 at 11:58am
Print Post  
Derek, Jeroen's FLV player swf is already part of the base package in 2.2.1 and higher, so perhaps use the path to that one instead of uploading yet another player Wink
  

Nothing to add here Smiley
Back to top
 
IP Logged
 
Derek Barnstorm
God Member
*****
Offline



Posts: 1146
Location: Warwickshire
Joined: Mar 23rd, 2008
Gender: Male
Re: Audio Player in Profile
Reply #8 - Jul 23rd, 2008 at 2:44pm
Print Post  
Ah right. Okay, I'll take a look and hopefully change it later on today.

Thanks.
  
Back to top
 
IP Logged
 
Derek Barnstorm
God Member
*****
Offline



Posts: 1146
Location: Warwickshire
Joined: Mar 23rd, 2008
Gender: Male
Re: Audio Player in Profile V1.1
Reply #9 - Jul 23rd, 2008 at 6:02pm
Print Post  
Oops! I'd made a mistake in the last version so it wasn't working properly... Sorry about that, anybody who has installed it, please uninstall and re-install the new one.

Anyway, I've updated the first post so it now runs off the media player that already comes with YaBB. I've also added enable/disable in Admin Center - Forum Settings - Members.

Any problems, please let me know.
  
Back to top
 
IP Logged
 
Outumuro
God Member
*****
Offline


Publisher - YaBB Toolbar

Posts: 569
Location: Los Angeles
Joined: Apr 14th, 2004
Gender: Male
Re: Audio Player in Profile V1.1
Reply #10 - Jul 24th, 2008 at 8:40am
Print Post  
Nice work gentlemen. Smiley
  


Back to top
WWW  
IP Logged
 
Derek Barnstorm
God Member
*****
Offline



Posts: 1146
Location: Warwickshire
Joined: Mar 23rd, 2008
Gender: Male
Re: Audio Player in Profile V1.2
Reply #11 - Jul 28th, 2008 at 8:30pm
Print Post  
I've fixed a small bug in this. If disabled in admin center after users had linked to an Mp3, the player was still showing.

Updated first post.
  
Back to top
 
IP Logged
 
laurin31135
New Member
*
Offline


I love YaBB 2.2.3

Posts: 48
Location: vor der Höhe
Joined: Aug 11th, 2008
Gender: Male
Re: Audio Player in Profile V1.2 for 2.2.3
Reply #12 - Aug 11th, 2008 at 4:23pm
Print Post  
I like this Mod a lot, but I have found a little problem. Sometimes after installing, the link to the mp3 file is not remembered, though I saved it. (sometimes it works great and sometimes it doesn't)

Is there any possibility of having made a special mistake and in which file are those links written after saving?
  
Back to top
IP Logged
 
Derek Barnstorm
God Member
*****
Offline



Posts: 1146
Location: Warwickshire
Joined: Mar 23rd, 2008
Gender: Male
Re: Audio Player in Profile V1.2 for 2.2.3
Reply #13 - Aug 11th, 2008 at 6:01pm
Print Post  
How often does this happen... Does it only happen after a fresh install?
I don't know why it's happening if it isn't happening all the time... Have you downloaded the latest zip file?
  
Back to top
 
IP Logged
 
laurin31135
New Member
*
Offline


I love YaBB 2.2.3

Posts: 48
Location: vor der Höhe
Joined: Aug 11th, 2008
Gender: Male
Re: Audio Player in Profile V1.2 for 2.2.3
Reply #14 - Aug 11th, 2008 at 8:20pm
Print Post  
Yes, I have! And I just think that there might be a problem with another mod.

But up to now, I could not figure out which one it was.

I have seen that problem twice! And I have installed it 5 times always together with different mods.

A second idea was that I might have done a mistake while I was doing the chmod. And I left one special file without giving the permission to write.

Fortunately I was using a special installation to test all the mods, so that my real board is still working perfectly. Unfortunately without the Audio Player Mod.
  
Back to top
IP Logged
 
Page Index Toggle Pages: [1] 2 
Send TopicPrint