https://www.icyphoenix.com/viewtopic.php?f=26&t=829&p=8254#p8254 ----------------------------------- Artie Tue 30 Jan, 2007 21:27 Re: Standard Unrelated Gallery In Personal Gallerys ----------------------------------- kris*, I think what is happening is that you have the group checked off as [highlight=#FFFFAA]Is Moderator[/highlight] and that is pretty much the same as checking all the permission checkboxes. If you unchecked [highlight=#FFFFAA]Is Moderator[/highlight] I think you will see the effect you desire. On another note: The code (see below) given in an above post is incorrect and should be reversed. [quote user="Artie" post="7111"][strike]This will still show the [u]Delete[/u] link for the sub-cat, but will only link to an unathorized message. [b]In code you added (above)[/b] FIND (2nd instance of) [codeblock]'" . ALBUM_PRIVATE . "'[/codeblock] REPLACE WITH [codeblock]'1'[/codeblock] OPEN [b]language_album_main.php[/b] FIND [codeblock]$lang['No_Personal_Category_admin'] = 'You are not allowed to manage your personal gallery categories';[/codeblock] AFTER ADD [codeblock]$lang['No_Personal_Category_delete'] = 'You are not allowed to delete this personal gallery category';[/codeblock] OPEN [b]album_personal_cat_admin.php[/b] FIND [codeblock]$sql = "SELECT cat_id, cat_title, cat_order FROM ". ALBUM_CAT_TABLE ." ORDER BY cat_order ASC";[/codeblock] REPLACE WITH [codeblock]$sql = "SELECT cat_id, cat_title, cat_order, cat_delete_level FROM ". ALBUM_CAT_TABLE ." ORDER BY cat_order ASC";[/codeblock] FIND [codeblock]if( $cat_found == FALSE ) { message_die(GENERAL_ERROR, 'The requested category is not existed'); }[/codeblock] AFTER ADD [codeblock]if( ($thiscat['cat_delete_level'] == 1) && ($userdata['user_level'] != ADMIN)) { include_once($phpbb_root_path . 'includes/page_header.'.$phpEx); $message = $lang['No_Personal_Category_delete']; $message .= "

" . sprintf($lang['Click_return_album_index'], '', ''); message_die(GENERAL_MESSAGE, $message); }[/codeblock][/strike][/quote]