Author Topic: How can I block categories with 0 images from showing up?  (Read 3923 times)

0 Members and 1 Guest are viewing this topic.

Offline lakeside

  • Full Member
  • ***
  • Posts: 123
    • View Profile
How can I block categories with 0 images from showing up?
« on: April 21, 2003, 06:59:38 PM »
I create a category for each user that signs up, but some users only signup so that they can vote or comment on existing photos and have no immediate desire to upload any of their photos.

Is there a way of blocking categories that have 0 images in them from showing up under there main categories something like the following:

Main Category:
User A (10 photos) - This category should show up
User B (0 photos) - This category should NOT show up
User C (3 photos) - This category should show up

Thanks,

Offline V@no

  • If you don't tell me what to do, I won't tell you where you should go :)
  • Global Moderator
  • 4images Guru
  • *****
  • Posts: 17.849
  • mmm PHP...
    • View Profile
    • 4images MODs Demo
How can I block categories with 0 images from showing up?
« Reply #1 on: April 21, 2003, 07:04:50 PM »
but then only admin will be able upload in there, right?
Your first three "must do" before you ask a question:
Please do not PM me asking for help unless you've been specifically asked to do so. Such PMs will be deleted without answer. (forum rule #6)
Extension for Firefox/Thunderbird: Master Password+    Back/Forward History Tweaks (restartless)    Cookies Manager+    Fit Images (restartless for Thunderbird)

Offline lakeside

  • Full Member
  • ***
  • Posts: 123
    • View Profile
How can I block categories with 0 images from showing up?
« Reply #2 on: April 24, 2003, 03:01:30 AM »
Actually, I was thinking that only the person with permission to upload into that private directory would be able to.

So, only the people that I assign permissions to upload into those directories can do so, (as well as the admin of course).  Then once there is one photo posted, the category should be visible by everyone again.

Thats my thoughts on it.

Offline V@no

  • If you don't tell me what to do, I won't tell you where you should go :)
  • Global Moderator
  • 4images Guru
  • *****
  • Posts: 17.849
  • mmm PHP...
    • View Profile
    • 4images MODs Demo
How can I block categories with 0 images from showing up?
« Reply #3 on: April 24, 2003, 04:03:02 PM »
I dont think that possible to do withough hardcore modifications, (might be easier with MPC mod)
Your first three "must do" before you ask a question:
Please do not PM me asking for help unless you've been specifically asked to do so. Such PMs will be deleted without answer. (forum rule #6)
Extension for Firefox/Thunderbird: Master Password+    Back/Forward History Tweaks (restartless)    Cookies Manager+    Fit Images (restartless for Thunderbird)