Multiple Galleries, same userlist? Multiple Galleries, same userlist?
 

News:

cpg1.5.48 Security release - upgrade mandatory!
The Coppermine development team is releasing a security update for Coppermine in order to counter a recently discovered vulnerability. It is important that all users who run version cpg1.5.46 or older update to this latest version as soon as possible.
[more]

Main Menu

Multiple Galleries, same userlist?

Started by Kinsey, April 27, 2005, 09:44:17 PM

Previous topic - Next topic

0 Members and 2 Guests are viewing this topic.

Kinsey

I believe this may be the right gallery?  I'm not sure.

I'd like to split up gallery because the category list is far too large and is taking forever to load.  So I'd like to split it into four separate galleries, but have it so that my members can view all the galleries using one username that they have.  Is this possible?

Joachim Müller

why have all categories in the root? Categories can be nested, just create your 4 main categories (similar as if you would split your gallery into 4) and move the other categories into those 4 "master categories". For details, post a link to your site.

Joachim

Kinsey

Well the problem is with so many categories that we have, the loading time for the category page is a horrible wait, and it takes forever especially when you need to add multiple categories at a time, and you're waiting for it to load.

The link is here:

http://www.thinkimpretty.org/iconic/gallery

Joachim Müller

You have over-structurized your gallery. There's no point in having so many categories with so few albums and actual pics. Only create categories if you need then, not in advance. The cat page is not the issue, it loads pretty fast, but your whole setup appears to be messed up, I can't see any pics.

Tranz

I can't see the pics in the gallery either. However, I can view the images directly. That would seem to indicate an error in hotlink protection setup. When I turned off referer info, I was able to view the images within the gallery.

You need to add your domain to the whitelist.

Kinsey

It's structured like that because we were in the process of adding more pictures, and so that it's more organized.  We can't just have one category, and then all the albums under that persons category, because then it's not very organized if they have a lot of albums.  It's when we go to the add category page in the admin menu that it takes forever to load.

And as far as the picture issue, it's been addressed in this thread but so far none of the answers have seemed to be able to resolve it.  Hotlinking is currently disabled, and as far as referrer issue, I'm not sure what that is?

We'd like to split up the gallery anyway into different ones, which was part of the reason for my initial question, is it possible to have four different galleries, but same member access list?

Nibbler

Install them in the same database but with different table prefixes. Then edit the include/init.inc.php for 3 of the galleries, so

$CONFIG['TABLE_USERS']                = $CONFIG['TABLE_PREFIX']."users";

points to the same user table for all the different instances of coppermine.

Kinsey

Quote from: Nibbler on April 30, 2005, 03:18:58 PM
Install them in the same database but with different table prefixes. Then edit the include/init.inc.php for 3 of the galleries, so

$CONFIG['TABLE_USERS']                = $CONFIG['TABLE_PREFIX']."users";

points to the same user table for all the different instances of coppermine.

What exactly do I have it say?  Because I keep getting errors.

Like:

$CONFIG['TABLE_USERS']                = $CONFIG['actors_users']."users";

?

Nibbler

I think this solution isn't going to work for you, sorry. You need some php/mysql knowledge or you will hit other problems.

Kinsey

Quote from: Nibbler on May 11, 2005, 11:52:41 AM
I think this solution isn't going to work for you, sorry. You need some php/mysql knowledge or you will hit other problems.

I'm familiar with php/mysql, I was simply asking which part of the code to edit.

Kinsey

Someone I know helped me out, so this thread is finished.