coppermine-gallery.com/forum

Support => cpg1.3.x Support => Older/other versions => cpg1.3 (BBS) Integration / Bridging => Topic started by: dRfruitLOOP on June 15, 2004, 02:09:22 AM

Title: [Solved]: Adding groups
Post by: dRfruitLOOP 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...


// 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?
Title: Re: Adding groups
Post by: hyperion 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.
Title: Re: Adding groups
Post by: dRfruitLOOP 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.
Title: Re: Adding groups
Post by: dRfruitLOOP 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.
Title: Re: Adding groups
Post by: hyperion 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.
Title: Re: Adding groups
Post by: dRfruitLOOP on June 17, 2004, 01:47:25 AM
Ok, let me give it another shot and see how it goes. Thanks for the assistance.
Title: Re: Adding groups
Post by: dRfruitLOOP 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.