coppermine-gallery.com/forum

Support => cpg1.4.x Support => Older/other versions => cpg1.4 bridging => Topic started by: daklay on January 20, 2006, 12:20:33 AM

Title: Link two gallerys
Post by: daklay on January 20, 2006, 12:20:33 AM
I got a site with two gallerys on it. And, it sorta gets annoying for the members to sign up for the forum, gallery 1, gallery 2, etc etc etc

What i'm wondering is, how do i link the users of two gallerys

(example, you sign up for the one, and it works for the otherone)
Title: Re: Link two gallerys
Post by: Nibbler on January 20, 2006, 09:56:49 AM
Bridge both galleries to the forum.
Title: Re: Link two gallerys
Post by: daklay on January 20, 2006, 06:57:10 PM
Any way I can bride them, without bridging them with the forum?
Anyways, I got vbulletin 3.5.3
Title: Re: Link two gallerys
Post by: Joachim Müller on January 20, 2006, 07:55:08 PM
if both galleries reside in the same database (and differ only by prefix), you should be able to link them together by editing include/init.in.php and modifying$CONFIG['TABLE_USERGROUPS'] = $CONFIG['TABLE_PREFIX'].'usergroups';and$CONFIG['TABLE_USERS']      = $CONFIG['TABLE_PREFIX'].'users'; - replace $CONFIG['TABLE_PREFIX']with the prefix of the other gallery's prefix in single quotes. Haven't tested this though.