Author Topic: Image categories  (Read 3453 times)

0 Members and 1 Guest are viewing this topic.

Offline cwestcivic

  • Newbie
  • *
  • Posts: 15
    • View Profile
Image categories
« on: April 12, 2003, 12:36:51 AM »
Is there a mod or a set place in the 4Images program, that will allow my users to put images in there own file?  Like right now its set up so that when you go to a section, you see all the images posted.  I want  to be able to have it listed as each persons own section.  Ill see if I can find a demo for an example and edit this post.

Well the demo I though I could grab, isnt what I was looking for, so if your unsure of what I mean, lemme know and Ill try to explain myself further.. Thx..

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
Image categories
« Reply #1 on: April 12, 2003, 12:48:02 AM »
u can create categories that will let only "chosed" user access it.
just set permission to view category as private and then go to "edit users" -> "permissions"
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
Image categories
« Reply #2 on: April 13, 2003, 07:57:04 PM »
I believe I know what your talking about, and while you can do it manually, it can be a chore if your site is busy.

In the admin panel, you need only to create another gallery directory with the users name as the gallery name.  Then set the upload to private.

Then go to Edit User, and find that user, then chose their permissions and allow them to upload to that gallery.

I'd love to get a mod that would automate this.  If it were cgi and mysql, I could probably do it easy enough with just "if" statements amongst other things to have the script create the users directory upon activation and set the permissions to only allow that user to upload to it.  But this is PHP and Im not knowledgable enough to do this.  But if one really wanted to, you could probably grab parts from the admin control panel and insert that into the activated registered users php script to do it for you.  But thats beyond my knowledge.

Hopefully some kind soul will create a mod that will:

1. When user clicks on the activation email link, it will take them to the page saying their account is activated and
2. Create a subcategory (with the users name as the category name) in the mysql database and
3. Set the permissions of that subcatagory to only allow uploads by that user.