HackerOne users: Testing against this community violates our program's Terms of Service and will result in your bounty being denied.
Please upgrade here. These earlier versions are no longer being updated and have security issues.

[RESOLVED] Problem with Tapatalk, a discussion hasn't any comment.

Hello,

Last week we had a problem with Tapatalk and Vanilla.

At first, we have Vanilla built in Wordpress multisite.

When we create a new post, in Wordpress, vanilla creates a new discussion too. When an user tries to get into a discussion without comments, an error ocurred.

You can resolve this problem with if...else condition in MbqRdEtForumPost.php. We add the next code:

if($oExttMbqDiscussionController->Discussion->CountComments > 1){ $oMbqDataPage = $this->getObjsMbqEtForumPost($objsStdForumPost, $mbqOpt); $oMbqDataPage->datas = array_merge(array($oMbqEtForumTopic->oDummyFirstMbqEtForumPost), $oMbqDataPage->datas); } else { $oMbqDataPage->datas = array_merge(array($oMbqEtForumTopic->oDummyFirstMbqEtForumPost), $oMbqDataPage->datas); }

:) I wish the code be useful.

R_Jhgtonight

Comments

  • K17K17 Losk Service - losk.fr Paris, France ✭✭✭

    Tapatalk haven't any disscussion for me, but it was correctly configured. I'm using V2.1.1

Sign In or Register to comment.