coppermine-gallery.com/forum

Support => cpg1.4.x Support => Older/other versions => cpg1.4 miscellaneous => Topic started by: v.karailiev on August 20, 2006, 04:37:32 PM

Title: Update frontpage problem
Post by: v.karailiev on August 20, 2006, 04:37:32 PM
Hi
I noticed the number of the pictures under the album thumbnale doesn't change. I have over 50 pics in some abums, but there stays 6 pics.
After that there is an other problem. I have 4 personal galleries and when I made a new one it soesnt show in the list when i click on the personal category. The gallery is public and i can see the pictures in last uploaded section. But the thumbnail of the gallery isn't in the category.
Can someone help me?
Title: Re: Update frontpage problem
Post by: Nibbler on August 20, 2006, 04:39:39 PM
Post a link.
Title: Re: Update frontpage problem
Post by: v.karailiev on August 20, 2006, 04:41:16 PM
http://www.clip-bg.com (http://www.clip-bg.com)
Title: Re: Update frontpage problem
Post by: v.karailiev on August 20, 2006, 04:45:40 PM
http://clip-bg.com/index.php?cat=10004 (http://clip-bg.com/index.php?cat=10004)
this gallery doesn't come in the personal category, but there is 1 album with 3 pictures
Title: Re: Update frontpage problem
Post by: Nibbler on August 20, 2006, 05:40:50 PM
Edit bridge/udb_base.inc.php

find

$sql .= "WHERE ((isnull(approved) or approved='YES') AND category > " . FIRST_USER_CAT . ") $forbidden_with_icon GROUP BY category ";

change to

$sql .= "WHERE ((isnull(approved) or approved='YES') AND category > " . FIRST_USER_CAT . ") $forbidden_with_icon GROUP BY user_id ";

twice.
Title: Re: Update frontpage problem
Post by: v.karailiev on August 20, 2006, 05:56:46 PM
Thank you!
You can mark this as solved.  :)
Title: Re: Update frontpage problem
Post by: Nibbler on August 20, 2006, 06:00:44 PM
Great. This fix will be in 1.4.9.
Title: Re: Update frontpage problem
Post by: Sami on August 20, 2006, 06:24:38 PM
nice work Nibbler :)
Title: Re: Update frontpage problem
Post by: Nemesis7485 on August 24, 2006, 10:52:54 PM
Great stuff! it worked for me, too. Thanks a bunch.
Title: Re: Update frontpage problem
Post by: BulletMaster on August 31, 2006, 02:24:07 AM
worked for me too....

thank you very much :)
Title: Disregard this post, SOLVED!!!
Post by: blastreach on September 02, 2006, 03:25:51 AM
NT
Title: Re: Update frontpage problem
Post by: Nibbler on September 02, 2006, 03:33:23 AM
Main page says 94 files.
Go into user galleries and add up the number of files.
10+22+8+24+10+20 = 94.
Note that empty user galleries are not displayed.
Issue solved.
Title: Re: Update frontpage problem
Post by: blastreach on September 02, 2006, 03:47:36 AM
Quote from: Nibbler on September 02, 2006, 03:33:23 AM
Main page says 94 files.
Go into user galleries and add up the number of files.
10+22+8+24+10+20 = 94.
Note that empty user galleries are not displayed.
Issue solved.

Nibbler,

Sorry, I was too slow, just changed my previous post.  You are correct, I had a user who created a gallery, but didn't upload images.  I did a test with Admin, and it is working.  Sorry for the inconvenience.

Sean