Resources

My Agape try

Your Agape try


Support Forum

You must be logged in to post Login Register

Search 
Search Forums:


 




Comments count on Dashboard goes zero after installation

UserPost

11:16 am
November 19, 2010


gene91

Member

posts 4

1

I believe this is a bug, but not quite sure about it.

In a usual wordpress blog, users without comments moderation privilege would see comments count in black on dashboard, while admins would see a linkable comments count.

But in a wordpress blog equipped with RoleScoper, Dashboard would display "0 comments" for non-privileged users.

Hope this fixed soon.

8:29 am
November 25, 2010


gene91

Member

posts 4

2

Any people encountering the same problem?

9:14 am
November 25, 2010


Kevin

Admin

posts 2503

3

You can restore default WP behavior by adding the following code to wp-config.php, above the "stop editing" line:

define( 'SCOPER_NO_COMMENT_FILTERING', true );

This provision is new in Role Scoper 1.3.9.

8:25 pm
November 25, 2010


gene91

Member

posts 4

4

Thanks, Kevin.

The option you provided makes some sense.

But this is not exactly what I'm looking for. I may haven't stated my point clearly. I want a proper handling of the comments by RoleScoper as setting the option you provided would result in WordPress displaying comments count and recent commentm(that displays the title of the post and the comment detail) that is out of the user's reading privilege, i.e. see that comments count that is in a category the user doesn't have permission to read.

What I'm looking forward to is a proper displaying of comments counts and recent comments on the dashboard of wp-admin.

Besides, I'm not saying that you should fix this how soon. It would be your decision. But I hope to confirm this defect of RS with you if this is really RS's problem or I would be as pleasant if you point out that this is my own problem.

1:07 pm
November 26, 2010


Kevin

Admin

posts 2503

5

Within the wp-admin backend, Role Scoper is designed to display comments which the logged user can moderate. Modifying it to instead display all comments for readable posts would not be a trivial change. I could provide a quote to develop that functionality on a consulting basis, but otherwise do not plan to support it.

8:05 pm
November 26, 2010


gene91

Member

posts 4

6

If that would be a substantial work, I would understand that if you don't plan to modify that.

However, by default, WordPress displays a linkable count when the user has permission to moderate and displays the count in black which does not link anywhere otherwise. And role scoper is changing that behavior.

Thank you for all your replies.

8:51 pm
November 26, 2010


Kevin

Admin

posts 2503

7

In my test installation (without the define statement), the "Right Now" comment count matches comments that can be moderated by the logged user, and links to the Moderate Comments listing. If you are seeing a different result, please explain your role definitions, role assignments and restrictions (if any) so I can recreate the symptoms.

If you need default behavior, apply the define statement I provided for you. Is there a concern that is not working?


About the Agapetry forum

Currently Online:

10 Guests

Maximum Online: 150

Forums:

Groups: 2

Forums: 7

Topics: 1246

Posts: 5654

Members:

There are 1257 members

There are 1 guests


Kevin has made 2503 posts

Top Posters:

metal450 - 178

Ragnar - 108

YikYak - 70

whiteorb - 49

Daisy - 35

Administrator: Kevin | Moderators: Kevin