Blog Comment Section

Is the comment section on the blog module different than on the other Boonex modules such as photos and videos?  On a modified 7.1.4 site, the comment section is working for Standard membership level (as set in the membership actions) for photos and videos but the comment section does not appear on blogs for Standard members and comments left by others do not appear as well.  I was under the impression that the same comment "engine" was use across the entire Dolphin site.

 

Note: Dolphin membership actions does not have separate comment allowance for each module, it is allow comments or not allow comments that is applied to all sections, photos, videos, files, etc.

 

Note II: No modification has been done to the Blog module's files.

Geeks, making the world a better place
Quote · 10 Aug 2014

I do not use blogs - but the only other way that I know of tostop someone from leaving a comment is with privacy groups. Do blogs have privacy groups?

caredesign.net
Quote · 10 Aug 2014

 

I do not use blogs - but the only other way that I know of tostop someone from leaving a comment is with privacy groups. Do blogs have privacy groups?

I think that is some confusion from my post.  The problem is that the comment editor/input textarea, or even comments left by other members that are not Standard members, are not appearing on the blog module for Standard members, yet, the comment textarea is showing for Standard members (standard membership meaning the default standard membership level created when one installs Dolphin); the comment areas are showing for videos and photos for Standard.  Only the blog section is not loading for Standard members.  I am trying to determine what can cause this problem, I have not made changes in the blog module and I have not made changes in the membership actions code.  Why would the comment section appear for videos and photos and not for the blog module?

 

Note: even on a post created by a Standard membership member that has allow to leave comments set to public, Standard members can not see the textarea and can not see any comments left by other members.

Geeks, making the world a better place
Quote · 11 Aug 2014

It works OK on my site geek_girl.

Standard member can view and post, (edit own) comments on Blog.

Dolphin ver.7.1.4

Regards

Mayki

"When things get tough the tough get going..."
Quote · 11 Aug 2014

Oh well, I will look at the four or five scripts I have modified to see if there is anything there.  I would think that if those code changes stopped blog comments from working it would have stopped videos and photos comments from working as well because I thought they all used the same code for comments.

Geeks, making the world a better place
Quote · 11 Aug 2014

I remember a time when you were messing around with the privacy groups. Maybe something you did there?

caredesign.net
Quote · 11 Aug 2014

 

I remember a time when you were messing around with the privacy groups. Maybe something you did there?

No, this was for a different site and I have been working with memberships.  Why it would break just blogs and not videos and photos is what I don't understand.  Unless Blogs calls the comment code differently than video and photo modules.

Geeks, making the world a better place
Quote · 11 Aug 2014

Some modules (including Blogs) have custom permission checking for comments.

Have a look at modules/boonex/blogs/classes/BxBlogsCmts.php file to see custom checks.

Rules → http://www.boonex.com/terms
Quote · 16 Aug 2014

 

Some modules (including Blogs) have custom permission checking for comments.

Have a look at modules/boonex/blogs/classes/BxBlogsCmts.php file to see custom checks.

I am still trying to determine why this is happening with standard accounts.  It may well be the installation and I am thinking of installing a test site to see.

 

I renamed BxBlogsCmts.php and when I went to Blogs with the Standard account, I got no error message and the blog post loaded without the comment section.  In other words, BxBlogsCmts.php was never called.  When visiting with the created membership account, I got an error message that BxBlogsCmts.php could not be found; I should have gotten that message with the Standard account.

 

My question is does anyone have the flowchart for loading the comments section for blogs so I can track down where this is failing?

Geeks, making the world a better place
Quote · 19 Aug 2014

No one with an ideal on the flowchart of loading the Blogs Comment section?

Geeks, making the world a better place
Quote · 21 Aug 2014

 

I renamed BxBlogsCmts.php and when I went to Blogs with the Standard account, I got no error message and the blog post loaded without the comment section.  In other words, BxBlogsCmts.php was never called.  When visiting with the created membership account, I got an error message that BxBlogsCmts.php could not be found; I should have gotten that message with the Standard account.

Look at the code below:

    function getCommentsBlock()
    {
        require_once($this->_oConfig->getClassPath() . 'BxBlogsCmts.php');
        ...

BxBlogsCmts.php is always used, despite the membership level of user's account.

Maybe there is something else, for example with page blocks, maybe somehow comments page block is shown for some members with special membership level only.

Rules → http://www.boonex.com/terms
Quote · 31 Aug 2014

 

I renamed BxBlogsCmts.php and when I went to Blogs with the Standard account, I got no error message and the blog post loaded without the comment section.  In other words, BxBlogsCmts.php was never called.  When visiting with the created membership account, I got an error message that BxBlogsCmts.php could not be found; I should have gotten that message with the Standard account.

Look at the code below:

    function getCommentsBlock()
    {
        require_once($this->_oConfig->getClassPath() . 'BxBlogsCmts.php');
        ...

BxBlogsCmts.php is always used, despite the membership level of user's account.

Maybe there is something else, for example with page blocks, maybe somehow comments page block is shown for some members with special membership level only.

Rules → http://www.boonex.com/terms
Quote · 31 Aug 2014
 
 
Below is the legacy version of the Boonex site, maintained for Dolphin.Pro 7.x support.
The new Dolphin solution is powered by UNA Community Management System.