1
Montag
Re: XOOPS vs phpBB vs IPB vs VBulletin
  • 2004/8/3 15:14

  • Montag

  • Just popping in

  • Posts: 9

  • Since: 2004/2/14


What does it mean "built in file-sharing"?



2
Montag
Re: release of 2.0.7 / 2.1 / 2.2 ?
  • 2004/5/31 14:23

  • Montag

  • Just popping in

  • Posts: 9

  • Since: 2004/2/14


What about the Xoops 2.0.7 RC1 released 4 days ago on SourceForge?



3
Montag
Re: Can someone make a forum directly associated with bug FIXES?
  • 2004/2/14 9:44

  • Montag

  • Just popping in

  • Posts: 9

  • Since: 2004/2/14


IMO the "Bug report" forum is the best place where to put bug fixes, but I understand it could be hard to choose where security fixes should go...
Mmm... Yes, probably a forum dedicated to fixes could be useful.



4
Montag
[NewBB Fix] Search in NewBB
  • 2004/2/14 9:28

  • Montag

  • Just popping in

  • Posts: 9

  • Since: 2004/2/14


In XOOPS 2.0.6, when you do a search using the search script in the NewBB module, the results don't point to the searched posts, but only to the relative topics.

To correct this behaviour, edit /modules/newbb/search.php:
1) Change line 72:
$query 'SELECT u.uid,f.forum_id, p.topic_id, u.uname, p.post_time,t.topic_title,t.topic_views,t.topic_replies,f.forum_name FROM '.$xoopsDB->prefix('bb_posts').' p, '.$xoopsDB->prefix('bb_posts_text').' pt, '.$xoopsDB->prefix('users').' u, '.$xoopsDB->prefix('bb_forums').' f,'.$xoopsDB->prefix('bb_topics').' t';

with:
$query 'SELECT u.uid,f.forum_id, p.topic_id, u.uname, p.post_id,p.post_time,t.topic_title,t.topic_views,t.topic_replies,f.forum_name FROM '.$xoopsDB->prefix('bb_posts').' p, '.$xoopsDB->prefix('bb_posts_text').' pt, '.$xoopsDB->prefix('users').' u, '.$xoopsDB->prefix('bb_forums').' f,'.$xoopsDB->prefix('bb_topics').' t';

2) Change line 152:
$xoopsTpl->append('results', array('forum_name' => $myts->makeTboxData4Show($row['forum_name']), 'forum_id' => $row['forum_id'], 'topic_id' => $row['topic_id'], 'topic_title' => $myts->makeTboxData4Show($row['topic_title']), 'topic_replies' => $row['topic_replies'], 'topic_views' => $row['topic_views'], 'user_id' => $row['uid'], 'user_name' => $myts->makeTboxData4Show($row['uname']), 'post_time' => formatTimestamp($row['post_time'], "m")));

with:
$xoopsTpl->append('results', array('forum_name' => $myts->makeTboxData4Show($row['forum_name']), 'forum_id' => $row['forum_id'], 'topic_id' => $row['topic_id'], 'topic_title' => $myts->makeTboxData4Show($row['topic_title']), 'topic_replies' => $row['topic_replies'], 'topic_views' => $row['topic_views'], 'post_id' => $row['post_id'], 'user_id' => $row['uid'], 'user_name' => $myts->makeTboxData4Show($row['uname']), 'post_time' => formatTimestamp($row['post_time'], "m")));

Then edit /modules/newbb/templates/newbb_searchresults.html and change line 25:
<td class="odd"><a href="viewtopic.php?topic_id=<{$results[i].topic_id}>&forum=<{$results[i].forum_id}>"><{$results[i].topic_title}></a></td>

with:
<td class="odd"><a href="viewtopic.php?post_id=<{$results[i].post_id}>&topic_id=<{$results[i].topic_id}>&forum=<{$results[i].forum_id}>#forumpost<{$results[i].post_id}>"><{$results[i].topic_title}></a></td>




5
Montag
[NewBB Fix] Forum posts in a user profile
  • 2004/2/14 9:12

  • Montag

  • Just popping in

  • Posts: 9

  • Since: 2004/2/14


In the user profile (Xoops 2.0.6) are listed the links to the forum posts made by that user.
When you click on them you'll go to the relative posts only if the threads are on a single page (or the posts are on the first page of a longer thread).

This can be fixed editing /modules/newbb/include/search.inc.php and simply changing the line 53:
$ret[$i]['link'] = "viewtopic.php?topic_id=".$myrow['topic_id']."&forum=".$myrow['forum_id']."#forumpost".$myrow['post_id'];

with this one:
$ret[$i]['link'] = "viewtopic.php?post_id=".$myrow['post_id']."&topic_id=".$myrow['topic_id']."&forum=".$myrow['forum_id']."#forumpost".$myrow['post_id'];




6
Montag
Re: '...' are added in some profile fields
  • 2004/2/14 8:40

  • Montag

  • Just popping in

  • Posts: 9

  • Since: 2004/2/14


Hi onokazu,

What if it happens even for values shorter than 255 chars?

If you look at my profile, you'll see that it happens on my "sig" and "extra" values.

EDIT
Thre's a "fix" in this thread.




TopTop



Login

Who's Online

225 user(s) are online (150 user(s) are browsing Support Forums)


Members: 0


Guests: 225


more...

Donat-O-Meter

Stats
Goal: $100.00
Due Date: Apr 30
Gross Amount: $0.00
Net Balance: $0.00
Left to go: $100.00
Make donations with PayPal!

Latest GitHub Commits