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: [Solved]: Adding groups  (Read 5601 times)

0 Members and 1 Guest are viewing this topic.

dRfruitLOOP

  • Coppermine novice
  • *
  • Offline Offline
  • Posts: 34
[Solved]: Adding groups
« on: June 15, 2004, 02:09:22 am »

I'm confused about how to add groups to the group managment page of the gallery. Right now I have validating, guests, members, admin, and banned. I want to add moderator, and community sponsors. So I tried to add just moderators first to see if I knew what I was doing. I altered the "Group definitions" bit of the IB bridge file so that it looks like this...

Code: [Select]
// Group definitions (default values used by the board)
define('IB_VALIDATING_GROUP', 1);
define('IB_GUEST_GROUP', 2);
define('IB_MEMBERS_GROUP', 3);
define('IB_ADMIN_GROUP', 4);
define('IB_BANNED_GROUP', 5);
define('IB_MODERATORS_GROUP', 6);

That didn't add moderators to the group managment list. I'm thinking now that I'm not doing this the right way. What did I do wrong?
« Last Edit: June 17, 2004, 01:12:45 pm by GauGau »
Logged

hyperion

  • VIP
  • Coppermine addict
  • ***
  • Offline Offline
  • Posts: 1317
  • - retired -
Re: Adding groups
« Reply #1 on: June 15, 2004, 06:14:30 am »

Groups are added by adding them to your bulletin board. CPG reads the bulletin board's groups and then replicates them in its group management table. IPB's groups table does not have a default moderators group, so you would need to create one (if this is how IPB creates moderators -- I have not played with it enough to know).

All those definitions in the bridge file do is identify the numbering system IPB uses for its default groups.
Logged
"Then, Fletch," that bright creature said to him, and the voice was very kind, "let's begin with level flight . . . ."

-Richard Bach, Jonathan Livingston Seagull

(https://forum.coppermine-gallery.net/proxy.php?request=http%3A%2F%2Fwww.mozilla.org%2Fproducts%2Ffirefox%2Fbuttons%2Fgetfirefox_small.png&hash=9f6d645801cbc882a52f0ee76cfeda02625fc537)

dRfruitLOOP

  • Coppermine novice
  • *
  • Offline Offline
  • Posts: 34
Re: Adding groups
« Reply #2 on: June 15, 2004, 06:31:12 am »

Ok, I just added a group to my board as a test to see if the gallery picked it up and it didn't. I did exactly what it said in the documentation.
Logged

dRfruitLOOP

  • Coppermine novice
  • *
  • Offline Offline
  • Posts: 34
Re: Adding groups
« Reply #3 on: June 17, 2004, 01:21:32 am »

Any assistance on this would be great as I can't implement the gallery until it has settings for all of the groups on my forum.
Logged

hyperion

  • VIP
  • Coppermine addict
  • ***
  • Offline Offline
  • Posts: 1317
  • - retired -
Re: Adding groups
« Reply #4 on: June 17, 2004, 01:30:06 am »

I just tested my IPB install, and all went well.

Procedure:

1. Go to IPG admin.
2. Groups
3. Manage groups.
4. Base user group on members
5. Set group data.
6. Add group.
7. Go to CPG
8. Select groups.
9. New Group appears at the bottom of the page.
Logged
"Then, Fletch," that bright creature said to him, and the voice was very kind, "let's begin with level flight . . . ."

-Richard Bach, Jonathan Livingston Seagull

(https://forum.coppermine-gallery.net/proxy.php?request=http%3A%2F%2Fwww.mozilla.org%2Fproducts%2Ffirefox%2Fbuttons%2Fgetfirefox_small.png&hash=9f6d645801cbc882a52f0ee76cfeda02625fc537)

dRfruitLOOP

  • Coppermine novice
  • *
  • Offline Offline
  • Posts: 34
Re: Adding groups
« Reply #5 on: June 17, 2004, 01:47:25 am »

Ok, let me give it another shot and see how it goes. Thanks for the assistance.
Logged

dRfruitLOOP

  • Coppermine novice
  • *
  • Offline Offline
  • Posts: 34
Re: Adding groups
« Reply #6 on: June 17, 2004, 01:59:29 am »

Got it, it was my own stupid fault. I have multiple installs of ib on my webspace and got the table prefix mixed up. Works now, thanks for all the help again. I really cannot thank you enough.
Logged
Pages: [1]   Go Up
 

Page created in 0.023 seconds with 15 queries.