Login
Username: Password:
Remember me

[Sign Up] / [Recover Password]

Theme / Language

Popular
New Torrents
new name
Size: 18.40 MB
Most active
new name
S: 74 L: 3
New Posters
[MOD] Live radio
Controls ·  Search New posts · Mark unread

You are in: Forum / Forum / v2.08 / v2 Only Mods Complete

Unknown User
2008-09-29 17:06:03
This adds live radio to ur site to see the block properly it must be placed in the center



Open index.php

Add where u want radio to appear

include('blocks/radio_block.php');

Then open config.php

Find

$site_config['ANONYMOUSUPLOAD'] = false;

Add below

$site_config['RADIOON'] =true;    //Change to false to disable block

Upload radio_block.php to ur blocks folder

[url="http://devscorner.xyz/applications/core/interface/file/attachment.php?id=2909"]radio_block.php[/url]

Thats it ur done

[size=18px]UPDATE[/size]



Add option in account settings to turn radio on or off

ALTER TABLES

ALTER TABLE `users` ADD `viewradio` ENUM( 'yes', 'no' ) DEFAULT 'yes' NOT NULL;
Open account.php

Find


print("<TR><TD align=right class=table_col2><B>" . ACCOUNT_EMAIL_NOTIFICATION . ":</B> </TD><TD align=left class=table_col2><input type=checkbox name=pmnotif" . (strpos($CURUSER['notifs'], "[pm]") !== false ? " checked" : "") .

  " value=yes><B>" . ACCOUNT_PM_NOTIFY_ME . "</B><br><i>The system will email you when you receive a PM.</i></td></tr>");



ADD BELOW



// Hide RADIO

