Intergrates Radio.Blog with phpBB
Download RAR
Any feedback is greatly appreciated!
Enjoy
- Code: Select all
#################################################################
## Title: phpBB Radio
## Author: Wayne Humphrey - <wayne@humphrey.za.net>
## Description:
## Intergrates Radio.Blog with phpBB
##
## Version: 0.3.2
## References: pafiledb and Advanced Links Mod
##
## Note:
## Creat a SWF Sound
## --------------------
## - Copy your MP3 into the creat.sound directory.
## - Double-click on convert64.bat (this will convert all your MP3 files in RBS format files into the sounds directory)
## - Wait
## - Copy your RBS files into phpbb_root/radio/sounds/ directory on your web server.
## - refresh and enjoy.
##
## How To
## ---------
## - Autostart a track:
## add ?autoplay=# in front of your url, for example to autostart track number 2: http://www.domaine.com/radio.blog/?autoplay=2
##
## - Remove my radio.blog from the radio.blog.club database:
## Set the value of the register tag to 0 : <register value="0" />
## Next time the crawler will visit your radio.blog (less than 48h), your radio.blog and all the tracks references will be removed from the radio.blog database.
##
##
## Installation Level: Easy
## Installation Time: 5 Minutes
##
## Files To Edit: 3
## templates/subSilver/overall_header.tpl
## language/lang_english/lang_main.php
## includes/page_header.php
##
## Included Files:
## radio/banner.css
## radio/banner.js
## radio/banner.php
## radio/config.xml
## radio/index.php
## radio/radioblog.swf
## radio/radioblog_80_15.gif
## radio/rbcore.swf
## radio/style.css
## radio/version.ini
## radio/sounds/functions.php
## radio/sounds/playlist.php
##
## templates/subSilver/images/icon_mini_music.gif
##
##############################################################
## For Security Purposes, Please Check: http://www.phpbb.com/mods/ for the
## latest version of this MOD. Downloading this MOD from other sites could cause malicious code
## to enter into your phpBB Forum. As such, phpBB will not offer support for MOD's not offered
## in our MOD-Database, located at: http://www.phpbb.com/mods/
##############################################################
## Author Notes:
##
## Please be sure to read this guide FULLY!
##
##############################################################
## Before Adding This MOD To Your Forum, You Should Back Up All Files Related To This MOD
##############################################################
#
#-----[ COPY ]--------------------
#
copy radio/*.* to phpbb_root/radio/
copy templates/*.* to templates/
#
#-----[ OPEN ]---------------------
#
templates/subSilver/overall_header.tpl
#
#-----[ FIND ]----------------------
#
<!-- END switch_enable_pm_popup -->
#
#-----[ BEFORE, ADD ]----------------
#
<!-- BEGIN phpBB Radio -->
<script type="text/javascript">
<!--
function RadioPopUp()
{
window.open('{U_PHPBB_RADIO}','Radio','height=320,width=220,dependent=yes,location=no,menubar=no,resizable=no,status=no,toolbar=no')
}
//-->
</script>
<!-- END phpBB Radio -->
#
#-----[ FIND ]----------------------------------
#
<!-- END switch_user_logged_in -->
#
#-----[ BEFORE, ADD ]----------------
#
<a href="JavaScript:RadioPopUp()" class="mainmenu">
<img src="templates/subSilver/images/icon_mini_music.gif" width="12" height="13" border="0" alt="Radio" hspace="3" />Tunes</a>
#
#-----[ OPEN ]----------------------------------
#
language/lang_english/lang_main.php
#
#-----[ FIND ]----------------------------------
#
//
// That's all, Folks!
// -------------------------------------------------
#
#-----[ BEFORE, ADD ]----------------
#
// BEGIN phpBB Radio
$lang['phpBB_Radio'] = "phpBB Radio";
// END phpBB Radio
#
#-----[ OPEN ]----------------------------------
#
includes/page_header.php
#
#-----[ FIND ]----------------------------------
#
'U_GROUP_CP' => append_sid('groupcp.'.$phpEx),
#
#-----[ AFTER, ADD ]----------------------------
#
// BEGIN phpBB Radio
'L_PHPBB_RADIO' => $lang['phpBB_Radio'],
'U_PHPBB_RADIO' => append_sid('./radio/index.'.$phpEx),
// END phpBB Radio
#
#-----[ SAVE/CLOSE ALL FILES ]------
#
# EoM