PhotoPost Photo Gallery Sales PhotoPost Sales Toll Free Phone Number
Mon-Fri 9am-4pm EST
  PhotoPost Photo Sharing Photo Gallery    Visualize community tm
| | | | | | | | |
Old January 11th, 2005, 04:31 PM   #1 (permalink)
Member
 
Join Date: Jan 2004
Posts: 457
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.
Tom M is offline  
Old January 11th, 2005, 05:43 PM   #2 (permalink)
rbl
Senior Member
Verified Customer
 
Join Date: Aug 2003
Location: Portugal
Posts: 492
Send a message via AIM to rbl Send a message via MSN to rbl
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.
rbl is offline  
Old January 11th, 2005, 06:11 PM   #3 (permalink)
Brian
Guest
 
Posts: n/a
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.
 
Old January 11th, 2005, 07:08 PM   #4 (permalink)
Member
 
Join Date: Jan 2004
Posts: 457
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 is offline  
Old January 12th, 2005, 09:59 AM   #5 (permalink)
Member
 
Join Date: Jan 2004
Posts: 457
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.
Tom M is offline  
Old January 12th, 2005, 10:21 AM   #6 (permalink)
Brian
Guest
 
Posts: n/a
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.
 
Old January 12th, 2005, 11:41 AM   #7 (permalink)
Member
 
Join Date: Jan 2004
Posts: 457
Re: User created sub-category problems

That got it. Thanks.
Tom M is offline  
 


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools
Display Modes Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
Descriptions are not created when new category is created.(FIXED) rcsmith Classifieds Bug Reports 2 August 30th, 2005 01:13 PM
Why are folders created for EACH user? Steve_C Photopost Pro How Do I...? 2 February 25th, 2005 04:42 PM
User Created Categories ConqSoft Bugs From 1.0.0 16 December 16th, 2004 10:19 AM
User Created Sub-Categories - Category Settings ConqSoft Bugs From 1.0.0 0 December 13th, 2004 10:54 PM


All times are GMT -5. The time now is 08:23 AM.

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