Advanced search  

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]

Pages: [1]   Go Down

Author Topic: Link two gallerys  (Read 4591 times)

0 Members and 1 Guest are viewing this topic.

daklay

  • Coppermine novice
  • *
  • Offline Offline
  • Gender: Male
  • Posts: 39
    • TT
Link two gallerys
« 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)
Logged

Nibbler

  • Guest
Re: Link two gallerys
« Reply #1 on: January 20, 2006, 09:56:49 am »

Bridge both galleries to the forum.
Logged

daklay

  • Coppermine novice
  • *
  • Offline Offline
  • Gender: Male
  • Posts: 39
    • TT
Re: Link two gallerys
« Reply #2 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
Logged

Joachim Müller

  • Dev Team member
  • Coppermine addict
  • ****
  • Offline Offline
  • Gender: Male
  • Posts: 47843
  • aka "GauGau"
    • gaugau.de
Re: Link two gallerys
« Reply #3 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
Code: [Select]
$CONFIG['TABLE_USERGROUPS'] = $CONFIG['TABLE_PREFIX'].'usergroups';and
Code: [Select]
$CONFIG['TABLE_USERS']      = $CONFIG['TABLE_PREFIX'].'users'; - replace
Code: [Select]
$CONFIG['TABLE_PREFIX']with the prefix of the other gallery's prefix in single quotes. Haven't tested this though.
Logged
Pages: [1]   Go Up
 

Page created in 0.016 seconds with 19 queries.