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: Selven <sel...@us...> - 2007-07-09 18:42:11
|
Update of /cvsroot/mxbb/mx_shoutbox In directory sc8-pr-cvs16.sourceforge.net:/tmp/cvs-serv13852 Modified Files: db_install.php db_upgrade.php Log Message: Upgrading to 2.3.1 to release fix, and correcting some typo in documentation Index: db_install.php =================================================================== RCS file: /cvsroot/mxbb/mx_shoutbox/db_install.php,v retrieving revision 1.1 retrieving revision 1.2 diff -C2 -d -r1.1 -r1.2 *** db_install.php 21 Jun 2007 18:21:02 -0000 1.1 --- db_install.php 9 Jul 2007 18:41:59 -0000 1.2 *************** *** 26,30 **** // } ! $mx_module_version = '2.3.0'; $mx_module_copy = 'Original mxBB <i>Shoutbox</i> module by <a href="http://phpms.sourceforge.net" target="_blank">Selven</a>'; --- 26,30 ---- // } ! $mx_module_version = '2.3.1'; $mx_module_copy = 'Original mxBB <i>Shoutbox</i> module by <a href="http://phpms.sourceforge.net" target="_blank">Selven</a>'; Index: db_upgrade.php =================================================================== RCS file: /cvsroot/mxbb/mx_shoutbox/db_upgrade.php,v retrieving revision 1.1 retrieving revision 1.2 diff -C2 -d -r1.1 -r1.2 *** db_upgrade.php 21 Jun 2007 18:21:04 -0000 1.1 --- db_upgrade.php 9 Jul 2007 18:41:59 -0000 1.2 *************** *** 27,31 **** } ! $mx_module_version = '2.3.0'; $mx_module_copy = 'Original mxBB <i>Shoutbox</i> module by <a href="http://phpms.sourceforge.net" target="_blank">Selven</a>'; --- 27,31 ---- } ! $mx_module_version = '2.3.1'; $mx_module_copy = 'Original mxBB <i>Shoutbox</i> module by <a href="http://phpms.sourceforge.net" target="_blank">Selven</a>'; |
|
From: Selven <sel...@us...> - 2007-07-09 18:33:27
|
Update of /cvsroot/mxbb/mx_shoutbox/templates/subSilver In directory sc8-pr-cvs16.sourceforge.net:/tmp/cvs-serv10166 Modified Files: mx_shout_edit.tpl mx_shoutbox.tpl Log Message: template fix Index: mx_shoutbox.tpl =================================================================== RCS file: /cvsroot/mxbb/mx_shoutbox/templates/subSilver/mx_shoutbox.tpl,v retrieving revision 1.1 retrieving revision 1.2 diff -C2 -d -r1.1 -r1.2 *** mx_shoutbox.tpl 21 Jun 2007 18:21:22 -0000 1.1 --- mx_shoutbox.tpl 9 Jul 2007 18:33:12 -0000 1.2 *************** *** 31,35 **** formErrors = false; ! if (document.post.message.value.length < 1) { formErrors = "{L_FORM_ERROR}"; } --- 31,35 ---- formErrors = false; ! if (document.sh_post.message.value.length < 1) { formErrors = "{L_FORM_ERROR}"; } *************** *** 87,91 **** <!-- END switch_guest_namebox --> ! <textarea class="post" name="message" wrap="physical" cols="24" rows="4" onkeypress="return canAddCharacter(this, {SHOUT_SIZE})" onchange="trimLength(this, {SHOUT_SIZE})"></textarea> <span class="gensmall">{SHOUT_SIZE_EXPL} {SHOUT_SIZE}</span> {S_HIDDEN_FIELDS} --- 87,91 ---- <!-- END switch_guest_namebox --> ! <textarea class="sh_post" name="message" wrap="physical" cols="24" rows="4" onkeypress="return canAddCharacter(this, {SHOUT_SIZE})" onchange="trimLength(this, {SHOUT_SIZE})"></textarea> <span class="gensmall">{SHOUT_SIZE_EXPL} {SHOUT_SIZE}</span> {S_HIDDEN_FIELDS} Index: mx_shout_edit.tpl =================================================================== RCS file: /cvsroot/mxbb/mx_shoutbox/templates/subSilver/mx_shout_edit.tpl,v retrieving revision 1.1 retrieving revision 1.2 diff -C2 -d -r1.1 -r1.2 *** mx_shout_edit.tpl 21 Jun 2007 18:21:21 -0000 1.1 --- mx_shout_edit.tpl 9 Jul 2007 18:33:12 -0000 1.2 *************** *** 28,32 **** </script> ! <form name="editform" action="{S_SHOUT_ACTION}" method="post" onsubmit="return checkAlbumForm()"> <table width="100%" cellpadding="2" cellspacing="1" border="0" class="forumline"> --- 28,32 ---- </script> ! <form name="editform" action="{S_SHOUT_ACTION}" method="sh_post" onsubmit="return checkAlbumForm()"> <table width="100%" cellpadding="2" cellspacing="1" border="0" class="forumline"> |
|
From: OryNider <ory...@us...> - 2007-07-05 06:00:27
|
Update of /cvsroot/mxbb/mx_smartor/templates/subSilver In directory sc8-pr-cvs16.sourceforge.net:/tmp/cvs-serv28358/templates/subSilver Modified Files: album_lists.tpl subSilver.cfg Log Message: this will enable preview in album_list if is on album_index. Index: album_lists.tpl =================================================================== RCS file: /cvsroot/mxbb/mx_smartor/templates/subSilver/album_lists.tpl,v retrieving revision 1.7 retrieving revision 1.8 diff -C2 -d -r1.7 -r1.8 *** album_lists.tpl 7 Jun 2007 20:13:42 -0000 1.7 --- album_lists.tpl 5 Jul 2007 06:00:22 -0000 1.8 *************** *** 19,23 **** <tr> <!-- BEGIN recent_col --> ! <td class="row1" width="{S_COL_WIDTH}" align="center"><a href="{recent_pics_block.recent_pics.recent_col.U_PIC}" {TARGET_BLANK}><img class="shadow" src="{recent_pics_block.recent_pics.recent_col.THUMBNAIL}" border="0" alt="{recent_pics_block.recent_pics.recent_col.DESC}" title="{recent_pics_block.recent_pics.recent_col.DESC}" vspace="10" /></a></td> <!-- END recent_col --> </tr> --- 19,23 ---- <tr> <!-- BEGIN recent_col --> ! <td class="row1" width="{S_COL_WIDTH}" align="center"><a href="{recent_pics_block.recent_pics.recent_col.U_PIC}" {TARGET_BLANK}><img src="{recent_pics_block.recent_pics.recent_col.THUMBNAIL}" border="0" alt="{recent_pics_block.recent_pics.recent_col.DESC}" title="{recent_pics_block.recent_pics.recent_col.DESC}" vspace="10" {recent_pics_block.recent_pics.recent_col.PIC_PREVIEW} /></a></td> <!-- END recent_col --> </tr> *************** *** 48,52 **** <tr> <!-- BEGIN most_col --> ! <td class="row1" width="{S_COL_WIDTH}" align="center"><a href="{most_pics_block.most_pics.most_col.U_PIC}" {TARGET_BLANK}><img class="shadow" src="{most_pics_block.most_pics.most_col.THUMBNAIL}" border="0" alt="{most_pics_block.most_pics.most_col.DESC}" title="{most_pics_block.most_pics.most_col.DESC}" vspace="10" /></a></td> <!-- END most_col --> </tr> --- 48,52 ---- <tr> <!-- BEGIN most_col --> ! <td class="row1" width="{S_COL_WIDTH}" align="center"><a href="{most_pics_block.most_pics.most_col.U_PIC}" {TARGET_BLANK}><img src="{most_pics_block.most_pics.most_col.THUMBNAIL}" border="0" alt="{most_pics_block.most_pics.most_col.DESC}" title="{most_pics_block.most_pics.most_col.DESC}" vspace="10" {most_pics_block.most_pics.most_col.PIC_PREVIEW} /></a></td> <!-- END most_col --> </tr> *************** *** 77,81 **** <tr> <!-- BEGIN highest_col --> ! <td class="row1" width="{S_COL_WIDTH}" align="center"><a href="{highest_pics_block.highest_pics.highest_col.U_PIC}" {TARGET_BLANK}><img class="shadow" src="{highest_pics_block.highest_pics.highest_col.THUMBNAIL}" border="0" alt="{highest_pics_block.highest_pics.highest_col.DESC}" title="{highest_pics_block.highest_pics.highest_col.DESC}" vspace="10" /></a></td> <!-- END highest_col --> </tr> --- 77,81 ---- <tr> <!-- BEGIN highest_col --> ! <td class="row1" width="{S_COL_WIDTH}" align="center"><a href="{highest_pics_block.highest_pics.highest_col.U_PIC}" {TARGET_BLANK}><img src="{highest_pics_block.highest_pics.highest_col.THUMBNAIL}" border="0" alt="{highest_pics_block.highest_pics.highest_col.DESC}" title="{highest_pics_block.highest_pics.highest_col.DESC}" vspace="10" {highest_pics_block.highest_pics.highest_col.PIC_PREVIEW} /></a></td> <!-- END highest_col --> </tr> *************** *** 107,111 **** <tr> <!-- BEGIN rand_col --> ! <td class="row1" width="{S_COL_WIDTH}" align="center"><a href="{random_pics_block.rand_pics.rand_col.U_PIC}" {TARGET_BLANK}><img class="shadow" src="{random_pics_block.rand_pics.rand_col.THUMBNAIL}" border="0" alt="{random_pics_block.rand_pics.rand_col.DESC}" title="{random_pics_block.rand_pics.rand_col.DESC}" vspace="10" /></a></td> <!-- END rand_col --> </tr> --- 107,111 ---- <tr> <!-- BEGIN rand_col --> ! <td class="row1" width="{S_COL_WIDTH}" align="center"><a href="{random_pics_block.rand_pics.rand_col.U_PIC}" {TARGET_BLANK}><img src="{random_pics_block.rand_pics.rand_col.THUMBNAIL}" border="0" alt="{random_pics_block.rand_pics.rand_col.DESC}" title="{random_pics_block.rand_pics.rand_col.DESC}" vspace="10" {random_pics_block.rand_pics.rand_col.PIC_PREVIEW} /></a></td> <!-- END rand_col --> </tr> |
|
From: OryNider <ory...@us...> - 2007-07-05 06:00:27
|
Update of /cvsroot/mxbb/mx_smartor/album_mod In directory sc8-pr-cvs16.sourceforge.net:/tmp/cvs-serv28358/album_mod Modified Files: album_common.php album_hierarchy_sql.php album_integration.php Log Message: this will enable preview in album_list if is on album_index. Index: album_hierarchy_sql.php =================================================================== RCS file: /cvsroot/mxbb/mx_smartor/album_mod/album_hierarchy_sql.php,v retrieving revision 1.7 retrieving revision 1.8 diff -C2 -d -r1.7 -r1.8 *** album_hierarchy_sql.php 4 Jul 2007 15:49:32 -0000 1.7 --- album_hierarchy_sql.php 5 Jul 2007 06:00:22 -0000 1.8 *************** *** 1368,1372 **** } ! $thumbnail_file = append_sid(this_smartor_mxurl("smartor_mode=album_thumbnail&pic_id=" . $recentrow[$j]['pic_id'])); if ( ($album_config['thumbnail_cache'] == true) && ($album_config['quick_thumbs'] == true) ) { --- 1368,1372 ---- } ! $thumbnail_file = append_sid(this_smartor_mxurl("smartor_mode=album_thumbnail&pic_id=" . $recentrow[$j]['pic_id'], true)); if ( ($album_config['thumbnail_cache'] == true) && ($album_config['quick_thumbs'] == true) ) { *************** *** 1387,1395 **** else { ! $pic_preview = 'onmouseover="showtrail(\''. append_sid(this_fap_addonurl("smartor_mode=album_picm&pic_id=" . $recentrow[$j]['pic_id'])) . '\',\'' . addslashes($recentrow[$j]['pic_title']) . '\', ' . $album_sp_config['midthumb_width'] . ', ' . $album_sp_config['midthumb_height'] . ')" onmouseout="hidetrail()"'; } $template->assign_block_vars('recent_pics_block.recent_pics.recent_col', array( ! 'U_PIC' => ($album_config['fullpic_popup']) ? append_sid(this_smartor_mxurl("smartor_mode=album_pic&pic_id=" . $recentrow[$j]['pic_id'])) : append_sid(this_smartor_mxurl("smartor_mode=album_showpage&pic_id=" . $recentrow[$j]['pic_id'])), 'THUMBNAIL' => $thumbnail_file, 'PIC_PREVIEW' => $pic_preview, --- 1387,1395 ---- else { ! $pic_preview = 'onmouseover="showtrail(\''. append_sid(this_smartor_mxurl("smartor_mode=album_picm&pic_id=" . $recentrow[$j]['pic_id'], true)) . '\',\'' . addslashes($recentrow[$j]['pic_title']) . '\', ' . $album_sp_config['midthumb_width'] . ', ' . $album_sp_config['midthumb_height'] . ')" onmouseout="hidetrail()"'; } $template->assign_block_vars('recent_pics_block.recent_pics.recent_col', array( ! 'U_PIC' => ($album_config['fullpic_popup']) ? append_sid(this_smartor_mxurl("smartor_mode=album_pic&pic_id=" . $recentrow[$j]['pic_id'], true)) : append_sid(this_smartor_mxurl("smartor_mode=album_showpage&pic_id=" . $recentrow[$j]['pic_id'], false)), 'THUMBNAIL' => $thumbnail_file, 'PIC_PREVIEW' => $pic_preview, *************** *** 1463,1466 **** --- 1463,1467 ---- } + // ------------------------------------------------------------------------ // Creates the table for higest rated pictures *************** *** 1801,1804 **** --- 1802,1806 ---- } + // ------------------------------------------------------------------------ // Creates the table for random pictures *************** *** 1956,1960 **** } - function album_build_last_comments_info($cats) { --- 1958,1961 ---- |
|
From: OryNider <ory...@us...> - 2007-07-05 06:00:26
|
Update of /cvsroot/mxbb/mx_smartor In directory sc8-pr-cvs16.sourceforge.net:/tmp/cvs-serv28358 Modified Files: album_lists.php welcome.php Log Message: this will enable preview in album_list if is on album_index. Index: album_lists.php =================================================================== RCS file: /cvsroot/mxbb/mx_smartor/album_lists.php,v retrieving revision 1.18 retrieving revision 1.19 diff -C2 -d -r1.18 -r1.19 *** album_lists.php 4 Jul 2007 15:49:31 -0000 1.18 --- album_lists.php 5 Jul 2007 06:00:21 -0000 1.19 *************** *** 68,72 **** $album_config['fullpic_popup'] = 0; $album_config['comment'] = 1; ! $album_sp_config['rate_type'] = 1; --- 68,72 ---- $album_config['fullpic_popup'] = 0; $album_config['comment'] = 1; ! $album_config['lb_preview'] = ( ($page_id == $album_config['index']) ? $album_config['lb_preview'] : 0); $album_sp_config['rate_type'] = 1; *************** *** 119,123 **** if ($allowed_cat != '') { ! $sql = "SELECT p.pic_id, p.pic_title, p.pic_desc, p.pic_user_id, p.pic_user_ip, p.pic_username, p.pic_time, p.pic_cat_id, p.pic_view_count, u.user_id, u.username, r.rate_pic_id, AVG(r.rate_point) AS rating, COUNT(DISTINCT c.comment_id) AS comments FROM ". ALBUM_TABLE ." AS p LEFT JOIN ". USERS_TABLE ." AS u ON p.pic_user_id = u.user_id --- 119,124 ---- if ($allowed_cat != '') { ! ! $sql = "SELECT p.*, u.user_id, u.username, r.rate_pic_id, AVG(r.rate_point) AS rating, COUNT(DISTINCT c.comment_id) AS comments FROM ". ALBUM_TABLE ." AS p LEFT JOIN ". USERS_TABLE ." AS u ON p.pic_user_id = u.user_id *************** *** 169,175 **** --- 170,186 ---- } + if ($album_config['lb_preview'] == 0) + { + $pic_preview = ''; + } + else + { + $pic_preview = 'onmouseover="showtrail(\''. append_sid(this_fap_addonurl("smartor_mode=album_picm&pic_id=" . $recentrow[$j]['pic_id'])) . '\',\'' . addslashes($recentrow[$j]['pic_title']) . '\', ' . $album_sp_config['midthumb_width'] . ', ' . $album_sp_config['midthumb_height'] . ')" onmouseout="hidetrail()"'; + } + $template->assign_block_vars('recent_pics_block.recent_pics.recent_col', array( 'U_PIC' => ($album_config['fullpic_popup']) ? append_sid(this_fap_toplisturl("smartor_mode=album_pic&pic_id=". $recentrow[$j]['pic_id'], TRUE)) : append_sid(this_fap_toplisturl("smartor_mode=album_showpage&pic_id=". $recentrow[$j]['pic_id'], TRUE)), 'THUMBNAIL' => append_sid(this_fap_toplisturl("smartor_mode=album_thumbnail&pic_id=". $recentrow[$j]['pic_id'], TRUE)), + 'PIC_PREVIEW' => $pic_preview, 'DESC' => $recentrow[$j]['pic_desc'] ) *************** *** 281,287 **** --- 292,308 ---- } + if ($album_config['lb_preview'] == 0) + { + $pic_preview = ''; + } + else + { + $pic_preview = 'onmouseover="showtrail(\''. append_sid(this_fap_addonurl("smartor_mode=album_picm&pic_id=" . $mostrow[$j]['pic_id'])) . '\',\'' . addslashes($mostrow[$j]['pic_title']) . '\', ' . $album_sp_config['midthumb_width'] . ', ' . $album_sp_config['midthumb_height'] . ')" onmouseout="hidetrail()"'; + } + $template->assign_block_vars('most_pics_block.most_pics.most_col', array( 'U_PIC' => ($album_config['fullpic_popup']) ? append_sid(this_fap_toplisturl("smartor_mode=album_pic&pic_id=". $mostrow[$j]['pic_id'], TRUE)) : append_sid(this_fap_toplisturl("smartor_mode=album_showpage&pic_id=". $mostrow[$j]['pic_id'], TRUE)), 'THUMBNAIL' => append_sid(this_fap_toplisturl("smartor_mode=album_thumbnail&pic_id=". $mostrow[$j]['pic_id'], TRUE)), + 'PIC_PREVIEW' => $pic_preview, 'DESC' => $mostrow[$j]['pic_desc'] ) *************** *** 386,400 **** for ($j = $i; $j < ($i + $album_sp_config['img_cols']); $j++) { ! if( $j >= count($highestrow) ) ! { ! break; ! } ! $template->assign_block_vars('highest_pics_block.highest_pics.highest_col', array( ! 'U_PIC' => ($album_config['fullpic_popup']) ? append_sid(this_fap_toplisturl("smartor_mode=album_pic&pic_id=". $highestrow[$j]['pic_id'], TRUE)) : append_sid(this_fap_toplisturl("smartor_mode=album_showpage&pic_id=". $highestrow[$j]['pic_id'], TRUE)), ! 'THUMBNAIL' => append_sid(this_fap_toplisturl("smartor_mode=album_thumbnail&pic_id=". $highestrow[$j]['pic_id'], TRUE)), ! 'DESC' => $highestrow[$j]['pic_desc'] ! ) ! ); if( ($highestrow[$j]['user_id'] == ALBUM_GUEST) or ($highestrow[$j]['username'] == '') ) --- 407,431 ---- for ($j = $i; $j < ($i + $album_sp_config['img_cols']); $j++) { ! if( $j >= count($highestrow) ) ! { ! break; ! } ! if ($album_config['lb_preview'] == 0) ! { ! $pic_preview = ''; ! } ! else ! { ! $pic_preview = 'onmouseover="showtrail(\''. append_sid(this_fap_addonurl("smartor_mode=album_picm&pic_id=" . $highestrow[$j]['pic_id'])) . '\',\'' . addslashes($highestrow[$j]['pic_title']) . '\', ' . $album_sp_config['midthumb_width'] . ', ' . $album_sp_config['midthumb_height'] . ')" onmouseout="hidetrail()"'; ! } ! ! $template->assign_block_vars('highest_pics_block.highest_pics.highest_col', array( ! 'U_PIC' => ($album_config['fullpic_popup']) ? append_sid(this_fap_toplisturl("smartor_mode=album_pic&pic_id=". $highestrow[$j]['pic_id'], TRUE)) : append_sid(this_fap_toplisturl("smartor_mode=album_showpage&pic_id=". $highestrow[$j]['pic_id'], TRUE)), ! 'THUMBNAIL' => append_sid(this_fap_toplisturl("smartor_mode=album_thumbnail&pic_id=". $highestrow[$j]['pic_id'], TRUE)), ! 'PIC_PREVIEW' => $pic_preview, ! 'DESC' => $highestrow[$j]['pic_desc'] ! ) ! ); if( ($highestrow[$j]['user_id'] == ALBUM_GUEST) or ($highestrow[$j]['username'] == '') ) *************** *** 500,506 **** --- 531,547 ---- } + if ($album_config['lb_preview'] == 0) + { + $pic_preview = ''; + } + else + { + $pic_preview = 'onmouseover="showtrail(\''. append_sid(this_fap_addonurl("smartor_mode=album_picm&pic_id=" . $randrow[$j]['pic_id'])) . '\',\'' . addslashes($randrow[$j]['pic_title']) . '\', ' . $album_sp_config['midthumb_width'] . ', ' . $album_sp_config['midthumb_height'] . ')" onmouseout="hidetrail()"'; + } + $template->assign_block_vars('random_pics_block.rand_pics.rand_col', array( 'U_PIC' => ($album_config['fullpic_popup']) ? append_sid(this_fap_toplisturl("smartor_mode=album_pic&pic_id=". $randrow[$j]['pic_id'], TRUE)) : append_sid(this_fap_toplisturl("smartor_mode=album_showpage&pic_id=". $randrow[$j]['pic_id'], TRUE)), 'THUMBNAIL' => append_sid(this_fap_toplisturl("smartor_mode=album_thumbnail&pic_id=". $randrow[$j]['pic_id'], TRUE)), + 'PIC_PREVIEW' => $pic_preview, 'DESC' => $randrow[$j]['pic_desc'] ) |
|
From: OryNider <ory...@us...> - 2007-07-05 03:12:18
|
Update of /cvsroot/mxbb/mx_smartor In directory sc8-pr-cvs16.sourceforge.net:/tmp/cvs-serv2007 Modified Files: Smartor_album.pak Log Message: pak file upgrade :P Index: Smartor_album.pak =================================================================== RCS file: /cvsroot/mxbb/mx_smartor/Smartor_album.pak,v retrieving revision 1.9 retrieving revision 1.10 diff -C2 -d -r1.9 -r1.10 *** Smartor_album.pak 13 Jun 2007 18:46:40 -0000 1.9 --- Smartor_album.pak 5 Jul 2007 03:12:12 -0000 1.10 *************** *** 16,26 **** block=+:=+:Smartor_toplist=+:Demo block=+:72=+:0=+:5=+:0=+:0=+:0=+:0=+:1=+:1 New_function=+:---------------------------=+:0=+:0=+:0=+:0=+:0 ! function=+:61=+:73=+:Smartor: Welcome=+:=+:welcome.php=+: ! parameter=+:73=+:137=+:Welcome_Msg=+:Text=+:Have a nice day !=+:=+:0=+:0 ! parameter=+:73=+:138=+:Register_Msg=+:Text=+:Not a member? %sClick here and Register Now!%s=+:=+:0=+:0 ! parameter=+:73=+:139=+:View_JumpTo=+:Boolean=+:FALSE=+:=+:0=+:0 ! parameter=+:73=+:140=+:Vertical_Layout=+:Boolean=+:TRUE=+:=+:0=+:0 ! parameter=+:73=+:141=+:View_PostCount=+:Boolean=+:TRUE=+:=+:0=+:0 parameter=+:0=+:0=+:0=+:endoflist=+:0=+:0 ! block=+:=+:Smartor: Welcome=+:Demo block=+:73=+:0=+:5=+:0=+:0=+:0=+:0=+:1=+:1 function=+:0=+:0=+:0=+:endoflist=+:0=+:0 --- 16,26 ---- block=+:=+:Smartor_toplist=+:Demo block=+:72=+:0=+:5=+:0=+:0=+:0=+:0=+:1=+:1 New_function=+:---------------------------=+:0=+:0=+:0=+:0=+:0 ! function=+:61=+:102=+:Smartor_welcome=+:Smartor album welcome=+:welcome.php=+: ! parameter=+:102=+:216=+:Welcome_Msg=+:Text=+:Have a nice day !=+:=+:0=+:0 ! parameter=+:102=+:217=+:Register_Msg=+:Text=+:Not a member? %sClick here and Register Now!%s=+:=+:0=+:0 ! parameter=+:102=+:218=+:View_JumpTo=+:Boolean=+:FALSE=+:=+:0=+:0 ! parameter=+:102=+:219=+:Vertical_Layout=+:Boolean=+:TRUE=+:=+:0=+:0 ! parameter=+:102=+:221=+:View_PostCount=+:Boolean=+:TRUE=+:=+:0=+:0 parameter=+:0=+:0=+:0=+:endoflist=+:0=+:0 ! block=+:=+:Smartor_welcome=+:Demo block=+:102=+:0=+:5=+:0=+:0=+:0=+:0=+:1=+:1 function=+:0=+:0=+:0=+:endoflist=+:0=+:0 |
|
From: OryNider <ory...@us...> - 2007-07-04 15:50:46
|
Update of /cvsroot/mxbb/mx_smartor/templates/subSilver/admin In directory sc8-pr-cvs16.sourceforge.net:/tmp/cvs-serv29934/admin Modified Files: album_config_body.tpl Log Message: Many bugs fixed by me and Mighty Gorgon himself ... Index: album_config_body.tpl =================================================================== RCS file: /cvsroot/mxbb/mx_smartor/templates/subSilver/admin/album_config_body.tpl,v retrieving revision 1.5 retrieving revision 1.6 diff -C2 -d -r1.5 -r1.6 *** album_config_body.tpl 19 Jun 2007 22:36:23 -0000 1.5 --- album_config_body.tpl 4 Jul 2007 15:50:05 -0000 1.6 *************** *** 237,246 **** </td> </tr> - <!-- <tr> <td class="row1"><span class="genmed">{L_FULLPIC_POPUP}</span></td> <td class="row2"><span class="genmed"><input type="radio" {FULLPIC_POPUP_ENABLED} name="fullpic_popup" value="1" />{L_YES} <input type="radio" {FULLPIC_POPUP_DISABLED} name="fullpic_popup" value="0" />{L_NO}</span></td> </tr> ! --> <tr> <th class="thHead" colspan="2">{L_EXTRA_SETTINGS}</th> --- 237,263 ---- </td> </tr> <tr> <td class="row1"><span class="genmed">{L_FULLPIC_POPUP}</span></td> <td class="row2"><span class="genmed"><input type="radio" {FULLPIC_POPUP_ENABLED} name="fullpic_popup" value="1" />{L_YES} <input type="radio" {FULLPIC_POPUP_DISABLED} name="fullpic_popup" value="0" />{L_NO}</span></td> </tr> ! <tr> ! <td class="row1"><span class="genmed">{L_SHOW_IMG_NO_GD}</span></td> ! <td class="row2"><span class="genmed"><input onchange="setChange();" type="radio" {SHOW_IMG_NO_GD_ENABLED} name="show_img_no_gd" value="1" />{L_YES} <input onchange="setChange();" type="radio" {SHOW_IMG_NO_GD_DISABLED} name="show_img_no_gd" value="0" />{L_NO}</span></td> ! </tr> ! <tr> ! <td class="row1"><span class="genmed">{L_SHOW_GIF_MID_THUMB}</span></td> ! <td class="row2"><span class="genmed"><input onchange="setChange();" type="radio" {SHOW_GIF_MID_THUMB_ENABLED} name="show_gif_mid_thumb" value="1" />{L_YES} <input onchange="setChange();" type="radio" {SHOW_GIF_MID_THUMB_DISABLED} name="show_gif_mid_thumb" value="0" />{L_NO}</span></td> ! </tr> ! <tr> ! <td class="row1"><span class="genmed">{L_SHOW_PIC_SIZE}</span></td> ! <td class="row2"><span class="genmed"><input onchange="setChange();" type="radio" {SHOW_PIC_SIZE_ENABLED} name="show_pic_size_on_thumb" value="1" />{L_YES} <input onchange="setChange();" type="radio" {SHOW_PIC_SIZE_DISABLED} name="show_pic_size_on_thumb" value="0" />{L_NO}</span></td> ! </tr> ! <tr> ! <td class="row1"> ! <span class="genmed">{L_LB_PREVIEW}</span><br /> ! <span class="gensmall">{L_LB_PREVIEW_EXPLAIN}</span><br /> ! </td> ! <td class="row2"><span class="genmed"><input onchange="setChange();" type="radio" {LB_PREVIEW_ENABLED} name="lb_preview" value="1" />{L_YES} <input onchange="setChange();" type="radio" {LB_PREVIEW_DISABLED} name="lb_preview" value="0" />{L_NO}</span></td> ! </tr> <tr> <th class="thHead" colspan="2">{L_EXTRA_SETTINGS}</th> |
|
From: OryNider <ory...@us...> - 2007-07-04 15:50:19
|
Update of /cvsroot/mxbb/mx_smartor/templates/subSilver In directory sc8-pr-cvs16.sourceforge.net:/tmp/cvs-serv29934 Modified Files: album_cat_body.tpl album_showpage_body.tpl subSilver.cfg Log Message: Many bugs fixed by me and Mighty Gorgon himself ... Index: subSilver.cfg =================================================================== RCS file: /cvsroot/mxbb/mx_smartor/templates/subSilver/subSilver.cfg,v retrieving revision 1.6 retrieving revision 1.7 diff -C2 -d -r1.6 -r1.7 *** subSilver.cfg 3 Jul 2007 01:26:15 -0000 1.6 --- subSilver.cfg 4 Jul 2007 15:50:06 -0000 1.7 *************** *** 171,173 **** --- 171,194 ---- $images['mx_icon_latest_reply'] = "$current_template_phpbb_images/icon_latest_reply.gif"; $images['mx_icon_newest_reply'] = "$current_template_phpbb_images/icon_newest_reply.gif"; + + // + // Define common theme colors (if not present in db) + // + $theme['body_bgcolor'] = ( ($theme['body_bgcolor']) ? $theme['body_bgcolor'] : 'FFFFFF' ); + $theme['body_text'] = ( ($theme['body_text']) ? $theme['body_text'] : '383B3F' ); + $theme['body_link'] = ( ($theme['body_link']) ? $theme['body_link'] : '006699' ); + $theme['body_vlink'] = ( ($theme['body_vlink']) ? $theme['body_vlink'] : '006699' ); + $theme['body_alink'] = ( ($theme['body_alink']) ? $theme['body_alink'] : '006699' ); + $theme['body_hlink'] = ( ($theme['body_hlink']) ? $theme['body_hlink'] : 'f3a625' ); + $theme['tr_color1'] = ( ($theme['tr_color1']) ? $theme['tr_color1'] : 'F7EEEE' ); // row1 + $theme['tr_color2'] = ( ($theme['tr_color2']) ? $theme['tr_color2'] : 'FBF4F4' ); // row2 + $theme['tr_color3'] = ( ($theme['tr_color3']) ? $theme['tr_color3'] : 'f1f1f1' ); // row3 + $theme['th_color1'] = ( ($theme['th_color1']) ? $theme['th_color1'] : 'FFA34F' ); // bodyline border color + $theme['th_color2'] = ( ($theme['th_color2']) ? $theme['th_color2'] : '333333' ); // forumline border color + $theme['th_color3'] = ( ($theme['th_color3']) ? $theme['th_color3'] : 'd1d7dc' ); // boxes border color + $theme['td_color1'] = ( ($theme['td_color1']) ? $theme['td_color1'] : 'F7EEEE' ); // code/quote boxes background + $theme['td_color2'] = ( ($theme['td_color2']) ? $theme['td_color2'] : 'FBF4F4' ); // post box background + $theme['fontface1'] = ( ($theme['fontface1']) ? $theme['fontface1'] : 'Verdana,Arial,Helvetica,sans-serif'); + $theme['fontcolor1'] = ( ($theme['fontcolor1']) ? $theme['fontcolor1'] : '383B3F' ); // Main font color + $theme['fontcolor2'] = ( ($theme['fontcolor2']) ? $theme['fontcolor2'] : '726363' ); ?> \ No newline at end of file Index: album_showpage_body.tpl =================================================================== RCS file: /cvsroot/mxbb/mx_smartor/templates/subSilver/album_showpage_body.tpl,v retrieving revision 1.7 retrieving revision 1.8 diff -C2 -d -r1.7 -r1.8 *** album_showpage_body.tpl 7 Jun 2007 20:13:45 -0000 1.7 --- album_showpage_body.tpl 4 Jul 2007 15:50:06 -0000 1.8 *************** *** 153,161 **** <style type="text/css"> <!-- ! .shadow { color:#00aa00; filter: DropShadow(Color=#660000, OffX=3, OffY=3, Positive=1)} ! img.shadow { color:#00aa00; filter:progid:DXImageTransform.Microsoft.dropshadow(OffX=3, OffY=3, Color='gray', Positive='true')} --> </style> - <table width="100%" cellspacing="2" cellpadding="2" border="0"> <tr> --- 153,160 ---- <style type="text/css"> <!-- ! .shadow { color:#00aa00; filter: DropShadow(Color=#660000, OffX=3, OffY=3, Positive=1) } ! img.shadow { color:#00aa00; filter:progid:DXImageTransform.Microsoft.dropshadow(OffX=3, OffY=3, Color='gray', Positive='true') } --> </style> <table width="100%" cellspacing="2" cellpadding="2" border="0"> <tr> Index: album_cat_body.tpl =================================================================== RCS file: /cvsroot/mxbb/mx_smartor/templates/subSilver/album_cat_body.tpl,v retrieving revision 1.6 retrieving revision 1.7 diff -C2 -d -r1.6 -r1.7 *** album_cat_body.tpl 7 Jun 2007 20:13:40 -0000 1.6 --- album_cat_body.tpl 4 Jul 2007 15:50:06 -0000 1.7 *************** *** 64,119 **** </table> {ALBUM_BOARD_INDEX} ! <table width="100%" cellpadding="2" cellspacing="1" border="0" class="forumline"> ! <tr> ! <th class="thTop" height="25" align="center" colspan="{S_COLS}" nowrap="nowrap">{L_CATEGORY} :: {CAT_TITLE}</th> ! </tr> ! <!-- BEGIN no_pics --> ! <tr> ! <td class="row5" align="center" height="50"><span class="gen">{L_NO_PICS}</span></td> ! </tr> ! <!-- END no_pics --> ! <!-- BEGIN picrow --> ! <tr> ! <!-- BEGIN piccol --> ! <td align="center" width="{S_COL_WIDTH}" class="row1"><span class="genmed"><a href="{picrow.piccol.U_PIC}" {TARGET_BLANK}><img class="shadow" src="{picrow.piccol.THUMBNAIL}" border="0" alt="{picrow.piccol.DESC}" title="{picrow.piccol.DESC}" vspace="10" /></a><br /><i>{picrow.piccol.TITLE}</i> {picrow.piccol.APPROVAL}</span></td> ! <!-- END piccol --> ! </tr> ! <tr> ! <!-- BEGIN pic_detail --> ! <td class="row2"><span class="gensmall"> ! {L_POSTER}: {picrow.pic_detail.POSTER}<br /> ! {L_POSTED}: {picrow.pic_detail.TIME}<br /> ! {L_VIEW}: {picrow.pic_detail.VIEW}, {picrow.pic_detail.COMMENTS} ! {picrow.pic_detail.RATING} ! {picrow.pic_detail.IP} ! {picrow.pic_detail.EDIT} {picrow.pic_detail.DELETE} {picrow.pic_detail.LOCK} {picrow.pic_detail.MOVE}</span> </td> ! <!-- END pic_detail --> ! </tr> ! <!-- END picrow --> ! <tr> ! <td class="catBottom" colspan="{S_COLS}" align="center" height="28"> ! <form action="{S_ALBUM_ACTION}" method="post"> ! <span class="gensmall">{L_SELECT_SORT_METHOD}: ! <select name="sort_method"> ! <option {SORT_TIME} value='pic_time'>{L_TIME}</option> ! <option {SORT_PIC_TITLE} value='pic_title'>{L_PIC_TITLE}</option> ! <option {SORT_USERNAME} value='username'>{L_USERNAME}</option> ! <option {SORT_VIEW} value='pic_view_count'>{L_VIEW}</option> ! ! ! {SORT_RATING_OPTION} ! {SORT_COMMENTS_OPTION} ! {SORT_NEW_COMMENT_OPTION} ! </select> ! {L_ORDER}: ! <select name="sort_order"> ! <option {SORT_ASC} value='ASC'>{L_ASC}</option> ! <option {SORT_DESC} value='DESC'>{L_DESC}</option> ! </select> ! <input type="submit" name="submit" value="{L_SORT}" class="liteoption" /></span> </td> ! </tr> </table> <table width="98%" align="center" cellspacing="1" cellpadding="2" border="0"> --- 64,265 ---- </table> {ALBUM_BOARD_INDEX} ! <!-- BEGIN index_pics_block --> ! <table class="forumline" width="98%" align="center" cellspacing="1" cellpadding="2"> ! <tr> ! <th class="thTop" height="25" align="center" colspan="{S_COLS}" nowrap="nowrap"> ! <!-- BEGIN enable_gallery_title --> ! {CAT_TITLE} ! <!-- END enable_gallery_title --> ! </th> ! </tr> ! <!-- BEGIN no_pics --> ! <tr> ! <td class="row1" align="center" colspan="{S_COLS}"> ! <span class="gen"> ! <br /> ! {L_NO_PICS}<br /> ! <br /> ! <!-- BEGIN manage_personal_gal_folders --> ! {U_CREATE_PERSONAL_GALLERY} ! <br /> ! <!-- ! <a href="{U_CREATE_PERSONAL_GALLERY}"><img src="{CREATE_CATEGORY_IMG}" border="0" alt="{L_CREATE_PERSONAL_GALLERY}" title="{L_CREATE_PERSONAL_GALLERY}" /></a><br /> ! <br /> ! --> ! <!-- END manage_personal_gal_folders --> ! </span> ! </td> ! </tr> ! <!-- END no_pics --> ! <!-- BEGIN picrow --> ! <tr> ! <!-- BEGIN piccol --> ! <td class="row1" align="center" width="{S_COL_WIDTH}" onMouseOver="this.className='row2';" onMouseOut="this.className='row1';"> ! <table><tr><td><div class="picshadow"><div class="picframe"> ! <a href="{index_pics_block.picrow.piccol.U_PIC}" {TARGET_BLANK}><img src="{index_pics_block.picrow.piccol.THUMBNAIL}" {THUMB_SIZE} alt="{index_pics_block.picrow.piccol.DESC}" title="{index_pics_block.picrow.piccol.DESC}" vspace="10" border="0" {index_pics_block.picrow.piccol.PIC_PREVIEW} /></a> ! </div></div></td></tr></table> ! <span class="genmed"><br />{index_pics_block.picrow.piccol.APPROVAL}</span> ! </td> ! <!-- END piccol --> ! <!-- BEGIN nopiccol --> ! <td align="center" width="{S_COL_WIDTH}" class="row1"> </span></td> ! <!-- END nopiccol --> ! </tr> ! <tr> ! <!-- BEGIN pic_detail --> ! <td class="row2" align="center"> ! <span class="gensmall"> ! {L_PIC_TITLE}: {index_pics_block.picrow.pic_detail.TITLE}<br /> ! {L_PIC_ID}: {index_pics_block.picrow.pic_detail.PIC_ID}<br /> ! <!-- BEGIN cats --> ! {L_PIC_CAT}: <a href="{index_pics_block.picrow.pic_detail.cats.U_PIC_CAT}" {TARGET_BLANK}>{index_pics_block.picrow.pic_detail.cats.CATEGORY}</a><br /> ! <!-- END cats --> ! {L_POSTER}: {index_pics_block.picrow.pic_detail.POSTER}<br /> ! {L_POSTED}: {index_pics_block.picrow.pic_detail.TIME}<br /> ! {L_VIEW}: {index_pics_block.picrow.pic_detail.VIEW}<br /> ! {index_pics_block.picrow.pic_detail.RATING} ! {index_pics_block.picrow.pic_detail.COMMENTS} ! {index_pics_block.picrow.pic_detail.IP} ! {index_pics_block.picrow.pic_detail.EDIT} {index_pics_block.picrow.pic_detail.DELETE} {index_pics_block.picrow.pic_detail.LOCK} {index_pics_block.picrow.pic_detail.MOVE} {index_pics_block.picrow.pic_detail.AVATAR_PIC} <!-- {index_pics_block.picrow.pic_detail.IMG_BBCODE} --> ! </span> ! </td> ! <!-- END pic_detail --> ! <!-- BEGIN picnodetail --> ! <td class="row2"> </td> ! <!-- END picnodetail --> ! </tr> ! <!-- END picrow --> ! <tr> ! <td class="catBottom" colspan="{S_COLS}" align="center" height="28"> ! <form action="{S_ALBUM_ACTION}" method="post"> ! <span class="gensmall">{L_SELECT_SORT_METHOD}: ! <select name="sort_method"> ! <option {SORT_TIME} value='pic_time'>{L_TIME}</option> ! <option {SORT_PIC_TITLE} value='pic_title'>{L_PIC_TITLE}</option> ! {SORT_USERNAME_OPTION} ! <option {SORT_VIEW} value='pic_view_count'>{L_VIEW}</option> ! {SORT_RATING_OPTION} ! {SORT_COMMENTS_OPTION} ! {SORT_NEW_COMMENT_OPTION} ! </select> ! {L_ORDER}: ! <select name="sort_order"> ! <option {SORT_ASC} value='ASC'>{L_ASC}</option> ! <option {SORT_DESC} value='DESC'>{L_DESC}</option> ! </select> ! <input type="submit" name="submit" value="{L_SORT}" class="liteoption" /></span> ! </td> ! </tr> ! </table> ! <!-- END index_pics_block --> ! ! <!-- BEGIN recent_comments_block --> ! <br /> ! <table class="forumline" width="98%" align="center" cellspacing="1" cellpadding="2"> ! <tr><td class="catLeft" colspan="2" height="28"><span class="cattitle">{recent_comments_block.L_LAST_COMMENT_INFO}</span></td></tr> ! <tr> ! <th class="thTop" width="10%" height="25" nowrap="nowrap">{L_PIC_TITLE}</th> ! <th class="thTop" width="90%" height="25" nowrap="nowrap">{recent_comments_block.L_COMMENTS}</th> ! </tr> ! <!-- BEGIN comment_row --> ! <tr> ! <td class="row1" align="center" valign="middle" onMouseOver="this.className='row2';" onMouseOut="this.className='row1';" nowrap="nowrap"> ! <table><tr><td><div class="picshadow"><div class="picframe"> ! <a href="{recent_comments_block.comment_row.U_PIC}" {TARGET_BLANK}><img src="{recent_comments_block.comment_row.THUMBNAIL}" {THUMB_SIZE} alt="{recent_comments_block.comment_row.DESC}" title="{recent_comments_block.comment_row.DESC}" vspace="10" border="0" {recent_comments_block.comment_row.PIC_PREVIEW} /></a> ! </div></div></td></tr></table> ! </td> ! <td class="row1" valign="top" onMouseOver="this.className='row2';" onMouseOut="this.className='row1';" nowrap="nowrap"> ! <div style="text-align: right; float: right;"><span class="gensmall"><b>{L_PIC_TITLE}</b>: {recent_comments_block.comment_row.TITLE}</span></div> ! <span class="gensmall"><b>{L_POSTER}</b>: {recent_comments_block.comment_row.POSTER} [{recent_comments_block.comment_row.TIME}]</span> ! <hr /> ! <div class="postbody">{recent_comments_block.comment_row.COMMENT_TEXT}</div> ! <!-- ! <span class="gensmall"><b>{L_PIC_TITLE}</b>: {recent_comments_block.comment_row.TITLE}</span><br /> ! <span class="gensmall"><b>{L_POSTER}</b>: {recent_comments_block.comment_row.POSTER}</span><br /> ! <span class="gensmall"><b>{L_POSTED}</b>: {recent_comments_block.comment_row.TIME}</span><hr /> ! <span class="gensmall"><b>{recent_comments_block.L_LAST_COMMENT}</b>:</span><hr /> ! <div class="postbody">{recent_comments_block.comment_row.COMMENT_TEXT}</div> ! --> ! </td> ! </tr> ! <!-- END comment_row --> ! </table> ! <br /> ! <!-- END recent_comments_block --> ! ! <!-- BEGIN recent_pics_block --> ! <br /> ! <table class="forumline" width="98%" align="center" cellspacing="1" cellpadding="2"> ! <tr><th class="thTop" height="25" colspan="{S_COLS}" nowrap="nowrap">{L_RECENT_PUBLIC_PICS}</th></tr> ! <!-- BEGIN no_pics --> ! <tr><td class="row1" align="center" colspan="{S_COLS}" height="50"><span class="gen">{L_NO_PICS}</span></td></tr> ! <!-- END no_pics --> ! <!-- BEGIN recent_pics --> ! <tr> ! <!-- BEGIN recent_col --> ! <td class="row1" width="{S_COL_WIDTH}" align="center" onMouseOver="this.className='row2';" onMouseOut="this.className='row1';"> ! <table><tr><td><div class="picshadow"><div class="picframe"> ! <a href="{recent_pics_block.recent_pics.recent_col.U_PIC}" {TARGET_BLANK}><img src="{recent_pics_block.recent_pics.recent_col.THUMBNAIL}" {THUMB_SIZE} alt="{recent_pics_block.recent_pics.recent_col.DESC}" title="{recent_pics_block.recent_pics.recent_col.DESC}" vspace="10" border="0" {recent_pics_block.recent_pics.recent_col.PIC_PREVIEW} /></a> ! </div></div></td></tr></table> </td> ! <!-- END recent_col --> ! </tr> ! <tr> ! <!-- BEGIN recent_detail --> ! <td class="row2" align="center"> ! <span class="gensmall"> ! {L_POSTER}: {recent_pics_block.recent_pics.recent_detail.POSTER}<br /> ! {L_PIC_TITLE}: {recent_pics_block.recent_pics.recent_detail.TITLE}<br /> ! {L_PIC_ID}: {recent_pics_block.recent_pics.recent_detail.PIC_ID}<br /> ! {L_POSTED}: {recent_pics_block.recent_pics.recent_detail.TIME}<br /> ! {L_VIEW}: {recent_pics_block.recent_pics.recent_detail.VIEW}<br /> ! {recent_pics_block.recent_pics.recent_detail.RATING} ! {recent_pics_block.recent_pics.recent_detail.COMMENTS} ! {recent_pics_block.recent_pics.recent_detail.IP} ! </span> ! </td> ! <!-- END recent_detail --> ! </tr> ! <!-- END recent_pics --> ! </table> ! <br /> ! <!-- END recent_pics_block --> ! ! <!-- BEGIN mostviewed_pics_block --> ! <table class="forumline" width="98%" align="center" cellspacing="1" cellpadding="2"> ! <tr><th class="thTop" height="25" colspan="{S_COLS}" nowrap="nowrap">{L_MOST_VIEWED}</th></tr> ! <!-- BEGIN no_pics --> ! <tr><td class="row1" align="center" colspan="{S_COLS}" height="50"><span class="gen">{L_NO_PICS}</span></td></tr> ! <!-- END no_pics --> ! <!-- BEGIN mostviewed_pics --> ! <tr> ! <!-- BEGIN mostviewed_col --> ! <td class="row1" width="{S_COL_WIDTH}" align="center" onMouseOver="this.className='row2';" onMouseOut="this.className='row1';"> ! <table><tr><td><div class="picshadow"><div class="picframe"> ! <a href="{mostviewed_pics_block.mostviewed_pics.mostviewed_col.U_PIC}" {TARGET_BLANK}><img src="{mostviewed_pics_block.mostviewed_pics.mostviewed_col.THUMBNAIL}" {THUMB_SIZE} alt="{mostviewed_pics_block.mostviewed_pics.mostviewed_col.DESC}" title="{mostviewed_pics_block.mostviewed_pics.mostviewed_col.DESC}" vspace="10" border="0" {mostviewed_pics_block.mostviewed_pics.mostviewed_col.PIC_PREVIEW} /></a> ! </div></div></td></tr></table> </td> ! <!-- END mostviewed_col --> ! </tr> ! <tr> ! <!-- BEGIN mostviewed_detail --> ! <td class="row2" align="center"> ! <span class="gensmall"> ! {L_POSTER}: {mostviewed_pics_block.mostviewed_pics.mostviewed_detail.H_POSTER}<br /> ! {L_PIC_TITLE}: {mostviewed_pics_block.mostviewed_pics.mostviewed_detail.H_TITLE}<br /> ! {L_PIC_ID}: {mostviewed_pics_block.mostviewed_pics.mostviewed_detail.PIC_ID}<br /> ! {L_POSTED}: {mostviewed_pics_block.mostviewed_pics.mostviewed_detail.H_TIME}<br /> ! {L_VIEW}: {mostviewed_pics_block.mostviewed_pics.mostviewed_detail.H_VIEW}<br /> ! {mostviewed_pics_block.mostviewed_pics.mostviewed_detail.H_RATING} ! {mostviewed_pics_block.mostviewed_pics.mostviewed_detail.H_COMMENTS} ! {mostviewed_pics_block.mostviewed_pics.mostviewed_detail.H_IP} ! </span> ! </td> ! <!-- END mostviewed_detail --> ! </tr> ! <!-- END mostviewed_pics --> </table> + <br /> + <!-- END mostviewed_pics_block --> <table width="98%" align="center" cellspacing="1" cellpadding="2" border="0"> |
|
From: OryNider <ory...@us...> - 2007-07-04 15:49:52
|
Update of /cvsroot/mxbb/mx_smartor/language/lang_english In directory sc8-pr-cvs16.sourceforge.net:/tmp/cvs-serv29845 Modified Files: lang_admin_album.php lang_main_album.php Log Message: Many bugs fixed by me and Mighty Gorgon himself ... |
|
From: OryNider <ory...@us...> - 2007-07-04 15:49:39
|
Update of /cvsroot/mxbb/mx_smartor/includes In directory sc8-pr-cvs16.sourceforge.net:/tmp/cvs-serv29767/includes Modified Files: album_pic_nuffed.php album_showpage.php Log Message: Many bugs fixed by me and Mighty Gorgon himself ... Index: album_pic_nuffed.php =================================================================== RCS file: /cvsroot/mxbb/mx_smartor/includes/album_pic_nuffed.php,v retrieving revision 1.1 retrieving revision 1.2 diff -C2 -d -r1.1 -r1.2 *** album_pic_nuffed.php 7 Jun 2007 20:13:34 -0000 1.1 --- album_pic_nuffed.php 4 Jul 2007 15:49:32 -0000 1.2 *************** *** 26,45 **** } if( $module_root_path = '' ) { $module_root_path = '../'; $mx_root_path = $module_root_path . '../../'; - } ! $phpEx = substr(strrchr(__FILE__, '.'), 1); ! include_once($mx_root_path . 'common.'.$phpEx); ! // ! // Start session management ! // ! $mx_user->init($user_ip, PAGE_INDEX); ! // ! // End session management ! // define('ALBUM_MOD_PATH', 'album_mod/'); --- 26,48 ---- } + $phpEx = substr(strrchr(__FILE__, '.'), 1); + + /* if( $module_root_path = '' ) { $module_root_path = '../'; $mx_root_path = $module_root_path . '../../'; ! include_once($mx_root_path . 'common.'.$phpEx); ! // ! // Start session management ! // ! $mx_user->init($user_ip, PAGE_INDEX); ! // ! // End session management ! // ! } ! */ define('ALBUM_MOD_PATH', 'album_mod/'); *************** *** 51,57 **** } ! include_once($album_root_path . 'album_common.'.$phpEx); ! include_once($album_root_path . 'album_image_class.'.$phpEx); ! // ------------------------------------ --- 54,59 ---- } ! include($album_root_path . 'album_common.' . $phpEx); ! require($album_root_path . 'album_image_class.' . $phpEx); // ------------------------------------ *************** *** 90,95 **** $album_user_id = $thispic['cat_user_id']; - $pic_filetype = strtolower(substr($thispic['pic_filename'], strlen($thispic['pic_filename']) - 4, 4)); $pic_filename = $thispic['pic_filename']; $pic_title = $thispic['pic_title']; $pic_thumbnail = $thispic['pic_thumbnail']; --- 92,99 ---- $album_user_id = $thispic['cat_user_id']; $pic_filename = $thispic['pic_filename']; + $file_part = explode('.', strtolower($pic_filename)); + $pic_filetype = $file_part[sizeof($file_part) - 1]; + $pic_title = substr($pic_filename, 0, strlen($pic_filename) - strlen($pic_filetype) - 1); $pic_title = $thispic['pic_title']; $pic_thumbnail = $thispic['pic_thumbnail']; *************** *** 158,162 **** /* header('Content-type: image/jpeg'); ! header('Content-Disposition: filename=' . $pic_title_reg . $pic_filetype); readfile($images['no_thumbnail']); exit; --- 162,166 ---- /* header('Content-type: image/jpeg'); ! header('Content-Disposition: filename=' . $pic_title_reg . '.' . $pic_filetype); readfile($images['no_thumbnail']); exit; *************** *** 179,183 **** //Apply sepia filter (best to resize before this) ! ($nuff_http['nuff_sepia'] == true) ? $Image->Sepia() : false ; //Apply grayscale filter (best to resize before this) --- 183,187 ---- //Apply sepia filter (best to resize before this) ! ($nuff_http['nuff_sepia'] == true) ? $Image->Sepia() : false; //Apply grayscale filter (best to resize before this) *************** *** 230,234 **** //WatermarkPos(File, Pos, Size, Transition) ! if( ($pic_filetype != '.gif') && ($album_config['use_watermark'] == true) && ($userdata['user_level'] != ADMIN) && ( (!$userdata['session_logged_in']) || ($album_config['wut_users'] == 1)) ) { --- 234,238 ---- //WatermarkPos(File, Pos, Size, Transition) ! if( ($pic_filetype != 'gif') && ($album_config['use_watermark'] == true) && ($userdata['user_level'] != ADMIN) && ( (!$userdata['session_logged_in']) || ($album_config['wut_users'] == 1)) ) { Index: album_showpage.php =================================================================== RCS file: /cvsroot/mxbb/mx_smartor/includes/album_showpage.php,v retrieving revision 1.9 retrieving revision 1.10 diff -C2 -d -r1.9 -r1.10 *** album_showpage.php 7 Jun 2007 20:13:30 -0000 1.9 --- album_showpage.php 4 Jul 2007 15:49:32 -0000 1.10 *************** *** 92,112 **** // ------------------------------------ ! if( isset($HTTP_GET_VARS['pic_id']) ) ! { ! $pic_id = intval($HTTP_GET_VARS['pic_id']); ! } ! else if( isset($HTTP_POST_VARS['pic_id']) ) { ! $pic_id = intval($HTTP_POST_VARS['pic_id']); } else { ! if( isset($HTTP_GET_VARS['comment_id']) ) ! { ! $comment_id = intval($HTTP_GET_VARS['comment_id']); ! } ! else if( isset($HTTP_POST_VARS['comment_id']) ) { ! $comment_id = intval($HTTP_POST_VARS['comment_id']); } else --- 92,105 ---- // ------------------------------------ ! if( isset($_GET['pic_id']) || isset($_POST['pic_id']) ) { ! $pic_id = ( isset($_GET['pic_id']) ) ? intval($_GET['pic_id']) : intval($_POST['pic_id']); } else { ! if( isset($_GET['comment_id']) || isset($_POST['comment_id']) ) { ! $pic_id = ( isset($_GET['pic_id']) ) ? intval($_GET['pic_id']) : intval($_POST['pic_id']); ! $comment_id = (isset($_GET['comment_id'])) ? intval($_GET['comment_id']) : intval($_POST['comment_id']); } else *************** *** 117,143 **** // Midthumb & Full Pic ! if ($album_sp_config['midthumb_use'] == 1) { ! if( isset($HTTP_GET_VARS['full']) ) ! { ! $picm = TRUE; ! } ! else if( isset($HTTP_POST_VARS['full']) ) { ! $picm = TRUE; } else { ! $picm = FALSE; } ! $full_size_param = '&full=false'; } else { ! $picm = FALSE; ! $full_size_param = '&full=true'; } // ------------------------------------ // TEMPLATE ASSIGNEMENT --- 110,153 ---- // Midthumb & Full Pic ! if( isset($_GET['full']) || isset($_POST['full']) ) { ! $picm = false; ! $full_size_param = '&full=true'; ! } ! else ! { ! if ($album_config['midthumb_use'] == 1) { ! $picm = true; ! $full_size_param = ''; } else { ! $picm = false; ! $full_size_param = '&full=true'; } + } ! if( isset($_GET['sort_method']) || isset($_POST['sort_method']) ) ! { ! $sort_method = (isset($_GET['sort_method'])) ? $_GET['sort_method'] : $_POST['sort_method']; ! $sort_method = ( ($sort_method == 'comments') || ($sort_method == 'rating') )? $album_config['sort_method'] : $sort_method; } else { ! $sort_method = $album_config['sort_method']; } + if( isset($_GET['sort_order']) || isset($_POST['sort_order']) ) + { + $sort_order = (isset($_GET['sort_order'])) ? $_GET['sort_order'] : $_POST['sort_order']; + } + else + { + $sort_order = $album_config['sort_order']; + } + + $sort_append = '&sort_method=' . $sort_method . '&sort_order=' . $sort_order; + // ------------------------------------ // TEMPLATE ASSIGNEMENT *************** *** 147,151 **** $gen_simple_header = true; $show_template = 'album_slideshow_body.tpl'; ! $nuffimage_pic = ( $picm == false ) ? 'album_pic.' : 'album_picm.'; $nuffimage_vars = ''; } --- 157,161 ---- $gen_simple_header = true; $show_template = 'album_slideshow_body.tpl'; ! $nuffimage_pic = ( $picm == false ) ? 'album_pic' : 'album_picm'; $nuffimage_vars = ''; } *************** *** 159,163 **** $show_template = 'album_pic_nuffed_body.tpl'; $nuffimage_vars = '&nuffimage=true'; ! $nuffimage_pic = 'album_pic_nuffed.'; $nuff_http_full_string = $nuff_http['full_string']; $template->assign_block_vars('disable_pic_nuffed', array( --- 169,173 ---- $show_template = 'album_pic_nuffed_body.tpl'; $nuffimage_vars = '&nuffimage=true'; ! $nuffimage_pic = 'album_pic_nuffed'; $nuff_http_full_string = $nuff_http['full_string']; $template->assign_block_vars('disable_pic_nuffed', array( *************** *** 171,218 **** $show_template = 'album_showpage_body.tpl'; $nuffimage_vars = ''; ! $nuffimage_pic = ( $picm == false ) ? 'album_pic.' : 'album_picm.'; $nuff_http_full_string = ''; } } // ------------------------------------ ! // PREVIOUS & NEXT // ------------------------------------ - if( isset($_GET['mode']) ) - { - //if( ($_GET['mode'] == 'next') && ($no_next_pic == false) ) - if($_GET['mode'] == 'next') - { - //$pic_id = $next_pic_id[0]; - $sql_where = 'AND n.pic_id > c.pic_id'; - $sql_order = 'ORDER BY n.pic_id ASC LIMIT 1'; - - } ! //if( ($_GET['mode'] == 'prev') && ($no_prev_pic == false) ) ! if($_GET['mode'] == 'prev') ! { ! //$pic_id = $prev_pic_id[0]; ! $sql_where = 'AND n.pic_id < c.pic_id'; ! $sql_order = 'ORDER BY n.pic_id DESC LIMIT 1'; ! } ! ! $sql = "SELECT n.pic_id, n.pic_cat_id, n.pic_user_id, n.pic_time ! FROM ". ALBUM_TABLE ." as n, ". ALBUM_TABLE ." AS c ! WHERE c.pic_id = $pic_id ! $sql_where ! AND n.pic_cat_id = c.pic_cat_id ! $sql_order"; ! } ! else ! { ! $sql = "SELECT pic_id, pic_cat_id, pic_user_id, pic_time ! FROM ". ALBUM_TABLE ." ! WHERE pic_id = $pic_id"; ! } if( !($result = $db->sql_query($sql)) ) { ! message_die(GENERAL_ERROR, 'Could not query pic information', '', __LINE__, __FILE__, $sql); } --- 181,201 ---- $show_template = 'album_showpage_body.tpl'; $nuffimage_vars = ''; ! $nuffimage_pic = ( $picm == false ) ? 'album_pic' : 'album_picm'; $nuff_http_full_string = ''; } } + // ------------------------------------ ! // PREVIOUS / NEXT / PICS NAV // ------------------------------------ ! $sql = "SELECT pic_id, pic_cat_id, pic_user_id, pic_time ! FROM ". ALBUM_TABLE ." ! WHERE pic_id = $pic_id"; if( !($result = $db->sql_query($sql)) ) { ! mx_message_die(GENERAL_ERROR, 'Could not query pic information', '', __LINE__, __FILE__, $sql); } *************** *** 231,258 **** $db->sql_freeresult($result); ! if( isset($_GET['mode']) ) ! { ! if ( ($_GET['mode'] == 'next') || ($_GET['mode'] == 'prev') ) ! { ! $pic_id = $pic_id_tmp; ! } ! } ! ! if ($album_config['show_pics_nav'] == 1) ! { ! $template->assign_block_vars('pics_nav', array( ! 'L_PICS_NAV' => $lang['Pics_Nav'], ! 'L_PICS_NAV_NEXT' => $lang['Pics_Nav_Next'], ! 'L_PICS_NAV_PREV' => $lang['Pics_Nav_Prev'], ! ) ! ); ! } ! // NEXT ! $sql = "SELECT a.* FROM " . ALBUM_TABLE . " AS a ! WHERE a.pic_id > " . $pic_id_tmp . " ! AND a.pic_cat_id = " . $pic_cat_id_tmp . " AND a.pic_approval = 1 ! ORDER BY pic_id ASC LIMIT 2"; if( !($result = $db->sql_query($sql)) ) --- 214,223 ---- $db->sql_freeresult($result); ! $sql_order = 'ORDER BY a.' . $sort_method . ' ' . $sort_order; ! $sql = "SELECT * FROM " . ALBUM_TABLE . " AS a ! WHERE a.pic_cat_id = " . $pic_cat_id_tmp . " AND a.pic_approval = 1 ! " . $sql_order; if( !($result = $db->sql_query($sql)) ) *************** *** 261,528 **** } ! //$row = $db->sql_fetchrow($result); ! $next_pic_count = $db->sql_numrows($result); ! $next_pic_rows = $db->sql_fetchrowset($result); $db->sql_freeresult($result); ! if ($next_pic_count == 0) { ! $no_next_pic = true; ! $sql = "SELECT a.* ! FROM " . ALBUM_TABLE . " AS a ! WHERE a.pic_cat_id = " . $pic_cat_id_tmp . " ! AND a.pic_approval = 1 ! ORDER BY pic_id ASC LIMIT 1"; ! if( !($result = $db->sql_query($sql)) ) { ! mx_message_die(GENERAL_ERROR, 'Could not query pic information', '', __LINE__, __FILE__, $sql); } ! $row = $db->sql_fetchrow($result); ! $first_pic_id = $row['pic_id']; ! $db->sql_freeresult($result); } else { ! $no_next_pic = false; ! if ( $album_config['invert_nav_arrows'] == 0 ) ! { ! for($i = $next_pic_count - 1; $i >= 0; $i--) ! { ! $next_pic_id[$i] = $next_pic_rows[$i]['pic_id']; ! $thumbnail_file = append_sid(this_smartor_mxurl("smartor_mode=album_thumbnail&pic_id=" . $next_pic_id[$i])); ! if ( ($album_config['thumbnail_cache'] == true) && ($album_config['quick_thumbs'] == true) ) ! { ! $pic_filename = $next_pic_rows[$i]['pic_filename']; ! $pic_filetype = strtolower(substr($pic_filename, strlen($pic_filename) - 4, 4)); ! $pic_thumbnail = ( $next_pic_rows[$i]['pic_thumbnail'] == '' ) ? md5($pic_filename) . $pic_filetype : $next_pic_rows[$i]['pic_thumbnail']; ! //$pic_thumbnail = ( $next_pic_rows[$i]['pic_thumbnail'] == '' ) ? $pic_filename : $next_pic_rows[$i]['pic_thumbnail']; ! $pic_thumbnail_fullpath = ALBUM_CACHE_PATH . $pic_thumbnail; ! if ( file_exists($pic_thumbnail_fullpath) ) ! { ! $thumbnail_file = $pic_thumbnail_fullpath; ! } ! } ! if ($album_config['lb_preview'] == 0) ! { ! $pic_preview = append_sid(this_smartor_mxurl("smartor_mode=album_picm&pic_id=" . $next_pic_rows[$i]['pic_id'])); ! } ! else ! { ! $pic_preview = 'onmouseover="showtrail(\''. append_sid(this_smartor_mxurl("smartor_mode=album_picm&pic_id=" . $next_pic_rows[$i]['pic_id'])) . '\',\'' . addslashes($next_pic_rows[$i]['pic_title']) . '\', ' . $album_config['midthumb_width'] . ', ' . $album_config['midthumb_height'] . ')" onmouseout="hidetrail()"'; ! } ! if ($album_config['show_pics_nav'] == 1) ! { ! $template->assign_block_vars('pics_nav.next', array( ! 'U_PICS_THUMB' => $thumbnail_file, ! 'U_PICS_LINK' => append_sid(this_smartor_mxurl("smartor_mode=album_showpage&pic_id=" . $next_pic_id[$i] . $full_size_param . $nuffimage_vars)), ! 'PIC_PREVIEW' => $pic_preview, ! ) ! ); ! } ! } ! } ! else { ! for($i = 0; $i < $next_pic_count; $i++) { ! $next_pic_id[$i] = $next_pic_rows[$i]['pic_id']; ! $thumbnail_file = append_sid(this_smartor_mxurl("smartor_mode=album_thumbnail&pic_id=" . $next_pic_id[$i])); ! if ( ($album_config['thumbnail_cache'] == true) && ($album_config['quick_thumbs'] == true) ) ! { ! $pic_filename = $next_pic_rows[$i]['pic_filename']; ! $pic_filetype = strtolower(substr($pic_filename, strlen($pic_filename) - 4, 4)); ! $pic_thumbnail = ( $next_pic_rows[$i]['pic_thumbnail'] == '' ) ? md5($pic_filename) . $pic_filetype : $next_pic_rows[$i]['pic_thumbnail']; ! //$pic_thumbnail = ( $next_pic_rows[$i]['pic_thumbnail'] == '' ) ? $pic_filename : $next_pic_rows[$i]['pic_thumbnail']; ! $pic_thumbnail_fullpath = ALBUM_CACHE_PATH . $pic_thumbnail; ! if ( file_exists($pic_thumbnail_fullpath) ) ! { ! $thumbnail_file = $pic_thumbnail_fullpath; ! } ! } ! if ($album_config['lb_preview'] == 0) ! { ! $pic_preview = ''; ! } ! else ! { ! $pic_preview = 'onmouseover="showtrail(\''. append_sid(this_smartor_mxurl("smartor_mode=album_picm&pic_id=" . $next_pic_rows[$i]['pic_id'])) . '\',\'' . addslashes($next_pic_rows[$i]['pic_title']) . '\', ' . $album_config['midthumb_width'] . ', ' . $album_config['midthumb_height'] . ')" onmouseout="hidetrail()"'; ! } ! if ($album_config['show_pics_nav'] == 1) ! { ! $template->assign_block_vars('pics_nav.prev', array( ! 'U_PICS_THUMB' => $thumbnail_file, ! 'U_PICS_LINK' => append_sid(this_smartor_mxurl("smartor_mode=album_showpage&pic_id=" . $next_pic_id[$i] . $full_size_param . $nuffimage_vars)), ! 'PIC_PREVIEW' => $pic_preview, ! ) ! ); ! } } } } ! //PREV ! $sql = "SELECT a.* ! FROM " . ALBUM_TABLE . " AS a ! WHERE a.pic_id < " . $pic_id_tmp . " ! AND a.pic_cat_id = " . $pic_cat_id_tmp . " ! AND a.pic_approval = 1 ! ORDER BY pic_id DESC LIMIT 2"; ! if( !($result = $db->sql_query($sql)) ) { ! mx_message_die(GENERAL_ERROR, 'Could not query pic information', '', __LINE__, __FILE__, $sql); } ! //$row = $db->sql_fetchrow($result); ! $prev_pic_count = $db->sql_numrows($result); ! $prev_pic_rows = $db->sql_fetchrowset($result); ! $db->sql_freeresult($result); ! ! if ($prev_pic_count == 0) { ! $no_prev_pic = true; - $sql = "SELECT a.* - FROM " . ALBUM_TABLE . " AS a - WHERE a.pic_cat_id = " . $pic_cat_id_tmp . " - AND a.pic_approval = 1 - ORDER BY pic_id DESC LIMIT 1"; ! if( !($result = $db->sql_query($sql)) ) { ! mx_message_die(GENERAL_ERROR, 'Could not query pic information', '', __LINE__, __FILE__, $sql); } - - $row = $db->sql_fetchrow($result); - $last_pic_id = $row['pic_id']; - $db->sql_freeresult($result); } ! else { ! $no_prev_pic = false; ! if ( $album_config['invert_nav_arrows'] == 0 ) { ! for($i = 0; $i < $prev_pic_count; $i++) ! { ! $prev_pic_id[$i] = $prev_pic_rows[$i]['pic_id']; ! $thumbnail_file = append_sid(this_smartor_mxurl("smartor_mode=album_thumbnail&pic_id=" . $prev_pic_id[$i])); ! if ( ($album_config['thumbnail_cache'] == true) && ($album_config['quick_thumbs'] == true) ) ! { ! $pic_filename = $prev_pic_rows[$i]['pic_filename']; ! $pic_filetype = strtolower(substr($pic_filename, strlen($pic_filename) - 4, 4)); ! $pic_thumbnail = ( $prev_pic_rows[$i]['pic_thumbnail'] == '' ) ? md5($pic_filename) . $pic_filetype : $prev_pic_rows[$i]['pic_thumbnail']; ! //$pic_thumbnail = ( $prev_pic_rows[$i]['pic_thumbnail'] == '' ) ? $pic_filename : $prev_pic_rows[$i]['pic_thumbnail']; ! $pic_thumbnail_fullpath = ALBUM_CACHE_PATH . $pic_thumbnail; ! if ( file_exists($pic_thumbnail_fullpath) ) ! { ! $thumbnail_file = $pic_thumbnail_fullpath; ! } ! } ! if ($album_config['lb_preview'] == 0) ! { ! $pic_preview = ''; ! } ! else ! { ! $pic_preview = 'onmouseover="showtrail(\''. append_sid(this_smartor_mxurl("smartor_mode=album_picm&pic_id=" . $prev_pic_rows[$i]['pic_id'])) . '\',\'' . addslashes($prev_pic_rows[$i]['pic_title']) . '\', ' . $album_config['midthumb_width'] . ', ' . $album_config['midthumb_height'] . ')" onmouseout="hidetrail()"'; ! } ! if ($album_config['show_pics_nav'] == 1) ! { ! $template->assign_block_vars('pics_nav.prev', array( ! 'U_PICS_THUMB' => $thumbnail_file, ! 'U_PICS_LINK' => append_sid(this_smartor_mxurl("smartor_mode=album_showpage&pic_id=" . $prev_pic_id[$i] . $full_size_param . $nuffimage_vars)), ! 'PIC_PREVIEW' => $pic_preview, ! ) ! ); ! } ! } } else { ! for($i = $prev_pic_count - 1; $i >= 0; $i--) ! { ! $prev_pic_id[$i] = $prev_pic_rows[$i]['pic_id']; ! $thumbnail_file = append_sid(this_smartor_mxurl("smartor_mode=album_thumbnail&pic_id=" . $prev_pic_id[$i])); ! if ( ($album_config['thumbnail_cache'] == true) && ($album_config['quick_thumbs'] == true) ) ! { ! $pic_filename = $prev_pic_rows[$i]['pic_filename']; ! $pic_filetype = strtolower(substr($pic_filename, strlen($pic_filename) - 4, 4)); ! $pic_thumbnail = ( $prev_pic_rows[$i]['pic_thumbnail'] == '' ) ? md5($pic_filename) . $pic_filetype : $prev_pic_rows[$i]['pic_thumbnail']; ! //$pic_thumbnail = ( $prev_pic_rows[$i]['pic_thumbnail'] == '' ) ? $pic_filename : $prev_pic_rows[$i]['pic_thumbnail']; ! $pic_thumbnail_fullpath = ALBUM_CACHE_PATH . $pic_thumbnail; ! if ( file_exists($pic_thumbnail_fullpath) ) ! { ! $thumbnail_file = $pic_thumbnail_fullpath; ! } ! } ! if ($album_config['lb_preview'] == 0) ! { ! $pic_preview = ''; ! } ! else ! { ! $pic_preview = 'onmouseover="showtrail(\''. append_sid(this_smartor_mxurl("smartor_mode=album_picm&pic_id=" . $prev_pic_rows[$i]['pic_id'])) . '\',\'' . addslashes($prev_pic_rows[$i]['pic_title']) . '\', ' . $album_config['midthumb_width'] . ', ' . $album_config['midthumb_height'] . ')" onmouseout="hidetrail()"'; ! } ! if ($album_config['show_pics_nav'] == 1) ! { ! $template->assign_block_vars('pics_nav.next', array( ! 'U_PICS_THUMB' => $thumbnail_file, ! 'U_PICS_LINK' => append_sid(this_smartor_mxurl("smartor_mode=album_showpage&pic_id=" . $prev_pic_id[$i] . $full_size_param . $nuffimage_vars)), ! 'PIC_PREVIEW' => $pic_preview, ! ) ! ); ! } ! } } } ! ! // ------------------------------------ ! // IMAGES ARRAY ! // SLIDESHOW SCRIPTS ! // ------------------------------------ ! if ( $album_config['slideshow_script'] == 1 ) { ! $template->assign_block_vars('switch_slideshow_scripts', array()); ! ! $pic_link = ( $picm == false ) ? 'album_pic' : 'album_picm'; ! ! $sql = "SELECT * ! FROM " . ALBUM_TABLE . " AS a ! WHERE a.pic_cat_id = " . $pic_cat_id_tmp . " ! AND a.pic_approval = 1 ! ORDER BY pic_id ASC"; ! if( !($result = $db->sql_query($sql)) ) { ! mx_message_die(GENERAL_ERROR, 'Could not query pic information', '', __LINE__, __FILE__, $sql); } ! $total_pic_count = $db->sql_numrows($result); ! $total_pic_rows = $db->sql_fetchrowset($result); ! $db->sql_freeresult($result); - $pic_list = ''; - $tit_list = ''; - $des_list = ''; ! for($i = 0; $i < $total_pic_count; $i++) { ! $pic_list .= 'Pic[' . $i . '] = \'' . append_sid(this_smartor_mxurl("smartor_mode=" . $pic_link . '&pic_id=' . $total_pic_rows[$i]['pic_id']), true) . '\'; ' . "\n"; ! $tit_list .= 'Tit[' . $i . '] = \'' . $total_pic_rows[$i]['pic_title'] . '\'; ' . "\n"; ! $des_list .= 'Des[' . $i . '] = \'' . $total_pic_rows[$i]['pic_desc'] . '\'; ' . "\n"; ! /* ! $pic_list .= 'Pic[' . $i . '] = \'' . ALBUM_UPLOAD_PATH . $total_pic_rows[$i]['pic_filename'] . '\'; ' . "\n"; ! */ } - - $template->assign_vars(array( - 'PIC_LIST' => $pic_list, - 'TIT_LIST' => $tit_list, - 'DES_LIST' => $des_list, - ) - ); } --- 226,447 ---- } ! $total_pic_count = $db->sql_numrows($result); ! $total_pic_rows = $db->sql_fetchrowset($result); $db->sql_freeresult($result); ! if ( $album_config['slideshow_script'] == 1 ) { ! $template->assign_block_vars('switch_slideshow_scripts', array()); ! $pic_link = ( $picm == false ) ? 'album_pic' : 'album_picm'; ! $pic_list = ''; ! $tit_list = ''; ! $des_list = ''; ! ! for($i = 0; $i < $total_pic_count; $i++) { ! if ($pic_id == $total_pic_rows[$i]['pic_id']) ! { ! $pic_array_id = $i; ! } ! $pic_list .= 'Pic[' . $i . '] = \'' . append_sid(this_smartor_mxurl("smartor_mode=" . $pic_link . '&pic_id=' . $total_pic_rows[$i]['pic_id']), true) . '\'; ' . "\n"; ! /* ! $pic_list .= 'Pic[' . $i . '] = \'' . append_sid(album_append_uid($pic_link . $phpEx . '?pic_id=' . $total_pic_rows[$i]['pic_id']), true) . '\'; ' . "\n"; ! */ ! $tit_list .= 'Tit[' . $i . '] = \'' . $total_pic_rows[$i]['pic_title'] . '\'; ' . "\n"; ! $des_list .= 'Des[' . $i . '] = \'' . $total_pic_rows[$i]['pic_desc'] . '\'; ' . "\n"; ! /* ! $pic_list .= 'Pic[' . $i . '] = \'' . ALBUM_UPLOAD_PATH . $total_pic_rows[$i]['pic_filename'] . '\'; ' . "\n"; ! */ } ! $template->assign_vars(array( ! 'PIC_LIST' => $pic_list, ! 'TIT_LIST' => $tit_list, ! 'DES_LIST' => $des_list, ! ) ! ); } else { ! for($i = 0; $i < $total_pic_count; $i++) { ! if ($pic_id == $total_pic_rows[$i]['pic_id']) { ! $pic_array_id = $i; } } } ! $first_pic_id = $total_pic_rows[0]['pic_id']; ! $last_pic_id = $total_pic_rows[$total_pic_count - 1]['pic_id']; ! if ($pic_array_id == 0) { ! $no_prev_pic = true; ! if( isset($_GET['mode']) && ($_GET['mode'] == 'next') ) ! { ! mx_message_die(GENERAL_ERROR, $lang['Pic_not_exist']); ! } } ! if ($pic_array_id == ($total_pic_count - 1)) { ! $no_next_pic = true; ! if( isset($_GET['mode']) && ($_GET['mode'] == 'prev') ) ! { ! mx_message_die(GENERAL_ERROR, $lang['Pic_not_exist']); ! } ! } ! // ------------------------------------ ! // PREVIOUS & NEXT ! // ------------------------------------ ! $pic_id_old = $total_pic_rows[$pic_array_id]['pic_id']; ! if( isset($_GET['mode']) && ($_GET['mode'] == 'next') ) ! { ! $new_pic_array_id = $pic_array_id - 1; ! if ($new_pic_array_id == 0) { ! $no_prev_pic = true; ! } ! else ! { ! $no_prev_pic = false; ! $no_next_pic = false; } } ! elseif( isset($_GET['mode']) && ($_GET['mode'] == 'prev') ) { ! $new_pic_array_id = $pic_array_id + 1; ! if ($new_pic_array_id == ($total_pic_count - 1)) { ! $no_next_pic = true; } else { ! $no_next_pic = false; ! $no_prev_pic = false; } } ! else { ! $new_pic_array_id = $pic_array_id; ! } ! $pic_id_tmp = $total_pic_rows[$new_pic_array_id]['pic_id']; ! $pic_cat_id_tmp = $total_pic_rows[$new_pic_array_id]['pic_cat_id']; ! $pic_time_tmp = $total_pic_rows[$new_pic_array_id]['pic_time']; ! $pic_user_id_tmp = $total_pic_rows[$new_pic_array_id]['pic_user_id']; ! $next_pic_count = ($total_pic_count - $new_pic_array_id - 1); ! $prev_pic_count = ($new_pic_array_id); ! if( isset($_GET['mode']) ) ! { ! if ( ($_GET['mode'] == 'next') || ($_GET['mode'] == 'prev') ) { ! $pic_id = $pic_id_tmp; } + } ! if ($album_config['show_pics_nav'] == 1) ! { ! $template->assign_block_vars('pics_nav', array( ! 'L_PICS_NAV' => $lang['Pics_Nav'], ! 'L_PICS_NAV_NEXT' => $lang['Pics_Nav_Next'], ! 'L_PICS_NAV_PREV' => $lang['Pics_Nav_Prev'], ! ) ! ); ! } ! if ( $album_config['invert_nav_arrows'] == 0 ) ! { ! $max_pic_counter = min(($total_pic_count - 1), ($new_pic_array_id + 2)); ! $min_pic_counter = max(0, ($new_pic_array_id - 2)); ! for($i = $min_pic_counter; $i <= $max_pic_counter; $i++) { ! $thumbnail_file = append_sid(this_smartor_mxurl('smartor_mode=album_thumbnail&pic_id=' . $total_pic_rows[$i]['pic_id'], TRUE)); ! if ( ($album_config['thumbnail_cache'] == true) && ($album_config['quick_thumbs'] == true) ) ! { ! $pic_filename = $total_pic_rows[$i]['pic_filename']; ! $file_part = explode('.', strtolower($pic_filename)); ! $pic_filetype = $file_part[sizeof($file_part) - 1]; ! $pic_title = substr($pic_filename, 0, strlen($pic_filename) - strlen($pic_filetype) - 1); ! //$pic_filetype = strtolower(substr($pic_filename, strlen($pic_filename) - 4, 4)); ! //$pic_title = ucfirst(substr($pic_filename, 0, strlen($pic_filename) - 4)); ! $pic_thumbnail = ( $total_pic_rows[$i]['pic_thumbnail'] == '' ) ? md5($pic_filename) . '.' . $pic_filetype : $total_pic_rows[$i]['pic_thumbnail']; ! //$pic_thumbnail = ( $total_pic_rows[$i]['pic_thumbnail'] == '' ) ? $pic_filename : $nav_pic_id[$i]['pic_thumbnail']; ! $pic_thumbnail_fullpath = ALBUM_CACHE_PATH . $pic_thumbnail; ! if ( file_exists($pic_thumbnail_fullpath) ) ! { ! $thumbnail_file = $pic_thumbnail_fullpath; ! } ! } ! if ($album_config['lb_preview'] == 0) ! { ! $pic_preview = ''; ! } ! else ! { ! $pic_preview = 'onmouseover="showtrail(\'' . append_sid(this_fap_addonurl('smartor_mode=album_picm&pic_id=' . $total_pic_rows[$i]['pic_id'])) . '\',\'' . addslashes($total_pic_rows[$i]['pic_title']) . '\', ' . $album_config['midthumb_width'] . ', ' . $album_config['midthumb_height'] . ')" onmouseout="hidetrail()"'; ! } ! if ($album_config['show_pics_nav'] == 1) ! { ! $template->assign_block_vars('pics_nav.pics', array( ! 'U_PIC_THUMB' => $thumbnail_file, ! 'U_PIC_LINK' => ($i == $new_pic_array_id) ? '#' : append_sid(this_smartor_mxurl('smartor_mode=album_showpage&pic_id=' . $total_pic_rows[$i]['pic_id'] . $full_size_param . $nuffimage_vars . $sort_append)), ! 'PIC_TITLE' => $total_pic_rows[$i]['pic_title'], ! 'PIC_PREVIEW' => ($i == $new_pic_array_id) ? '' : $pic_preview, ! 'STYLE' => ($i == $new_pic_array_id) ? 'border: solid 3px #FF5522;' : '', ! ) ! ); ! } ! } ! } ! else ! { ! $max_pic_counter = max(0, ($new_pic_array_id - 2)); ! $min_pic_counter = min(($total_pic_count - 1), ($new_pic_array_id + 2)); ! for($i = $min_pic_counter; $i >= $max_pic_counter; $i--) ! { ! $thumbnail_file = append_sid(this_smartor_mxurl('smartor_mode=album_thumbnail&pic_id=' . $total_pic_rows[$i]['pic_id'], TRUE)); ! if ( ($album_config['thumbnail_cache'] == true) && ($album_config['quick_thumbs'] == true) ) ! { ! $pic_filename = $total_pic_rows[$i]['pic_filename']; ! $file_part = explode('.', strtolower($pic_filename)); ! $pic_filetype = $file_part[sizeof($file_part) - 1]; ! $pic_title = substr($pic_filename, 0, strlen($pic_filename) - strlen($pic_filetype) - 1); ! //$pic_filetype = strtolower(substr($pic_filename, strlen($pic_filename) - 4, 4)); ! //$pic_title = ucfirst(substr($pic_filename, 0, strlen($pic_filename) - 4)); ! $pic_thumbnail = ( $total_pic_rows[$i]['pic_thumbnail'] == '' ) ? md5($pic_filename) . '.' . $pic_filetype : $total_pic_rows[$i]['pic_thumbnail']; ! //$pic_thumbnail = ( $total_pic_rows[$i]['pic_thumbnail'] == '' ) ? $pic_filename : $nav_pic_id[$i]['pic_thumbnail']; ! $pic_thumbnail_fullpath = ALBUM_CACHE_PATH . $pic_thumbnail; ! if ( file_exists($pic_thumbnail_fullpath) ) ! { ! $thumbnail_file = $pic_thumbnail_fullpath; ! } ! } ! if ($album_config['lb_preview'] == 0) ! { ! $pic_preview = ''; ! } ! else ! { ! $pic_preview = 'onmouseover="showtrail(\'' . append_sid(this_fap_addonurl('smartor_mode=album_picm&pic_id=' . $total_pic_rows[$i]['pic_id'], TRUE)) . '\',\'' . addslashes($total_pic_rows[$i]['pic_title']) . '\', ' . $album_config['midthumb_width'] . ', ' . $album_config['midthumb_height'] . ')" onmouseout="hidetrail()"'; ! } ! if ($album_config['show_pics_nav'] == 1) ! { ! $template->assign_block_vars('pics_nav.pics', array( ! 'U_PIC_THUMB' => $thumbnail_file, ! 'U_PIC_LINK' => ($i == $new_pic_array_id) ? '#' : append_sid(this_smartor_mxurl('smartor_mode=album_showpage&pic_id=' . $total_pic_rows[$i]['pic_id'] . $full_size_param . $nuffimage_vars . $sort_append)), ! 'PIC_TITLE' => $total_pic_rows[$i]['pic_title'], ! 'PIC_PREVIEW' => ($i == $new_pic_array_id) ? '' : $pic_preview, ! 'STYLE' => ($i == $new_pic_array_id) ? 'border: solid 3px #FF5522;' : '', ! ) ! ); ! } } } *************** *** 1054,1057 **** --- 973,977 ---- $slideshow_link = append_sid(this_smartor_mxurl("smartor_mode=album_showpage&pic_id=" . $pic_id)); $slideshow_link_full = '<a href="' . $slideshow_link . '">' . $lang['Slideshow_Off'] . '</a>'; + $pic_link = append_sid(this_smartor_mxurl("smartor_mode=" . $nuffimage_pic . "&pic_id=" . $pic_id, TRUE)); $next_pic = ($no_next_pic == false) ? '<a href="' . append_sid(this_smartor_mxurl("smartor_mode=album_showpage&pic_id=" . $pic_id . $full_size_param . '&mode=next&slideshow=' . $slideshow_delay)) . '#TopPic"><img src="' . $images['icon_right_arrow3'] . '" title="' . $lang['Next_Pic'] . '" border="0" alt="' . $lang['Next_Pic'] . '" align="middle" /></a>' : ''; $prev_pic = ($no_prev_pic == false) ? '<a href="' . append_sid(this_smartor_mxurl("smartor_mode=album_showpage&pic_id=" . $pic_id . $full_size_param . '&mode=prev&slideshow=' . $slideshow_delay)) . '#TopPic"><img src="' . $images['icon_left_arrow3'] . '" title="' . $lang['Prev_Pic'] . '" border="0" alt="' . $lang['Prev_Pic'] . '" align="middle" /></a>' : ''; *************** *** 1075,1082 **** $slideshow_select .= '<option value="10">10 Sec</option>'; $slideshow_select .= '</select> '; ! $slideshow_onoff = $lang['Slideshow_On']; //$slideshow_link = append_sid(this_smartor_mxurl("smartor_mode=album_showpage&pic_id=" . $pic_id . '&full=true&slideshow=' . $slideshow_delay)); $slideshow_link = append_sid(this_smartor_mxurl("smartor_mode=album_showpage&pic_id=" . $pic_id . '&full=true')); $slideshow_link_full = '<a href="' . $slideshow_link . '">' . $lang['Slideshow_On'] . '</a>'; $next_pic = ($no_next_pic == false) ? '<a href="' . append_sid(this_smartor_mxurl("smartor_mode=album_showpage&pic_id=" . $pic_id . $full_size_param . '&mode=next' . $nuffimage_vars)) . '#TopPic"><img src="' . $images['icon_left_arrow3'] . '" title="' . $lang['Next_Pic'] . '" border="0" alt="' . $lang['Next_Pic'] . '" align="middle" /></a>' : ''; $prev_pic = ($no_prev_pic == false) ? '<a href="' . append_sid(this_smartor_mxurl("smartor_mode=album_showpage&pic_id=" . $pic_id . $full_size_param . '&mode=prev' . $nuffimage_vars)) . '#TopPic"><img src="' . $images['icon_right_arrow3'] . '" title="' . $lang['Prev_Pic'] . '" border="0" alt="' . $lang['Prev_Pic'] . '" align="middle" /></a>' : ''; --- 995,1003 ---- $slideshow_select .= '<option value="10">10 Sec</option>'; $slideshow_select .= '</select> '; ! $slideshow_onoff = $lang['Slideshow_On']; //$slideshow_link = append_sid(this_smartor_mxurl("smartor_mode=album_showpage&pic_id=" . $pic_id . '&full=true&slideshow=' . $slideshow_delay)); $slideshow_link = append_sid(this_smartor_mxurl("smartor_mode=album_showpage&pic_id=" . $pic_id . '&full=true')); $slideshow_link_full = '<a href="' . $slideshow_link . '">' . $lang['Slideshow_On'] . '</a>'; + $pic_link = append_sid(this_smartor_mxurl("smartor_mode=" . $nuffimage_pic . "&pic_id=" . $pic_id . $sort_append . $full_size_param . $nuff_http_full_string, TRUE)); $next_pic = ($no_next_pic == false) ? '<a href="' . append_sid(this_smartor_mxurl("smartor_mode=album_showpage&pic_id=" . $pic_id . $full_size_param . '&mode=next' . $nuffimage_vars)) . '#TopPic"><img src="' . $images['icon_left_arrow3'] . '" title="' . $lang['Next_Pic'] . '" border="0" alt="' . $lang['Next_Pic'] . '" align="middle" /></a>' : ''; $prev_pic = ($no_prev_pic == false) ? '<a href="' . append_sid(this_smartor_mxurl("smartor_mode=album_showpage&pic_id=" . $pic_id . $full_size_param . '&mode=prev' . $nuffimage_vars)) . '#TopPic"><img src="' . $images['icon_right_arrow3'] . '" title="' . $lang['Prev_Pic'] . '" border="0" alt="' . $lang['Prev_Pic'] . '" align="middle" /></a>' : ''; *************** *** 1144,1148 **** 'U_VIEW_CAT' => ($cat_id != PERSONAL_GALLERY) ? append_sid(this_smartor_mxurl("smartor_mode=album_cat&cat_id=$cat_id")) : append_sid(this_smartor_mxurl("smartor_mode=album_personal&user_id=$user_id")), ! 'U_PIC' => ( $picm ) ? append_sid(this_smartor_mxurl("smartor_mode=album_pic&pic_id=$pic_id", TRUE)) : append_sid(this_smartor_mxurl("smartor_mode=album_picm&pic_id=$pic_id", TRUE)), 'U_PIC_L1' => ( $picm ) ? '' : '<a href='.this_smartor_mxurl("smartor_mode=album_showpage&full=&pic_id=" . $pic_id) . '>', 'U_PIC_L2' => ( $picm ) ? '' : '</a>', --- 1065,1070 ---- 'U_VIEW_CAT' => ($cat_id != PERSONAL_GALLERY) ? append_sid(this_smartor_mxurl("smartor_mode=album_cat&cat_id=$cat_id")) : append_sid(this_smartor_mxurl("smartor_mode=album_personal&user_id=$user_id")), ! //'U_PIC' => ( $picm ) ? append_sid(this_smartor_mxurl("smartor_mode=album_pic&pic_id=$pic_id", TRUE)) : append_sid(this_smartor_mxurl("smartor_mode=album_picm&pic_id=$pic_id", TRUE)), ! 'U_PIC' => $pic_link, 'U_PIC_L1' => ( $picm ) ? '' : '<a href='.this_smartor_mxurl("smartor_mode=album_showpage&full=&pic_id=" . $pic_id) . '>', 'U_PIC_L2' => ( $picm ) ? '' : '</a>', |
|
From: OryNider <ory...@us...> - 2007-07-04 15:49:39
|
Update of /cvsroot/mxbb/mx_smartor In directory sc8-pr-cvs16.sourceforge.net:/tmp/cvs-serv29767 Modified Files: album_lists.php mx_install_readme.htm welcome.php Log Message: Many bugs fixed by me and Mighty Gorgon himself ... Index: mx_install_readme.htm =================================================================== RCS file: /cvsroot/mxbb/mx_smartor/mx_install_readme.htm,v retrieving revision 1.8 retrieving revision 1.9 diff -C2 -d -r1.8 -r1.9 *** mx_install_readme.htm 7 Jun 2007 20:13:01 -0000 1.8 --- mx_install_readme.htm 4 Jul 2007 15:49:31 -0000 1.9 *************** *** 287,290 **** --- 287,351 ---- # CHMOD 777 upload/otf<br> <br /> + <b>LightBox Preview</b> + <br /><span class="largetext">Description: + <span style="font-style: italic"> + This feature will show a LightBox with picture preview when moving the mouse over a thumbnail. + </span> + + <br /> + + <br /> + To Enable LightBox Preview: + <br /> + + <br /> + 1. + <span style="text-decoration: underline"> + Open + </span> + : overall_header.tpl + <br /> + + <br /> + + <span style="text-decoration: underline"> + Find + </span> + : + <br /> + + <br /> + + <blockquote> + <span class="smalltext">code:</span> + <hr><font face="Courier"><script language="javascript" type="text/javascript" src="{U_PORTAL_ROOT_PATH}modules/mx_shared/lib/Toggle.js"></script> </font> + <hr> + <br> + </blockquote> + + <br /> + + <br /> + + <span style="text-decoration: underline"> + Add After + </span> + : + <br /> + + <br /> + + <blockquote> + <span class="smalltext">code:</span> + <hr><font face="Courier"><script language="javascript" type="text/javascript" src="{U_PORTAL_ROOT_PATH}modules/mx_smartor/album_mod/fap_loader.js"></script> + </font> + <hr> + <br> + </blockquote> + + <br /> + + <br /> + 2. Enable LightBox Preview in Administration Pannel.</span><span class="smalltext"></span> <a href="#top"> Back to Top</a> <br /> <br /><a name="themes"> Index: album_lists.php =================================================================== RCS file: /cvsroot/mxbb/mx_smartor/album_lists.php,v retrieving revision 1.17 retrieving revision 1.18 diff -C2 -d -r1.17 -r1.18 *** album_lists.php 7 Jun 2007 20:13:00 -0000 1.17 --- album_lists.php 4 Jul 2007 15:49:31 -0000 1.18 *************** *** 24,28 **** // Start session management // ! $mx_user->init($user_ip, PAGE_INDEX); // // End session management --- 24,28 ---- // Start session management // ! //$mx_user->init($user_ip, PAGE_INDEX); // // End session management |
|
From: OryNider <ory...@us...> - 2007-07-04 15:49:39
|
Update of /cvsroot/mxbb/mx_smartor/album_mod In directory sc8-pr-cvs16.sourceforge.net:/tmp/cvs-serv29767/album_mod Modified Files: album_common.php album_hierarchy_sql.php album_integration.php Log Message: Many bugs fixed by me and Mighty Gorgon himself ... Index: album_integration.php =================================================================== RCS file: /cvsroot/mxbb/mx_smartor/album_mod/album_integration.php,v retrieving revision 1.1 retrieving revision 1.2 diff -C2 -d -r1.1 -r1.2 *** album_integration.php 7 Jun 2007 20:13:17 -0000 1.1 --- album_integration.php 4 Jul 2007 15:49:32 -0000 1.2 *************** *** 68,71 **** --- 68,79 ---- return $mxurl; } + function this_fap_addonurl($args = '', $force_standalone_mode = false) + { + global $mx_root_path, $module_root_path, $page_id, $album_index, $phpEx, $integration_enabled, $is_block; + + $mxurl = $mx_root_path . 'modules/mx_smartor/' . 'album.' . $phpEx . ($args == '' ? '' : '?' . $args); + + return $mxurl; + } function this_fap_portalurl($args = '') Index: album_hierarchy_sql.php =================================================================== RCS file: /cvsroot/mxbb/mx_smartor/album_mod/album_hierarchy_sql.php,v retrieving revision 1.6 retrieving revision 1.7 diff -C2 -d -r1.6 -r1.7 *** album_hierarchy_sql.php 7 Jun 2007 20:13:16 -0000 1.6 --- album_hierarchy_sql.php 4 Jul 2007 15:49:32 -0000 1.7 *************** *** 6,11 **** * copyright : (C) 2004 IdleVoid * email : idl...@sl... ! * file version : 1.0.9 ! * release : 1.3.0 ****************************************************************************/ --- 6,11 ---- * copyright : (C) 2004 IdleVoid * email : idl...@sl... ! * file version : 1.2.0 ! * release : 2.0.0 ****************************************************************************/ *************** *** 1185,1189 **** else { ! $pic_preview = 'onmouseover="showtrail(\''. append_sid(this_smartor_mxurl("smartor_mode=album_picm&pic_id=" . $picrow[$j]['pic_id'])) . '\',\'' . addslashes($picrow[$j]['pic_title']) . '\', ' . $album_sp_config['midthumb_width'] . ', ' . $album_sp_config['midthumb_height'] . ')" onmouseout="hidetrail()"'; } --- 1185,1189 ---- else { ! $pic_preview = 'onmouseover="showtrail(\''. append_sid(this_fap_addonurl("smartor_mode=album_picm&pic_id=" . $picrow[$j]['pic_id'])) . '\',\'' . addslashes($picrow[$j]['pic_title']) . '\', ' . $album_sp_config['midthumb_width'] . ', ' . $album_sp_config['midthumb_height'] . ')" onmouseout="hidetrail()"'; } *************** *** 1387,1391 **** else { ! $pic_preview = 'onmouseover="showtrail(\''. append_sid(this_smartor_mxurl("smartor_mode=album_picm&pic_id=" . $recentrow[$j]['pic_id'])) . '\',\'' . addslashes($recentrow[$j]['pic_title']) . '\', ' . $album_sp_config['midthumb_width'] . ', ' . $album_sp_config['midthumb_height'] . ')" onmouseout="hidetrail()"'; } --- 1387,1391 ---- else { ! $pic_preview = 'onmouseover="showtrail(\''. append_sid(this_fap_addonurl("smartor_mode=album_picm&pic_id=" . $recentrow[$j]['pic_id'])) . '\',\'' . addslashes($recentrow[$j]['pic_title']) . '\', ' . $album_sp_config['midthumb_width'] . ', ' . $album_sp_config['midthumb_height'] . ')" onmouseout="hidetrail()"'; } *************** *** 1556,1560 **** else { ! $pic_preview = 'onmouseover="showtrail(\''. append_sid(this_smartor_mxurl("smartor_mode=album_picm&pic_id=" . $highestrow[$j]['pic_id'])) . '\',\'' . addslashes($highestrow[$j]['pic_title']) . '\', ' . $album_sp_config['midthumb_width'] . ', ' . $album_sp_config['midthumb_height'] . ')" onmouseout="hidetrail()"'; } --- 1556,1560 ---- else { ! $pic_preview = 'onmouseover="showtrail(\''. append_sid(this_fap_addonurl("smartor_mode=album_picm&pic_id=" . $highestrow[$j]['pic_id'])) . '\',\'' . addslashes($highestrow[$j]['pic_title']) . '\', ' . $album_sp_config['midthumb_width'] . ', ' . $album_sp_config['midthumb_height'] . ')" onmouseout="hidetrail()"'; } *************** *** 1725,1729 **** else { ! $pic_preview = 'onmouseover="showtrail(\''. append_sid(this_smartor_mxurl("smartor_mode=album_picm&pic_id=" . $mostviewed[$j]['pic_id'])) . '\',\'' . addslashes($mostviewed[$j]['pic_title']) . '\', ' . $album_sp_config['midthumb_width'] . ', ' . $album_sp_config['midthumb_height'] . ')" onmouseout="hidetrail()"'; } --- 1725,1729 ---- else { ! $pic_preview = 'onmouseover="showtrail(\''. append_sid(this_fap_addonurl("smartor_mode=album_picm&pic_id=" . $mostviewed[$j]['pic_id'])) . '\',\'' . addslashes($mostviewed[$j]['pic_title']) . '\', ' . $album_sp_config['midthumb_width'] . ', ' . $album_sp_config['midthumb_height'] . ')" onmouseout="hidetrail()"'; } *************** *** 1880,1884 **** else { ! $pic_preview = 'onmouseover="showtrail(\''. append_sid(this_smartor_mxurl("smartor_mode=album_picm&pic_id=" . $randrow[$j]['pic_id'])) . '\',\'' . addslashes($randrow[$j]['pic_title']) . '\', ' . $album_sp_config['midthumb_width'] . ', ' . $album_sp_config['midthumb_height'] . ')" onmouseout="hidetrail()"'; } --- 1880,1884 ---- else { ! $pic_preview = 'onmouseover="showtrail(\''. append_sid(this_fap_addonurl("smartor_mode=album_picm&pic_id=" . $randrow[$j]['pic_id'])) . '\',\'' . addslashes($randrow[$j]['pic_title']) . '\', ' . $album_sp_config['midthumb_width'] . ', ' . $album_sp_config['midthumb_height'] . ')" onmouseout="hidetrail()"'; } *************** *** 1959,1963 **** function album_build_last_comments_info($cats) { ! global $db, $board_config, $album_config, $template, $lang, $phpEx, $album_data, $bbcode, $bbcode_uid, $userdata, $album_root_path; if ( defined('IS_PHPBBXS') ) --- 1959,1963 ---- function album_build_last_comments_info($cats) { ! global $db, $board_config, $album_config, $album_sp_config, $template, $lang, $phpEx, $album_data, $bbcode, $bbcode_uid, $userdata, $album_root_path; if ( defined('IS_PHPBBXS') ) *************** *** 2077,2081 **** else { ! $pic_preview = 'onmouseover="showtrail(\''. append_sid(this_smartor_mxurl("smartor_mode=album_picm&pic_id=" . $commentsrow[$i]['pic_id'])) . '\',\'' . addslashes($commentsrow[$i]['pic_title']) . '\', ' . $album_sp_config['midthumb_width'] . ', ' . $album_sp_config['midthumb_height'] . ')" onmouseout="hidetrail()"'; } --- 2077,2081 ---- else { ! $pic_preview = 'onmouseover="showtrail(\''. append_sid(this_fap_addonurl("smartor_mode=album_picm&pic_id=" . $commentsrow[$i]['pic_id'])) . '\',\'' . addslashes($commentsrow[$i]['pic_title']) . '\', ' . $album_sp_config['midthumb_width'] . ', ' . $album_sp_config['midthumb_height'] . ')" onmouseout="hidetrail()"'; } Index: album_common.php =================================================================== RCS file: /cvsroot/mxbb/mx_smartor/album_mod/album_common.php,v retrieving revision 1.15 retrieving revision 1.16 diff -C2 -d -r1.15 -r1.16 *** album_common.php 7 Jun 2007 20:13:11 -0000 1.15 --- album_common.php 4 Jul 2007 15:49:32 -0000 1.16 *************** *** 258,260 **** include_once($album_root_path . 'album_hierarchy_functions.' . $phpEx); ! ?> \ No newline at end of file --- 258,260 ---- include_once($album_root_path . 'album_hierarchy_functions.' . $phpEx); ! ?> |
|
From: OryNider <ory...@us...> - 2007-07-04 15:49:38
|
Update of /cvsroot/mxbb/mx_smartor/admin In directory sc8-pr-cvs16.sourceforge.net:/tmp/cvs-serv29767/admin Modified Files: admin_album_cfg.php Log Message: Many bugs fixed by me and Mighty Gorgon himself ... Index: admin_album_cfg.php =================================================================== RCS file: /cvsroot/mxbb/mx_smartor/admin/admin_album_cfg.php,v retrieving revision 1.2 retrieving revision 1.3 diff -C2 -d -r1.2 -r1.3 *** admin_album_cfg.php 19 Jun 2007 22:34:18 -0000 1.2 --- admin_album_cfg.php 4 Jul 2007 15:49:30 -0000 1.3 *************** *** 242,245 **** --- 242,259 ---- 'FULLPIC_POPUP_DISABLED' => ($new['fullpic_popup'] == 0) ? 'checked="checked"' : '', + // Added for Gold Begin + 'SHOW_IMG_NO_GD_ENABLED' => ($new['show_img_no_gd'] == 1) ? 'checked="checked"' : '', + 'SHOW_IMG_NO_GD_DISABLED' => ($new['show_img_no_gd'] == 0) ? 'checked="checked"' : '', + + 'SHOW_GIF_MID_THUMB_ENABLED' => ($new['show_gif_mid_thumb'] == 1) ? 'checked="checked"' : '', + 'SHOW_GIF_MID_THUMB_DISABLED' => ($new['show_gif_mid_thumb'] == 0) ? 'checked="checked"' : '', + + 'SHOW_PIC_SIZE_ENABLED' => ($new['show_pic_size_on_thumb'] == 1) ? 'checked="checked"' : '', + 'SHOW_PIC_SIZE_DISABLED' => ($new['show_pic_size_on_thumb'] == 0) ? 'checked="checked"' : '', + + 'LB_PREVIEW_ENABLED' => ($new['lb_preview'] == 1) ? 'checked="checked"' : '', + 'LB_PREVIEW_DISABLED' => ($new['lb_preview'] == 0) ? 'checked="checked"' : '', + // Added for Gold End + 'SHOW_SLIDESHOW_ENABLED' => ($new['show_slideshow'] == 1) ? 'checked="checked"' : '', 'SHOW_SLIDESHOW_DISABLED' => ($new['show_slideshow'] == 0) ? 'checked="checked"' : '', *************** *** 331,334 **** --- 345,356 ---- 'L_ADMIN' => $lang['Forum_ADMIN'], + // Added for Gold Begin + 'L_SHOW_IMG_NO_GD' => $lang['Show_IMG_No_GD'], + 'L_SHOW_GIF_MID_THUMB' => $lang['Show_GIF_MidThumb'], + 'L_SHOW_PIC_SIZE' => $lang['Show_Pic_Size'], + 'L_LB_PREVIEW' => $lang['LB_Preview'], + 'L_LB_PREVIEW_EXPLAIN' => $lang['LB_Preview_Explain'], + // Added for Gold End + 'L_SHOW_SLIDESHOW' => $lang['Show_Slideshow'], 'L_SHOW_SLIDESHOW_SCRIPT' => $lang['Show_Slideshow_Script'], |
|
From: OryNider <ory...@us...> - 2007-07-03 01:26:19
|
Update of /cvsroot/mxbb/mx_smartor/templates/subSilver In directory sc8-pr-cvs16.sourceforge.net:/tmp/cvs-serv8434 Modified Files: subSilver.cfg Log Message: fix when album_list if beafore the anouncement block so that images path be correct :( Index: subSilver.cfg =================================================================== RCS file: /cvsroot/mxbb/mx_smartor/templates/subSilver/subSilver.cfg,v retrieving revision 1.5 retrieving revision 1.6 diff -C2 -d -r1.5 -r1.6 *** subSilver.cfg 2 Jul 2007 23:26:02 -0000 1.5 --- subSilver.cfg 3 Jul 2007 01:26:15 -0000 1.6 *************** *** 139,142 **** --- 139,143 ---- $mx_images['folder_announce_new'] = "$current_template_phpbb_images/folder_announce_new.gif"; + // // Last Message and Anouncement block compatibility *************** *** 154,156 **** --- 155,173 ---- $images['icon_latest_reply'] = "$current_template_phpbb_images/icon_latest_reply.gif"; $images['icon_newest_reply'] = "$current_template_phpbb_images/icon_newest_reply.gif"; + + // + // 2.8.0 Gold Anouncement block compatibility + // + $images['mx_folder'] = "$current_template_phpbb_images/folder.gif"; + $images['mx_folder_new'] = "$current_template_phpbb_images/folder_new.gif"; + $images['mx_folder_announce'] = "$current_template_phpbb_images/folder_announce.gif"; + $images['mx_folder_announce_new'] = "$current_template_phpbb_images/folder_announce_new.gif"; + $images['mx_folder_sticky'] = "$current_template_phpbb_images/folder_sticky.gif"; + $images['mx_folder_sticky_new'] = "$current_template_phpbb_images/folder_sticky_new.gif"; + $images['mx_folder_locked'] = "$current_template_phpbb_images/folder_lock.gif"; + $images['mx_folder_locked_new'] = "$current_template_phpbb_images/folder_lock_new.gif"; + $images['mx_folder_hot'] = "$current_template_phpbb_images/folder_hot.gif"; + $images['mx_folder_hot_new'] = "$current_template_phpbb_images/folder_new_hot.gif"; + $images['mx_icon_latest_reply'] = "$current_template_phpbb_images/icon_latest_reply.gif"; + $images['mx_icon_newest_reply'] = "$current_template_phpbb_images/icon_newest_reply.gif"; ?> \ No newline at end of file |
|
From: OryNider <ory...@us...> - 2007-07-02 23:26:07
|
Update of /cvsroot/mxbb/mx_smartor/templates/subSilver In directory sc8-pr-cvs16.sourceforge.net:/tmp/cvs-serv25871 Modified Files: subSilver.cfg Log Message: This fix is couse Anouncement block is not using standard mx_ graphic: http://www.mx-system.com/forum/viewtopic.php?t=10114#57890 Index: subSilver.cfg =================================================================== RCS file: /cvsroot/mxbb/mx_smartor/templates/subSilver/subSilver.cfg,v retrieving revision 1.4 retrieving revision 1.5 diff -C2 -d -r1.4 -r1.5 *** subSilver.cfg 14 Jun 2007 10:13:08 -0000 1.4 --- subSilver.cfg 2 Jul 2007 23:26:02 -0000 1.5 *************** *** 139,141 **** --- 139,156 ---- $mx_images['folder_announce_new'] = "$current_template_phpbb_images/folder_announce_new.gif"; + // + // Last Message and Anouncement block compatibility + // + $images['folder'] = "$current_template_phpbb_images/folder.gif"; + $images['folder_new'] = "$current_template_phpbb_images/folder_new.gif"; + $images['folder_announce'] = "$current_template_phpbb_images/folder_announce.gif"; + $images['folder_announce_new'] = "$current_template_phpbb_images/folder_announce_new.gif"; + $images['folder_sticky'] = "$current_template_phpbb_images/folder_sticky.gif"; + $images['folder_sticky_new'] = "$current_template_phpbb_images/folder_sticky_new.gif"; + $images['folder_locked'] = "$current_template_phpbb_images/folder_lock.gif"; + $images['folder_locked_new'] = "$current_template_phpbb_images/folder_lock_new.gif"; + $images['folder_hot'] = "$current_template_phpbb_images/folder_hot.gif"; + $images['folder_hot_new'] = "$current_template_phpbb_images/folder_new_hot.gif"; + $images['icon_latest_reply'] = "$current_template_phpbb_images/icon_latest_reply.gif"; + $images['icon_newest_reply'] = "$current_template_phpbb_images/icon_newest_reply.gif"; ?> \ No newline at end of file |
|
From: OryNider <ory...@us...> - 2007-07-02 20:01:36
|
Update of /cvsroot/mxbb/mx_radiocast/language/lang_english In directory sc8-pr-cvs16.sourceforge.net:/tmp/cvs-serv23141 Modified Files: lang_main.php Log Message: some language parameters bugs fixed. Index: lang_main.php =================================================================== RCS file: /cvsroot/mxbb/mx_radiocast/language/lang_english/lang_main.php,v retrieving revision 1.1 retrieving revision 1.2 diff -C2 -d -r1.1 -r1.2 *** lang_main.php 6 Jun 2007 23:03:57 -0000 1.1 --- lang_main.php 2 Jul 2007 20:01:32 -0000 1.2 *************** *** 10,19 **** // ! // Music Online // $lang['Radio'] = 'Radio Cast'; // ! // Music Index // $lang['Radio_Cast'] = 'Radio Cast'; --- 10,19 ---- // ! // Radio Cast // $lang['Radio'] = 'Radio Cast'; // ! // Radio Index // $lang['Radio_Cast'] = 'Radio Cast'; *************** *** 96,100 **** $lang['RadioCast_upload_need_approval'] = 'Your song has been uploaded successfully.<br /><br />But the feature Station Approval has been enabled so your station must be approved by a administrator or a moderator before posting'; $lang['Click_return_category'] = 'Click %shere%s to return to the category'; ! $lang['Click_return_radiocast_index'] = 'Click %shere%s to return to the Music Index'; // View song --- 96,100 ---- $lang['RadioCast_upload_need_approval'] = 'Your song has been uploaded successfully.<br /><br />But the feature Station Approval has been enabled so your station must be approved by a administrator or a moderator before posting'; $lang['Click_return_category'] = 'Click %shere%s to return to the category'; ! $lang['Click_return_radiocast_index'] = 'Click %shere%s to return to the RadioCast Index'; // View song *************** *** 106,111 **** // Delete song ! $lang['RadioCast_delete_confirm'] = 'Are you sure to delete these song(s)?'; ! $lang['Stations_deleted_successfully'] = 'These song(s) have been deleted successfully'; // --- 106,111 ---- // Delete song ! $lang['RadioCast_delete_confirm'] = 'Are you sure to delete these station(s)?'; ! $lang['Stations_deleted_successfully'] = 'These station(s) have been deleted successfully'; // |
|
From: OryNider <ory...@us...> - 2007-07-02 20:01:27
|
Update of /cvsroot/mxbb/mx_radiocast/includes In directory sc8-pr-cvs16.sourceforge.net:/tmp/cvs-serv22884 Modified Files: radiocast_delete.php radiocast_player.php radiocast_stream.php Log Message: some language parameters bugs fixed. Index: radiocast_stream.php =================================================================== RCS file: /cvsroot/mxbb/mx_radiocast/includes/radiocast_stream.php,v retrieving revision 1.1 retrieving revision 1.2 diff -C2 -d -r1.1 -r1.2 *** radiocast_stream.php 6 Jun 2007 23:03:54 -0000 1.1 --- radiocast_stream.php 2 Jul 2007 20:01:16 -0000 1.2 *************** *** 171,175 **** $mount = "/"; // Used for alternate path to "Streaming URL" -- leave as "/" for the default setup. $artist = "Shotcast Steam -via- Mx Music Center"; ! $title = "Radio Steam - Mx Radio Cast!"; $album = "Live"; --- 171,175 ---- $mount = "/"; // Used for alternate path to "Streaming URL" -- leave as "/" for the default setup. $artist = "Shotcast Steam -via- Mx Music Center"; ! $title = "Radio_Cast_Stream.mp3"; $album = "Live"; *************** *** 214,221 **** // Removing shoutcast headers. ! if (!stristr($outData, "icy") && !stristr($outData, "content")){ echo $outData; } - } --- 214,221 ---- // Removing shoutcast headers. ! if (!stristr($outData, "icy") && !stristr($outData, "content")) ! { echo $outData; } } Index: radiocast_player.php =================================================================== RCS file: /cvsroot/mxbb/mx_radiocast/includes/radiocast_player.php,v retrieving revision 1.1 retrieving revision 1.2 diff -C2 -d -r1.1 -r1.2 *** radiocast_player.php 6 Jun 2007 23:03:52 -0000 1.1 --- radiocast_player.php 2 Jul 2007 20:01:16 -0000 1.2 *************** *** 410,413 **** --- 410,414 ---- { $url_download = append_sid($module_root_path . 'radiocast.' . $phpEx . '?radiocast_mode=radiocast_stream&station_id=' . $station_id); + $url_station = append_sid($module_root_path . 'radiocast.' . $phpEx . '?radiocast_mode=radiocast_stream&station_id=' . $station_id); $lang['Download'] = ( !empty($lang['Listen']) ? $lang['Listen'] : 'Listen URL' ); $url_video = $url_download; *************** *** 418,421 **** --- 419,423 ---- //$url_download = append_sid($module_root_path . 'radiocast.' . $phpEx . '?radiocast_mode=radiocast_download&station_id=' . $station_id); $url_download = append_sid(this_rc_mxurl("radiocast_mode=radiocast_download&station_id=" . $station_id)); + $url_station = append_sid(this_rc_mxurl("radiocast_mode=radiocast_download&station_id=" . $station_id)); $url_video = $url_download; } *************** *** 440,444 **** if( ($station_filetype == 'pls') && !empty($thisstation['station_url']) ) { ! $url_download = append_sid($module_root_path . 'radiocast.' . $phpEx . '?radiocast_mode=radiocast_stream&station_id=' . $station_id); $lang['Download'] = ( !empty($lang['Listen']) ? $lang['Listen'] : 'Listen URL' ); $url_video = $url_download; --- 442,447 ---- if( ($station_filetype == 'pls') && !empty($thisstation['station_url']) ) { ! $url_download = append_sid(PORTAL_URL . $module_root_path . 'radiocast.' . $phpEx . '?radiocast_mode=radiocast_stream&station_id=' . $station_id); ! $url_station = append_sid(PORTAL_URL . $module_root_path . 'radiocast.' . $phpEx . '?radiocast_mode=radiocast_stream&station_id=' . $station_id); $lang['Download'] = ( !empty($lang['Listen']) ? $lang['Listen'] : 'Listen URL' ); $url_video = $url_download; *************** *** 449,456 **** --- 452,461 ---- { $url_download = append_sid($thisstation['station_url']); + $url_station = append_sid($thisstation['station_url']); } else { $url_download = append_sid(this_rc_mxurl("radiocast_mode=radiocast_download&station_id=" . $station_id)); + $url_station = append_sid(this_rc_mxurl("radiocast_mode=radiocast_download&station_id=" . $station_id)); } $lang['Download'] = ( !empty($lang['Listen']) ? $lang['Listen'] : 'Listen URL' ); *************** *** 459,464 **** } ! //$url_station = append_sid($module_root_path . 'radiocast.' . $phpEx . '?radiocast_mode=radiocast_station&station_id=" . $station_id . "&player_mode=" . $player_mode . "&stream_mode=" . $stream_mode); ! $url_station = append_sid(this_rc_mxurl("radiocast_mode=radiocast_station&station_id=" . $station_id . "&player_mode=" . $player_mode . "&stream_mode=" . $stream_mode)); $url_media = append_sid(this_rc_mxurl("radiocast_mode=radiocast_player&station_id=" . $station_id . "&player_mode=" . 'media' . "&stream_mode=" . $stream_mode . "&block_mode=" . $block_mode)); --- 464,472 ---- } ! if( empty($url_station) ) ! { ! $url_station = append_sid($module_root_path . 'radiocast.' . $phpEx . '?radiocast_mode=radiocast_station&station_id=' . $station_id . '&player_mode=' . $player_mode . '&stream_mode=' . $stream_mode); ! //$url_station = append_sid(this_rc_mxurl("radiocast_mode=radiocast_station&station_id=" . $station_id . "&player_mode=" . $player_mode . "&stream_mode=" . $stream_mode)); ! } $url_media = append_sid(this_rc_mxurl("radiocast_mode=radiocast_player&station_id=" . $station_id . "&player_mode=" . 'media' . "&stream_mode=" . $stream_mode . "&block_mode=" . $block_mode)); *************** *** 532,536 **** 'L_RADIOCAST_INDEX' => $lang['Radio_Cast'], 'L_RADIOCAST' => $lang['Radio'], ! 'U_RADIOCAST' => append_sid(this_rc_portalurl()), 'U_MX_RADIOCAST' => append_sid(this_rc_portalurl()), --- 540,544 ---- 'L_RADIOCAST_INDEX' => $lang['Radio_Cast'], 'L_RADIOCAST' => $lang['Radio'], ! 'U_RADIOCAST' => append_sid(this_rc_mxurl()), 'U_MX_RADIOCAST' => append_sid(this_rc_portalurl()), Index: radiocast_delete.php =================================================================== RCS file: /cvsroot/mxbb/mx_radiocast/includes/radiocast_delete.php,v retrieving revision 1.1 retrieving revision 1.2 diff -C2 -d -r1.1 -r1.2 *** radiocast_delete.php 6 Jun 2007 23:03:51 -0000 1.1 --- radiocast_delete.php 2 Jul 2007 20:01:15 -0000 1.2 *************** *** 231,235 **** // -------------------------------- ! $message = $lang['Songs_deleted_successfully']; $template->assign_vars(array( --- 231,236 ---- // -------------------------------- ! //$message = $lang['Songs_deleted_successfully']; ! $message = $lang['Stations_deleted_successfully']; $template->assign_vars(array( |
|
From: mhewitson <mhe...@us...> - 2007-06-28 18:11:17
|
Update of /cvsroot/mxbb/mx_blogs/templates/subSilver In directory sc8-pr-cvs16.sourceforge.net:/tmp/cvs-serv9937 Added Files: subSilver.cfg Log Message: - some fixes by OryNider - http://www.mx-system.com/index.php?page=2&t=10036&phpbb_script=viewtopic --- NEW FILE: subSilver.cfg --- <?php /** * * @package mxBB Portal Module - mx_blogs * @version $Id: subSilver.cfg,v 1.1 2007/06/28 18:11:07 mhewitson Exp $ * @copyright (c) 2002-2006 mxBB Development Team * @license http://opensource.org/licenses/gpl-license.php GNU General Public License v2 * */ // // ** Configuration file for subSilver template ** // // ** copyright (C) 2001 The phpBB Group ** // ** Created by subBlue design ** // ** www.subBlue.com ** // // *** subSilver dev. forum: www.subSky.com/phpBB2/ ** // // $Id: subSilver.cfg,v 1.1 2007/06/28 18:11:07 mhewitson Exp $ // // Please note that to enable support of different languages // the ". LANG ." place holder is available. This will be replaced // with xxx where xxx is the users selected language. If // that language isn't available it will default to english. // Therefore you MUST ensure you have at least a english // directory if you choose to localise your template // // // Do not alter this line! // if( !defined('MX_TEMPLATE_CONFIG')) { define(MX_TEMPLATE_CONFIG, TRUE); } $mx_template_config = true; $mx_template_name = 'subSilver'; // ------------------------------------------------------------------------- // Prefix with PORTAL_URL // ------------------------------------------------------------------------- // if ( empty($current_template_path) ) { $current_template_path = "templates/". $mx_template_name; } $mx_template_images = PORTAL_URL . $current_template_path . "/images"; $current_mxblogs_images = $module_root_path . "templates/". $mx_template_name ."/images"; $current_template_phpbb_images = PHPBB_URL . "templates/". $mx_template_name ."/images"; // phpBB graphics template if ( !file_exists( $current_mxblogs_images . '/lang_' . $board_config['default_lang'] ) ) { $link_language='lang_english'; } else { $link_language='lang_' . $board_config['default_lang']; } if( !defined('LANG')) { define('LANG', $link_language); } // ------------------------------------------------------------------------- // (Re)Define images // ------------------------------------------------------------------------- // Rss Feed Site Images - BEGIN $mx_images['logo_url'] = "$mx_template_images/logo.gif"; $mx_images['icon_weblog'] = "$current_mxblogs_images/" . LANG . "/icon_weblog.gif"; // Use standard phpBB graphics // $mx_images['icon_quote'] = "$current_template_phpbb_images/" . LANG . "/icon_quote.gif"; $mx_images['icon_edit'] = "$current_template_phpbb_images/" . LANG . "/icon_edit.gif"; $mx_images['icon_search'] = "$current_template_phpbb_images/" . LANG . "/icon_search.gif"; $mx_images['icon_profile'] = "$current_template_phpbb_images/" . LANG . "/icon_profile.gif"; $mx_images['icon_pm'] = "$current_template_phpbb_images/" . LANG . "/icon_pm.gif"; $mx_images['icon_email'] = "$current_template_phpbb_images/" . LANG . "/icon_email.gif"; $mx_images['icon_delpost'] = "$current_template_phpbb_images/icon_delete.gif"; $mx_images['icon_ip'] = "$current_template_phpbb_images/" . LANG . "/icon_ip.gif"; $mx_images['icon_www'] = "$current_template_phpbb_images/" . LANG . "/icon_www.gif"; $mx_images['icon_icq'] = "$current_template_phpbb_images/" . LANG . "/icon_icq_add.gif"; $mx_images['icon_aim'] = "$current_template_phpbb_images/" . LANG . "/icon_aim.gif"; $mx_images['icon_yim'] = "$current_template_phpbb_images/" . LANG . "/icon_yim.gif"; $mx_images['icon_msnm'] = "$current_template_phpbb_images/" . LANG . "/icon_msnm.gif"; $mx_images['icon_minipost'] = "$current_template_phpbb_images/icon_minipost.gif"; $mx_images['icon_gotopost'] = "$current_template_phpbb_images/icon_minipost.gif"; $mx_images['icon_minipost_new'] = "$current_template_phpbb_images/icon_minipost_new.gif"; $mx_images['icon_latest_reply'] = "$current_template_phpbb_images/icon_latest_reply.gif"; $mx_images['icon_newest_reply'] = "$current_template_phpbb_images/icon_newest_reply.gif"; $mx_images['forum'] = "$current_template_phpbb_images/folder_big.gif"; $mx_images['forum_new'] = "$current_template_phpbb_images/folder_new_big.gif"; $mx_images['forum_locked'] = "$current_template_phpbb_images/folder_locked_big.gif"; $mx_images['folder'] = "$current_template_phpbb_images/folder.gif"; $mx_images['folder_new'] = "$current_template_phpbb_images/folder_new.gif"; $mx_images['folder_hot'] = "$current_template_phpbb_images/folder_hot.gif"; $mx_images['folder_hot_new'] = "$current_template_phpbb_images/folder_new_hot.gif"; $mx_images['folder_locked'] = "$current_template_phpbb_images/folder_lock.gif"; $mx_images['folder_locked_new'] = "$current_template_phpbb_images/folder_lock_new.gif"; $mx_images['folder_sticky'] = "$current_template_phpbb_images/folder_sticky.gif"; $mx_images['folder_sticky_new'] = "$current_template_phpbb_images/folder_sticky_new.gif"; $mx_images['folder_announce'] = "$current_template_phpbb_images/folder_announce.gif"; $mx_images['folder_announce_new'] = "$current_template_phpbb_images/folder_announce_new.gif"; ?> |
|
From: mhewitson <mhe...@us...> - 2007-06-28 18:04:27
|
Update of /cvsroot/mxbb/mx_blogs In directory sc8-pr-cvs16.sourceforge.net:/tmp/cvs-serv6730/mx_blogs Modified Files: weblog_config.php weblogs.php Log Message: - some fixes by OryNider - http://www.mx-system.com/index.php?page=2&t=10036&phpbb_script=viewtopic Index: weblogs.php =================================================================== RCS file: /cvsroot/mxbb/mx_blogs/weblogs.php,v retrieving revision 1.2 retrieving revision 1.3 diff -C2 -d -r1.2 -r1.3 *** weblogs.php 25 Jun 2007 18:37:34 -0000 1.2 --- weblogs.php 28 Jun 2007 18:04:21 -0000 1.3 *************** *** 1,22 **** <?php /*************************************************************************** ! * weblogs.php ! * ----------------- ! * begin : Monday, September 5, 2004 ! * copyright : (C) 2005 Hyperion ! * email : vi...@ho... ! * ! * $Id$ ! * ! ***************************************************************************/ - /*************************************************************************** - * - * This program is free software; you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation; either version 2 of the License, or - * (at your option) any later version. - * - ***************************************************************************/ define('IN_PHPBB', true); --- 1,13 ---- <?php /*************************************************************************** ! * File : weblogs.php ! * Copyright :(C) 2005 Hyperion, mxBB Project Team ! * website : www.mxbb.net ! * ! * File ID : $Id$ ! * Last Modified : $Date$ ! * ! ***************************************************************************/ define('IN_PHPBB', true); Index: weblog_config.php =================================================================== RCS file: /cvsroot/mxbb/mx_blogs/weblog_config.php,v retrieving revision 1.1 retrieving revision 1.2 diff -C2 -d -r1.1 -r1.2 *** weblog_config.php 7 Jun 2007 22:01:32 -0000 1.1 --- weblog_config.php 28 Jun 2007 18:04:21 -0000 1.2 *************** *** 39,44 **** // Start session management // ! $userdata = session_pagestart($user_ip, PAGE_INDEX); ! init_userprefs($userdata); // // End session management --- 39,45 ---- // Start session management // ! //$userdata = session_pagestart($user_ip, PAGE_INDEX); ! //init_userprefs($userdata); ! $mx_user->init($user_ip, PAGE_INDEX); // // End session management |
|
From: mhewitson <mhe...@us...> - 2007-06-28 18:04:26
|
Update of /cvsroot/mxbb/mx_blogs/includes In directory sc8-pr-cvs16.sourceforge.net:/tmp/cvs-serv6730/mx_blogs/includes Modified Files: weblogs_common.php Log Message: - some fixes by OryNider - http://www.mx-system.com/index.php?page=2&t=10036&phpbb_script=viewtopic Index: weblogs_common.php =================================================================== RCS file: /cvsroot/mxbb/mx_blogs/includes/weblogs_common.php,v retrieving revision 1.1 retrieving revision 1.2 diff -C2 -d -r1.1 -r1.2 *** weblogs_common.php 7 Jun 2007 22:01:33 -0000 1.1 --- weblogs_common.php 28 Jun 2007 18:04:21 -0000 1.2 *************** *** 51,54 **** --- 51,78 ---- define('WEBLOG_AUTH_OWNER', 3); + // ********************************************************************** + // Read theme definition and language in theme definition + // ********************************************************************** + + if ( file_exists( $module_root_path . "templates/" . $theme['template_name'] . "/" . $theme['template_name'] . ".cfg" ) ) + { + // ---------- + include($module_root_path . "templates/" . $theme['template_name'] . "/" . $theme['template_name'] . ".cfg"); + // ---------- + } + else + { + // ---------- + include($module_root_path . "templates/" . "subSilver/" . "subSilver.cfg"); + // ---------- + } + + + + + + + + // include the weblog language file $use_lang = ( !file_exists($mx_root_path . 'modules/mx_blogs/language/lang_' . $board_config['default_lang'] . '/lang_weblog_main.'.$phpEx) ) ? 'english' : $board_config['default_lang']; |
|
From: OryNider <ory...@us...> - 2007-06-28 16:58:40
|
Update of /cvsroot/mxbb/mx_online_adv/includes In directory sc8-pr-cvs16.sourceforge.net:/tmp/cvs-serv785 Modified Files: functions.php Log Message: Index: functions.php =================================================================== RCS file: /cvsroot/mxbb/mx_online_adv/includes/functions.php,v retrieving revision 1.3 retrieving revision 1.4 diff -C2 -d -r1.3 -r1.4 *** functions.php 28 Jun 2007 16:56:19 -0000 1.3 --- functions.php 28 Jun 2007 16:58:34 -0000 1.4 *************** *** 4,8 **** * @package mxBBmodule_mx_pafileDB * @version $Id$ ! * @copyright (c) 2002-2006 [Mohd Basri, PHP Arena, pafileDB, Jon Ohlsson] mxBB Project Team * @license http://opensource.org/licenses/gpl-license.php GNU General Public License v2 * --- 4,8 ---- * @package mxBBmodule_mx_pafileDB * @version $Id$ ! * @copyright (c) 2002-2006 [ory...@rd..., OryNider] mxBB Project Team * @license http://opensource.org/licenses/gpl-license.php GNU General Public License v2 * |
|
From: OryNider <ory...@us...> - 2007-06-28 16:56:25
|
Update of /cvsroot/mxbb/mx_online_adv/includes In directory sc8-pr-cvs16.sourceforge.net:/tmp/cvs-serv31499/includes Modified Files: functions.php online_adv_hack.php online_common.php Log Message: $sql="update ".ONLINE_ADV_SESSION_TABLE." SET time='$time' and bot_id='$bot_id' WHERE username='$nick'"; should be: $sql="update ".ONLINE_ADV_SESSION_TABLE." SET time='$time', bot_id='$bot_id' WHERE username='$nick'"; Index: online_common.php =================================================================== RCS file: /cvsroot/mxbb/mx_online_adv/includes/online_common.php,v retrieving revision 1.2 retrieving revision 1.3 diff -C2 -d -r1.2 -r1.3 *** online_common.php 28 Jun 2007 15:22:26 -0000 1.2 --- online_common.php 28 Jun 2007 16:56:20 -0000 1.3 *************** *** 48,55 **** //Set Time and Period // - //$period = 1240000000; - //$period = 1200000000; $time = date("U"); ! $period = $board_config['session_length']*1000; --- 48,53 ---- //Set Time and Period // $time = date("U"); ! $period = $board_config['session_length']; *************** *** 388,406 **** - $current_time=date("U"); - //prevent delay - $period=$period+2; - // Calcul max_time - $max_time=$current_time-$period; ! $sql2 = "SELECT * ! FROM ". ONLINE_ADV_SESSION_TABLE ." ! WHERE time<'$max_time'"; ! if( ($result = $db->sql_query($sql2)) ) ! { ! drop_spiders_surfing($period); ! } ! ?> --- 386,394 ---- ! drop_spiders_surfing($period); ! ! unset($time, $sql, $agent, $bot_id); ?> Index: online_adv_hack.php =================================================================== RCS file: /cvsroot/mxbb/mx_online_adv/includes/online_adv_hack.php,v retrieving revision 1.2 retrieving revision 1.3 diff -C2 -d -r1.2 -r1.3 *** online_adv_hack.php 28 Jun 2007 15:22:26 -0000 1.2 --- online_adv_hack.php 28 Jun 2007 16:56:20 -0000 1.3 *************** *** 51,58 **** //Set Time and Period // ! //$this_period = 1240000000; ! $this_period = $board_config['session_length']*1000; $time = date("U"); - //$this_period = $board_config['session_length']*1000000; // --- 51,56 ---- //Set Time and Period // ! $this_period = $board_config['session_length']; $time = date("U"); // *************** *** 395,413 **** } ! ! $current_time=date("U"); ! //prevent delay ! $this_period=$this_period+2; ! // Calcul max_time ! $max_time=$current_time-$this_period; ! ! $sql2 = "SELECT * ! FROM ". ONLINE_ADV_SESSION_TABLE ." ! WHERE time<'$max_time'"; ! ! if( ($result = $db->sql_query($sql2)) ) ! { ! drop_spiders_surfing($this_period); ! } // -------------------------------------------------------------------------------- --- 393,398 ---- } ! drop_spiders_surfing($this_period); ! // -------------------------------------------------------------------------------- Index: functions.php =================================================================== RCS file: /cvsroot/mxbb/mx_online_adv/includes/functions.php,v retrieving revision 1.2 retrieving revision 1.3 diff -C2 -d -r1.2 -r1.3 *** functions.php 28 Jun 2007 15:22:26 -0000 1.2 --- functions.php 28 Jun 2007 16:56:19 -0000 1.3 *************** *** 38,42 **** global $board_config, $db, $lang; ! $sql="update ".ONLINE_ADV_SESSION_TABLE." set time='$time' and bot_id='$bot_id' where username='$nick'"; if( !$result = $db->sql_query($sql) ) --- 38,44 ---- global $board_config, $db, $lang; ! $sql="update ".ONLINE_ADV_SESSION_TABLE." ! SET time='$time', bot_id='$bot_id' ! WHERE username='$nick'"; if( !$result = $db->sql_query($sql) ) *************** *** 44,48 **** mx_message_die(GENERAL_ERROR, 'SQL Error in function update_spiders_surfing()', '', __LINE__, __FILE__, $sql); } - } --- 46,49 ---- *************** *** 64,68 **** mx_message_die(GENERAL_ERROR, 'SQL Error in function drop_spiders_surfing()', '', __LINE__, __FILE__, $sql); } - } --- 65,68 ---- |
|
From: OryNider <ory...@us...> - 2007-06-28 16:56:24
|
Update of /cvsroot/mxbb/mx_online_adv In directory sc8-pr-cvs16.sourceforge.net:/tmp/cvs-serv31499 Modified Files: db_install.php mx_online_adv.php Log Message: $sql="update ".ONLINE_ADV_SESSION_TABLE." SET time='$time' and bot_id='$bot_id' WHERE username='$nick'"; should be: $sql="update ".ONLINE_ADV_SESSION_TABLE." SET time='$time', bot_id='$bot_id' WHERE username='$nick'"; Index: mx_online_adv.php =================================================================== RCS file: /cvsroot/mxbb/mx_online_adv/mx_online_adv.php,v retrieving revision 1.3 retrieving revision 1.4 diff -C2 -d -r1.3 -r1.4 *** mx_online_adv.php 26 Jun 2007 17:41:16 -0000 1.3 --- mx_online_adv.php 28 Jun 2007 16:56:19 -0000 1.4 *************** *** 311,316 **** */ - $nullperiod = '120000'; - drop_spiders_surfing($nullperiod); } } --- 311,314 ---- |
|
From: OryNider <ory...@us...> - 2007-06-28 15:22:37
|
Update of /cvsroot/mxbb/mx_online_adv/includes In directory sc8-pr-cvs16.sourceforge.net:/tmp/cvs-serv11444/includes Modified Files: functions.php online_adv_hack.php online_common.php Log Message: bigint(20) was cauzed the value of 'time' to be allways 1 so this should be int(11) please change this in the database or reinstall. Index: online_common.php =================================================================== RCS file: /cvsroot/mxbb/mx_online_adv/includes/online_common.php,v retrieving revision 1.1 retrieving revision 1.2 diff -C2 -d -r1.1 -r1.2 *** online_common.php 26 Jun 2007 16:02:12 -0000 1.1 --- online_common.php 28 Jun 2007 15:22:26 -0000 1.2 *************** *** 49,55 **** // //$period = 1240000000; ! $period = 1200000000; $time = date("U"); ! //$this_period = $board_config['session_length']*1000000; --- 49,55 ---- // //$period = 1240000000; ! //$period = 1200000000; $time = date("U"); ! $period = $board_config['session_length']*1000; *************** *** 333,337 **** if ( !empty($bot_id) ) { ! online_spider_surfing($agent,$bot_id); } else --- 333,338 ---- if ( !empty($bot_id) ) { ! //$current_time = date("U"); ! online_spider_surfing($agent, $bot_id); } else *************** *** 365,369 **** if ( !empty($bot_id) ) { ! online_spider_surfing($agent,$bot_id); } } --- 366,371 ---- if ( !empty($bot_id) ) { ! //$current_time = date("U"); ! online_spider_surfing($agent, $bot_id); } } *************** *** 399,403 **** { drop_spiders_surfing($period); ! } ?> --- 401,406 ---- { drop_spiders_surfing($period); ! } ! ?> Index: online_adv_hack.php =================================================================== RCS file: /cvsroot/mxbb/mx_online_adv/includes/online_adv_hack.php,v retrieving revision 1.1 retrieving revision 1.2 diff -C2 -d -r1.1 -r1.2 *** online_adv_hack.php 26 Jun 2007 16:02:04 -0000 1.1 --- online_adv_hack.php 28 Jun 2007 15:22:26 -0000 1.2 *************** *** 52,56 **** // //$this_period = 1240000000; ! $this_period = 1190000000; $time = date("U"); //$this_period = $board_config['session_length']*1000000; --- 52,56 ---- // //$this_period = 1240000000; ! $this_period = $board_config['session_length']*1000; $time = date("U"); //$this_period = $board_config['session_length']*1000000; *************** *** 341,345 **** if ( !empty($this_bot_id) ) { ! online_spider_surfing($this_agent,$this_bot_id); } else --- 341,346 ---- if ( !empty($this_bot_id) ) { ! //$current_time = date("U"); ! online_spider_surfing($this_agent, $this_bot_id); } else *************** *** 373,377 **** if ( !empty($this_bot_id) ) { ! online_spider_surfing($this_agent,$this_bot_id); } } --- 374,379 ---- if ( !empty($this_bot_id) ) { ! //$current_time = date("U"); ! online_spider_surfing($this_agent, $this_bot_id); } } Index: functions.php =================================================================== RCS file: /cvsroot/mxbb/mx_online_adv/includes/functions.php,v retrieving revision 1.1 retrieving revision 1.2 diff -C2 -d -r1.1 -r1.2 *** functions.php 26 Jun 2007 16:01:52 -0000 1.1 --- functions.php 28 Jun 2007 15:22:26 -0000 1.2 *************** *** 14,18 **** } ! function online_spider_surfing($nick,$bot_id) { global $db; --- 14,18 ---- } ! function online_spider_surfing($nick, $bot_id) { global $db; *************** *** 58,62 **** $sql = "DELETE FROM " . ONLINE_ADV_SESSION_TABLE . " ! WHERE time < '$max_time'"; if( !$result = $db->sql_query($sql) ) --- 58,62 ---- $sql = "DELETE FROM " . ONLINE_ADV_SESSION_TABLE . " ! WHERE time<'$max_time'"; if( !$result = $db->sql_query($sql) ) *************** *** 64,67 **** --- 64,68 ---- mx_message_die(GENERAL_ERROR, 'SQL Error in function drop_spiders_surfing()', '', __LINE__, __FILE__, $sql); } + } |
|
From: OryNider <ory...@us...> - 2007-06-28 15:22:32
|
Update of /cvsroot/mxbb/mx_online_adv In directory sc8-pr-cvs16.sourceforge.net:/tmp/cvs-serv11444 Modified Files: db_install.php Log Message: bigint(20) was cauzed the value of 'time' to be allways 1 so this should be int(11) please change this in the database or reinstall. Index: db_install.php =================================================================== RCS file: /cvsroot/mxbb/mx_online_adv/db_install.php,v retrieving revision 1.2 retrieving revision 1.3 diff -C2 -d -r1.2 -r1.3 *** db_install.php 26 Jun 2007 16:39:41 -0000 1.2 --- db_install.php 28 Jun 2007 15:22:21 -0000 1.3 *************** *** 50,54 **** $sql[] = "CREATE TABLE ".$mx_table_prefix."online_adv_session ( username varchar(99) NOT NULL, ! time bigint(20) NOT NULL, bot_id INTEGER NOT NULL DEFAULT '0', UNIQUE username (username) --- 50,54 ---- $sql[] = "CREATE TABLE ".$mx_table_prefix."online_adv_session ( username varchar(99) NOT NULL, ! time INTEGER NOT NULL DEFAULT '0', bot_id INTEGER NOT NULL DEFAULT '0', UNIQUE username (username) |