News:

Want to get involved in developing SMF, then why not lend a hand on our github!

Main Menu

Radio

Started by torniyo, August 18, 2006, 08:39:13 PM

Previous topic - Next topic

torniyo

Quote from: mickyd2006 on September 03, 2006, 02:55:16 PM
Great Job torniyo.

I noticed you added cURL support :)
Thanks you.  ;)

Quote from: mickyd2006 on September 03, 2006, 02:55:16 PM
Just one point.. It would be better for users to select the stations rather than preset one station in admin.

I believe that the modification is secure because the administration keeps the default values (IP, etc).
Nobody should put IP's where the mod executes the "data". It could be danger...

But a possible selection of stations (radio buttons), perhaps, but I should assure that it don't commit the security (I have to see it).

Quote from: mickyd2006 on September 03, 2006, 02:55:16 PM
Other than that.. brilliant job :)

Thanks!

mickyd2006

Quote from: torniyo on September 03, 2006, 04:27:23 PM

I believe that the modification is secure because the administration keeps the default values (IP, etc).
Nobody should put IP's where the mod executes the "data". It could be danger...

But a possible selection of stations (radio buttons), perhaps, but I should assure that it don't commit the security (I have to see it).


Thanks!
[/quote]

what I meant was that it would be better if the user could chose the station he wanted to listen to rather than admin just chose 1 station and thats it.

Admin would still define the stations but the user could select the station he wanted to hear. Which brings us to the user dropdown menus again :)
High Quality Low Cost CMS Installations - Just-Installs.com

SOHK: School Of Hard Knox - Hard Hitting Lessons In Life


I Wonder:

What Exactly Did The Man Who Invented The Drawing Board Go Back To?
Why Are Disasters Always Described As Great?
What Platform Was Windows Designed On?

torniyo

Quote from: mickyd2006 on September 04, 2006, 08:36:59 AM
what I meant was that it would be better if the user could chose the station he wanted to listen to rather than admin just chose 1 station and thats it.

Admin would still define the stations but the user could select the station he wanted to hear. Which brings us to the user dropdown menus again :)

Yes, it can be.  ;)

imranali

How does one change the radio stations in the mod? And there is no link for the mod on the top bar as posted by someone in the earier posts.

Bigguy

If your using another theme other than the default then you have to add the button to the theme manually.

Froggy

has anyone tried this on RC3

does it work there too

what (if any) changes for RC3 are required other than installing it


Skipdawg

Quote from: Froggy on September 05, 2006, 04:17:06 AM
has anyone tried this on RC3

does it work there too

what (if any) changes for RC3 are required other than installing it


:o
http://mods.simplemachines.org/index.php?mod=422
Skipdawg's Community

Powered by SMF 1.1.3

torniyo

Quote from: mickyd2006 on September 04, 2006, 08:36:59 AM
what I meant was that it would be better if the user could chose the station he wanted to listen to rather than admin just chose 1 station and thats it.

Admin would still define the stations but the user could select the station he wanted to hear. Which brings us to the user dropdown menus again :)

Simple but efficient not? I should even check well AJAX.
http://www.policoncepto.com/index.php?action=radio

If I was not so distrustful, we could add stations to the profile of the users that they would listen from the forum.  :-\

catchmeonline

I can not seem to get this mod to work. i have tried with a few different skins. as it also stated upon installation that all tests were working properly.

Yet i do not see it on my main board, or do i see any options related to the radio in my acp. 

????

torniyo

Your files must be chmod 777.

If your language isn't ENGLISH you should translate the mod.

Insert the traslation:

languagedir/Who.LANGUAGE.php
// Radio
$txt['whoall_radio'] = 'Connecting the Radio.';
// Radio - End


languagedir/Modifications.LANGUAGE.php
// Radio
$txt['radio_modname'] = 'Radio';
$txt['permissiongroup_radio'] = $txt['radio_modname'];
$txt['permissionname_radio_view'] = 'To Listen the Radio';
$txt['racdc'] = 'On/Off';
$txt['rname1'] = '1- Name:';
$txt['rip1'] = 'Server:';
$txt['rport1'] = 'Port:';
$txt['rdir1'] = 'Directory (only if required):';
$txt['rname2'] = '2- Name:';
$txt['rip2'] = $txt['rip1'];
$txt['rport2'] = $txt['rport1'];
$txt['rdir2'] = $txt['rdir1'];
$txt['rname3'] = '3- Name:';
$txt['rip3'] = $txt['rip1'];
$txt['rport3'] = $txt['rport1'];
$txt['rdir3'] = $txt['rdir1'];
$txt['rsel'] = 'To select Station';
$txt['rstats'] = 'SHOUTCast Stats:';
$txt['rnus'] = 'With users number:';
$txt['rvvar'] = 's';
$txt['roff'] = 'Disabled.';
$txt['rnfsock'] = 'Your server does NOT support fsockopen (on port) or incorrect configuration.<br /> Please, disable PHP of "SHOUTCast Stats" (for verify).';
$txt['rncurl'] = 'Your server has NOT installed/enabled cURL library, or firewall.<br />Please, disable cURL of "SHOUTCast Stats" (for verify).';
$txt['rmen'] = 'user';
$txt['rnum'] = 'of';
$txt['rlist'] = 'listening';
$txt['radmin'] = 'Radio Administration';
$txt['radmd'] = 'To configure your Radio Station.';
$txt['rconf'] = 'Configuration';
$txt['rstatis'] = 'Stations';
$txt['rnone'] = 'None';
// Radio - End


Try it. ;)

fyb3roptik

I have the same issue. It installs perfect man!!! But I do not see it in my ACP AT ALL!!!!!

die4me

Can you tell me how i can add more then just the three stations to it i would like at least 5 so members ahve more choices?

die4me

So does anyone know how to do this?

torniyo

Quote from: die4me on September 18, 2006, 05:33:37 PM
So does anyone know how to do this?

Sorry. I don't see your message.

The v.4 has unlimited stations.
If I finish a job, I upload it in a moment.

torniyo


die4me

Quote from: torniyo on September 18, 2006, 06:14:17 PM
Updated v0.4.

Small changes.
Unlimited stations.

http://mods.simplemachines.org/index.php?mod=422
Thanks a lot i am going to add it right now :)

sipko

Awesome, torniyo! Amazing work on that mod. Thanks for developing and sharing it. 

torniyo


die4me

I finished installing it and adding stations to it and this is one great mod thanks a lot for developing it 8)

haktanir2

Can someone explain how to add the stations frok Shoutcast? How do you find the server IP and such?

Advertisement: