Radplay-Hack

Du hast Probleme beim Einbau oder bei der Benutzung eines Mods? In diesem Forum bist du richtig.
Forumsregeln
phpBB 2.0 hat das Ende seiner Lebenszeit überschritten
phpBB 2.0 wird nicht mehr aktiv unterstützt. Insbesondere werden - auch bei Sicherheitslücken - keine Patches mehr bereitgestellt. Der Einsatz von phpBB 2.0 erfolgt daher auf eigene Gefahr. Wir empfehlen einen Umstieg auf phpBB 3.0, welches aktiv weiterentwickelt wird und für welches regelmäßig Updates zur Verfügung gestellt werden.
Antworten
Benutzeravatar
Firestarter
Mitglied
Beiträge: 1162
Registriert: 09.06.2003 15:21

Radplay-Hack

Beitrag von Firestarter »

Ich hab mal zwei Fragen zu dem Hack :

1. wie kann bzw. kann ich überhaupt den Hack auf unter Browser Firebird oder Mozilla verwenden ? Wenn ja, wie ?

2. Wie kann ich dort einen weiteren Sender einbauen?

Zum besseren Verständnis erlaube ich mir mal die beiden Skripte einzufügen:

Radplay.php

Code: Alles auswählen

***************************************************************************/
//
// Configuration - we are in PHP file, so use \' instead of ' and use
// the \\ instead of \ (HTML enabled)
// DO NOT MAKE CHANGE THIS AREA
//

$CFG['pagetitle'] = '\'s RadPlay';

$CFG['pagetitle2'] = 'The Power of Streaming Radio';

// END configuration

define('IN_PHPBB', true);
$phpbb_root_path = './';
include($phpbb_root_path . 'extension.inc');
include($phpbb_root_path . 'common.'.$phpEx);

$playinfo = 'RadPlayer concept by -=[ Mordred The Impaler ]=-.
Get this mod and support for it at <a href="http://www.pcvillageforums.com" target="_blank">
PC Village Forums</a>. <br />
The Radio Stations -copyright of their respective owners- are available all
through the net for free.';
$text1 = 'Provided by <a href="http://www.pcvillageforums.com" target="_blank">
PC Village Forums</a>';

//
// Start session management
//
$userdata = session_pagestart($user_ip, PAGE_INDEX);
init_userprefs($userdata);

//
// End session management
//

if( !$userdata['session_logged_in'] )
{
	header("Location: " . append_sid($phpbb_web_path . "login." . $phpEx . "?redirect=" . $PHP_SELF));
}

$page_title = $lang['Play'];
include($phpbb_root_path . 'includes/page_header.'.$phpEx);

$template->set_filenames(array(
'body' => 'radplay_body.tpl')
);

$template->assign_vars(array(
	'PAGE_TIT' => $CFG['pagetitle'],
	'PAGE_TIT2' => $CFG['pagetitle2'],
	'PLAY_INFO' => $playinfo,
	'TEXTVAR1' => $text1,
	)
);

//
// Generate the page
//

$template->pparse('body');
include($phpbb_root_path . 'includes/page_tail.'.$phpEx);

?>
radplay_body.tpl

Code: Alles auswählen

<table width="100%" cellspacing="0" cellpadding="2" border="0" align="center">
  <tr>
	<td align="left" valign="top"><span class="gensmall">
	<!-- BEGIN switch_user_logged_in -->
	{LAST_VISIT_DATE}<br>
	<!-- END switch_user_logged_in -->
<script language=javascript>
function closewindow()
{
window.close()
}
    </script>

<!-- Radplay script -->
    <script language="JavaScript" type="text/JavaScript">
<!--
function MM_jumpMenu(targ,selObj,restore){ //v3.0
  eval(targ+".location='"+selObj.options[selObj.selectedIndex].value+"'");
  if (restore) selObj.selectedIndex=0;
}

function MM_findObj(n, d) { //v4.01
  var p,i,x;  if(!d) d=document; if((p=n.indexOf("?"))>0&&parent.frames.length) {
    d=parent.frames[n.substring(p+1)].document; n=n.substring(0,p);}
  if(!(x=d[n])&&d.all) x=d.all[n]; for (i=0;!x&&i<d.forms.length;i++) x=d.forms[i][n];
  for(i=0;!x&&d.layers&&i<d.layers.length;i++) x=MM_findObj(n,d.layers[i].document);
  if(!x && d.getElementById) x=d.getElementById(n); return x;
}

function MM_jumpMenuGo(selName,targ,restore){ //v3.0
  var selObj = MM_findObj(selName); if (selObj) MM_jumpMenu(targ,selObj,restore);
}
//-->
    </script>
	{CURRENT_TIME}<br>
 </span><span class="nav"><a href="javascript:closewindow()" class="nav">Close This Window</a>
    -> <a href="{U_INDEX}" class="nav">{L_INDEX}</a></span></td>
	<td align="right" valign="bottom" class="gensmall">
		<!-- BEGIN switch_user_logged_in -->
		<a href="{U_SEARCH_NEW}" class="gensmall">{L_SEARCH_NEW}</a><br /><a href="{U_SEARCH_SELF}" class="gensmall">{L_SEARCH_SELF}</a><br />
		<!-- END switch_user_logged_in -->
		<a href="{U_SEARCH_UNANSWERED}" class="gensmall">{L_SEARCH_UNANSWERED}</a></td>
  </tr>
</table>

<DIV ALIGN="center">
<TABLE CELLSPACING='2' CELLPADDING='2' BORDER='0' WIDTH='100%' HEIGHT='30'>
<TR>
    <TD class="catHead" ALIGN='center'>Listen to Radio stations across the world</TD>
