Wie kan mij helpen de codering snap ik wel maar het bestand:
templates/{YourTemplate}/portal_body.php of portal_body.tpl
your template sap ik wel Ti2000 bij mij!
portal??
Die kan ik nie vinden!!!
ik snap het even niet?!?
Alvast bedenkt voor je reactie
Code: Selecteer alles
#################################################################
## Mod Title: RadPlay Radio BETA 2
##
## Mod Author: -=[ Mordred The Impaler ]=-
## <mordred@pcvillageforums.com.com>
## http://www.pcvillageforums.com.com
##
## Mod Version: 2.0.2 B01
##
## Mod Verion Release: 10/09/05
##
## Mod Testers and Assistance: ArC KaNe, KeDeUs, Big_Ballz, Angel
##
## Mod Description: This mod will allow PHPBB board users to tune
## in to different radio stations from across
## the world while browsing the board.
##
## This release contains 10 functional (at creation
## time) radio stations. There are 2 Radplay packs
## available for downlad: LOW (for lower bandwidths
## like modems) and HIGH (for higher bandwidths)
##
##
## Requirements:
## * PHPBB Board 2.0.6 or greater (might work with earlier versions
## but it has not been tested by us)
## * Internet Explorer V5 or higher
## * WMP 7 or up LOCALLY installed on your system (for WINDOWS users)
## * MPlayer (for *nix based users)
##
##
##
## Installation Level: Easy
## Installation Time: less than a minute (with no links).
## Approx. 5-10 minutes (with links and/or portal blocks)
##
## Files To Edit:
## none!
##
## Included Files:
## This install.txt file
## radplay.php
## testme.htm
## templates/subSilver/radplay_body.tpl
## playalist directory containing 64 files.
##
#################################################################
##
## NOTES:
## This stations are webcasts and might not be available for you or
## your users to connect at ## all times. If this is the case, try
## another station, or try it later. Please remember to remove
## dbinstall.php from your root directory and remove dbinstall_body.tpl
## from all your template directories. Please note that some webcasts
## are not compatible with Windows Media Player and will not play at all,
## even when the URL is correct.
##
## This MOD does NOT play .pls files. To get the URL from the PLS or M3U
## files, download the file and open it with Notepad. Use one of the URL
## in the text file. Copy it and paste it or type it down exactly as you
## see it: (Example: http://www.somestream.com:80/stream/1033). If that does
## not work, try the next one in line. for more support go to the official
## RadPlay website, http://www.pcvillageforums.com
##
#################################################################
##
## Author Note:
##
##
## RadPlay Mod is Copyrighted by Intellectual Rights
## -=[ Mordred The Impaler ]=- & PC Village Forums, 2003, 2004, 2005
##
## PHPBB, ActiveX, WindowsMedia, and the Different Radio Stations
## made available for use with this mod ONLY, and are also
## Copyright of their respective owners.
##
## (Any changes to this MOD must retain these Copyright Notices)
##
##############################################################
## For Security Purposes, Please Check http://www.pcvillageforums.com
## for the latest version of this MOD. Downloading this MOD from
## other sites could cause malicious code to enter into your phpBB
## Forum. As an alternative, you can download the latest version
## at http://www.phpbbhack.com which has permission from the autor.
##
## Copyright laws prohibit certain countries to benefit from the
## joys of streaming radio, and have deemed illegal the use and
## proliferation of such services. Due to this, and due to the
## fact that the already multimillionaires record companies and
## artists want more money, U.S.A Radio webcast has become almost
## extinct. If you live in the good old U.S. of A and are against
## fattening their wallets even more, and love radio streaming,
## write your congressman a letter and let yourself be heard.
##############################################################
##
## Revision History:
##
## v2.0.2 B01
## -Added Playlist page for easy webstation detail view.
## -Added station manipulation capabilities for BOARD ADMINS ONLY.
## -Added edit, add and delete pages.
## -Completely re-wrote installer using phpbb variables for database
## integration. Now, admins no longer have to input their db info.
## -Created RadPlay mini for ease of navigation. ALL stations are
## there for easy tuning.
## -Added language file support, stand alone for RadPlay (english for now).
## -Changed and verified code for WMP for latest versions, and now
## includes the use of the WMP visual plugin (windows users).
## -Changed MPlayer code for latest releae compatibility (*nix users)
## -Recoded radplay2.php with updated bits.
## -Many more things I can't recall (a lot happens in 10 months).
##
##
## v2.0.1 ALPHA
## -Added MySQL support
## -Created an installer (thanks Craig410) with more stations
## -Recoded radplay2.php with updated bits
## -Added MPlayer support for *nix users (thanks ArC KaNe)
##
##
## v1.0.1
## -Included testme.htm
## -Added fix for logging in for phpBB 2.0.4 (Thanks phpBB
## Support forums!)
##
##
## v1.0.0
## - Initial Release
##
#################################################################
## Before Adding This MOD To Your Forum, You Should Back Up All
## Files Related To This MOD
#
#-----[ COPY ]------------------------------------------
#
dbinstall.php to your phpbb board root
radplay2.php to your phpbb board root
radplaylist.php to your phpbb board root
radedit.php to your phpbb board root
radsubmit.php to your phpbb board root
ALL .tpl files to templates/{YOUR_TEMPLATE_NAME}/radplay_body.tpl
languare directory to your phpbb board root
#################################################################
##
## INSTRUCTIONS - READ CAREFULLY:
##
## Once all the files are at their proper location, run the dbinstall.php
## file as follows:
##
## -Upload the files into their respective locations.
## -Open your web browser and point it to http://yourdomain.com/dbinstall.php
## -Read all the instructions there, and click on your desired button
## -You HAVE to be a forum administrator to use the installer.
##
##
## IMPORTANT: This MOD works "per template". Therefore, you HAVE
## to apply these changes to EVERY template you are using. Remember
## to change "{YourTemplate}" for whatever your template's name is:
##
## ÉÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍ»
## º templates/subSilver/index_body.tpl -> for subSilver º
## º templates/subBlack/index_body.tpl -> for subBlack º
## ÈÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍͼ
##
#################################################################
##
## OPTIONAL
##
## You can add a link to your Radplay anywhere by editing the
## overall_header.tpl file with the following option:
##
#################################################################
#
#-----[ OPEN ]------------------------------------------
#
templates/{YourTemplate}/overall_header.php
#
#-----[ FIND ]------------------------------------------
#
<a href="{U_PRIVATEMSGS}" class="mainmenu"><img src="templates/{YourTemplate}/images/icon_mini_message.gif" width="12" height="13" border="0" alt="{PRIVATE_MESSAGE_INFO}" hspace="3" />{PRIVATE_MESSAGE_INFO}</a>
#
#-----[ AFTER, ADD ]------------------------------------
#
<a href="radplay2.php" class="mainmenu"><img src="templates/{YourTemplate}/images/icon_mini_profile.gif" width="12" height="13" border="0" alt="Listen to RadPlay while you visit our forums" space="3" />RadPlay Streaming Audio</a>
#################################################################
##
## OPTIONAL
##
## You can add a link to your RadPlay on Smartor's EZ portal
## 1. As a panel announcement with button
## 2. As a link in the portal's menu (HTML Driven)
##
#################################################################
#
#-----[ OPEN (OPTION 1) ]-------------------------------
#
templates/{YourTemplate}/portal_body.php
#
#-----[ FIND ]------------------------------------------
#
<td class="row1" align="left"><span class="gensmall" style="line-height:150%">{WELCOME_TEXT}<br /> </span></td>
</tr>
</table><br />
<!-- END welcome_text -->
#
#-----[ AFTER, ADD ]------------------------------------
#
<!-- radplay mod starts here -->
<table width="100%" cellpadding="2" cellspacing="1" border="0" class="forumline">
<tr>
<td class="catHead" height="25"><span class="forumlink"><b><a href="radplay2.php" class="forumlink" target="_blank">RadPlay Streaming Audio</b></span></td>
</tr>
<tr>
<td class="row1" align="left"><span class="gensmall">RadPlay2 Streaming Audio<br>Listen to music while surfing the forum. High quality streaming audio.</span><p align="center">
<script type="text/javascript">
function openwindow()
{
window.open("radplay2.php","my_new_window","toolbar=no,location=no,directories=no,status=no,menubar=no,copyhistory=no")
}
</script>
<form>
<p align="center">
<input type="button"
value="Tune In"
onclick="openwindow()"><br>
</form><span class="gensmall">Find this mod at <a href="http://www.pcvillageforums.com" class="gensmall" target="blank">PC Village Forums</span></P></td>
</tr>
</table>
<br />
<!-- radplay mod ends here -->
#
#-----[ OPEN (OPTION #2) ]------------------------------
#
templates/{YourTemplate}/portal_body.tpl (or any other *.TPL
file for your portals)
#
#-----[ FIND ]------------------------------------------
#
A suitable place for your link
#
#-----[ ADD ]-------------------------------------------
#
<a href="radplay2.php" target="_blank">RadPlay Streaming Audio</a>
#
#-----[ SAVE/CLOSE ALL FILES ]--------------------------
#
#EoM