[Solved]: Adding groups [Solved]: Adding groups
 

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

[Solved]: Adding groups

Started by dRfruitLOOP, June 15, 2004, 02:09:22 AM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

dRfruitLOOP

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...


// 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?

hyperion

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.
"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://coppermine-gallery.com/forum/proxy.php?request=http%3A%2F%2Fwww.mozilla.org%2Fproducts%2Ffirefox%2Fbuttons%2Fgetfirefox_small.png&hash=9f6d645801cbc882a52f0ee76cfeda02625fc537)

dRfruitLOOP

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.

dRfruitLOOP

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.

hyperion

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.
"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://coppermine-gallery.com/forum/proxy.php?request=http%3A%2F%2Fwww.mozilla.org%2Fproducts%2Ffirefox%2Fbuttons%2Fgetfirefox_small.png&hash=9f6d645801cbc882a52f0ee76cfeda02625fc537)

dRfruitLOOP

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

dRfruitLOOP

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.