Allow Access Mode Override

12 years 11 months ago #163442 by houfton
Allow Access Mode Override was created by houfton
I was having problems with allowing Moderators to add images to a user's gallery from the frontend. The upload form seemed to be working but no images were uploaded. (All was fine if logged in as the user.)

I spent hours trying to work it out and finally found that I needed to set the Allow Access Mode Override parameter to "Yes" to make it work. I had set it to "No" because I did not want to allow users to override the default access mode setting for gallery tab viewing.

This seems odd because you would think that the Allow Moderator FE Uploads would be the relevant parameter and that was set to "Yes".

Should "pgallowaccessmodeoverride" in the code below actually be "pgAllowModeratorFrontEndUploads" in cb.profilegallery.php (line 928-ish)?

[code type=php-brief]if (($isME || ($tabparams["pgallowaccessmodeoverride"] && $isModerator)) AND isset($_POST[$this->_getPagingParamName("pgitemtitle")])) {[/code]

Richard

Please Log in to join the conversation.

Moderators: beatnantkrileon
Time to create page: 0.144 seconds

Facebook Twitter LinkedIn