Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
DVZ Stream not redirecting to last post + suggested solution
#1
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

$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.
Reply
#2
Thanks, it will be fixed in the next release.
devilshakerz.com/pgp (DF3A 34D9 A627 42E5 BC6A 6750 1F2F B8AA 28FF E1BC) ▪ keybase.io/devilshakerz
Reply
#3
thank you
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)