You can subscribe to this list here.
| 2001 |
Jan
|
Feb
|
Mar
|
Apr
|
May
|
Jun
|
Jul
|
Aug
|
Sep
|
Oct
|
Nov
|
Dec
(329) |
|---|---|---|---|---|---|---|---|---|---|---|---|---|
| 2002 |
Jan
(660) |
Feb
(152) |
Mar
(1267) |
Apr
(549) |
May
(308) |
Jun
(321) |
Jul
(81) |
Aug
(10) |
Sep
(9) |
Oct
(76) |
Nov
(79) |
Dec
(114) |
| 2003 |
Jan
(340) |
Feb
(1) |
Mar
(1) |
Apr
|
May
(5) |
Jun
(2) |
Jul
|
Aug
|
Sep
|
Oct
|
Nov
|
Dec
|
|
From: Andreas K. <la...@us...> - 2003-06-07 09:24:15
|
Update of /cvsroot/pn-modules/PN_phpBB_14/html/modules/phpBB_14/pndocs In directory sc8-pr-cvs1:/tmp/cvs-serv14063/PN_phpBB_14/html/modules/phpBB_14/pndocs Modified Files: changelog.txt Log Message: update Index: changelog.txt =================================================================== RCS file: /cvsroot/pn-modules/PN_phpBB_14/html/modules/phpBB_14/pndocs/changelog.txt,v retrieving revision 1.33 retrieving revision 1.34 diff -C2 -d -r1.33 -r1.34 *** changelog.txt 20 May 2003 14:22:35 -0000 1.33 --- changelog.txt 7 Jun 2003 09:24:11 -0000 1.34 *************** *** 7,13 **** --------------------------------------------------------------------------------------------- Fixes: ! - fixed check for $start variable ! - fixed links in viewforum and latest for use of short urls ! - fixed redirect in reply for threads with more then one page --------------------------------------------------------------------------------------------- --- 7,14 ---- --------------------------------------------------------------------------------------------- Fixes: ! - improvements for use of short urls (viewforum.php, latest.php) ! - fixed redirect when replying to topics with more then one page (thx to jn) ! - fixed permission schema in prefs.php (thx to Michael Cohen) ! - fixed missing input check in viewtopic for $start var (thx to Marc Bradshaw) --------------------------------------------------------------------------------------------- |
|
From: Andreas K. <la...@us...> - 2003-06-07 09:14:26
|
Update of /cvsroot/pn-modules/PN_phpBB_14/html/modules/phpBB_14
In directory sc8-pr-cvs1:/tmp/cvs-serv12103/PN_phpBB_14/html/modules/phpBB_14
Modified Files:
prefs.php
Log Message:
fixed permission check to avoid unlimited loop (thx to Michael Cohen)
Index: prefs.php
===================================================================
RCS file: /cvsroot/pn-modules/PN_phpBB_14/html/modules/phpBB_14/prefs.php,v
retrieving revision 1.47
retrieving revision 1.48
diff -C2 -d -r1.47 -r1.48
*** prefs.php 10 Jan 2003 22:23:25 -0000 1.47
--- prefs.php 7 Jun 2003 09:14:23 -0000 1.48
***************
*** 280,283 ****
--- 280,284 ----
if (!pnSecAuthAction(0, 'phpBB_14::Category', "$cat_title::", ACCESS_READ)) {
// not authorised - continue;
+ $result->MoveNext();
} else {
if ($cat_id != $curcat) {
***************
*** 293,296 ****
--- 294,298 ----
if (!pnSecAuthAction(0, 'phpBB_14::Category', "$cat_title::", ACCESS_READ)) {
// not authorised - continue;
+ $result->MoveNext();
} else {
// check if this is private forum and user is allowed to access
|
|
From: Andreas K. <la...@us...> - 2003-05-20 14:23:12
|
Update of /cvsroot/pn-modules/PN_phpBB_14/html/modules/phpBB_14 In directory sc8-pr-cvs1:/tmp/cvs-serv23206/PN_phpBB_14/html/modules/phpBB_14 Modified Files: pnversion.php Log Message: update Index: pnversion.php =================================================================== RCS file: /cvsroot/pn-modules/PN_phpBB_14/html/modules/phpBB_14/pnversion.php,v retrieving revision 1.19 retrieving revision 1.20 diff -C2 -d -r1.19 -r1.20 *** pnversion.php 2 Jan 2003 08:46:32 -0000 1.19 --- pnversion.php 20 May 2003 14:23:09 -0000 1.20 *************** *** 3,7 **** $modversion['name'] = 'phpBB_14'; $modversion['id'] = '62'; ! $modversion['version'] = '1.7.5'; $modversion['description'] = 'phpBB-style Bulletin Board'; $modversion['credits'] = 'pndocs/credits.txt'; --- 3,7 ---- $modversion['name'] = 'phpBB_14'; $modversion['id'] = '62'; ! $modversion['version'] = '1.7.6'; $modversion['description'] = 'phpBB-style Bulletin Board'; $modversion['credits'] = 'pndocs/credits.txt'; |
|
From: Andreas K. <la...@us...> - 2003-05-20 14:22:39
|
Update of /cvsroot/pn-modules/PN_phpBB_14/html/modules/phpBB_14/pndocs In directory sc8-pr-cvs1:/tmp/cvs-serv22805/PN_phpBB_14/html/modules/phpBB_14/pndocs Modified Files: changelog.txt Log Message: update Index: changelog.txt =================================================================== RCS file: /cvsroot/pn-modules/PN_phpBB_14/html/modules/phpBB_14/pndocs/changelog.txt,v retrieving revision 1.32 retrieving revision 1.33 diff -C2 -d -r1.32 -r1.33 *** changelog.txt 22 Jan 2003 17:56:52 -0000 1.32 --- changelog.txt 20 May 2003 14:22:35 -0000 1.33 *************** *** 4,7 **** --- 4,15 ---- --------------------------------------------------------------------------------------------- + 1.7.6.0 + --------------------------------------------------------------------------------------------- + Fixes: + - fixed check for $start variable + - fixed links in viewforum and latest for use of short urls + - fixed redirect in reply for threads with more then one page + + --------------------------------------------------------------------------------------------- 1.7.5.0 --------------------------------------------------------------------------------------------- |
|
From: Andreas K. <la...@us...> - 2003-05-20 14:20:21
|
Update of /cvsroot/pn-modules/PN_phpBB_14/html/modules/phpBB_14
In directory sc8-pr-cvs1:/tmp/cvs-serv21648/PN_phpBB_14/html/modules/phpBB_14
Modified Files:
reply.php
Log Message:
fixed redirect for threads with more then one page
Index: reply.php
===================================================================
RCS file: /cvsroot/pn-modules/PN_phpBB_14/html/modules/phpBB_14/reply.php,v
retrieving revision 1.114
retrieving revision 1.115
diff -C2 -d -r1.114 -r1.115
*** reply.php 21 Jan 2003 17:18:30 -0000 1.114
--- reply.php 20 May 2003 14:20:16 -0000 1.115
***************
*** 269,274 ****
notify_by_email($topic_id, $pn_uid, $posted_message, '2');
! pnRedirect('modules.php?op=modload&name='.$ModName.'&file=index&action=viewtopic&topic='.pnVarPrepForStore($topic_id).'');
} else {
$sql = "SELECT f.forum_name,
--- 269,298 ----
notify_by_email($topic_id, $pn_uid, $posted_message, '2');
+
+ // get topic_replies for correct redirect
+ $sql = "SELECT topic_replies FROM $pntable[phpbb14_topics] WHERE topic_id = '$topic'";
+ $result = $dbconn->Execute($sql);
+ if($dbconn->ErrorNo() != 0) {
+ die("Error accesing to the database " . $dbconn->ErrorNo() . ": " . $dbconn->ErrorMsg() . "<br />");
+ }
+ list ($topic_replies) = $result->fields;
! // get some enviroment
! $posts_per_page = pnModGetVar('phpBB_14', 'posts_per_page');
! $post_sort_order = pnModGetVar('phpBB_14', 'post_sort_order');
!
! if ($post_sort_order == "ASC") {
! $hc_dlink_times = 0;
! if (($topic_replies+1-$posts_per_page)>= 0) {
! $hc_dlink_times = 0;
! for ($x = 0; $x < $topic_replies+1-$posts_per_page; $x+= $posts_per_page)
! $hc_dlink_times++;
! }
! $start = $hc_dlink_times*$posts_per_page;
! } else {
! // latest topic is on top anyway...
! $start = 0;
! }
! pnRedirect('modules.php?op=modload&name='.$ModName.'&file=index&action=viewtopic&topic='.pnVarPrepForStore($topic_id).'&start='.pnVarPrepForStore($start).'');
} else {
$sql = "SELECT f.forum_name,
|
|
From: Andreas K. <la...@us...> - 2003-05-10 09:08:26
|
Update of /cvsroot/pn-modules/PN_phpBB_14/html/modules/phpBB_14
In directory sc8-pr-cvs1:/tmp/cvs-serv6238/PN_phpBB_14/html/modules/phpBB_14
Modified Files:
latest.php
Log Message:
fixes for short urls
Index: latest.php
===================================================================
RCS file: /cvsroot/pn-modules/PN_phpBB_14/html/modules/phpBB_14/latest.php,v
retrieving revision 1.14
retrieving revision 1.15
diff -C2 -d -r1.14 -r1.15
*** latest.php 18 Jan 2003 16:24:45 -0000 1.14
--- latest.php 10 May 2003 09:08:23 -0000 1.15
***************
*** 158,169 ****
<tr BGCOLOR="<?php echo $GLOBALS['bgcolor3']?>">
<TD align="center">
! [ <a href="modules.php?op=modload&name=<?php echo $ModName ?>&file=latest&selorder=3"><?php echo _PHPBB_YESTERDAY; ?></a> ]
! [ <a href="modules.php?op=modload&name=<?php echo $ModName ?>&file=latest&selorder=2"><?php echo _PHPBB_TODAY; ?></a> ]
! [ <a href="modules.php?op=modload&name=<?php echo $ModName ?>&file=latest&selorder=1"><?php echo _PHPBB_LAST24; ?></a> ]
[ <a href="javascript:func_name()"><?php echo _PHPBB_LAST; ?></a> <input type="text" name="nohours" size="3" value="<?php echo $nohours; ?>" maxlength="3"> <a href="javascript:func_name()"><?php echo _PHPBB_HOURS; ?></a> ]
<br />
! [ <a href="modules.php?op=modload&name=<?php echo $ModName ?>&file=latest&selorder=4"><?php echo _PHPBB_LASTWEEK; ?></a> ]
! [ <a href="modules.php?op=modload&name=<?php echo $ModName ?>&file=latest&selorder=4&unanswered=1"><?php echo _PHPBB_UALASTWEEK; ?></a> ]
! [ <a href="modules.php?op=modload&name=<?php echo $ModName ?>&file=latest&selorder=6"><?php echo _PHPBB_LASTVISIT; ?></a> ]
</td>
</tr>
--- 158,169 ----
<tr BGCOLOR="<?php echo $GLOBALS['bgcolor3']?>">
<TD align="center">
! [ <a href="modules.php?op=modload&name=<?php echo $ModName ?>&file=index&action=latest&selorder=3"><?php echo _PHPBB_YESTERDAY; ?></a> ]
! [ <a href="modules.php?op=modload&name=<?php echo $ModName ?>&file=index&action=latest&selorder=2"><?php echo _PHPBB_TODAY; ?></a> ]
! [ <a href="modules.php?op=modload&name=<?php echo $ModName ?>&file=index&action=latest&selorder=1"><?php echo _PHPBB_LAST24; ?></a> ]
[ <a href="javascript:func_name()"><?php echo _PHPBB_LAST; ?></a> <input type="text" name="nohours" size="3" value="<?php echo $nohours; ?>" maxlength="3"> <a href="javascript:func_name()"><?php echo _PHPBB_HOURS; ?></a> ]
<br />
! [ <a href="modules.php?op=modload&name=<?php echo $ModName ?>&file=index&action=latest&selorder=4"><?php echo _PHPBB_LASTWEEK; ?></a> ]
! [ <a href="modules.php?op=modload&name=<?php echo $ModName ?>&file=index&action=latest&selorder=4&unanswered=1"><?php echo _PHPBB_UALASTWEEK; ?></a> ]
! [ <a href="modules.php?op=modload&name=<?php echo $ModName ?>&file=index&action=latest&selorder=6"><?php echo _PHPBB_LASTVISIT; ?></a> ]
</td>
</tr>
***************
*** 215,220 ****
echo "<TR BGCOLOR=\"".$GLOBALS['bgcolor3']."\">\n";
! echo "<TD WIDTH=\"50%\" onMouseOver=\"this.style.backgroundColor='".$GLOBALS['bgcolor4']."';\" onMouseOut=\"this.style.backgroundColor='".$GLOBALS['bgcolor3']."'\"><a href=\"modules.php?op=modload&name=$ModName&file=index&action=viewtopic&topic=$topic_id&forum=$forum_id&start=$start\" title=\"$forum_name :: $cat_title\">$topic_title</a></TD>\n";
! echo "<td>$topic_replies</td>\n";
echo $last_boardpost;
echo "</TR>\n";
--- 215,221 ----
echo "<TR BGCOLOR=\"".$GLOBALS['bgcolor3']."\">\n";
! //echo "<TD WIDTH=\"50%\" onMouseOver=\"this.style.backgroundColor='".$GLOBALS['bgcolor4']."';\" onMouseOut=\"this.style.backgroundColor='".$GLOBALS['bgcolor3']."'\"><a href=\"modules.php?op=modload&name=$ModName&file=index&action=viewtopic&topic=$topic_id&forum=$forum_id&start=$start\" title=\"$forum_name :: $cat_title\">$topic_title</a></TD>\n";
! echo "<TD WIDTH=\"50%\" onMouseOver=\"this.style.backgroundColor='".$GLOBALS['bgcolor4']."';\" onMouseOut=\"this.style.backgroundColor='".$GLOBALS['bgcolor3']."'\"><a href=\"modules.php?op=modload&name=$ModName&file=index&action=viewtopic&topic=$topic_id&start=$start\" title=\"$forum_name :: $cat_title\">$topic_title</a></TD>\n";
! echo "<td>$topic_replies</td>\n";
echo $last_boardpost;
echo "</TR>\n";
|
|
From: Andreas K. <la...@us...> - 2003-05-10 09:07:50
|
Update of /cvsroot/pn-modules/PN_phpBB_14/html/modules/phpBB_14
In directory sc8-pr-cvs1:/tmp/cvs-serv6064/PN_phpBB_14/html/modules/phpBB_14
Modified Files:
viewforum.php
Log Message:
fixes for short urls
Index: viewforum.php
===================================================================
RCS file: /cvsroot/pn-modules/PN_phpBB_14/html/modules/phpBB_14/viewforum.php,v
retrieving revision 1.69
retrieving revision 1.70
diff -C2 -d -r1.69 -r1.70
*** viewforum.php 8 Jan 2003 17:57:55 -0000 1.69
--- viewforum.php 10 May 2003 09:07:47 -0000 1.70
***************
*** 290,294 ****
if($lastpage)
{
! $start = "&start=$x&$replys";
}
else
--- 290,295 ----
if($lastpage)
{
! //$start = "&start=$x&$replys";
! $start = "&start=$x";
}
else
***************
*** 298,302 ****
$start = "&start=$x";
}
! $start .= "&" . ($x + $posts_per_page - 1);
}
--- 299,303 ----
$start = "&start=$x";
}
! //$start .= "&" . ($x + $posts_per_page - 1);
}
***************
*** 318,322 ****
}
! $topiclink .= "&$replys";
//Change Part2 Add Hoovercell and order of bgcolors
($myrow['sticky']) ? $sticky = '^Sticky: ':$sticky = '';
--- 319,323 ----
}
! //$topiclink .= "&$replys";
//Change Part2 Add Hoovercell and order of bgcolors
($myrow['sticky']) ? $sticky = '^Sticky: ':$sticky = '';
|
|
From: Andreas K. <la...@us...> - 2003-03-07 20:12:23
|
Update of /cvsroot/pn-modules/PN_phpBB_14/html/modules/phpBB_14
In directory sc8-pr-cvs1:/tmp/cvs-serv18272/PN_phpBB_14/html/modules/phpBB_14
Modified Files:
viewtopic.php
Log Message:
fixed missing input sanitizing (thx to Marc Bradshaw)
Index: viewtopic.php
===================================================================
RCS file: /cvsroot/pn-modules/PN_phpBB_14/html/modules/phpBB_14/viewtopic.php,v
retrieving revision 1.101
retrieving revision 1.102
diff -C2 -d -r1.101 -r1.102
*** viewtopic.php 26 Jan 2003 12:31:56 -0000 1.101
--- viewtopic.php 7 Mar 2003 19:55:59 -0000 1.102
***************
*** 73,80 ****
// some input checking
! list($topic, $forum) = pnVarCleanFromInput('topic', 'forum');
if ((!isset($forum) || !is_numeric($forum))){
$forum = '';
}
--- 73,84 ----
// some input checking
! list($topic, $forum, $start) = pnVarCleanFromInput('topic', 'forum', 'start');
if ((!isset($forum) || !is_numeric($forum))){
$forum = '';
+ }
+
+ if ((isset($start) && !is_numeric($start))){
+ unset($start);
}
|
|
From: Andreas K. <la...@us...> - 2003-02-12 11:20:52
|
Update of /cvsroot/pn-modules/PN_Shoutbox/html/modules/Shoutbox
In directory sc8-pr-cvs1:/tmp/cvs-serv5417/PN_Shoutbox/html/modules/Shoutbox
Modified Files:
index.php
Log Message:
fix for East Chars support problems (thx to class007)
Index: index.php
===================================================================
RCS file: /cvsroot/pn-modules/PN_Shoutbox/html/modules/Shoutbox/index.php,v
retrieving revision 1.12
retrieving revision 1.13
diff -C2 -d -r1.12 -r1.13
*** index.php 12 Jan 2003 17:33:47 -0000 1.12
--- index.php 12 Feb 2003 11:20:48 -0000 1.13
***************
*** 198,205 ****
elseif (!$tag)
$wordlen++;
! if (!$tag && !($wordlen%$cols))
$chr .= $cut;
! $result .= $chr;
! }
return $result;
}
--- 198,212 ----
elseif (!$tag)
$wordlen++;
! if(preg_match("/[\x80-\xFF]$/", $chr)){
! $cols++;
! }
! if (!$tag && !($wordlen%$cols)) {
$chr .= $cut;
! if(preg_match("/[\x80-\xFF]$/", $chr)){
! $cols--;
! }
! }
! $result .= $chr;
! }
return $result;
}
|
|
From: Andreas K. <la...@us...> - 2003-01-26 12:32:00
|
Update of /cvsroot/pn-modules/PN_phpBB_14/html/modules/phpBB_14
In directory sc8-pr-cvs1:/tmp/cvs-serv23275/PN_phpBB_14/html/modules/phpBB_14
Modified Files:
viewtopic.php
Log Message:
fixed <br> in signature for better autoclick compliance
Index: viewtopic.php
===================================================================
RCS file: /cvsroot/pn-modules/PN_phpBB_14/html/modules/phpBB_14/viewtopic.php,v
retrieving revision 1.100
retrieving revision 1.101
diff -C2 -d -r1.100 -r1.101
*** viewtopic.php 21 Jan 2003 17:19:06 -0000 1.100
--- viewtopic.php 26 Jan 2003 12:31:56 -0000 1.101
***************
*** 280,284 ****
$sig = $posterdata['pn_user_sig'];
if ($sig != ''){
! $message = eregi_replace("\[addsig]$", "<BR />_________________<BR />$sig", $message);
} else {
$message = eregi_replace("\[addsig]$", "", $message);
--- 280,284 ----
$sig = $posterdata['pn_user_sig'];
if ($sig != ''){
! $message = eregi_replace("\[addsig]$", "\n_________________\n$sig", $message);
} else {
$message = eregi_replace("\[addsig]$", "", $message);
|
|
From: Andreas K. <la...@us...> - 2003-01-22 21:22:50
|
Update of /cvsroot/pn-modules/PN_phpBB_14/html/modules/phpBB_14
In directory sc8-pr-cvs1:/tmp/cvs-serv7261/PN_phpBB_14/html/modules/phpBB_14
Modified Files:
functions.php
Log Message:
fixed subscribe/unsubscribe forum/post for unregistered users with comment rights
Index: functions.php
===================================================================
RCS file: /cvsroot/pn-modules/PN_phpBB_14/html/modules/phpBB_14/functions.php,v
retrieving revision 1.180
retrieving revision 1.181
diff -C2 -d -r1.180 -r1.181
*** functions.php 22 Jan 2003 17:55:19 -0000 1.180
--- functions.php 22 Jan 2003 21:22:42 -0000 1.181
***************
*** 1156,1171 ****
$unsubs_link = "$baseurl&action=prefs&act=unsubscribe_topic&forum=$forum&topic=$topic&authid=$authid";
$userid = pnUserGetVar('uid');
! if (topic_subscription_status($userid, $forum, $topic)) {
! echo "<a href=\"$unsubs_link\">"._PHPBB_UNSUBSCRIBE_TOPIC."</a>";
! } else {
! echo "<a href=\"$subs_link\">"._PHPBB_SUBSCRIBE_TOPIC."</a>";
}
}
if ($pagetype == 'viewforum'){
! $pn_uid = pnUserGetVar('uid');
! if (subscription_status($pn_uid, $forum) == 1) {
! echo "<a href=\"$baseurl&action=prefs&act=unsubscribe_forum&forum=$forum&authid=$authid\">"._PHPBB_UNSUBSCRIBE_FORUM."</a>";
! } else {
! echo "<a href=\"$baseurl&action=prefs&act=subscribe_forum&forum=$forum&authid=$authid\">"._PHPBB_SUBSCRIBE_FORUM."</a>";
}
}
--- 1156,1175 ----
$unsubs_link = "$baseurl&action=prefs&act=unsubscribe_topic&forum=$forum&topic=$topic&authid=$authid";
$userid = pnUserGetVar('uid');
! if (pnUserLoggedIn()) {
! if (topic_subscription_status($userid, $forum, $topic)) {
! echo "<a href=\"$unsubs_link\">"._PHPBB_UNSUBSCRIBE_TOPIC."</a>";
! } else {
! echo "<a href=\"$subs_link\">"._PHPBB_SUBSCRIBE_TOPIC."</a>";
! }
}
}
if ($pagetype == 'viewforum'){
! $pn_uid = pnUserGetVar('uid');
! if (pnUserLoggedIn()) {
! if (subscription_status($pn_uid, $forum) == 1) {
! echo "<a href=\"$baseurl&action=prefs&act=unsubscribe_forum&forum=$forum&authid=$authid\">"._PHPBB_UNSUBSCRIBE_FORUM."</a>";
! } else {
! echo "<a href=\"$baseurl&action=prefs&act=subscribe_forum&forum=$forum&authid=$authid\">"._PHPBB_SUBSCRIBE_FORUM."</a>";
! }
}
}
|
|
From: Andreas K. <la...@us...> - 2003-01-22 17:56:58
|
Update of /cvsroot/pn-modules/PN_phpBB_14/html/modules/phpBB_14/pndocs In directory sc8-pr-cvs1:/tmp/cvs-serv31209/PN_phpBB_14/html/modules/phpBB_14/pndocs Modified Files: changelog.txt Log Message: update Index: changelog.txt =================================================================== RCS file: /cvsroot/pn-modules/PN_phpBB_14/html/modules/phpBB_14/pndocs/changelog.txt,v retrieving revision 1.31 retrieving revision 1.32 diff -C2 -d -r1.31 -r1.32 *** changelog.txt 21 Jan 2003 17:24:02 -0000 1.31 --- changelog.txt 22 Jan 2003 17:56:52 -0000 1.32 *************** *** 43,47 **** IMPORTANT NOTE: ! - since bbcode and smile functions are moved to hooks you'll need the pn_bbcode and pn_bbsmile hooks from http://www.pnforum.de - with pn_bbclick you can convert url- and mail-adresses to links automatically - might be usefull, too ;) - BBCODES AND SMILIES ARE NOT SHOWN WHEN pn_bbcode and pn_bbsmile ARE NOT INSTALLED & ACTIVE! --- 43,47 ---- IMPORTANT NOTE: ! - since bbcode and smile functions are moved to hooks you'll need the pn_bbcode and pn_bbsmile hooks from http://www.pnforum.de or http://snowbankih.tzo.com - with pn_bbclick you can convert url- and mail-adresses to links automatically - might be usefull, too ;) - BBCODES AND SMILIES ARE NOT SHOWN WHEN pn_bbcode and pn_bbsmile ARE NOT INSTALLED & ACTIVE! |
|
From: Andreas K. <la...@us...> - 2003-01-22 17:55:25
|
Update of /cvsroot/pn-modules/PN_phpBB_14/html/modules/phpBB_14
In directory sc8-pr-cvs1:/tmp/cvs-serv29787/PN_phpBB_14/html/modules/phpBB_14
Modified Files:
functions.php
Log Message:
fixed header problem for notification mails
Index: functions.php
===================================================================
RCS file: /cvsroot/pn-modules/PN_phpBB_14/html/modules/phpBB_14/functions.php,v
retrieving revision 1.179
retrieving revision 1.180
diff -C2 -d -r1.179 -r1.180
*** functions.php 17 Jan 2003 18:46:47 -0000 1.179
--- functions.php 22 Jan 2003 17:55:19 -0000 1.180
***************
*** 537,541 ****
$msg_ContentType_Header .= "\n";
! $msg_Headers = $msg_From_Header.$msg_XMailer_Header.$msg_ContentType_Header;
if ($type != 1) {
--- 537,541 ----
$msg_ContentType_Header .= "\n";
! //$msg_Headers = $msg_From_Header.$msg_XMailer_Header.$msg_ContentType_Header;
if ($type != 1) {
***************
*** 591,594 ****
--- 591,595 ----
$msgTo = $subscriber_userdata['pn_email'];
// set reply-to to his own adress ;)
+ $msg_Headers = $msg_From_Header.$msg_XMailer_Header.$msg_ContentType_Header;
$msg_Headers .= "Reply-To: ".$subscriber_userdata['pn_email'];
***************
*** 628,631 ****
--- 629,633 ----
$msgTo = $subscriber_userdata['pn_email'] ;
// set reply-to to his own adress ;)
+ $msg_Headers = $msg_From_Header.$msg_XMailer_Header.$msg_ContentType_Header;
$msg_Headers .= "Reply-To: ".$subscriber_userdata['pn_email'];
|
|
From: Andreas K. <la...@us...> - 2003-01-21 17:42:20
|
Update of /cvsroot/pn-modules/PN_phpBB_14/html/modules/phpBB_14
In directory sc8-pr-cvs1:/tmp/cvs-serv1098/PN_phpBB_14/html/modules/phpBB_14
Modified Files:
pninit.php
Log Message:
missed the upgrade functions
Index: pninit.php
===================================================================
RCS file: /cvsroot/pn-modules/PN_phpBB_14/html/modules/phpBB_14/pninit.php,v
retrieving revision 1.22
retrieving revision 1.23
diff -C2 -d -r1.22 -r1.23
*** pninit.php 21 Jan 2003 17:17:51 -0000 1.22
--- pninit.php 21 Jan 2003 17:42:16 -0000 1.23
***************
*** 721,724 ****
--- 721,730 ----
pnModDelVar('phpBB_14', 'ip_image');
+ // set the new module vars
+ pnModSetVar('phpBB_14', 'show_html', "yes");
+ pnModSetVar('phpBB_14', 'show_bbcode', "yes");
+ pnModSetVar('phpBB_14', 'show_smile', "yes");
+ pnModSetVar('phpBB_14', 'log_ip', "yes");
+
case '1.7.4' :
// drop some unused table stuff
***************
*** 774,777 ****
--- 780,790 ----
pnModDelVar('phpBB_14', 'email_image');
pnModDelVar('phpBB_14', 'ip_image');
+
+ // set the new module vars
+ pnModSetVar('phpBB_14', 'show_html', "yes");
+ pnModSetVar('phpBB_14', 'show_bbcode', "yes");
+ pnModSetVar('phpBB_14', 'show_smile', "yes");
+ pnModSetVar('phpBB_14', 'log_ip', "yes");
+
}
|
|
From: Andreas K. <la...@us...> - 2003-01-21 17:24:09
|
Update of /cvsroot/pn-modules/PN_phpBB_14/html/modules/phpBB_14/pndocs In directory sc8-pr-cvs1:/tmp/cvs-serv24527/PN_phpBB_14/html/modules/phpBB_14/pndocs Modified Files: changelog.txt Log Message: update Index: changelog.txt =================================================================== RCS file: /cvsroot/pn-modules/PN_phpBB_14/html/modules/phpBB_14/pndocs/changelog.txt,v retrieving revision 1.30 retrieving revision 1.31 diff -C2 -d -r1.30 -r1.31 *** changelog.txt 14 Jan 2003 14:48:11 -0000 1.30 --- changelog.txt 21 Jan 2003 17:24:02 -0000 1.31 *************** *** 39,42 **** --- 39,44 ---- - added topic based notification (thx to VitSoft, McSim) - added config for showing 'Allowed HTML tags' in administration/forumwide settings + - display of bbcode-tags & smiles configurable (can be set to no even if the hooks are installed) + - ip-logging can be turned off (due to privacy issues in germany) IMPORTANT NOTE: |
|
From: Andreas K. <la...@us...> - 2003-01-21 17:20:56
|
Update of /cvsroot/pn-modules/PN_phpBB_14/html/modules/phpBB_14
In directory sc8-pr-cvs1:/tmp/cvs-serv22695a/PN_phpBB_14/html/modules/phpBB_14
Modified Files:
adminapi.php
Log Message:
new config vars for show_bbcode, show_smile, log_ip
Index: adminapi.php
===================================================================
RCS file: /cvsroot/pn-modules/PN_phpBB_14/html/modules/phpBB_14/adminapi.php,v
retrieving revision 1.45
retrieving revision 1.46
diff -C2 -d -r1.45 -r1.46
*** adminapi.php 18 Jan 2003 16:43:49 -0000 1.45
--- adminapi.php 21 Jan 2003 17:20:50 -0000 1.46
***************
*** 913,917 ****
pnModSetVar('phpBB_14', 'post_sort_order', $var['post_sort_order']);
pnModSetVar('phpBB_14', 'show_html', $var['show_html']);
! // deprecated
//pnModSetVar('phpBB_14', 'edit_image', $var['edit_image']);
//pnModSetVar('phpBB_14', 'reply_image', $var['reply_image']);
--- 913,920 ----
pnModSetVar('phpBB_14', 'post_sort_order', $var['post_sort_order']);
pnModSetVar('phpBB_14', 'show_html', $var['show_html']);
! pnModSetVar('phpBB_14', 'show_bbcode', $var['show_bbcode']);
! pnModSetVar('phpBB_14', 'show_smile', $var['show_smile']);
! pnModSetVar('phpBB_14', 'log_ip', $var['log_ip']);
! // deprecated
//pnModSetVar('phpBB_14', 'edit_image', $var['edit_image']);
//pnModSetVar('phpBB_14', 'reply_image', $var['reply_image']);
***************
*** 947,950 ****
--- 950,956 ----
pnModSetVar('phpBB_14', 'post_sort_order', "ASC");
pnModSetVar('phpBB_14', 'show_html', "yes");
+ pnModSetVar('phpBB_14', 'show_bbcode', "yes");
+ pnModSetVar('phpBB_14', 'show_smile', "yes");
+ pnModSetVar('phpBB_14', 'log_ip', "yes");
// deprecated
//pnModSetVar('phpBB_14', 'edit_image', "modules/$module/images/edit.gif");
***************
*** 1112,1115 ****
--- 1118,1172 ----
<input type="radio" name="var[show_html]" value="yes" <?php echo $htmlonChecked; ?>> yes
<input type="radio" name="var[show_html]" value="no" <?php echo $htmloffChecked; ?>> no
+ </TD>
+ </TR>
+ <TR ALIGN="LEFT">
+ <TD><FONT class="pn-title">Show 'BBCode' tags:</FONT><br><FONT class="pn-normal"><I>only when <a href="http://pncommunity.de" target=_blank>pnBBCode</a> hook is installed</I></FONT></TD>
+ <TD colspan="2">
+ <?php
+ if (pnModGetVar('phpBB_14', 'show_bbcode') == "yes")
+ {
+ $bbcodeonChecked = "checked";
+ $bbcodeoffChecked = " ";
+ } else {
+ $bbcodeonChecked = " ";
+ $bbcodeoffChecked = "checked ";
+ }
+ ?>
+ <input type="radio" name="var[show_bbcode]" value="yes" <?php echo $bbcodeonChecked; ?>> yes
+ <input type="radio" name="var[show_bbcode]" value="no" <?php echo $bbcodeoffChecked; ?>> no
+ </TD>
+ </TR>
+ <TR ALIGN="LEFT">
+ <TD><FONT class="pn-title">Show Smilies :</FONT><br><FONT class="pn-normal"><I>only when <a href="http://pncommunity.de" target=_blank>pnBBSmile</a> hook is installed</I></FONT></TD>
+ <TD colspan="2">
+ <?php
+ if (pnModGetVar('phpBB_14', 'show_smile') == "yes")
+ {
+ $smileonChecked = "checked";
+ $smileoffChecked = " ";
+ } else {
+ $smileonChecked = " ";
+ $smileoffChecked = "checked ";
+ }
+ ?>
+ <input type="radio" name="var[show_smile]" value="yes" <?php echo $smileonChecked; ?>> yes
+ <input type="radio" name="var[show_smile]" value="no" <?php echo $smileoffChecked; ?>> no
+ </TD>
+ </TR>
+ <TR ALIGN="LEFT">
+ <TD><FONT class="pn-title">Log IP adresses :</FONT><br><FONT class="pn-normal"><I> </I></FONT></TD>
+ <TD colspan="2">
+ <?php
+ if (pnModGetVar('phpBB_14', 'log_ip') == "yes")
+ {
+ $logiponChecked = "checked";
+ $logipoffChecked = " ";
+ } else {
+ $logiponChecked = " ";
+ $logipoffChecked = "checked ";
+ }
+ ?>
+ <input type="radio" name="var[log_ip]" value="yes" <?php echo $logiponChecked; ?>> yes
+ <input type="radio" name="var[log_ip]" value="no" <?php echo $logipoffChecked; ?>> no
</TD>
</TR>
|
|
From: Andreas K. <la...@us...> - 2003-01-21 17:20:03
|
Update of /cvsroot/pn-modules/PN_phpBB_14/html/modules/phpBB_14
In directory sc8-pr-cvs1:/tmp/cvs-serv22211/PN_phpBB_14/html/modules/phpBB_14
Modified Files:
editpost.php
Log Message:
new config vars for show_bbcode, show_smile, log_ip
Index: editpost.php
===================================================================
RCS file: /cvsroot/pn-modules/PN_phpBB_14/html/modules/phpBB_14/editpost.php,v
retrieving revision 1.101
retrieving revision 1.102
diff -C2 -d -r1.101 -r1.102
*** editpost.php 14 Jan 2003 14:42:49 -0000 1.101
--- editpost.php 21 Jan 2003 17:19:58 -0000 1.102
***************
*** 425,434 ****
}
}
! if(pnModAvailable('pn_bbsmile')) {
// display smilies and bbcodes
$smilies_message = phpbb_insert_smiliesicons();
echo $smilies_message;
}
! if(pnModAvailable('pn_bbcode')) {
$bbcode_message = phpbb_insert_bbcodeicons();
echo $bbcode_message;
--- 425,434 ----
}
}
! if(pnModAvailable('pn_bbsmile') && pnModGetVar('phpBB_14', 'show_smile') == "yes") {
// display smilies and bbcodes
$smilies_message = phpbb_insert_smiliesicons();
echo $smilies_message;
}
! if(pnModAvailable('pn_bbcode') && pnModGetVar('phpBB_14', 'show_bbcode') == "yes") {
$bbcode_message = phpbb_insert_bbcodeicons();
echo $bbcode_message;
|
|
From: Andreas K. <la...@us...> - 2003-01-21 17:19:38
|
Update of /cvsroot/pn-modules/PN_phpBB_14/html/modules/phpBB_14
In directory sc8-pr-cvs1:/tmp/cvs-serv22015/PN_phpBB_14/html/modules/phpBB_14
Modified Files:
newtopic.php
Log Message:
new config vars for show_bbcode, show_smile, log_ip
Index: newtopic.php
===================================================================
RCS file: /cvsroot/pn-modules/PN_phpBB_14/html/modules/phpBB_14/newtopic.php,v
retrieving revision 1.88
retrieving revision 1.89
diff -C2 -d -r1.88 -r1.89
*** newtopic.php 14 Jan 2003 14:42:31 -0000 1.88
--- newtopic.php 21 Jan 2003 17:19:33 -0000 1.89
***************
*** 152,155 ****
--- 152,160 ----
$poster_ip=getenv(REMOTE_ADDR);
}
+ // for privavy issues ip logging can be deactivated
+ if (pnModGetVar('phpBB_14', 'log_ip') == "no") {
+ $poster_ip = "127.0.0.1";
+ }
+
$time = date("Y-m-d H:i");
***************
*** 298,307 ****
}
}
! if(pnModAvailable('pn_bbsmile')) {
// display smilies and bbcodes
$smilies_message = phpbb_insert_smiliesicons();
echo $smilies_message;
}
! if(pnModAvailable('pn_bbcode')) {
$bbcode_message = phpbb_insert_bbcodeicons();
echo $bbcode_message;
--- 303,312 ----
}
}
! if(pnModAvailable('pn_bbsmile') && pnModGetVar('phpBB_14', 'show_smile') == "yes") {
// display smilies and bbcodes
$smilies_message = phpbb_insert_smiliesicons();
echo $smilies_message;
}
! if(pnModAvailable('pn_bbcode') && pnModGetVar('phpBB_14', 'show_bbcode') == "yes") {
$bbcode_message = phpbb_insert_bbcodeicons();
echo $bbcode_message;
|
|
From: Andreas K. <la...@us...> - 2003-01-21 17:19:10
|
Update of /cvsroot/pn-modules/PN_phpBB_14/html/modules/phpBB_14
In directory sc8-pr-cvs1:/tmp/cvs-serv21713/PN_phpBB_14/html/modules/phpBB_14
Modified Files:
viewtopic.php
Log Message:
new config vars for show_bbcode, show_smile, log_ip
Index: viewtopic.php
===================================================================
RCS file: /cvsroot/pn-modules/PN_phpBB_14/html/modules/phpBB_14/viewtopic.php,v
retrieving revision 1.99
retrieving revision 1.100
diff -C2 -d -r1.99 -r1.100
*** viewtopic.php 18 Jan 2003 19:47:17 -0000 1.99
--- viewtopic.php 21 Jan 2003 17:19:06 -0000 1.100
***************
*** 311,315 ****
}
! if( pnSecAuthAction(0, 'phpBB_14::Forum', "$forum_name::", ACCESS_MODERATE) || pnSecAuthAction(0, 'phpBB_14::Category', "$cat_title::", ACCESS_MODERATE)) {
// user is allowed to see ip
--- 311,315 ----
}
! if((pnSecAuthAction(0, 'phpBB_14::Forum', "$forum_name::", ACCESS_MODERATE) || pnSecAuthAction(0, 'phpBB_14::Category', "$cat_title::", ACCESS_MODERATE)) && pnModGetVar('phpBB_14', 'log_ip') == "yes") {
// user is allowed to see ip
|
|
From: Andreas K. <la...@us...> - 2003-01-21 17:18:45
|
Update of /cvsroot/pn-modules/PN_phpBB_14/html/modules/phpBB_14
In directory sc8-pr-cvs1:/tmp/cvs-serv21315/PN_phpBB_14/html/modules/phpBB_14
Modified Files:
reply.php
Log Message:
new config vars for show_bbcode, show_smile, log_ip
Index: reply.php
===================================================================
RCS file: /cvsroot/pn-modules/PN_phpBB_14/html/modules/phpBB_14/reply.php,v
retrieving revision 1.113
retrieving revision 1.114
diff -C2 -d -r1.113 -r1.114
*** reply.php 14 Jan 2003 14:42:09 -0000 1.113
--- reply.php 21 Jan 2003 17:18:30 -0000 1.114
***************
*** 189,192 ****
--- 189,197 ----
$poster_ip=getenv(REMOTE_ADDR);
}
+ // for privavy issues ip logging can be deactivated
+ if (pnModGetVar('phpBB_14', 'log_ip') == "no") {
+ $poster_ip = "127.0.0.1";
+ }
+
$time = date("Y-m-d H:i");
***************
*** 370,379 ****
echo "<br />";
}
! if(pnModAvailable('pn_bbsmile')) {
// display smilies and bbcodes
$smilies_message = phpbb_insert_smiliesicons();
echo $smilies_message;
}
! if(pnModAvailable('pn_bbcode')) {
$bbcode_message = phpbb_insert_bbcodeicons();
echo $bbcode_message;
--- 375,384 ----
echo "<br />";
}
! if(pnModAvailable('pn_bbsmile') && pnModGetVar('phpBB_14', 'show_smile') == "yes") {
// display smilies and bbcodes
$smilies_message = phpbb_insert_smiliesicons();
echo $smilies_message;
}
! if(pnModAvailable('pn_bbcode') && pnModGetVar('phpBB_14', 'show_bbcode') == "yes") {
$bbcode_message = phpbb_insert_bbcodeicons();
echo $bbcode_message;
|
|
From: Andreas K. <la...@us...> - 2003-01-21 17:17:55
|
Update of /cvsroot/pn-modules/PN_phpBB_14/html/modules/phpBB_14
In directory sc8-pr-cvs1:/tmp/cvs-serv20937/PN_phpBB_14/html/modules/phpBB_14
Modified Files:
pninit.php
Log Message:
new config vars for show_bbcode, show_smile, log_ip
Index: pninit.php
===================================================================
RCS file: /cvsroot/pn-modules/PN_phpBB_14/html/modules/phpBB_14/pninit.php,v
retrieving revision 1.21
retrieving revision 1.22
diff -C2 -d -r1.21 -r1.22
*** pninit.php 14 Jan 2003 14:41:49 -0000 1.21
--- pninit.php 21 Jan 2003 17:17:51 -0000 1.22
***************
*** 353,356 ****
--- 353,359 ----
pnModSetVar('phpBB_14', 'post_sort_order', "ASC");
pnModSetVar('phpBB_14', 'show_html', "yes");
+ pnModSetVar('phpBB_14', 'show_bbcode', "yes");
+ pnModSetVar('phpBB_14', 'show_smile', "yes");
+ pnModSetVar('phpBB_14', 'log_ip', "yes");
// deprecated module vars
//pnModSetVar('phpBB_14', 'reply_image', "modules/$module/images/reply.gif");
***************
*** 634,638 ****
pnModDelVar('phpBB_14', 'post_sort_order');
pnModDelVar('phpBB_14', 'show_html');
! // remove former module vars as reference to old installations
pnModDelVar('phpBB_14', 'edit_image');
pnModDelVar('phpBB_14', 'reply_image');
--- 637,644 ----
pnModDelVar('phpBB_14', 'post_sort_order');
pnModDelVar('phpBB_14', 'show_html');
! pnModDelVar('phpBB_14', 'show_bbcode');
! pnModDelVar('phpBB_14', 'show_smile');
! pnModDelVar('phpBB_14', 'log_ip');
! // remove former module vars as reference to old installations
pnModDelVar('phpBB_14', 'edit_image');
pnModDelVar('phpBB_14', 'reply_image');
|
|
From: Andreas K. <la...@us...> - 2003-01-20 21:37:41
|
Update of /cvsroot/pn-modules/PN_phpBB_14/html/modules/phpBB_14/pndocs/lang/eng/manual In directory sc8-pr-cvs1:/tmp/cvs-serv17711/PN_phpBB_14/html/modules/phpBB_14/pndocs/lang/eng/manual Modified Files: index.htm Log Message: update Index: index.htm =================================================================== RCS file: /cvsroot/pn-modules/PN_phpBB_14/html/modules/phpBB_14/pndocs/lang/eng/manual/index.htm,v retrieving revision 1.3 retrieving revision 1.4 diff -C2 -d -r1.3 -r1.4 *** index.htm 26 Nov 2002 17:39:46 -0000 1.3 --- index.htm 20 Jan 2003 21:37:37 -0000 1.4 *************** *** 1,739 **** <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"> - <html> - <head> - <title>phpBB_14 Documentation v.1.7.4</title> - <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1"> - [...1145 lines suppressed...] ! self out! Always use other usernames than your ADMIN name, when playing around ! with user permissions!!</p> ! <p>We also suggest looking at the PostNuke permissions documentation :<br> ! <a href="http://sourceforge.net/docman/index.php?group_id=27927" target="_blank">http://sourceforge.net/docman/index.php?group_id=27927</a></p> ! </blockquote> ! <p>4.3 Setting up Statistics/Center block </p> ! <blockquote> ! <p>You can activate and place these blocks, using standard Phoenix Blocks administrating. ! <br> ! Create a either a side block or center block of type 'phpBB_14/pnForum Statistics'/'phpBB_14/pnForum Centerblock'. ! Configure it with the PostNuke 'Edit' feature to meet your needs.</p> ! </blockquote> ! <p> 4.4 Setting up Search Include</p> ! <blockquote> ! <p>The search routine for phpBB_14 is included in the module core and needs ! no special set-up to be used with PostNuke.</p> ! </blockquote> ! <p> </p> </body> </html> |
|
From: Andreas K. <la...@us...> - 2003-01-18 19:47:22
|
Update of /cvsroot/pn-modules/PN_phpBB_14/html/modules/phpBB_14
In directory sc8-pr-cvs1:/tmp/cvs-serv8999/PN_phpBB_14/html/modules/phpBB_14
Modified Files:
viewtopic.php
Log Message:
fix for nl2br in signature
Index: viewtopic.php
===================================================================
RCS file: /cvsroot/pn-modules/PN_phpBB_14/html/modules/phpBB_14/viewtopic.php,v
retrieving revision 1.98
retrieving revision 1.99
diff -C2 -d -r1.98 -r1.99
*** viewtopic.php 12 Jan 2003 18:01:18 -0000 1.98
--- viewtopic.php 18 Jan 2003 19:47:17 -0000 1.99
***************
*** 280,284 ****
$sig = $posterdata['pn_user_sig'];
if ($sig != ''){
! $message = eregi_replace("\[addsig]$", "<BR>_________________<BR>" . nl2br($sig), $message);
} else {
$message = eregi_replace("\[addsig]$", "", $message);
--- 280,284 ----
$sig = $posterdata['pn_user_sig'];
if ($sig != ''){
! $message = eregi_replace("\[addsig]$", "<BR />_________________<BR />$sig", $message);
} else {
$message = eregi_replace("\[addsig]$", "", $message);
|
|
From: Andreas K. <la...@us...> - 2003-01-18 16:43:54
|
Update of /cvsroot/pn-modules/PN_phpBB_14/html/modules/phpBB_14
In directory sc8-pr-cvs1:/tmp/cvs-serv9505/PN_phpBB_14/html/modules/phpBB_14
Modified Files:
adminapi.php
Log Message:
removed debug output
Index: adminapi.php
===================================================================
RCS file: /cvsroot/pn-modules/PN_phpBB_14/html/modules/phpBB_14/adminapi.php,v
retrieving revision 1.44
retrieving revision 1.45
diff -C2 -d -r1.44 -r1.45
*** adminapi.php 16 Jan 2003 19:39:47 -0000 1.44
--- adminapi.php 18 Jan 2003 16:43:49 -0000 1.45
***************
*** 1662,1666 ****
'".$cat."',
'".pnVarPrepForStore($highest)."')";
- echo $sql;
$result = $dbconn->Execute($sql);
if($dbconn->ErrorNo() != 0) {
--- 1662,1665 ----
|
|
From: Andreas K. <la...@us...> - 2003-01-18 16:24:48
|
Update of /cvsroot/pn-modules/PN_phpBB_14/html/modules/phpBB_14
In directory sc8-pr-cvs1:/tmp/cvs-serv3527/PN_phpBB_14/html/modules/phpBB_14
Modified Files:
latest.php
Log Message:
jump to correct page (if more then one)
Index: latest.php
===================================================================
RCS file: /cvsroot/pn-modules/PN_phpBB_14/html/modules/phpBB_14/latest.php,v
retrieving revision 1.13
retrieving revision 1.14
diff -C2 -d -r1.13 -r1.14
*** latest.php 8 Jan 2003 18:04:01 -0000 1.13
--- latest.php 18 Jan 2003 16:24:45 -0000 1.14
***************
*** 93,96 ****
--- 93,99 ----
// end of input checking
+ // get some enviroment
+ $posts_per_page = pnModGetVar('phpBB_14', 'posts_per_page');
+ $post_sort_order = pnModGetVar('phpBB_14', 'post_sort_order');
phpbb14_page_header($pagetype);
$page_header_included = 1;
***************
*** 190,202 ****
$cat_title = pnVarPrepForDisplay($cat_title);
$topic_replies = pnVarPrepForDisplay($topic_replies);
!
// check permission before display
if ((pnSecAuthAction(0, 'phpBB_14::Forum', "$forum_name::", ACCESS_READ))
&& (pnSecAuthAction(0, 'phpBB_14::Category', "$cat_title::", ACCESS_READ))) {
// get postername and posttime
$last_boardpost = get_last_boardpost($topic_id, 'topic');
echo "<TR BGCOLOR=\"".$GLOBALS['bgcolor3']."\">\n";
! echo "<TD WIDTH=\"50%\" onMouseOver=\"this.style.backgroundColor='".$GLOBALS['bgcolor4']."';\" onMouseOut=\"this.style.backgroundColor='".$GLOBALS['bgcolor3']."'\"><a href=\"modules.php?op=modload&name=$ModName&file=index&action=viewtopic&topic=$topic_id&forum=$forum_id\" title=\"$forum_name :: $cat_title\">$topic_title</a></TD>\n";
echo "<td>$topic_replies</td>\n";
echo $last_boardpost;
--- 193,219 ----
$cat_title = pnVarPrepForDisplay($cat_title);
$topic_replies = pnVarPrepForDisplay($topic_replies);
!
// check permission before display
if ((pnSecAuthAction(0, 'phpBB_14::Forum', "$forum_name::", ACCESS_READ))
&& (pnSecAuthAction(0, 'phpBB_14::Category', "$cat_title::", ACCESS_READ))) {
+ // get correct page for latest entry
+ if ($post_sort_order == "ASC") {
+ $hc_dlink_times = 0;
+ if (($topic_replies+1-$posts_per_page)>= 0) {
+ $hc_dlink_times = 0;
+ for ($x = 0; $x < $topic_replies+1-$posts_per_page; $x+= $posts_per_page)
+ $hc_dlink_times++;
+ }
+ $start = $hc_dlink_times*$posts_per_page;
+ } else {
+ // latest topic is on top anyway...
+ $start = 0;
+ }
+
// get postername and posttime
$last_boardpost = get_last_boardpost($topic_id, 'topic');
echo "<TR BGCOLOR=\"".$GLOBALS['bgcolor3']."\">\n";
! echo "<TD WIDTH=\"50%\" onMouseOver=\"this.style.backgroundColor='".$GLOBALS['bgcolor4']."';\" onMouseOut=\"this.style.backgroundColor='".$GLOBALS['bgcolor3']."'\"><a href=\"modules.php?op=modload&name=$ModName&file=index&action=viewtopic&topic=$topic_id&forum=$forum_id&start=$start\" title=\"$forum_name :: $cat_title\">$topic_title</a></TD>\n";
echo "<td>$topic_replies</td>\n";
echo $last_boardpost;
|