WebmasterSite.net: PHP scripts to enable your creativity
WSN Links PHP Directory Software
PHP Scripts Webmaster Links Support Forums

Register | Forgot Password

Member Album Subcategories
edit removes them

Version: 2.3
printPrint


Member Album Subcategories
Jumpin Jack
Member

Usergroup: Customer
Joined: Jan 13, 2005
Total Topics: 21
Total Posts: 47
Posted 02/14/06 - 05:08 AM:
quote post
#1
Once a category is created under Member Albums and is then edited, the category is no longer listed under the members album. I noted that the parent category is TOP LEVEL when the category is edited. Is there a way to fix this without turning off the CATSELECTOR
Paul
Administrator
Avatar

Usergroup: Administrator
Joined: Dec 21, 2001
Location: Northern California
Total Topics: 55
Total Posts: 6023
Posted 02/22/06 - 12:37 PM:
quote post
#2
Upload the attached fix.

Attached Files:
edit.php
(64 KB, 20 downloads)

"Do things you love doing, because then it ain't work. Don't do something you don't really enjoy, because you're never going to work hard enough at it." - Bob Young, founder of Red Hat
Jumpin Jack
Member

Usergroup: Customer
Joined: Jan 13, 2005
Total Topics: 21
Total Posts: 47
Posted 02/23/06 - 08:55 AM:
quote post
#3
Thanks

Now when a categories is moved from one parent to another and then switched back, the amount of {CATNUMIMAGES} for that category increases. The amount of images in the parent is now -1

Example

Joe's Album has 2 categories (apples, oranges) Category Apples contains 1 photo. Oranges contains 0 photos. When I edit Apples category and move it to Oranges, everthing is fine. If I then switch Apples back to Joe's Album parent, Apples now says it has 4 photos in it and Oranges says it has -1 images


Regenerating the counters doesnt fix this



Edited by Jumpin Jack on 02/23/06 - 09:03 AM
Paul
Administrator
Avatar

Usergroup: Administrator
Joined: Dec 21, 2001
Location: Northern California
Total Topics: 55
Total Posts: 6023
Posted 03/04/06 - 08:18 PM:
quote post
#4
Fixed.

"Do things you love doing, because then it ain't work. Don't do something you don't really enjoy, because you're never going to work hard enough at it." - Bob Young, founder of Red Hat
Search thread for
Download thread as


You don't have permission to post.

Please login or register.

   
 
© 2008 Paul Knierim. All rights reserved.