PhotoPost Community

PhotoPost Community (http://www.photopost.com/forum/)
-   Bugs From 1.0.0 (http://www.photopost.com/forum/bugs-1-0-0/)
-   -   User created sub-category problems (http://www.photopost.com/forum/bugs-1-0-0/117273-user-created-sub-category-problems.html)

Tom M January 11th, 2005 04:31 PM

User created sub-category problems
 
I've run into 2 separate problems.
  1. I have the user created category set with an owner, open for images "yes" and other users to upload "no". However non category owners are allowed to upload images.

  2. After deleting the invalid upload via the ACP the last upload link stiull shows the invalid (now deleted) upload. As expected, this generates and error message when clicked on.

    NOTE: Updating the counters took care of item #2 for now. However it seems like it should be cleared when the delete is done.

I looked around a bit but didn't notice any fixes that were already posted.

rbl January 11th, 2005 05:43 PM

Re: User created sub-category problems
 
Tom, I think issue #2 is related to a bug I've reported. Try Brian's solution in this thread and see if it works.

As for #1, check carefully all permissions. See if it isn't inheriting permissions from the parent category. I've tested that feature with a lot of users on my test site with zero problems.

Brian January 11th, 2005 06:11 PM

Re: User created sub-category problems
 
1). Please try the fix posted in this thread and see if it helps.
http://www.vbadvanced.com/forum/showthread.php?t=4192


2). Try looking in your forum/admincp/vba_gallery_admin.php file for this code:
Code:

Content visible to verified customers only.
Replace it with this:
Code:

Content visible to verified customers only.
And that should take care of the problem.

Tom M January 11th, 2005 07:08 PM

Re: User created sub-category problems
 
I had already applied the fix listed in #1 as a preventive measure. I never tested it though - should have mentioned that. The parent category permissions also deny create capability.

Parent Category
Quote:

Category is Open for Images: No
Category is Open for Posts: No

Allow Other Users to View Category: No
Allow Other Users to Upload to Category: No
Allow Other Users to Reply to Images: No
Allow Other Users to Rate Images: No
Sub-Category
Quote:

Category is Open for Images: Yes
Category is Open for Posts: Yes

Allow Other Users to View Category: Yes
Allow Other Users to Upload to Category: No
Allow Other Users to Reply to Images: Yes
Allow Other Users to Rate Images: Yes
The way I currently have it set up the Quick Upload doesn't show for unregistered users - it does for registered users.

Tom M January 12th, 2005 09:59 AM

Re: User created sub-category problems
 
Any other ideas or would it be best to submit a ticket?

If RC3 is just around the corner I could wait for that as well as the gallery isn't that busy for me at the moment.

PS - I was originally going to post this thread in this forum but didn't have permission to do so.

Brian January 12th, 2005 10:21 AM

Re: User created sub-category problems
 
Ahhh, didn't realize that you were talking about the quick upload form. If you look in your browseimages.php file for this code:
Code:

Content visible to verified customers only.
And replace it with this:
Code:

Content visible to verified customers only.
Then that should prevent the quick upload form from being displayed to those users.

Tom M January 12th, 2005 11:41 AM

Re: User created sub-category problems
 
That got it. Thanks.


All times are GMT -5. The time now is 05:59 PM.

Powered by vBulletin® Version 3.8.1
Copyright ©2000 - 2013, Jelsoft Enterprises Ltd.
Search Engine Friendly URLs by vBSEO 3.2.0


1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97