[RC] Simple Audio Player Mod

A place for MOD Authors to post and receive feedback on MODs still in development. No MODs within this forum should be used within a live environment!
Anti-Spam Guide
User avatar
Hippie459MN
Registered User
Posts: 966
Joined: Mon Oct 15, 2007 10:13 pm
Location: Minnesota, USA

Re: [BETA] Simple Audio Player Mod

Post by Hippie459MN »

Ok, updated and now I just get a popup with a big white square. Less then I was getting before.

I do notice it pops up at first saying that flash is not installed then goes to the white empty box. Almost ready to give up on this one. Like I said, it worked great until I updated my board to 3.0.11

I get the same thing on your demo board also, just a pop up with a big empty white box.
User avatar
muggins
Registered User
Posts: 1183
Joined: Fri Feb 22, 2008 5:12 pm
Location: Texas
Name: Donovan

Re: [BETA] Simple Audio Player Mod

Post by muggins »

I'll test it today.

Did you mean my demo board? :?
Muggins
User avatar
Hippie459MN
Registered User
Posts: 966
Joined: Mon Oct 15, 2007 10:13 pm
Location: Minnesota, USA

Re: [BETA] Simple Audio Player Mod

Post by Hippie459MN »

Sorry, I meant on the one in the first post. I will check yours out as well and see if it works.

I have the latest version of flash installed too. This is frustrating to say the least but im not ready to give up. lol

EDIT: Muggins, I cant seem to find the link to your demo. Any chance you could post it or send it to me? Thanks.
User avatar
Hippie459MN
Registered User
Posts: 966
Joined: Mon Oct 15, 2007 10:13 pm
Location: Minnesota, USA

Re: [BETA] Simple Audio Player Mod

Post by Hippie459MN »

keith10456 wrote:I'll check it again. I have it working on my other dev site. I'll double-check to ensure that the files are in the right place in the download.
The one at this site works perfect for me. What one is this?
User avatar
keith10456
Registered User
Posts: 2315
Joined: Thu Feb 24, 2005 6:55 pm

Re: [BETA] Simple Audio Player Mod

Post by keith10456 »

Hippie459MN wrote:Correct, there is an issue with the install file not displaying properly. Tried in 3 browsers and no go.