print("<tr><td align=right class=table_col1><b>View Radio</td><td align=left class=table_col1><input

type=checkbox name=viewradio" . ($CURUSER["viewradio"] == "yes" ? " checked" : "") . ">

Please unselect this option if you would not like to view the radio.</td</tr>");

// End hide radio



Find



$notifs = ($pmnotif == 'yes' ? "[pm]" : "");



Add bellow



$viewradio = ($_POST["viewradio"] != "" ? "yes" : "no");



Find



$updateset[] = "notifs = ".sqlesc($notifs);



Add below



$updateset[] = "viewradio = '$viewradio'";





Open Radio_block.php

Find



if ($site_config['RADIOON']){



Replace with



if (($site_config['RADIOON']) && ($CURUSER["viewradio"] == "yes")) {



All Done

PLEASE SAY THANKS
radio.JPG
radio.JPG
radio_block.php
Download
Unknown User
2008-09-29 17:38:15
nice mod m8, works well. nice beats too lol.
Unknown User
2008-09-29 19:51:56
Thanks, it works well, where can I get different radio stations or put more than one radio station?
Unknown User
2008-09-29 20:00:15
you would have to change the settings to your shoutcast or somebody elses in the radio_block.php which would be that line that points to foz's radio_bar.php. you would have to point that to your settings or somebody elses
Unknown User
2008-09-29 20:32:41
"TheUnknown, post: 46819":
Thanks, it works well, where can I get different radio stations or put more than one radio station?





Replace ur radio_block.php with this 1

[url="http://devscorner.xyz/applications/core/interface/file/attachment.php?id=3006"]radio_block.php[/url] REPLACED OLD BLOCK
radio1.JPG
radio1.JPG
radio2.JPG
radio2.JPG
radio_block.php
Download
Unknown User
2008-09-30 20:55:56
Where can I find radio stations and which URL would I use? I have already tried like 7 URLs and none of them appear to play through the radio, the only one that works is the default radio, which I can't stand the music...It's so annoying.

I wanted to add this URL

[url="http://techno.fm/radio/player.php?channelID=techno&affID=technofm"]Techno[/url]

But it appears that the radio is not picking it up, unless if that's not the right URL. That's why I'm asking where I can get radio stations that actually work and how to do I know which URLs to choose from?
Unknown User
2008-09-30 21:16:24
"TheUnknown, post: 46865":
Where can I find radio stations and which URL would I use? I have already tried like 7 URLs and none of them appear to play through the radio, the only one that works is the default radio, which I can't stand the music...It's so annoying.
I wanted to add this URL

[url="http://techno.fm/radio/player.php?channelID=techno&affID=technofm"]Techno[/url]

But it appears that the radio is not picking it up, unless if that's not the right URL. That's why I'm asking where I can get radio stations that actually work and how to do I know which URLs to choose from?

For ur techno url use this [url="http://techno.techno.fm/?affID=technofm"]http://techno.techno.fm/?affID=technofm[/url]

And for other links search google if u dont like the mod dont download it...All u have done is complain about it ur a premium member ask in that section for a better mod if u dont like this 1
Unknown User
2008-09-30 23:40:56
No, I'm not complaining at, I'm actually grateful for it, I'm using it on my site and everyone enjoys it. I'm only asking questions because I want to modify it a bit, but I rather ask you, than modifying it completely and say that I made it.

The default space for the default radio station is the only one that works, even after I put the techno URL into the file, it's not reading it.

I think that I will only use the techno URL, thanks a lot anyway.
Unknown User
2008-10-01 09:17:42
"TheUnknown, post: 46871":
No, I'm not complaining at, I'm actually grateful for it, I'm using it on my site and everyone enjoys it. I'm only asking questions because I want to modify it a bit, but I rather ask you, than modifying it completely and say that I made it.
The default space for the default radio station is the only one that works, even after I put the techno URL into the file, it's not reading it.

I think that I will only use the techno URL, thanks a lot anyway.

Everyone is is working not sure y urs not are u putting the url like thie example

<option value="http://meta.as34763.net/content/16.asx">Galaxy</option>
Unknown User
2008-10-01 22:07:07
Hello again foz,

I just want to inform you that the code on account.php to choose whether to turn the radio off or on does not work. Did you finish the codes for that?
Unknown User
2008-10-01 22:30:07
"TheUnknown, post: 46893":
Hello again foz,
I just want to inform you that the code on account.php to choose whether to turn the radio off or on does not work. Did you finish the codes for that?


Its working for me u can see it working on my mod site dont upload to it or anything i only sue it to make mods on

[url="http://www.basslinebeats.co.uk/modscript/index.php"]HERE[/url]
Unknown User
2008-10-12 14:43:32
44 downloads and not 1 thanks mmmmmmmm
Unknown User
2008-10-12 15:50:34
why bump your post foz? you should have edited the post and not doubled posted. you should post mods to help others out not so somebody comes to your site or says thanks. i see it this way if you are not happy about people not saying thanks then don't post anymore. most people here just like to see there name by the topic and look at posting mods as a learning experience or fun and not as a way to make money or a way to be famous or anything of the sort. but hey if you want a thank you that bad even though i am not using the hack then thank you foz
Unknown User
2008-10-12 17:18:28
"walker1977, post: 47375":
why bump your post foz? you should have edited the post and not doubled posted. you should post mods to help others out not so somebody comes to your site or says thanks. i see it this way if you are not happy about people not saying thanks then don't post anymore. most people here just like to see there name by the topic and look at posting mods as a learning experience or fun and not as a way to make money or a way to be famous or anything of the sort. but hey if you want a thank you that bad even though i am not using the hack then thank you foz

i was just saying in general and i allways love to make mods for tt i was just saying like Nikkbu did but naff all was said him about double posting and moaning about thanks.lmfao

HERE IS NIKKBU POST [url="http://www.torrenttrader.org/index.php?s=&showtopic=9373&view=findpost&p=46779"]http://www.torrenttrader.org/index.php?s=&...ost&p=46779[/url]

Where he as got 202 views, 24 downloads and no comments????........ i have got 164 views and 46 downloads so y have go at me
Unknown User
2008-10-12 19:27:17
lets bring someone else into this shall we ....no ..

this about the addon mod and the posts should be kept as that .

not bitching at each other ..over ...i didnt get thanks ...but was fine when nikkbu double posts ...who gives a shit ...keep comments about the mod ....
Users online

No users online

Search



Statistics

    Torrents

  • Tracking: 3
  • Todays torrents: 0
  • Seeders: 0
  • Leechers: 0
  • Peers: 0
  • Downloaded: 89.96 GB
  • Uploaded: 9.86 GB

  • Members

  • We have: 838
  • New today: 0
  • Guest today: 9

  • Online

  • Total online: 3
  • Members: 0
  • Guests online: 3
  • Comments: 3
  • Messages: 1,728