https://www.icyphoenix.com/viewtopic.php?f=26&t=2308&p=21937#p21937
-----------------------------------
offroad4fun
Sun 02 Dec, 2007 14:19

Re: Post Images In Sub-category Only
-----------------------------------
hello again ....

[quote]And this code will give an error message if user attempts an upload to a main category from the upload page drop down list.

OPEN album_upload.php

FIND
Code: [Hide] [Select]
Code: [Show]
if (empty($thiscat))
{
   message_die(GENERAL_ERROR, $lang['Category_not_exist']);
}


AFTER ADD
Code: [Hide] [Select]
Code: [Show]
if ($thiscat['cat_parent'] == 0)
{
   message_die(GENERAL_ERROR, 'Uploads not allowed in the main category<br />Please select a sub-category and try again');
}[/quote]

this also disables that u can upload a picture in your personal album ...
-> so i removed this code-part again ...

greets 
thomas


