2017-05-19, 09:42 PM
Thx for great plugin. I'm not sure if it was intended, but when you click on last post, you will be redirected to the beginning of topic (instead of last post).
Proposed solution for this is replacing some code starting at 64 line of inc/plugins/dvz_stream/streams/posts.php
to:
Please consider this fix in next release if you like it.
Proposed solution for this is replacing some code starting at 64 line of inc/plugins/dvz_stream/streams/posts.php
$streamEvent->addData([
'fid' => $row['fid'],
'name' => $forums[ $row['fid'] ]['name'],
'prefix' => $prefixes[ $row['prefix'] ] ?? null,
'tid' => $row['tid'],
'subject' => $row['subject'],
]);
to:
$streamEvent->addData([
'fid' => $row['fid'],
'name' => $forums[ $row['fid'] ]['name'],
'prefix' => $prefixes[ $row['prefix'] ] ?? null,
'tid' => $row['tid'],
'subject' => $row['subject'],
'pid' => $row['pid'],
]);
Please consider this fix in next release if you like it.