vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vB3 General Discussions (https://vborg.vbsupport.ru/forumdisplay.php?f=111)
-   -   moderate / authorise picture comments (https://vborg.vbsupport.ru/showthread.php?t=260553)

richy96 03-17-2011 07:02 PM

moderate / authorise picture comments
 
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 [DATE]1300472083[/DATE] at [TIME]1300472083[/TIME] ---------------

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

1 Attachment(s)
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:

Code:

if (($vbulletin->options['pc_moderation'] OR !($vbulletin->userinfo['permissions']['albumpermissions'] & $vbulletin->bf_ugp_albumpermissions['commentfollowforummoderation'])) AND !fetch_user_picture_message_perm('canmoderatemessages', $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 [DATE]1300629543[/DATE] at [TIME]1300629543[/TIME] ---------------

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


All times are GMT. The time now is 01:17 AM.

Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.

X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.00939 seconds
  • Memory Usage 1,718KB
  • Queries Executed 10 (?)
More Information
Template Usage:
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (1)bbcode_code_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (5)printthreadbit
  • (1)spacer_close
  • (1)spacer_open 

Phrase Groups Available:
  • global
  • postbit
  • showthread
Included Files:
  • ./printthread.php
  • ./global.php
  • ./includes/init.php
  • ./includes/class_core.php
  • ./includes/config.php
  • ./includes/functions.php
  • ./includes/class_hook.php
  • ./includes/modsystem_functions.php
  • ./includes/class_bbcode_alt.php
  • ./includes/class_bbcode.php
  • ./includes/functions_bigthree.php 

Hooks Called:
  • init_startup
  • init_startup_session_setup_start
  • init_startup_session_setup_complete
  • cache_permissions
  • fetch_threadinfo_query
  • fetch_threadinfo
  • fetch_foruminfo
  • style_fetch
  • cache_templates
  • global_start
  • parse_templates
  • global_setup_complete
  • printthread_start
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete