beduino
"myXOOPs"-Neuling
Gepostet am:17.09.2010 21:44
$query = 'SELECT'.
' t.topic_id, t.topic_replies, t.forum_id, t.topic_title, t.topic_views, t.type_id, t.topic_time, t.topic_poster, t.poster_name,'.
//' f.forum_name'.
' f.forum_name, f.forum_last_post_id'.
' FROM ' . $GLOBALS["xoopsDB"]->prefix('bb_topics') . ' AS t '.
' LEFT JOIN ' . $GLOBALS["xoopsDB"]->prefix('bb_forums') . ' AS f ON f.forum_id=t.forum_id'.
' WHERE 1=1 ' .
foreach ($rows as $arr) {
$topic_page_jump = '';
$topic['topic_subject'] = empty($type_list[$arr["type_id"]])?"":"[".$type_list[$arr["type_id"]]."] ";
$topic['forum_id'] = $arr['forum_id'];
//$topic['forum_name'] = $myts->htmlSpecialChars($arr['forum_name']);
//$topic['id'] = $arr['topic_id'];
$topic['forum_name'] = $myts->htmlSpecialChars($arr['forum_name']);
$topic['forum_last_post_id'] = $arr['forum_last_post_id'];
// $seo_forum_url = '<a href="'.XOOPS_URL.'/modules/newbb/viewforum.php?forum='.$topic['forum_id'].'">'.$topic['forum_name'].'</a>';
$seo_url = '<a href="'.XOOPS_URL.'/modules/newbb/viewtopic.php?post_id='.$topic['forum_last_post_id'].'">'.$topic['title'].'</a>';
' f.forum_name, f.forum_last_post_id'.
$topic['forum_name'] = $myts->htmlSpecialChars($arr['forum_name']);
$topic['forum_last_post_id'] = $arr['forum_last_post_id'];
$seo_url = '<a href="'.XOOPS_URL.'/modules/newbb/viewtopic.php?post_id='.$topic['forum_last_post_id'].'">'.$topic['title'].'</a>';
Hello Bleekk,
In fact the block with trouble [recent topics, not recent posts] is the original block
Setup below
Thank you - again
Hello Bleekk,
I download from here
http://svn.myxoops.org/wsvn/cbb/trunk/?op=dl&rev=0&isdir=1
Any other download link?
Thank you!
beduino ** BTW - your theme is a wonderful work!
Forum | Thema | Antworten | Views | Letzter Beitrag |
---|---|---|---|---|
OffOffTopic | [Wichtig] Übernahme myXOOPS | 0 | 491 | 11.12.2023 18:57 alfred |
Die Installation und Administration von XOOPS 2.5.X | [Offen] Upgrade 2.5.11 | 3 | 2202 | 07.05.2023 07:03 Goffy |