You can subscribe to this list here.
| 2005 |
Jan
|
Feb
|
Mar
(95) |
Apr
(270) |
May
(111) |
Jun
|
Jul
|
Aug
(64) |
Sep
(130) |
Oct
(319) |
Nov
(17) |
Dec
(191) |
|---|---|---|---|---|---|---|---|---|---|---|---|---|
| 2006 |
Jan
(53) |
Feb
|
Mar
|
Apr
|
May
(6) |
Jun
(387) |
Jul
(102) |
Aug
(247) |
Sep
(120) |
Oct
(1) |
Nov
(8) |
Dec
(21) |
| 2007 |
Jan
(38) |
Feb
(36) |
Mar
|
Apr
(32) |
May
(135) |
Jun
(523) |
Jul
(192) |
Aug
(103) |
Sep
(533) |
Oct
(77) |
Nov
(23) |
Dec
(203) |
| 2008 |
Jan
(312) |
Feb
(1193) |
Mar
(404) |
Apr
(67) |
May
(62) |
Jun
(497) |
Jul
(297) |
Aug
(110) |
Sep
(335) |
Oct
(256) |
Nov
(50) |
Dec
(118) |
| 2009 |
Jan
(67) |
Feb
(10) |
Mar
(1) |
Apr
(1) |
May
|
Jun
(10) |
Jul
(61) |
Aug
|
Sep
(16) |
Oct
(45) |
Nov
(12) |
Dec
(14) |
| 2010 |
Jan
(30) |
Feb
|
Mar
|
Apr
(4) |
May
|
Jun
|
Jul
(7) |
Aug
(7) |
Sep
(5) |
Oct
(5) |
Nov
|
Dec
|
| 2011 |
Jan
(7) |
Feb
(3) |
Mar
(89) |
Apr
(11) |
May
(5) |
Jun
|
Jul
(8) |
Aug
(1) |
Sep
(2) |
Oct
|
Nov
(2) |
Dec
(89) |
| 2012 |
Jan
(7) |
Feb
(1) |
Mar
(1) |
Apr
|
May
|
Jun
|
Jul
|
Aug
(4) |
Sep
(3) |
Oct
(42) |
Nov
(1) |
Dec
|
| 2013 |
Jan
|
Feb
|
Mar
(19) |
Apr
(90) |
May
(38) |
Jun
(235) |
Jul
(38) |
Aug
(10) |
Sep
|
Oct
(29) |
Nov
|
Dec
|
| 2014 |
Jan
|
Feb
|
Mar
|
Apr
(6) |
May
(52) |
Jun
|
Jul
(7) |
Aug
|
Sep
(17) |
Oct
|
Nov
|
Dec
|
|
From: Jon O. <jon...@us...> - 2007-09-04 19:16:54
|
Update of /cvsroot/mxbb/core/includes/shared/phpbb2/language In directory sc8-pr-cvs16.sourceforge.net:/tmp/cvs-serv833/language Log Message: Directory /cvsroot/mxbb/core/includes/shared/phpbb2/language added to the repository |
|
From: Jon O. <jon...@us...> - 2007-09-04 19:00:39
|
Update of /cvsroot/mxbb/core/install/language/lang_english In directory sc8-pr-cvs16.sourceforge.net:/tmp/cvs-serv26586/lang_english Log Message: Directory /cvsroot/mxbb/core/install/language/lang_english added to the repository |
|
From: Jon O. <jon...@us...> - 2007-09-04 19:00:32
|
Update of /cvsroot/mxbb/core/install/language In directory sc8-pr-cvs16.sourceforge.net:/tmp/cvs-serv26569/language Log Message: Directory /cvsroot/mxbb/core/install/language added to the repository |
|
From: Jon O. <jon...@us...> - 2007-09-04 18:56:20
|
Update of /cvsroot/mxbb/core/includes/shared/phpbb3/includes In directory sc8-pr-cvs16.sourceforge.net:/tmp/cvs-serv24891/includes Log Message: Directory /cvsroot/mxbb/core/includes/shared/phpbb3/includes added to the repository |
|
From: Jon O. <jon...@us...> - 2007-09-04 18:55:50
|
Update of /cvsroot/mxbb/core/includes/shared/phpbb2/images/smiles In directory sc8-pr-cvs16.sourceforge.net:/tmp/cvs-serv24476/smiles Log Message: Directory /cvsroot/mxbb/core/includes/shared/phpbb2/images/smiles added to the repository |
|
From: Jon O. <jon...@us...> - 2007-09-04 18:55:40
|
Update of /cvsroot/mxbb/core/includes/shared/phpbb2/includes In directory sc8-pr-cvs16.sourceforge.net:/tmp/cvs-serv24456/includes Log Message: Directory /cvsroot/mxbb/core/includes/shared/phpbb2/includes added to the repository |
|
From: Jon O. <jon...@us...> - 2007-09-04 18:55:40
|
Update of /cvsroot/mxbb/core/includes/shared/phpbb2/images In directory sc8-pr-cvs16.sourceforge.net:/tmp/cvs-serv24456/images Log Message: Directory /cvsroot/mxbb/core/includes/shared/phpbb2/images added to the repository |
|
From: Jon O. <jon...@us...> - 2007-09-04 18:55:34
|
Update of /cvsroot/mxbb/core/includes/shared/phpbb2 In directory sc8-pr-cvs16.sourceforge.net:/tmp/cvs-serv24434/phpbb2 Log Message: Directory /cvsroot/mxbb/core/includes/shared/phpbb2 added to the repository |
|
From: Jon O. <jon...@us...> - 2007-09-04 18:55:34
|
Update of /cvsroot/mxbb/core/includes/shared/phpbb3 In directory sc8-pr-cvs16.sourceforge.net:/tmp/cvs-serv24434/phpbb3 Log Message: Directory /cvsroot/mxbb/core/includes/shared/phpbb3 added to the repository |
|
From: Jon O. <jon...@us...> - 2007-09-04 18:55:23
|
Update of /cvsroot/mxbb/core/includes/shared In directory sc8-pr-cvs16.sourceforge.net:/tmp/cvs-serv24423/shared Log Message: Directory /cvsroot/mxbb/core/includes/shared added to the repository |
|
From: Jon O. <jon...@us...> - 2007-09-04 18:51:29
|
Update of /cvsroot/mxbb/core/includes/sessions/internal In directory sc8-pr-cvs16.sourceforge.net:/tmp/cvs-serv22804/internal Log Message: Directory /cvsroot/mxbb/core/includes/sessions/internal added to the repository |
|
From: Jon O. <jon...@us...> - 2007-09-04 18:51:29
|
Update of /cvsroot/mxbb/core/includes/sessions/phpbb3 In directory sc8-pr-cvs16.sourceforge.net:/tmp/cvs-serv22804/phpbb3 Log Message: Directory /cvsroot/mxbb/core/includes/sessions/phpbb3 added to the repository |
|
From: Jon O. <jon...@us...> - 2007-09-04 18:51:28
|
Update of /cvsroot/mxbb/core/includes/sessions/phpbb2 In directory sc8-pr-cvs16.sourceforge.net:/tmp/cvs-serv22804/phpbb2 Log Message: Directory /cvsroot/mxbb/core/includes/sessions/phpbb2 added to the repository |
|
From: Jon O. <jon...@us...> - 2007-09-04 18:51:07
|
Update of /cvsroot/mxbb/core/includes/sessions In directory sc8-pr-cvs16.sourceforge.net:/tmp/cvs-serv22401/sessions Log Message: Directory /cvsroot/mxbb/core/includes/sessions added to the repository |
|
From: Jon O. <jon...@us...> - 2007-09-04 18:49:11
|
Update of /cvsroot/mxbb/core/includes In directory sc8-pr-cvs16.sourceforge.net:/tmp/cvs-serv21875 Modified Files: Tag: core28x mx_functions_style.php Log Message: XS update Index: mx_functions_style.php =================================================================== RCS file: /cvsroot/mxbb/core/includes/mx_functions_style.php,v retrieving revision 1.17.2.1 retrieving revision 1.17.2.2 diff -C2 -d -r1.17.2.1 -r1.17.2.2 *** mx_functions_style.php 26 Aug 2007 19:06:41 -0000 1.17.2.1 --- mx_functions_style.php 4 Sep 2007 18:49:07 -0000 1.17.2.2 *************** *** 18,22 **** // Including phpBB version of the Template class // ! include_once($phpbb_root_path . 'includes/template.' . $phpEx); // --- 18,29 ---- // Including phpBB version of the Template class // ! if( file_exists($mx_root_path . 'modules/mx_xs/includes/template.' . $phpEx) ) ! { ! include_once($mx_root_path . 'modules/mx_xs/includes/template.' . $phpEx); ! } ! else ! { ! include_once($phpbb_root_path . 'includes/template.' . $phpEx); ! } // |
|
From: OryNider <ory...@us...> - 2007-09-02 07:38:32
|
Update of /cvsroot/mxbb/mx_music/includes In directory sc8-pr-cvs16.sourceforge.net:/tmp/cvs-serv8795/includes Added Files: music_rss.php Log Message: new rss feed addon. --- NEW FILE: music_rss.php --- <?php /** * * @package mxBB Portal Module - mx_music * @version $Id: music_rss.php,v 1.1 2007/09/02 07:38:20 orynider Exp $ * @copyright (c) 2007 [ory...@rd..., OryNider] mxBB Development Team * @license http://opensource.org/licenses/gpl-license.php GNU General Public License v2 * */ // MX if ( !defined('IN_PORTAL') ) { die("Hacking attempt"); } // ------- // Begin Page specific functions // function make_xml_compatible($text, $bbcode_uid = '', $use_bbcode = 0) { global $board_config, $base_url; if($use_bbcode) { if($bbcode_uid != '') { $text = ( $board_config['allow_bbcode'] ) ? bbencode_second_pass($text, $bbcode_uid) : preg_replace('/\:[0-9a-z\:]+\]/si', ']', $text); } else { $text = preg_replace('/\:[0-9a-z\:]+\]/si', ']', $text); } $text = make_clickable($text); if($board_config['allow_smilies']) { $text = smilies_pass($text); $text = str_replace("./".$board_config['smilies_path'], $base_url.$board_config['smilies_path'], $text); } } $text = nl2br($text); $text = str_replace('£', '&#163;', $text); $text = str_replace('©', '(c)', $text); $text = htmlspecialchars($text); return $text; } // // End page specific functions // ------ // XML and nocaching headers header ('Cache-Control: private, pre-check=0, post-check=0, max-age=0'); header ('Expires: ' . gmdate('D, d M Y H:i:s', time()) . ' GMT'); header ('Last-Modified: ' . gmdate('D, d M Y H:i:s') . ' GMT'); header ('Content-Type: text/xml'); $rss_time = create_date('D, d M Y H:i:s T', time(), $board_config['board_timezone']); // Create main board url (some code borrowed from functions_post.php) $script_name = preg_replace('/^\/?(.*?)\/?$/', '\1', trim($board_config['script_path'])); $server_name = trim($board_config['server_name']); $server_protocol = ( $board_config['cookie_secure'] ) ? 'https://' : 'http://'; $server_port = ( $board_config['server_port'] <> 80 ) ? ':' . trim($board_config['server_port']) . '/' : '/'; $site_name = strip_tags($board_config['sitename']); $site_description = strip_tags($board_config['site_desc']); // Change below to point to your rss-logo $logo = 'logo.gif'; // Change above to point to your rss-logo $images['logo_url'] = PORTAL_URL . 'templates/' . $theme['template_name'] . '/images/' . $logo; $site_url = append_sid(PORTAL_URL); $music_url = append_sid(PORTAL_URL . this_mo_rssurl()); $rss = '<?xml version="1.0" encoding="ISO-8859-2" ?> <!-- generator="mxBB Music Center - Module, version 2.0.x" --> <rss version="2.0" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:wfw="http://wellformedweb.org/CommentAPI/" xmlns:dc="http://purl.org/dc/elements/1.1/"> <channel> <title>' . make_xml_compatible($board_config['sitename']) . ' Music Center Sindication (XXX needs registering)</title> <link>' . $music_url . '</link> <description>' . make_xml_compatible($board_config['site_desc']) . '</description> <language>' . substr($board_config['default_lang'], 0, 2) . '</language> <copyright>(c) Copyright 2007 by ' . make_xml_compatible($board_config['sitename']) . '</copyright> <managingEditor>' . $board_config['board_email'] . '</managingEditor> <webMaster>' . $board_config['board_email'] . '</webMaster> <pubDate>'. $rss_time .'</pubDate> <lastBuildDate>'. $rss_time .'</lastBuildDate> <docs>http://backend.userland.com/rss</docs> <generator>mxBB Music Center - Module, version 2.0.x</generator> <image> <title>' . make_xml_compatible($board_config['sitename']) . '</title> <link>' . $music_url . '</link> <description>' . make_xml_compatible($board_config['site_desc']) . '</description> <url>' . $images['logo_url'] . '</url> </image> '; // If not set, set the output count to 50 $count = ( isset($HTTP_GET_VARS['c']) ) ? intval($HTTP_GET_VARS['c']) : 25; $count = ( $count == 0 ) ? 25 : $count; // BEGIN Recent Photo // Start check permissions $sql_allowed_cat=""; $admin_mode = ($userdata['user_level'] <> ADMIN) ? false : true; $check_sel = ($admin_mode) ? 0 : 1; $no_limit=( isset($HTTP_GET_VARS['nolimit']) ) ? true : false; $sql = "SELECT c.*, COUNT(s.song_id) AS count FROM ". MUSIC_CAT_TABLE ." AS c LEFT JOIN ". MUSIC_TABLE ." AS s ON c.cat_id = s.song_cat_id WHERE cat_id <> 0 GROUP BY cat_id ORDER BY cat_order ASC"; if( !($result = $db->sql_query($sql)) ) { die("Could not query categories list"); } $catrows = array(); while( $row = $db->sql_fetchrow($result) ) { $music_user_access = music_user_access($row['cat_id'], $row, 1, 0, 0, 0, 0, 0); // VIEW if ($music_user_access['view'] == 1) { $catrows[] = $row; } } $allowed_cat = ''; // For Recent Public Songs below // // $catrows now stores all categories which this user can view. Dump them out! // for ($i = 0; $i < count($catrows); $i++) { // -------------------------------- // Build allowed category-list (for recent songs after here) // -------------------------------- $allowed_cat .= ($allowed_cat == '') ? $catrows[$i]['cat_id'] : ',' . $catrows[$i]['cat_id']; } // End check permissions $NotErrorFlag = false; $sql_limit_time = ""; if (!$no_limit and isset($HTTP_SERVER_VARS['HTTP_IF_MODIFIED_SINCE'])) { $NotErrorFlag = true; $NotModifiedSince = strtotime($HTTP_SERVER_VARS['HTTP_IF_MODIFIED_SINCE']); if($NotModifiedSince > 0) { $sql_limit_time = "AND song_time > ".$NotModifiedSince; $sql_limit_comment_time = "AND comment_time > ".$NotModifiedSince; } } $sql = "SELECT s.song_id, s.song_title, s.song_desc, s.song_singer, s.song_user_id, s.song_user_ip, s.song_username, s.song_time, s.song_cat_id, s.song_view_count, u.user_id, u.username, r.rate_song_id, AVG(r.rate_point) AS rating, COUNT(DISTINCT c.comment_id) AS comments, MAX(c.comment_id) as new_comment FROM ". MUSIC_TABLE ." AS s LEFT JOIN ". USERS_TABLE ." AS u ON s.song_user_id = u.user_id LEFT JOIN ". MUSIC_CAT_TABLE ." AS ct ON s.song_cat_id = ct.cat_id LEFT JOIN ". MUSIC_RATE_TABLE ." AS r ON s.song_id = r.rate_song_id LEFT JOIN ". MUSIC_COMMENT_TABLE ." AS c ON s.song_id = c.comment_song_id WHERE s.song_cat_id IN ($allowed_cat) AND ( s.song_approval = 1 OR ct.cat_approval = 0 ) GROUP BY s.song_id ORDER BY song_time DESC LIMIT $count"; if( !($songrow = $db->sql_query($sql)) ) { die("Failed obtaining list of active songs"); } else { $topics = $db->sql_fetchrowset($songrow); } $LastPostTime = 0; if ( count($topics) == 0 ) { die("No songs found"); } else { // $topics contains all interesting data for ($i = 0; $i < count($topics); $i++) { $song_id = $topics[$i]['song_id']; $sql = "SELECT s.*, u.user_id, u.username, r.rate_song_id, AVG(r.rate_point) AS rating, COUNT(DISTINCT c.comment_id) AS comments FROM ". MUSIC_TABLE ." AS s LEFT JOIN ". USERS_TABLE ." AS u ON s.song_user_id = u.user_id LEFT JOIN ". MUSIC_RATE_TABLE ." AS r ON s.song_id = r.rate_song_id LEFT JOIN ". MUSIC_COMMENT_TABLE ." AS c ON s.song_id = c.comment_song_id WHERE song_id = '$song_id' GROUP BY s.song_id"; if( !($result = $db->sql_query($sql)) ) { mx_message_die(GENERAL_ERROR, 'Could not query song information', '', __LINE__, __FILE__, $sql); } $thissong = $db->sql_fetchrow($result); if ( $thissong['song_url'] == '' ) { $song_filetype = substr($thissong['song_filename'], strlen($thissong['song_filename']) - 3, 3); $song_filename = ( !empty($thissong['song_filename']) ? $thissong['song_filename'] : '' ); } else { $song_filetype = substr($thissong['song_url'], strlen($thissong['song_url']) - 3, 3); $song_url = $thissong['song_url']; } if( ($thissong['song_user_id'] == MUSIC_GUEST) or ($thissong['username'] == '') ) { $poster = ($thissong['song_username'] == '') ? $lang['Guest'] : $thissong['song_username']; } else { $poster = $thissong['song_username']; } // // Media Center // if ( $song_filetype == 'swf' ) { $url_download = append_sid(this_mo_mxurl("music_mode=music_download&song_id=$song_id")); $url_video = $url_download; $row_type = 'flash'; } else if ( $song_filetype == 'ram' ) { $url_download = append_sid(this_mo_mxurl("music_mode=music_download&song_id=$song_id")); $url_video = $url_download; $row_type = 'ram'; } else if ( $song_filetype == '.rm' ) { $url_download = append_sid(this_mo_mxurl("music_mode=music_download&song_id=$song_id")); $url_video = $url_download; $row_type = 'rm'; } else if ( $song_filetype == '.qt' ) { $url_download = append_sid(this_mo_mxurl("music_mode=music_download&song_id=$song_id")); $url_video = $url_download; $row_type = 'qt'; } else if ( ( $song_filetype == '.jpg' ) || ( $song_filetype == '.gif' ) || ( $song_filetype == '.png' ) ) { $url_download = !empty($thissong['song_url']) ? $thissong['song_url'] : append_sid(this_mo_mxurl("music_mode=music_download&song_id=$song_id")); $url_video = $url_download; $row_type = 'img'; } else if ( ( $song_filetype == 'jpg' ) || ( $song_filetype == 'gif' ) || ( $song_filetype == 'png' ) ) { $url_download = !empty($thissong['song_url']) ? $thissong['song_url'] : append_sid(this_mo_mxurl("music_mode=music_download&song_id=$song_id")); $url_video = $url_download; $row_type = 'img'; } else if( ($song_filetype == 'pls') && !empty($thissong['song_url']) ) { $url_download = append_sid($module_root_path . 'galerie_media.' . $phpEx . '?music_mode=music_stream&song_id=' . $song_id); $lang['Download'] = ( !empty($lang['Listen']) ? $lang['Listen'] : 'Listen URL' ); $url_video = $url_download; $row_type = 'media'; } else if(!empty($thissong['song_url'])) { $host = explode("//", $thissong['song_url']); $host = $host[1]; $host = explode("/", $host); $domain = $host[0]; $counthost = count($host) - 1; $docid2 = $host[$counthost]; // $domaintmp = explode(".", $domain, -1); // Php 5 only // $sitename = implode(".", $domaintmp); if( !function_exists('mx_music_sitename') ) { function mx_music_sitename($domain) { $domaintmp = explode(".", $domain); $y = count($domaintmp) - 1; $r = ""; for ($a = 0; $y > $a; $a++) { $r .= ".".$domaintmp[$a]; } return $r; } } $sitename = substr(mx_music_sitename($domain), 1); if( !function_exists('mx_music_sitesufix') ) { function mx_music_sitesufix($domain) { $domaintmp = explode(".", $domain); $y = count($domaintmp) - 1; $r = $domaintmp[$y];; return $r; } } $sitesufix = mx_music_sitesufix($domain); if (!empty($sitesufix) ) { if ($sitesufix == 'de') { $sitelngprefix = 'de.'; } else { $sitelngprefix = 'en.'; } } else { $sitelngprefix = ''; } if ($sitename == 'video.google') { $videoid['song_url'] = explode("-", $thissong['song_url']); if (empty($videoid['song_url'][1]) ) { $docid['song_url'] = explode("?", $thissong['song_url']); if (empty($docid['song_url'][1]) ) { $url_video = ( !empty($docid['song_url'][1]) ? 'http://' . $domain . '/googleplayer.swf?' . $docid['song_url'][1] : $thissong['song_url'] ); $url_download = ( !empty($docid['song_url'][1]) ? 'http://' . $domain . '/videoplay?' . $docid['song_url'][1] : $thissong['song_url'] ); $lang['Download'] = ( !empty($lang['Share']) ? $lang['Share'] : 'Share URL' ); $row_type = 'flashvideo'; } else { $url_video = ( !empty($docid['song_url'][1]) ? 'http://' . $domain . '/googleplayer.swf?' . $docid['song_url'][1] : $thissong['song_url'] ); $url_download = ( !empty($docid['song_url'][1]) ? 'http://' . $domain . '/videoplay?' . $docid['song_url'][1] : $thissong['song_url'] ); $lang['Download'] = ( !empty($lang['Share']) ? $lang['Watch'] : 'Watch URL' ); $row_type = 'youtube'; } } else { $url_video = ( !empty($videoid['song_url'][1]) ? 'http://' . $domain . '/googleplayer.swf?docId=-' . $videoid['song_url'][1] : $thissong['song_url'] ); $url_download = ( !empty($videoid['song_url'][1]) ? 'http://' . $domain . '/videoplay?docid=-' . $videoid['song_url'][1] : $thissong['song_url'] ); $lang['Download'] = ( !empty($lang['Watch']) ? $lang['Watch'] : 'Watch URL' ); $row_type = 'youtube'; } } else if ( ($sitename == 'www.youtube') || ($sitename == 'youtube') ) { $videoid['song_url'] = explode("=", $thissong['song_url']); if (empty($videoid['song_url'][1]) ) { $row_type = 'flashvideo'; } else { $url_video = 'http://' . $domain . '/v/' . $videoid['song_url'][1]; //$url_download = append_sid($thissong['song_url']); $row_type = 'youtube'; } $url_download = append_sid($thissong['song_url']); $lang['Download'] = ( !empty($lang['Share']) ? $lang['Share'] : 'Share URL' ); $url_video = ( !empty($videoid['song_url'][1]) ? 'http://' . $domain . '/v/' . $videoid['song_url'][1] : $url_download ); } else if ( ($sitename == 'www.clipfish') || ($sitename == 'clipfish') ) { $thisvid['song_url'] = explode("videoid", $thissong['song_url']); $videoid['song_url'] = explode("=", $thisvid['song_url'][1]); if (empty($videoid['song_url'][1]) ) { $url_download = append_sid($thissong['song_url']); $lang['Download'] = ( !empty($lang['Direct_url']) ? $lang['Direct_url'] : 'Direct URL' ); $url_video = $url_download; $row_type = 'flashvideo'; } else { $url_download = ( !empty($videoid['song_url'][1]) ? 'http://' . $domain . '/player.php?videoid=' . $videoid['song_url'][1] : $thissong['song_url'] ); $lang['Download'] = ( !empty($lang['Watch']) ? $lang['Watch'] : 'Watch URL' ); $url_video = ( !empty($videoid['song_url'][1]) ? 'http://' . $domain . '/videoplayer.swf?as=0&videoid=' . $videoid['song_url'][1] : $url_download ); $row_type = 'youtube'; } } else if ( ($sitename == 'www.myvideo') || ($sitename == 'myvideo') ) { if (empty($docid2) ) { $url_download = append_sid($thissong['song_url']); $lang['Download'] = ( !empty($lang['Direct_url']) ? $lang['Direct_url'] : 'Direct URL' ); $url_video = $url_download; $row_type = 'flashvideo'; } else { $url_download = ( !empty($docid2) ? 'http://' . $domain . '/watch/' . $docid2 : $thissong['song_url'] ); $lang['Downlowd'] = ( !empty($lang['Share']) ? $lang['Share'] : 'Share URL' ); $url_video = ( !empty($docid2) ? 'http://' . $domain . '/movie/' . $docid2 : $url_download ); $row_type = 'youtube'; } } else if ( ($sitename == 'de.sevenload') || ($sitename == 'sevenload') || ($sitename == 'page.sevenload') || ($sitename == 'www.sevenload') ) { $videoid['song_url'] = explode("=", $thissong['song_url']); if (empty($videoid['song_url'][1]) ) { if (empty($docid2) ) { $url_download = append_sid($thissong['song_url']); $lang['Download'] = ( !empty($lang['Direct_url']) ? $lang['Direct_url'] : 'Direct URL' ); $url_video = $url_download; $row_type = 'flashvideo'; } else { $url_download = ( !empty($docid2) ? 'http://' . $sitelngprefix . 'sevenload.' . 'com' . '/videos/' . $docid2 : $thissong['song_url'] ); $lang['Download'] = ( !empty($lang['Share']) ? $lang['Share'] : 'Share URL' ); $url_video = ( !empty($docid2) ? 'http://' . $domain . '/swf/player.swf?id=' . $docid2 : $url_download ); $row_type = 'youtube'; } } else { $url_download = ( !empty($videoid['song_url'][1]) ? 'http://' . $sitelngprefix . 'sevenload.'. 'com' . '/videos/' . $videoid['song_url'][1] : $thissong['song_url'] ); $lang['Download'] = ( !empty($lang['Share']) ? $lang['Share'] : 'Share URL' ); $url_video = ( !empty($videoid['song_url'][1]) ? 'http://' . $domain . '/swf/player.swf?id=' . $videoid['song_url'][1] : $url_download ); $row_type = 'youtube'; } } else { $url_download = append_sid($thissong['song_url']); $lang['Download'] = ( !empty($lang['Direct_url']) ? $lang['Direct_url'] : 'Direct URL' ); $url_video = $url_download; $row_type = 'media'; } } else { //$url_download = append_sid($module_root_path . 'galerie_media.' . $phpEx . '?music_mode=music_download&song_id=' . $song_id); $url_download = append_sid(this_mo_mxurl("music_mode=music_download&song_id=" . $song_id)); $url_video = $url_download; $row_type = 'media'; } $title = make_xml_compatible($thissong['song_title']); $url_cat = append_sid(PORTAL_URL . this_mo_rssurl("music_mode=music_cat&" . "cat_id=" . $thissong['song_cat_id'])); $url_page = append_sid(PORTAL_URL . this_mo_rssurl("music_mode=music_page&" . "song_id=" . $thissong['song_id'])); $url_song = !empty($thissong['song_url']) ? $thissong['song_url'] : append_sid(PORTAL_URL . this_mo_rssurl("music_mode=music_song&" . "song_id=" . $thissong['song_id'], true)); $url_comment = append_sid(PORTAL_URL . this_mo_rssurl("music_mode=music_comment&" . "song_id=" . $thissong['song_id'])); switch ($row_type) { case 'flash': $html_code = '<EMBED src="' . $url_song . '" quality=high scale=noborder wmode=transparent bgcolor=#000000 TYPE="application/x-shockwave-flash" PLUGINSPAGE="http://www.macromedia.com/shockwave/download/index.cgi?P1_Prod_Version=ShockwaveFlash"></EMBED>'; $enclosure = 'url="' . $url_song . '" ' . 'type="application/x-shockwave-flash" length="1024000"'; break; case 'ram': $html_code = '<embed src="' . $url_song . '" id="VideoPlayback" type="audio/x-pn-realaudio-plugin" wmode="transparent" width="425" height="350"></embed>'; $enclosure = 'url="' . $url_song . '" ' . 'type="audio/x-pn-realaudio-plugin" length="1024000"'; break; case 'flashvideo': $html_code = '<embed src="' . $url_song . '" id="VideoPlayback" type="application/x-shockwave-flash" wmode="transparent" width="425" height="350" flashvars=""></embed>'; $enclosure = 'url="' . $url_video . '" ' . 'type="application/x-shockwave-flash" length="1024000"'; break; case 'youtube': $html_code = '<embed src="' . $url_video . '" id="VideoPlayback" type="application/x-shockwave-flash" wmode="transparent" width="425" height="350" flashvars=""></embed>'; $enclosure = 'url="' . $url_video . '" ' . 'type="application/x-shockwave-flash" length="1024000"'; break; case 'qt': $html_code = '<embed src="templates/subSilver/images/uneedqt41.jpg" qtsrc="' . $url_song . '" width="377" height="212" type="video/quicktime" pluginspage="http://www.apple.com/quicktime/download/" controller="true" loop="false" autoplay="false" kioskmode="true" cache="false"></embed>'; $enclosure = 'url="' . $url_song . '" ' . 'type="video/quicktime" length="1024000"'; break; case 'img': $html_code = '<a href="' . $url_page . '">' . '<img src="' . $url_song . '" border="1" vspace="2" hspace="2" align="left" width="425" height="350">' . '</a>'; $enclosure = 'url="' . $url_song . '" ' . 'type="image/png" length="1024000"'; break; default: $html_code = '<embed type="audio/mpeg" height="70" width="300" AUTOSTART="0" filename="' . $url_song . '" src="' . $url_song . '" ></embed>'; $enclosure = 'url="' . $url_song . '" ' . 'type="audio/mpeg" length="1024000"'; } $html_code = trim($html_code); $description_code = $lang['Song_Desc'] . ': ' . nl2br($thissong['song_desc']); $description = $html_code . $description_code; if (strlen($description) > 2000) { $description_encoded = '<div>' . substr($html_code, 0, 1957) . '</div><br /><div>' . $description_code . '</div><div> </div>'; } else { $description_encoded = '<div>' . $html_code . '</div><br /><div>' . $description_code . '</div><div> </div>'; } $rss .= ' <item> <title>' . $title . '</title> <link>' . $url_page . '</link> <description><![CDATA[' . $description_encoded .']]></description> <dc:creator>' . $poster . '</dc:creator> <enclosure ' . $enclosure . ' /> <comments>' . $url_comment . '</comments> <guid>' . $url_page . '</guid> </item> '; } } // Create RDF footer $rss .= ' </channel> </rss>'; // Discritics Replace $rss = str_replace("ä","ä",$rss); $rss = str_replace("ö","ö",$rss); $rss = str_replace("ü","ü",$rss); // Output the RDF echo $rss; ?> |
|
From: OryNider <ory...@us...> - 2007-09-02 07:38:28
|
Update of /cvsroot/mxbb/mx_music In directory sc8-pr-cvs16.sourceforge.net:/tmp/cvs-serv8795 Modified Files: music.php Log Message: new rss feed addon. Index: music.php =================================================================== RCS file: /cvsroot/mxbb/mx_music/music.php,v retrieving revision 1.5 retrieving revision 1.6 diff -C2 -d -r1.5 -r1.6 *** music.php 30 Aug 2007 19:49:17 -0000 1.5 --- music.php 2 Sep 2007 07:38:19 -0000 1.6 *************** *** 13,16 **** --- 13,18 ---- // //error_reporting( E_ALL ); + //ini_set( 'display_errors', '1' ); + if( !defined('IN_PORTAL') || !is_object($mx_block)) *************** *** 156,159 **** --- 158,165 ---- include($module_root_path. 'includes/music_stream.'.$phpEx); } + else if ( $mode == 'music_rss' ) + { + include($module_root_path. 'includes/music_rss.'.$phpEx); + } else if( !is_object($mx_block)) { |
|
From: OryNider <ory...@us...> - 2007-09-01 05:39:17
|
Update of /cvsroot/mxbb/mx_music/templates/subSilver In directory sc8-pr-cvs16.sourceforge.net:/tmp/cvs-serv20162 Modified Files: music_cat_xs.tpl music_page_body.tpl Log Message: This will allow to upload images for those who to not whan't to have separate module for this. Index: music_page_body.tpl =================================================================== RCS file: /cvsroot/mxbb/mx_music/templates/subSilver/music_page_body.tpl,v retrieving revision 1.3 retrieving revision 1.4 diff -C2 -d -r1.3 -r1.4 *** music_page_body.tpl 30 Aug 2007 03:53:33 -0000 1.3 --- music_page_body.tpl 1 Sep 2007 05:39:10 -0000 1.4 *************** *** 176,180 **** <!-- BEGIN img --> ! <a href="javascript:void(0);" onClick="window.open('{song_detail.SONG_URL}','','scrollbars=yes,resizable=no,width=804,height=610')"><img src="{song_detail.SONG_URL}" id="image" type="image" width="425" height="350" border="1"></a> <!-- END img --> --- 176,180 ---- <!-- BEGIN img --> ! <a href="javascript:void(0);" onClick="window.open('{SONG_URL}','','scrollbars=yes,resizable=no,width=804,height=610')"><img src="{SONG_URL}" id="image" type="image" width="425" height="350" border="1"></a> <!-- END img --> Index: music_cat_xs.tpl =================================================================== RCS file: /cvsroot/mxbb/mx_music/templates/subSilver/music_cat_xs.tpl,v retrieving revision 1.4 retrieving revision 1.5 diff -C2 -d -r1.4 -r1.5 *** music_cat_xs.tpl 30 Aug 2007 03:53:33 -0000 1.4 --- music_cat_xs.tpl 1 Sep 2007 05:39:10 -0000 1.5 *************** *** 195,199 **** <!-- IF song_detail.S_ROW_TYPE eq img --> ! <a href="javascript:void(0);" onClick="window.open('{song_detail.SONG_URL}','','scrollbars=yes,resizable=no,width=804,height=610')"><img src="{song_detail.SONG_URL}" id="image" type="image" width="425" height="350" border="1"></a> <!-- ENDIF --> --- 195,199 ---- <!-- IF song_detail.S_ROW_TYPE eq img --> ! <a href="javascript:void(0);" onClick="window.open('<!-- IF song_detail.SONG_URL is even -->{song_detail.SONG_URL}<!-- ELSE -->{song_detail.U_SONG}<!-- ENDIF -->','','scrollbars=yes,resizable=no,width=804,height=610')"><img src="<!-- IF song_detail.SONG_URL is even -->{song_detail.SONG_URL}<!-- ELSE -->{song_detail.U_SONG}<!-- ENDIF -->" id="image" type="image" width="425" height="350" border="1"></a> <!-- ENDIF --> |
|
From: OryNider <ory...@us...> - 2007-09-01 05:39:17
|
Update of /cvsroot/mxbb/mx_music/templates/subSilver/admin In directory sc8-pr-cvs16.sourceforge.net:/tmp/cvs-serv20162/admin Modified Files: music_config_body.tpl Log Message: This will allow to upload images for those who to not whan't to have separate module for this. Index: music_config_body.tpl =================================================================== RCS file: /cvsroot/mxbb/mx_music/templates/subSilver/admin/music_config_body.tpl,v retrieving revision 1.1 retrieving revision 1.2 diff -C2 -d -r1.1 -r1.2 *** music_config_body.tpl 6 Jun 2007 20:40:20 -0000 1.1 --- music_config_body.tpl 1 Sep 2007 05:39:09 -0000 1.2 *************** *** 77,80 **** --- 77,84 ---- </tr> <tr> + <td class="row1"><span class="genmed">IMG</span></td> + <td class="row2"><span class="genmed"><input type="radio" {IMG_ENABLED} name="rm_allowed" value="1" />{L_YES} <input type="radio" {IMG_DISABLED} name="img_allowed" value="0" />{L_NO}</span></td> + </tr> + <tr> <td class="row1"><span class="genmed">{L_HOTLINK_PREVENT}</span></td> <td class="row2"><span class="genmed"><input type="radio" {HOTLINK_PREVENT_ENABLED} name="hotlink_prevent" value="1" />{L_YES} <input type="radio" {HOTLINK_PREVENT_DISABLED} name="hotlink_prevent" value="0" />{L_NO}</span></td> |
|
From: OryNider <ory...@us...> - 2007-09-01 05:39:03
|
Update of /cvsroot/mxbb/mx_music/music_box In directory sc8-pr-cvs16.sourceforge.net:/tmp/cvs-serv19743/music_box Modified Files: music_common.php Log Message: This will allow to upload images for those who to not whan't to have separate module for this. Index: music_common.php =================================================================== RCS file: /cvsroot/mxbb/mx_music/music_box/music_common.php,v retrieving revision 1.3 retrieving revision 1.4 diff -C2 -d -r1.3 -r1.4 *** music_common.php 30 Aug 2007 03:52:17 -0000 1.3 --- music_common.php 1 Sep 2007 05:38:52 -0000 1.4 *************** *** 104,108 **** $music_module_copyright = '<div align="center" class="gensmall" style="font-family: Verdana, Arial, Helvetica, sans-serif; letter-spacing: -1px">'; $music_module_copyright .= 'Media Center Powered by: <a href="http://pubory.uv.ro/" target="_blank">OryNider</a>, mxBB <i> - ' . $music_module_name . '</i> ' . $music_module_version . ' © 2007 is modified by <a href="http://www.mx-system.com/">MX-Team</a><br />'; ! $music_module_copyright .= '[based on © 2003 <a href="http://cfmanager.net.tf" target="_blank">Cf Manager</a> - <i>Music Online</i> v2' . $music_config['music_version'] . ']'; $music_module_copyright .= '</div>'; } --- 104,108 ---- $music_module_copyright = '<div align="center" class="gensmall" style="font-family: Verdana, Arial, Helvetica, sans-serif; letter-spacing: -1px">'; $music_module_copyright .= 'Media Center Powered by: <a href="http://pubory.uv.ro/" target="_blank">OryNider</a>, mxBB <i> - ' . $music_module_name . '</i> ' . $music_module_version . ' © 2007 is modified by <a href="http://www.mx-system.com/">MX-Team</a><br />'; ! $music_module_copyright .= '[based on © 2003 <a href="http://cfmanager.net.tf" target="_blank">Cf Manager</a> - <i>Music Online</i> v2.' . $music_config['music_version'] . ']'; $music_module_copyright .= '</div>'; } *************** *** 111,115 **** $music_module_copyright = '<div align="center" class="gensmall" style="font-family: Verdana, Arial, Helvetica, sans-serif; letter-spacing: -1px">'; $music_module_copyright .= 'Media Center Powered by: <a href="http://pubory.uv.ro/" target="_blank">OryNider</a>, mxBB <i> - Music Center</i> v2.0.x © 2007 is modified by <a href="http://www.mx-system.com/">MX-Team</a><br />'; ! $music_module_copyright .= '[based on © 2003 <a href="http://cfmanager.net.tf" target="_blank">Cf Manager</a> - <i>Music Online</i> v2' . $music_config['music_version'] . ']'; $music_module_copyright .= '</div>'; } --- 111,115 ---- $music_module_copyright = '<div align="center" class="gensmall" style="font-family: Verdana, Arial, Helvetica, sans-serif; letter-spacing: -1px">'; $music_module_copyright .= 'Media Center Powered by: <a href="http://pubory.uv.ro/" target="_blank">OryNider</a>, mxBB <i> - Music Center</i> v2.0.x © 2007 is modified by <a href="http://www.mx-system.com/">MX-Team</a><br />'; ! $music_module_copyright .= '[based on © 2003 <a href="http://cfmanager.net.tf" target="_blank">Cf Manager</a> - <i>Music Online</i> v2.' . $music_config['music_version'] . ']'; $music_module_copyright .= '</div>'; } |
|
From: OryNider <ory...@us...> - 2007-09-01 05:38:59
|
Update of /cvsroot/mxbb/mx_music/includes In directory sc8-pr-cvs16.sourceforge.net:/tmp/cvs-serv19743/includes Modified Files: music_cat.php music_download.php music_page.php music_song.php music_upload.php Log Message: This will allow to upload images for those who to not whan't to have separate module for this. Index: music_upload.php =================================================================== RCS file: /cvsroot/mxbb/mx_music/includes/music_upload.php,v retrieving revision 1.3 retrieving revision 1.4 diff -C2 -d -r1.3 -r1.4 *** music_upload.php 25 Aug 2007 00:15:14 -0000 1.3 --- music_upload.php 1 Sep 2007 05:38:52 -0000 1.4 *************** *** 408,527 **** if( empty($song_url) ) { ! switch ($filetype) ! { ! case 'audio/mpeg': ! case 'audio/x-mpeg': ! case 'audio/mp3': ! case 'audio/mpg': ! if ($music_config['mp3_allowed'] == 0) ! { ! mx_message_die(GENERAL_ERROR, $lang['Not_allowed_file_type']); ! } ! $song_filetype = '.mp3'; ! break; ! case 'audio/wav': ! if ($music_config['wav_allowed'] == 0) ! { ! mx_message_die(GENERAL_ERROR, $lang['Not_allowed_file_type']); ! } ! $song_filetype = '.wav'; ! break; ! case 'audio/x-ms-wma': ! if ($music_config['wma_allowed'] == 0) ! { ! mx_message_die(GENERAL_ERROR, $lang['Not_allowed_file_type']); ! } ! $song_filetype = '.wma'; ! break; ! // ! // Extra extensions ! // ! case 'video/x-ms-wmv': ! if ($music_config['wmv_allowed'] == 0) ! { ! mx_message_die(GENERAL_ERROR, $lang['Not_allowed_file_type']); ! } ! $song_filetype = '.wmv'; ! break; ! case 'video/mpeg': ! if ($music_config['mpeg_allowed'] == 0) ! { ! mx_message_die(GENERAL_ERROR, $lang['Not_allowed_file_type']); ! } ! $song_filetype = '.mpeg'; ! break; ! case 'video/avi': ! case 'video/x-msvideo': ! if ($music_config['avi_allowed'] == 0) ! { ! mx_message_die(GENERAL_ERROR, $lang['Not_allowed_file_type']); ! } ! $song_filetype = '.avi'; ! break; ! case 'application/x-shockwave-flash': ! if ($music_config['swf_allowed'] == 0) ! { ! mx_message_die(GENERAL_ERROR, $lang['Not_allowed_file_type']); ! } ! $song_filetype = '.swf'; ! break; ! case 'video/quicktime': ! if ($music_config['qt_allowed'] == 0) ! { ! mx_message_die(GENERAL_ERROR, $lang['Not_allowed_file_type']); ! } ! $song_filetype = '.qt'; ! break; ! case 'audio/x-midi': ! case 'audio/mid': ! case 'audio/midi': ! if ($music_config['mid_allowed'] == 0) ! { ! mx_message_die(GENERAL_ERROR, $lang['Not_allowed_file_type']); ! } ! $song_filetype = '.mid'; ! break; ! case 'audio/x-pn-realaudio': ! if ($music_config['ram_allowed'] == 0) ! { ! mx_message_die(GENERAL_ERROR, $lang['Not_allowed_file_type']); ! } ! $song_filetype = '.ram'; ! break; ! case 'audio/basic': ! if ($music_config['au_allowed'] == 0) ! { ! mx_message_die(GENERAL_ERROR, $lang['Not_allowed_file_type']); ! } ! $song_filetype = '.au'; ! break; ! case 'audio/vnd.rn-realmedia': ! case 'application/vnd.rn-realmedia': ! case 'video/vnd.rn-realvideo': ! case 'application/vnd': ! if ($music_config['rm_allowed'] == 0) ! { ! mx_message_die(GENERAL_ERROR, $lang['Not_allowed_file_type']); ! } ! $song_filetype = '.rm'; ! break; ! // End extra ! default: ! mx_message_die(GENERAL_ERROR, $lang['Not_allowed_file_type']); ! } } --- 408,554 ---- if( empty($song_url) ) { ! switch ($filetype) ! { ! case 'audio/mpeg': ! case 'audio/x-mpeg': ! case 'audio/mp3': ! case 'audio/mpg': ! if ($music_config['mp3_allowed'] == 0) ! { ! mx_message_die(GENERAL_ERROR, $lang['Not_allowed_file_type']); ! } ! $song_filetype = '.mp3'; ! break; ! case 'audio/wav': ! if ($music_config['wav_allowed'] == 0) ! { ! mx_message_die(GENERAL_ERROR, $lang['Not_allowed_file_type']); ! } ! $song_filetype = '.wav'; ! break; ! case 'audio/x-ms-wma': ! if ($music_config['wma_allowed'] == 0) ! { ! mx_message_die(GENERAL_ERROR, $lang['Not_allowed_file_type']); ! } ! $song_filetype = '.wma'; ! break; ! // ! // Extra extensions ! // ! case 'video/x-ms-wmv': ! if ($music_config['wmv_allowed'] == 0) ! { ! mx_message_die(GENERAL_ERROR, $lang['Not_allowed_file_type']); ! } ! $song_filetype = '.wmv'; ! break; ! case 'video/mpeg': ! if ($music_config['mpeg_allowed'] == 0) ! { ! mx_message_die(GENERAL_ERROR, $lang['Not_allowed_file_type']); ! } ! $song_filetype = '.mpeg'; ! break; ! case 'video/avi': ! case 'video/x-msvideo': ! if ($music_config['avi_allowed'] == 0) ! { ! mx_message_die(GENERAL_ERROR, $lang['Not_allowed_file_type']); ! } ! $song_filetype = '.avi'; ! break; ! case 'application/x-shockwave-flash': ! if ($music_config['swf_allowed'] == 0) ! { ! mx_message_die(GENERAL_ERROR, $lang['Not_allowed_file_type']); ! } ! $song_filetype = '.swf'; ! break; ! case 'video/quicktime': ! if ($music_config['qt_allowed'] == 0) ! { ! mx_message_die(GENERAL_ERROR, $lang['Not_allowed_file_type']); ! } ! $song_filetype = '.qt'; ! break; ! case 'audio/x-midi': ! case 'audio/mid': ! case 'audio/midi': ! if ($music_config['mid_allowed'] == 0) ! { ! mx_message_die(GENERAL_ERROR, $lang['Not_allowed_file_type']); ! } ! $song_filetype = '.mid'; ! break; ! case 'audio/x-pn-realaudio': ! if ($music_config['ram_allowed'] == 0) ! { ! mx_message_die(GENERAL_ERROR, $lang['Not_allowed_file_type']); ! } ! $song_filetype = '.ram'; ! break; ! case 'audio/basic': ! if ($music_config['au_allowed'] == 0) ! { ! mx_message_die(GENERAL_ERROR, $lang['Not_allowed_file_type']); ! } ! $song_filetype = '.au'; ! break; ! case 'audio/vnd.rn-realmedia': ! case 'application/vnd.rn-realmedia': ! case 'video/vnd.rn-realvideo': ! case 'application/vnd': ! if ($music_config['rm_allowed'] == 0) ! { ! mx_message_die(GENERAL_ERROR, $lang['Not_allowed_file_type']); ! } ! $song_filetype = '.rm'; ! break; ! case 'image/jpeg': ! case 'image/jpg': ! case 'image/pjpeg': ! if ($music_config['img_allowed'] == 0) ! { ! mx_message_die(GENERAL_ERROR, $lang['Not_allowed_file_type']); ! } ! $song_filetype = '.jpg'; ! break; ! case 'image/gif': ! if ($music_config['img_allowed'] == 0) ! { ! mx_message_die(GENERAL_ERROR, $lang['Not_allowed_file_type']); ! } ! $song_filetype = '.gif'; ! break; ! ! case 'image/png': ! case 'image/x-png': ! if ($music_config['img_allowed'] == 0) ! { ! mx_message_die(GENERAL_ERROR, $lang['Not_allowed_file_type']); ! } ! $song_filetype = '.png'; ! break; ! ! // End extra ! ! default: ! mx_message_die(GENERAL_ERROR, $lang['Not_allowed_file_type']); ! } } Index: music_cat.php =================================================================== RCS file: /cvsroot/mxbb/mx_music/includes/music_cat.php,v retrieving revision 1.5 retrieving revision 1.6 diff -C2 -d -r1.5 -r1.6 *** music_cat.php 28 Aug 2007 23:01:09 -0000 1.5 --- music_cat.php 1 Sep 2007 05:38:51 -0000 1.6 *************** *** 460,467 **** else if ( ( $song_filetype == '.jpg' ) || ( $song_filetype == '.gif' ) || ( $song_filetype == '.png' ) ) { - $template->assign_block_vars('songrow.img', array()); $url_download = !empty($thissong['song_url']) ? $thissong['song_url'] : append_sid(this_mo_mxurl("music_mode=music_download&song_id=$song_id")); $url_video = $url_download; $row_type = 'img'; } else if( ($song_filetype == 'pls') && !empty($thissong['song_url']) ) --- 460,482 ---- else if ( ( $song_filetype == '.jpg' ) || ( $song_filetype == '.gif' ) || ( $song_filetype == '.png' ) ) { $url_download = !empty($thissong['song_url']) ? $thissong['song_url'] : append_sid(this_mo_mxurl("music_mode=music_download&song_id=$song_id")); $url_video = $url_download; $row_type = 'img'; + + $template->assign_block_vars('songrow.img', array( + 'VIDEO_URL' => $url_video, + 'SONG_URL' => $url_video + )); + } + else if ( ( $song_filetype == 'jpg' ) || ( $song_filetype == 'gif' ) || ( $song_filetype == 'png' ) ) + { + $url_download = !empty($thissong['song_url']) ? $thissong['song_url'] : append_sid(this_mo_mxurl("music_mode=music_download&song_id=$song_id")); + $url_video = $url_download; + $row_type = 'img'; + + $template->assign_block_vars('songrow.img', array( + 'VIDEO_URL' => $url_video, + 'SONG_URL' => $url_video + )); } else if( ($song_filetype == 'pls') && !empty($thissong['song_url']) ) *************** *** 695,699 **** 'SONG_TITLE' => $thissong['song_title'], ! 'SONG_URL' => $thissong['song_url'], 'VIDEO_URL' => $url_video, --- 710,714 ---- 'SONG_TITLE' => $thissong['song_title'], ! 'SONG_URL' => !empty($thissong['song_url']) ? $thissong['song_url'] : append_sid(this_mo_mxurl("music_mode=music_song&song_id=" . $song_id)), 'VIDEO_URL' => $url_video, Index: music_download.php =================================================================== RCS file: /cvsroot/mxbb/mx_music/includes/music_download.php,v retrieving revision 1.2 retrieving revision 1.3 diff -C2 -d -r1.2 -r1.3 *** music_download.php 1 Aug 2007 23:33:27 -0000 1.2 --- music_download.php 1 Sep 2007 05:38:52 -0000 1.3 *************** *** 124,128 **** // ------------------------------------ if ( $thissong['song_url'] == '' ) ! { switch ( $song_filetype ) { --- 124,128 ---- // ------------------------------------ if ( $thissong['song_url'] == '' ) ! { switch ( $song_filetype ) { *************** *** 163,166 **** --- 163,178 ---- header('Content-type: application/vnd.rn-realmedia'); break; + case '.jpg': + case 'jpg': + header('Content-type: image/jpeg'); + break; + case '.gif': + case 'gif': + header('Content-type: image/gif'); + break; + case '.png': + case 'png': + header('Content-type: image/png'); + break; default: die('The filename data in the DBs was corrupted'); *************** *** 168,174 **** header("Content-Disposition: attachment; filename=\"$song_title - $song_singer\""); readfile(MUSIC_UPLOAD_PATH . $thissong['song_filename']); ! } else ! { switch ( $song_filetype_url ) { --- 180,186 ---- header("Content-Disposition: attachment; filename=\"$song_title - $song_singer\""); readfile(MUSIC_UPLOAD_PATH . $thissong['song_filename']); ! } else ! { switch ( $song_filetype_url ) { *************** *** 209,212 **** --- 221,236 ---- header('Content-type: application/vnd.rn-realmedia'); break; + case '.jpg': + case 'jpg': + header('Content-type: image/jpeg'); + break; + case '.gif': + case 'gif': + header('Content-type: image/gif'); + break; + case '.png': + case 'png': + header('Content-type: image/png'); + break; default: die('The URL of song data in the DBs was corrupted'); *************** *** 214,218 **** header("Content-Disposition: attachment; filename=\"$song_title - $song_singer\""); readfile($thissong['song_url']); ! } exit; --- 238,242 ---- header("Content-Disposition: attachment; filename=\"$song_title - $song_singer\""); readfile($thissong['song_url']); ! } exit; Index: music_page.php =================================================================== RCS file: /cvsroot/mxbb/mx_music/includes/music_page.php,v retrieving revision 1.4 retrieving revision 1.5 diff -C2 -d -r1.4 -r1.5 *** music_page.php 28 Aug 2007 23:01:09 -0000 1.4 --- music_page.php 1 Sep 2007 05:38:52 -0000 1.5 *************** *** 290,296 **** else if ( ( $song_filetype == '.jpg' ) || ( $song_filetype == '.gif' ) || ( $song_filetype == '.png' ) ) { - $template->assign_block_vars('img', array()); $url_download = !empty($thissong['song_url']) ? $thissong['song_url'] : append_sid(this_mo_mxurl("music_mode=music_download&song_id=$song_id")); $url_video = $url_download; } else if( ($song_filetype == 'pls') && !empty($thissong['song_url']) ) --- 290,312 ---- else if ( ( $song_filetype == '.jpg' ) || ( $song_filetype == '.gif' ) || ( $song_filetype == '.png' ) ) { $url_download = !empty($thissong['song_url']) ? $thissong['song_url'] : append_sid(this_mo_mxurl("music_mode=music_download&song_id=$song_id")); $url_video = $url_download; + $row_type = 'img'; + + $template->assign_block_vars('img', array( + 'VIDEO_URL' => $url_video, + 'SONG_URL' => $url_video + )); + } + else if ( ( $song_filetype == 'jpg' ) || ( $song_filetype == 'gif' ) || ( $song_filetype == 'png' ) ) + { + $url_download = !empty($thissong['song_url']) ? $thissong['song_url'] : append_sid(this_mo_mxurl("music_mode=music_download&song_id=$song_id")); + $url_video = $url_download; + $row_type = 'img'; + + $template->assign_block_vars('img', array( + 'VIDEO_URL' => $url_video, + 'SONG_URL' => $url_video + )); } else if( ($song_filetype == 'pls') && !empty($thissong['song_url']) ) *************** *** 508,512 **** 'SONG_TITLE' => $thissong['song_title'], ! 'SONG_URL' => $thissong['song_url'], 'VIDEO_URL' => $url_video, --- 524,528 ---- 'SONG_TITLE' => $thissong['song_title'], ! 'SONG_URL' => !empty($thissong['song_url']) ? $thissong['song_url'] : append_sid(this_mo_mxurl("music_mode=music_song&song_id=" . $song_id)), 'VIDEO_URL' => $url_video, Index: music_song.php =================================================================== RCS file: /cvsroot/mxbb/mx_music/includes/music_song.php,v retrieving revision 1.2 retrieving revision 1.3 diff -C2 -d -r1.2 -r1.3 *** music_song.php 1 Aug 2007 23:33:28 -0000 1.2 --- music_song.php 1 Sep 2007 05:38:52 -0000 1.3 *************** *** 221,224 **** --- 221,236 ---- header('Content-type: application/vnd.rn-realmedia'); break; + case '.jpg': + case 'jpg': + header('Content-type: image/jpeg'); + break; + case '.gif': + case 'gif': + header('Content-type: image/gif'); + break; + case '.png': + case 'png': + header('Content-type: image/png'); + break; default: die('The filename data in the DB was corrupted'); *************** *** 231,235 **** { case 'pls': ! die(PORTAL_URL . 'modules/mx_music/' . 'music.' . $phpEx . '?music_mode=music_stream&song_id=' . $song_id); break; default: --- 243,247 ---- { case 'pls': ! die(PORTAL_URL . 'modules/mx_music/' . 'galerie_media.' . $phpEx . '?music_mode=music_stream&song_id=' . $song_id); break; default: |
|
From: OryNider <ory...@us...> - 2007-09-01 05:38:58
|
Update of /cvsroot/mxbb/mx_music/admin In directory sc8-pr-cvs16.sourceforge.net:/tmp/cvs-serv19743/admin Modified Files: admin_music_cfg.php Log Message: This will allow to upload images for those who to not whan't to have separate module for this. Index: admin_music_cfg.php =================================================================== RCS file: /cvsroot/mxbb/mx_music/admin/admin_music_cfg.php,v retrieving revision 1.2 retrieving revision 1.3 diff -C2 -d -r1.2 -r1.3 *** admin_music_cfg.php 1 Aug 2007 23:33:26 -0000 1.2 --- admin_music_cfg.php 1 Sep 2007 05:38:51 -0000 1.3 *************** *** 151,154 **** --- 151,157 ---- 'RM_ENABLED' => ($new['rm_allowed'] == 1) ? 'checked="checked"' : '', 'RM_DISABLED' => ($new['rm_allowed'] == 0) ? 'checked="checked"' : '', + + 'IMG_ENABLED' => ($new['img_allowed'] == 1) ? 'checked="checked"' : '', + 'IMG_DISABLED' => ($new['img_allowed'] == 0) ? 'checked="checked"' : '', // Media Center *************** *** 215,218 **** --- 218,222 ---- 'L_QT_ALLOWED' => $lang['QT_allowed'], 'L_RM_ALLOWED' => $lang['RM_allowed'], + 'L_IMG_ALLOWED' => $lang['IMG_allowed'], // Media Center 'L_SONG_DESC_MAX_LENGTH' => $lang['Song_Desc_Max_Length'], |
|
From: OryNider <ory...@us...> - 2007-08-30 19:49:25
|
Update of /cvsroot/mxbb/mx_music In directory sc8-pr-cvs16.sourceforge.net:/tmp/cvs-serv32378 Modified Files: music.php Log Message: Index: music.php =================================================================== RCS file: /cvsroot/mxbb/mx_music/music.php,v retrieving revision 1.4 retrieving revision 1.5 diff -C2 -d -r1.4 -r1.5 *** music.php 30 Aug 2007 05:38:59 -0000 1.4 --- music.php 30 Aug 2007 19:49:17 -0000 1.5 *************** *** 534,538 **** // We may do query now // - if ($allowed_cat != '') { --- 534,537 ---- *************** *** 615,618 **** --- 614,746 ---- } } + else if ( ($mode == 'music_index') && !isset($_GET['c']) ) + { + $sql = "SELECT c.*, COUNT(s.song_id) AS count + FROM ". MUSIC_CAT_TABLE ." AS c + LEFT JOIN ". MUSIC_TABLE ." AS s ON c.cat_id = s.song_cat_id + WHERE cat_id <> 0 + GROUP BY cat_id + ORDER BY cat_order ASC"; + if( !($result = $db->sql_query($sql)) ) + { + mx_message_die(GENERAL_ERROR, 'Could not query categories list', '', __LINE__, __FILE__, $sql); + } + + $catsrow = array(); + + while( $row = $db->sql_fetchrow($result) ) + { + $music_user_access = music_user_access($row['cat_id'], $row, 1, 0, 0, 0, 0, 0); // VIEW + if ($music_user_access['view'] == 1) + { + $catsrow[] = $row; + } + } + + for ($i = 0; $i < count($catsrow); $i++) + { + // -------------------------------- + // Build allowed category-list (for recent songs after here) + // -------------------------------- + + $allowed_cat .= ($allowed_cat == '') ? $catsrow[$i]['cat_id'] : ',' . $catsrow[$i]['cat_id']; + } + + if ($allowed_cat != '') + { + $sql = "SELECT s.song_id, s.song_title, s.song_desc, s.song_singer, s.song_user_id, s.song_user_ip, s.song_username, s.song_time, s.song_cat_id, s.song_view_count, u.user_id, u.username, r.rate_song_id, AVG(r.rate_point) AS rating, COUNT(DISTINCT c.comment_id) AS comments, MAX(c.comment_id) as new_comment + FROM ". MUSIC_TABLE ." AS s + LEFT JOIN ". USERS_TABLE ." AS u ON s.song_user_id = u.user_id + LEFT JOIN ". MUSIC_CAT_TABLE ." AS ct ON s.song_cat_id = ct.cat_id + LEFT JOIN ". MUSIC_RATE_TABLE ." AS r ON s.song_id = r.rate_song_id + LEFT JOIN ". MUSIC_COMMENT_TABLE ." AS c ON s.song_id = c.comment_song_id + WHERE s.song_cat_id IN ($allowed_cat) AND ( s.song_approval = 1 OR ct.cat_approval = 0 ) + GROUP BY s.song_id + ORDER BY $sort_method DESC + LIMIT $song_limit"; + if( !($result = $db->sql_query($sql)) ) + { + mx_message_die(GENERAL_ERROR, 'Could not query top songs information', '', __LINE__, __FILE__, $sql); + } + + $topsongrow = array(); + + while( $row = $db->sql_fetchrow($result) ) + { + $topsongrow[] = $row; + } + + + if (count($topsongrow) > 0) + { + for ($i = 0; $i < count($topsongrow); $i += $music_config['rows_per_page']) + { + $template->assign_block_vars('top_songs', array()); + + for ($j = $i; $j < ($i + $music_config['rows_per_page']); $j++) + { + if( $j >= count($topsongrow) ) + { + break; + } + + if(!$topsongrow[$j]['rating']) + { + $topsongrow[$j]['rating'] = $lang['Not_rated']; + } + else + { + $topsongrow[$j]['rating'] = round($topsongrow[$j]['rating'], 2); + } + + $template->assign_block_vars('top_songs.top_row', array( + 'U_SONG' => append_sid(this_mo_mxurl("music_mode=music_page&song_id=". $topsongrow[$j]['song_id'])), + 'DESC' => $topsongrow[$j]['song_desc'] + ) + ); + + if( ($topsongrow[$j]['user_id'] == MUSIC_GUEST) or ($topsongrow[$j]['username'] == '') ) + { + $top_poster = ($topsongrow[$j]['song_username'] == '') ? $lang['Guest'] : $topsongrow[$j]['song_username']; + } + else + { + $top_poster = '<a href="'. append_sid($phpbb_root_path . "profile.$phpEx?mode=viewprofile&". POST_USERS_URL .'='. $topsongrow[$j]['user_id']) .'">'. $topsongrow[$j]['username'] .'</a>'; + } + + $template->assign_block_vars('top_songs.top_detail', array( + 'TITLE' => '<a href="'. append_sid(this_mo_mxurl("music_mode=music_page&song_id=". $topsongrow[$j]['song_id'])) . '">' . $topsongrow[$j]['song_title'] . '</a>', + 'SINGER' => $topsongrow[$j]['song_singer'], + 'POSTER' => $top_poster, + 'TIME' => create_date($board_config['default_dateformat'], $topsongrow[$j]['song_time'], $board_config['board_timezone']), + + 'VIEW' => $topsongrow[$j]['song_view_count'], + + 'RATING' => ($music_config['rate'] == 1) ? ( '<a href="'. append_sid(this_mo_mxurl("music_mode=music_rate&song_id=". $topsongrow[$j]['song_id'])) . '">' . $topsongrow[$j]['rating'] . '</a>' ) : '', + + 'COMMENTS' => ($music_config['comment'] == 1) ? ( '<a href="'. append_sid(this_mo_mxurl("music_mode=music_comment&song_id=". $topsongrow[$j]['song_id'])) . '">' . $topsongrow[$j]['comments'] . '</a>' ) : '', + + 'IP' => ($userdata['user_level'] == ADMIN) ? $lang['IP_Address'] . ': <a href="http://www.nic.com/cgi-bin/whois.cgi?query=' . decode_ip($topsongrow[$j]['song_user_ip']) . '" target="_blank">' . decode_ip($topsongrow[$j]['song_user_ip']) .'</a><br />' : '' + ) + ); + } + } + } + else + { + // + // No songs Found + // + $template->assign_block_vars('no_songs', array()); + } + } + else + { + // + // No songs Found + // + $template->assign_block_vars('no_songs', array()); + } + } else { *************** *** 631,635 **** } - // ------------------------------------ // additional sorting options --- 759,762 ---- |
|
From: OryNider <ory...@us...> - 2007-08-30 05:39:07
|
Update of /cvsroot/mxbb/mx_music In directory sc8-pr-cvs16.sourceforge.net:/tmp/cvs-serv23360 Modified Files: music.php Log Message: Index: music.php =================================================================== RCS file: /cvsroot/mxbb/mx_music/music.php,v retrieving revision 1.3 retrieving revision 1.4 diff -C2 -d -r1.3 -r1.4 *** music.php 30 Aug 2007 03:52:17 -0000 1.3 --- music.php 30 Aug 2007 05:38:59 -0000 1.4 *************** *** 265,269 **** } - // ------------------------------------------ // Get Last song of this Category --- 265,268 ---- *************** *** 355,363 **** $last_song_info .= '<br />'. $lang['Song_Title'] .': <a href="'; ! $last_song_info .= append_sid(this_mo_mxurl("music_mode=music_page&song_id=" . $lastrow['song_id'])) .'">' ; $last_song_info .= $lastrow['song_title'] .'</a>'; } // END of Last Song } else --- 354,373 ---- $last_song_info .= '<br />'. $lang['Song_Title'] .': <a href="'; ! $last_song_info .= append_sid(this_mo_mxurl("music_mode=music_page&song_id=". $lastrow['song_id'])) .'">' ; $last_song_info .= $lastrow['song_title'] .'</a>'; } // END of Last Song + + $template->assign_block_vars('catrow', array( + 'U_VIEW_CAT' => append_sid(this_mo_mxurl("music_mode=music_cat&cat_id=". $catrows[$i]['cat_id'])), + 'CAT_TITLE' => $catrows[$i]['cat_title'], + 'CAT_DESC' => $catrows[$i]['cat_desc'], + 'SONGS' => $catrows[$i]['count'], + 'CAT_VIEWS' => $catrows[$i]['cat_views'], + 'L_MODERATORS' => $l_moderators, + 'MODERATORS' => $moderators_list, + 'LAST_SONG_INFO' => $last_song_info) + ); } else *************** *** 372,376 **** if ( !($sc_result = $db->sql_query($sc_sql)) ) { ! mx_message_die(GENERAL_ERROR, 'Could not query sub categories', '', __LINE__, __FILE__, $sql); } --- 382,386 ---- if ( !($sc_result = $db->sql_query($sc_sql)) ) { ! message_die(GENERAL_ERROR, 'Could not query sub categories', '', __LINE__, __FILE__, $sql); } *************** *** 396,424 **** $template->assign_block_vars('catrow', array( ! 'U_VIEW_CAT' => append_sid(this_mo_mxurl("music_mode=music_index&c=". $catrows[$i]['cat_id'])), ! 'CAT_TITLE' => $catrows[$i]['cat_title'], ! 'CAT_DESC' => $catrows[$i]['cat_desc'], ! 'SONGS' => $subcat_count, ! 'SUBCATS' => $subcats, ! ) ! ); } - // ------------------------------------------ // Parse to template the info of the current Category // ------------------------------------------ ! ! if ($catrows[$i]['cat_type'] == 0) { ! $template->assign_block_vars('catrow', array( ! 'U_VIEW_CAT' => append_sid(this_mo_mxurl("music_mode=music_cat&cat_id=". $catrows[$i]['cat_id'])), ! 'CAT_TITLE' => $catrows[$i]['cat_title'], ! 'CAT_DESC' => $catrows[$i]['cat_desc'], ! 'CAT_VIEWS' => $catrows[$i]['cat_views'], ! 'L_MODERATORS' => $l_moderators, ! 'MODERATORS' => $moderators_list, ! 'SONGS' => $catrows[$i]['count'], ! 'LAST_SONG_INFO' => $last_song_info) ! ); } } --- 406,426 ---- $template->assign_block_vars('catrow', array( ! 'U_VIEW_CAT' => append_sid(this_mo_mxurl("music_mode=music_index&c=". $catrows[$i]['cat_id'])), ! 'CAT_TITLE' => $catrows[$i]['cat_title'], ! 'CAT_DESC' => $catrows[$i]['cat_desc'], ! 'SONGS' => $subcat_count, ! 'SUBCATS' => $subcats, ! 'CAT_VIEWS' => $catrows[$i]['cat_views'], ! 'L_MODERATORS' => $l_moderators, ! 'MODERATORS' => $moderators_list, ! 'LAST_SONG_INFO' => $last_song_info) ! ); } // ------------------------------------------ // Parse to template the info of the current Category // ------------------------------------------ ! if ($catrows[$i]['cat_type'] == 0) { ! //Removed code } } |
|
From: OryNider <ory...@us...> - 2007-08-30 03:58:17
|
Update of /cvsroot/mxbb/mx_music In directory sc8-pr-cvs16.sourceforge.net:/tmp/cvs-serv3176 Modified Files: db_install.php Log Message: Index: db_install.php =================================================================== RCS file: /cvsroot/mxbb/mx_music/db_install.php,v retrieving revision 1.4 retrieving revision 1.5 diff -C2 -d -r1.4 -r1.5 *** db_install.php 30 Aug 2007 03:52:17 -0000 1.4 --- db_install.php 30 Aug 2007 03:58:13 -0000 1.5 *************** *** 165,169 **** $sql[] = "INSERT INTO " . $mx_table_prefix . "music_config VALUES ('rate_scale', '10')"; $sql[] = "INSERT INTO " . $mx_table_prefix . "music_config VALUES ('comment', '1')"; ! $sql[] = "INSERT INTO " . $mx_table_prefix . "music_config VALUES ('music_version', '.0.6')"; $sql[] = "INSERT INTO " . $mx_table_prefix . "music_config VALUES ('max_image_size', '10240')"; $sql[] = "INSERT INTO " . $mx_table_prefix . "music_config VALUES ('max_image_width', '300')"; --- 165,169 ---- $sql[] = "INSERT INTO " . $mx_table_prefix . "music_config VALUES ('rate_scale', '10')"; $sql[] = "INSERT INTO " . $mx_table_prefix . "music_config VALUES ('comment', '1')"; ! $sql[] = "INSERT INTO " . $mx_table_prefix . "music_config VALUES ('music_version', '.0.7')"; $sql[] = "INSERT INTO " . $mx_table_prefix . "music_config VALUES ('max_image_size', '10240')"; $sql[] = "INSERT INTO " . $mx_table_prefix . "music_config VALUES ('max_image_width', '300')"; |