Log in

View Full Version : moderate / authorise picture comments


richy96
03-17-2011, 07:02 PM
I want my members to be able to authorise (moderate) picture comments before they appear on their profile albums

Is there an option to turn this on? (I had a good look around and can't see it - though I read vb 3.7.0 has the option to moderate picture comments)

Rich

--------------- Added 1300472083 at 1300472083 ---------------

OK I've looked a bit further at this, maybe I asked the question wrong - this is the way my site is currently working

When someone leaves picture comments the comments are by default showing up in the recipients albums for all to see

So by default they are 'approved' (the recipient gets a message in the UserCP saying 'x unread picture comments'

If the recipient marks the comment as unapproved then it does not show up in their albums any longer. In the usercp they see a message 'you have y comments awaiting approval'

What I need to do is change this so all messages received are unapproved until the recipient chooses to approve them

As always I am never sure how much of this stuff is standard vbulletin and how much is previously modded by another guy who was paid to work on my site and is no longer around

Is this behaviour down to some setting in the ACP or UCP or does it require some code changes, or is all modded code already?

cheers
Rich

richy96
03-18-2011, 05:23 PM
This is what I am seeing now

richy96
03-18-2011, 06:26 PM
Talking to myself again lol

I've found the code in picturecomment.php that controls this:

if (($vbulletin->options['pc_moderation'] OR !($vbulletin->userinfo['permissions']['albumpermissions'] & $vbulletin->bf_ugp_albumpermissions['commentfollowforummoderation'])) AND !fetch_user_picture_message_perm('canmoderatemessa ges', $pictureinfo))

There are two sets of conditions, either of which would cause the picture comments to be moderated by default and not displayed until approved - which leads me to believe there *must* be a setting for this in the ACP somewhere

Neither condition are TRUE at the moment hence comments are displayed by default

Although I can easily hack this to make it behave as I wish it to now (tried it on my test site) I would still rather prefer to find the correct setting

Rich

BirdOPrey5
03-19-2011, 05:05 PM
I believe it's in Usergroup Manager, for say Registered Users, User Album Permissions:
The setting is: Follow Picture Comment Moderation Rules

Changing this should force comments by registered users to be moderated.

richy96
03-19-2011, 05:05 PM
OK I found the option to set moderation to on for picture comments

Rich

--------------- Added 1300629543 at 1300629543 ---------------

Actually I found it under Vbulletin OPtions -> User Profile:Album Options which is the global switch apparently

It says it can also be set on a usergroup permissions level, probably where you said it is, though i haven't looked

I'm glad in a way it took a little while to get as reply and I found the code that controls it too in picturecomment.php.... as another thing i had in mind was to set moderation on for all members apart from friends wheere it is set to off - at least I can see now where to do that

Cheers
Rich