Recent Posts Block Won't Display

Starminder - June 6, 2009 - 12:11
Project:phpBBforum Integration module
Version:6.x-2.0-beta4
Component:Code
Category:bug report
Priority:normal
Assigned:Unassigned
Status:closed
Description

It was working in B3, now it's gone...

#1

vb - June 6, 2009 - 13:02

Thanks, it is from 3.05 broken lines in phpbb_api_recent.php

replace in lines 333, 343
$user->data['user_lastvisit']
to
$user_post_time

WHERE p.post_time > ' . $user_post_time . "
$m_approve_fid_sql
" . ((sizeof($ex_fid_ary)) ? ' AND ' . $db->sql_in_set('p.forum_id', $ex_fid_ary, true) : '') . "
$sql_sort";
$field = 'post_id';
}
else
{
$sql = 'SELECT t.topic_id
FROM ' . TOPICS_TABLE . ' t
WHERE t.topic_last_post_time > ' . $user_post_time . '

#2

Agent X20 - June 7, 2009 - 05:35

The block is displaying again which is great. Anyone else missing the post titles? I have the icons (both), author and forum but not the post title. I'll try a clean install and see if that solves it.

(I've done a manual patch of the change file and the version).

#3

Agent X20 - June 7, 2009 - 20:55

I've worked out what it's doing - it's using the post title rather than the thread title and because most of my database's posts are replies without a title it's naturally blank. This block appears to be posting the n newest posts possibly from the same thread so in fact isn't all that useful to my mind.

I don't know if because my database is a recent PHPBB2 conversion to PHPBB3 3.05 that it might be a little different...

The Latest Topic Posts block looks to be much more useful for my needs i.e. most recently updated threads.

#4

Starminder - August 10, 2009 - 17:52
Status:active» reviewed & tested by the community

This was fixed awhile ago..

#5

Starminder - October 30, 2009 - 13:39
Status:reviewed & tested by the community» fixed

#6

System Message - November 13, 2009 - 13:40
Status:fixed» closed

Automatically closed -- issue fixed for 2 weeks with no activity.

 
 

Drupal is a registered trademark of Dries Buytaert.