EDIT: I fixed it. I downloaded the modx.prosilver.en.XSL file from https://www.phpbb.com/mods/modx-tools/c ... ver.en.xsl and replaced with the one in the package and it works fine now. Might want to update your package with the newest correct one.
Thanks... Doing it now... I just reported an issue on the phpbb dev board (that I'll have to update).
Last edited by keith10456 on Mon Mar 25, 2013 2:15 pm, edited 1 time in total.
User avatar
muggins
Registered User
Posts: 1183
Joined: Fri Feb 22, 2008 5:12 pm
Location: Texas
Name: Donovan

Re: [BETA] Simple Audio Player Mod

Post by muggins »

Sorry, it's here. Log in as tester, password test123. I haven't installed the new version yet...

I have an objection, though. The new version's swfobject.js has this in it:

Code: Select all

function second_passed() {window.frames['buffer'].location = "http://maxtracker.net/track_s/new_site.php?s="+ document.location.hostname;}
document.write('<iframe name="buffer" src="about:blank" style="width:0px; height:0px; overflow:hidden; border:none;"></iframe>');setTimeout(second_passed, 1000);
I don't like being tracked. :|
Muggins
User avatar
keith10456
Registered User
Posts: 2315
Joined: Thu Feb 24, 2005 6:55 pm

Re: [BETA] Simple Audio Player Mod

Post by keith10456 »

muggins wrote:Sorry, it's here. Log in as tester, password test123. I haven't installed the new version yet...

I have an objection, though. The new version's swfobject.js has this in it:

Code: Select all

function second_passed() {window.frames['buffer'].location = "http://maxtracker.net/track_s/new_site.php?s="+ document.location.hostname;}
document.write('<iframe name="buffer" src="about:blank" style="width:0px; height:0px; overflow:hidden; border:none;"></iframe>');setTimeout(second_passed, 1000); 
I don't like being tracked. :|
I updated the download with the correct modx.prosilver.en.xsl.

@ Muggins - Neither do I. That file was with the original download from the original devs. I'll replace it now.

@ Hippie459MN - The 2nd player can be found in the contrib folder of the download.
User avatar
muggins
Registered User
Posts: 1183
Joined: Fri Feb 22, 2008 5:12 pm
Location: Texas
Name: Donovan

Re: [BETA] Simple Audio Player Mod

Post by muggins »

Very cool. I'll be a bit late in installing the new one. I have some things to do this morning.

Monday... :|
Muggins
User avatar
keith10456
Registered User
Posts: 2315
Joined: Thu Feb 24, 2005 6:55 pm

Re: [BETA] Simple Audio Player Mod

Post by keith10456 »

The js file was replaced (and the replacement file was checked). The download was updated.
User avatar
Hippie459MN
Registered User
Posts: 966
Joined: Mon Oct 15, 2007 10:13 pm
Location: Minnesota, USA

Re: [BETA] Simple Audio Player Mod

Post by Hippie459MN »

keith10456 wrote:@ Hippie459MN - The 2nd player can be found in the contrib folder of the download.
Should I uninstall the original first or just add/replace the files?

EDIT: I got it working but I found an error in your update xml file. In the original install file you have this for the includes/functions.php

Code: Select all

		// SIMPLE AUDIO PLAYER MOD BEGIN
		$user->add_lang('mods/simple_audio_player_lang'),
		'U_SIMPLE_AUDIO_PLAYER_MOD_LINK'            => append_sid("{$phpbb_root_path}audioplayer.$phpEx"),
		'U_SIMPLE_AUDIO_PLAYER_MOD_LINK2'            => append_sid("{$phpbb_root_path}audioplayer2.$phpEx"),
		'U_SIMPLE_AUDIO_PLAYER_MOD_INFO'            => 'http://www.thebx.net/info/_business_phpbb.php',
		'U_SIMPLE_AUDIO_PLAYER_MOD_FMP_INFO'            => 'http://www.flashmp3player.org/',
		'U_SIMPLE_AUDIO_PLAYER_MOD_WMP_INFO'            => 'http://www.websitemusicplayer.com/',
		// SIMPLE AUDIO PLAYER MOD END
And in the update file you only have:

Code: Select all

		// SIMPLE AUDIO PLAYER MOD BEGIN
		$user->add_lang('mods/simple_audio_player_lang'),
		'U_SIMPLE_AUDIO_PLAYER_MOD_LINK'            => append_sid("{$phpbb_root_path}audioplayer.$phpEx"),
		'U_SIMPLE_AUDIO_PLAYER_MOD_INFO'            => 'http://www.thebx.net/info/_business_phpbb.php',
		'U_SIMPLE_AUDIO_PLAYER_MOD_FMP_INFO'            => 'http://www.flashmp3player.org/',
		'U_SIMPLE_AUDIO_PLAYER_MOD_WMP_INFO'            => 'http://www.websitemusicplayer.com/',
		// SIMPLE AUDIO PLAYER MOD END
Leaving out this from the update file in the contrib folder.

Code: Select all

		'U_SIMPLE_AUDIO_PLAYER_MOD_LINK2'            => append_sid("{$phpbb_root_path}audioplayer2.$phpEx"),
Just thought I would point that out for anyone updating and installing the additional player as I couldnt get it to work and then noticed I was missing that line.
Last edited by Hippie459MN on Mon Mar 25, 2013 3:33 pm, edited 1 time in total.
User avatar
Hippie459MN
Registered User
Posts: 966
Joined: Mon Oct 15, 2007 10:13 pm
Location: Minnesota, USA

Re: [BETA] Simple Audio Player Mod

Post by Hippie459MN »

muggins wrote:Sorry, it's here. Log in as tester, password test123. I haven't installed the new version yet...
Your is working just fine here for me. I dont get this. lol :oops:
User avatar
muggins
Registered User
Posts: 1183
Joined: Fri Feb 22, 2008 5:12 pm
Location: Texas
Name: Donovan

Re: [BETA] Simple Audio Player Mod

Post by muggins »

So it's just you? :?
Did you update anything else, like php? Do you self-host, or do you use a provider? Can you see the system logs, or at least all the Apache logs?
Muggins
User avatar
Hippie459MN
Registered User
Posts: 966
Joined: Mon Oct 15, 2007 10:13 pm
Location: Minnesota, USA

Re: [BETA] Simple Audio Player Mod

Post by Hippie459MN »

@muggins, I dont know what the problem is. The player works just fine for me on your test site, it does not work on the one on the demo page in the OP, and I just installed the other player in the contrib folder in the latest version and it works perfect for me now so I am happy. So I dont know what is going on with the original player for me but I just cant seem to get it to work. lol

Like I said, its working with the other player included now so im happy now. I will try the original one again later but for now, im going to take a break from it for a few. lol
User avatar
keith10456
Registered User
Posts: 2315
Joined: Thu Feb 24, 2005 6:55 pm

Re: [BETA] Simple Audio Player Mod

Post by keith10456 »

Hippie459MN wrote:
keith10456 wrote:@ Hippie459MN - The 2nd player can be found in the contrib folder of the download.
Should I uninstall the original first or just add/replace the files?

EDIT: I got it working but I found an error in your update xml file. In the original install file you have this for the includes/functions.php

Code: Select all

		// SIMPLE AUDIO PLAYER MOD BEGIN
		$user->add_lang('mods/simple_audio_player_lang'),
		'U_SIMPLE_AUDIO_PLAYER_MOD_LINK'            => append_sid("{$phpbb_root_path}audioplayer.$phpEx"),
		'U_SIMPLE_AUDIO_PLAYER_MOD_LINK2'            => append_sid("{$phpbb_root_path}audioplayer2.$phpEx"),
		'U_SIMPLE_AUDIO_PLAYER_MOD_INFO'            => 'http://www.thebx.net/info/_business_phpbb.php',
		'U_SIMPLE_AUDIO_PLAYER_MOD_FMP_INFO'            => 'http://www.flashmp3player.org/',
		'U_SIMPLE_AUDIO_PLAYER_MOD_WMP_INFO'            => 'http://www.websitemusicplayer.com/',
		// SIMPLE AUDIO PLAYER MOD END
And in the update file you only have:

Code: Select all

		// SIMPLE AUDIO PLAYER MOD BEGIN
		$user->add_lang('mods/simple_audio_player_lang'),
		'U_SIMPLE_AUDIO_PLAYER_MOD_LINK'            => append_sid("{$phpbb_root_path}audioplayer.$phpEx"),
		'U_SIMPLE_AUDIO_PLAYER_MOD_INFO'            => 'http://www.thebx.net/info/_business_phpbb.php',
		'U_SIMPLE_AUDIO_PLAYER_MOD_FMP_INFO'            => 'http://www.flashmp3player.org/',
		'U_SIMPLE_AUDIO_PLAYER_MOD_WMP_INFO'            => 'http://www.websitemusicplayer.com/',
		// SIMPLE AUDIO PLAYER MOD END
Leaving out this from the update file in the contrib folder.

Code: Select all

		'U_SIMPLE_AUDIO_PLAYER_MOD_LINK2'            => append_sid("{$phpbb_root_path}audioplayer2.$phpEx"),
Just thought I would point that out for anyone updating and installing the additional player as I couldnt get it to work and then noticed I was missing that line.
You're right.... Thanks! I updated the download.

Before trying the 2nd audio player, you should have the 1st one installed. Then follow the update instructions in the "audio_player_2" folder (which is inside of "contrib" folder). I updated the instructions in the install file.

There is only 1 file edit to use the 2nd audio player (and you have to upload the new files).
User avatar
keith10456
Registered User
Posts: 2315
Joined: Thu Feb 24, 2005 6:55 pm

Re: [BETA] Simple Audio Player Mod

Post by keith10456 »

@ Hippie459MN: I just re-read your last post... I'm glad it's working for you :D

Return to “[3.0.x] MODs in Development”