</TR>
<tr>
<td class='row1' align='center' valign='middle'>
<span class="maintitle">{SITENAME}{PAGE_TIT}</span><br>
<span class="gensmall">{PAGE_TIT2}<br>
</span>

<!-- File edit starts here -->

<iframe name="I1" height="126" width="389" scrolling="no" border="0" frameborder="0"
    src="testme.htm">
Your browser does not support inline frames or is currently configured not to display inline frames.</iframe>

<span class="gensmall"><br>
{TEXTVAR1}</span>
<form name="form1">
          <select name="menu1" onChange="MM_jumpMenu('I1',this,0)">
            <option value="">---------------- Select Your Station ----------------</option>
            <option value="playalist/01.htm">33k Variety - 91.7FM TheCALL - Florida,
            U.S.A.</option>
            <option value="playalist/02.htm">33k Rock - OzRock - Australia</option>
            <option value="playalist/03.htm">33k Metal - HotMetalRadio - U.S.A.</option>
            <option value="playalist/04.htm">33k Classic Rock - Radio Futura -
            Chile</option>
            <option value="playalist/05.htm">33k Soft Pop - Sky Radio - Netherlands</option>
            <option value="playalist/06.htm">33k Alternative - CKVX FK X Radio
            - Vancouver, British Columbia</option>
            <option value="playalist/07.htm">33k Alternative - WERG 90.1 FM EnergyFM
            90 - Pennsylvania, U.S.A.</option>
            <option value="playalist/08.htm">33k Alternative - WOXY 97.1 FM 97X
            FM - Ohio, U.S.A.</option>
            <option value="playalist/09.htm">33k Urban - WDKX 104 FM - New York,
            U.S.A.</option>
            <option value="playalist/10.htm">33k Jazz - WGMC Jazz Radio Live -
            New York, U.S.A.</option>
            <option value="playalist/11.htm">33k Jazz - 102.2 FM Jazz - London,
            U.K.</option>
            <option value="playalist/12.htm">33k Jazz - 97.3 FM Lyon Jazz - Lyon,
            France</option>
            <option value="playalist/13.htm">33k Top 40 - Gaydar Radio - London,
            U.K.</option>
            <option value="playalist/14.htm">33k Contemporary - MBP 90.3 FM -
            Rio De Janeiro, Brazil</option>
            <option value="playalist/15.htm">33k Country - KIOD 105 FM Coyote
            Radio - Nebraska, U.S.A.</option>
            <option value="playalist/16.htm">33k Country - KWNA 92.7 FM - Nevada,
            U.S.A.</option>
            <option value="playalist/17.htm">56k Country - CFQX 104 Radio - Manitoba,
            Canada</option>
            <option value="playalist/18.htm">56k Alternative - 8*Ball Radio -
            U.S.A.</option>
            <option value="playalist/19.htm">64k Top 40 - NRJ FM 100.6 Radio -
            Norway</option>
            <option value="playalist/20.htm">64k Rock - London's TotalRock - London,
            U.K.</option>
            <option value="playalist/21.htm">64k Urban - Dr. Ghetto SKUM - Denmark</option>
            <option value="playalist/22.htm">64k Underground Dance - PowerLIVE64
            - Dublin, Ireland</option>
            <option value="playalist/23.htm">64k Classical - VRT Radio Klara -
            Belgium</option>
            <option value="playalist/24.htm">64k Classic - DR Klassik Musikradio
            - Denmark</option>
            <option value="playalist/25.htm">96k Dance - C-Dance Stereo - Belgium</option>
            <option value="playalist/26.htm">96k HardTrance - DigitallyImported
            - New York, U.S.A.</option>
            <option value="playalist/27.htm">96k Deep House - DigitallyImported
            - New York, U.S.A.</option>
            <option value="playalist/28.htm">96k Country - 107 FM - South Carolina,
            U.S.A.</option>
            <option value="playalist/29.htm">96k Variety - KEXP FM - Washington,
            U.S.A.</option>
            <option value="playalist/30.htm">96k Top 40 - Q Music - Belgium</option>
            <option value="playalist/31.htm">128k Top 40 - The Voice - Denmark</option>
            <option value="playalist/32.htm">128k Soft Pop - Sky Radio - Denmark</option>
           </select>
          <input type="button" name="Button1" value="Go" onClick="MM_jumpMenuGo('menu1','I1',0)">

&nbsp;</form>

<p>

<span class="gensmall">{PLAY_INFO}<br>
</span>&nbsp;

<!-- file edit ends here -->

</td>
</tr>
<TR>
    <TD class="catHead" ALIGN='center'>If you can't hear anything, please post or ask Admin for help.</TD>
</TR>

</table>
</DIV>
Vielen Dank für die Unterstützung bzw. Hilfe im Voraus.

MfG

Firestarter
Benutzeravatar
Firestarter
Mitglied
Beiträge: 1162
Registriert: 09.06.2003 15:21

Beitrag von Firestarter »

bitte hilft mir, hat keiner von euch eine Idee dazu, ich bin für jeden Hinweis dankbar.

MfG

Firestarter
wwwthomasbauerattf
Mitglied
Beiträge: 1151
Registriert: 30.01.2006 15:15
Kontaktdaten:

Beitrag von wwwthomasbauerattf »

gibts eigentlich sowas wie den "RadPlay Radio" auch für fernsehsender, dh das man sich tv-sender angucken kann...?
Antworten

Zurück zu „phpBB 2.0: Mod Support“