Hey there! Stoker! Good to be here!
I wanted to share an issue I discovered with your version--I don't know if it's a fix or more like a bug report.
I've been using the
Original Version: 1.4.0 since phpBB2 of this Radio MOD since 2005. Recently I've modified it so it can also accept and switch to
mixcloud[dot]com
stream accounts--a popular stream site for my type of members (DJs).
Yesterday when I found your mod for phpBB3 (which I like), I noticed that the PHP portion that handles the media players was split to HTML and the problem is the auto switch for the "
radio type".
Let me explain:
On the original version, if in the
radio.xml
if I place the "radio type" to
wm
, the Windows Media Player will be used. If it's "
rm
" it should load the Real Media Player.
So on my modification, if I place "
mc
", it will switch to the embedded code for mixcloud and it loads fine.
The problem:
The problem is that on your version, it doesn't seem to obey the command to switch to the mixcloud media player. Maybe a bug on your version?
Here is the PHP code I am currently using on the old PHP Radio Mod version, which works on my site.
~~sorry had to attach the code in txt format, since I am not authorized to post url links. -- the url links are within the code...
You can test my live radio link on my site found here:
mixingonbeat[dot]com
(top right menu next to FAQs link) -- if you click on the last link "MOB"s TagTeams and Mixes" it will change to a mixcloud media player.
On your new Radio MOD version this code needs to be added to the
radio.html
template file. So I added the following mixcloud code within. See attachment below again.
As you can see, basically I added:
<!-- ELSEIF NP_TYPE eq "MC" -->
, but it doesn't seem to switch.
So did I do something incorrectly or is the
ELSEIF
not the correct syntax command?
Out of curiosity what does the "
eq
" stand for after
NP_TYPE
?