coppermine-gallery.com/forum

Support => Older/other versions => cpg1.2 Standalone Support => Topic started by: BrianT1701 on February 11, 2004, 05:23:10 AM

Title: Need to make a gallery admin group...but how? VB3
Post by: BrianT1701 on February 11, 2004, 05:23:10 AM
I have coppermine intergrated with VB3, and what I am wanting to do is to be able to create a group in the VB that will allow this group, to have control over the gallery, as in all admin functions, with all permissions, and such.
Basically, I want a fourm group to be in total control of the gallery.

But I can't figure out how this is done, or if this can be done.

Thanks in advance.

Oh and just want to add that I am using the vb 3.0 bridge.
Title: Need to make a gallery admin group...but how? VB3
Post by: Casper on February 11, 2004, 10:53:09 AM
I don't know if this will work, as I don't use a board, but it's worth a try.

Openyour bridge file, and find ;
// Group definitions (default values used by the board)
define('VB_VALIDATING_GROUP', 3);
define('VB_GUEST_GROUP', 1);
define('VB_MEMBERS_GROUP', 2);
define('VB_ADMIN_GROUP', 6);


Now add the group you have created, let's call them cpgmods, like this;

define('VB_CPGMODS_GROUP', 6);

Please post if this works or not.
Title: Need to make a gallery admin group...but how? VB3
Post by: BrianT1701 on February 11, 2004, 07:52:52 PM
Added this line:

VB Group: Gallery Administrator
Added line to bridge: define('VB_GALLERY_ADMINISTRATOR_GROUP', 6);

But, all that seemed to do is allow that group to be admin, and switch bewteen user and admin.  It didn't allow them to have full control of all gallery options...as shown in the documentation here.
Title: Need to make a gallery admin group...but how? VB3
Post by: Casper on February 11, 2004, 08:11:44 PM
I don't understand what you want them to do, that an admin cannot.
An admin does have full control, when in admin mode.

What do you want them to do, that they cannot as gallery admin.
Title: Need to make a gallery admin group...but how? VB3
Post by: BrianT1701 on February 12, 2004, 04:50:32 AM
It does throw them into what appers to be a minimum admin mode...

but they don't options as show in the documentation...

http://coppermine.sourceforge.net/manual.php

I want them to be able to control all of that.
Title: Need to make a gallery admin group...but how? VB3
Post by: hyperion on February 12, 2004, 05:08:14 AM
Please post a screenshot of what your browser shows. If you do not have a screenshot program, you can use an excellent free screenshot program like Smartision Screen Copy:

http://sourceforge.net/projects/smartision-sc/
Title: Need to make a gallery admin group...but how? VB3
Post by: BrianT1701 on February 12, 2004, 05:26:09 AM
Here is what it looks like:

(https://coppermine-gallery.com/forum/proxy.php?request=http%3A%2F%2Fimg8.photobucket.com%2Falbums%2Fv28%2FBrianT1701%2Ftoolbar.jpg&hash=d44244d280b73cc565df4072f00b6a0a04b9d53c)


I am guessing that there should be more options next to the my profile button?
Title: Need to make a gallery admin group...but how? VB3
Post by: Joachim Müller on February 12, 2004, 06:12:33 AM
the pic you inserted into your posting doesn't show...

GauGau
Title: Need to make a gallery admin group...but how? VB3
Post by: BrianT1701 on February 12, 2004, 06:20:24 AM
http://img8.photobucket.com/albums/v28/BrianT1701/toolbar.jpg
Title: Need to make a gallery admin group...but how? VB3
Post by: Casper on February 12, 2004, 10:21:33 AM
ok,
that is the normal user admin area, not the gallery admin area, so this change didn't work.  It may be that there are other changes needed, or maybe it's not possible at all.
Title: Need to make a gallery admin group...but how? VB3
Post by: Casper on February 12, 2004, 10:58:31 AM
OK,

try changing this line of code;
define('USER_IS_ADMIN', ($USER_DATA['mgroup'] == VB_ADMIN_GROUP));

to this;
define('USER_IS_ADMIN', ($USER_DATA['mgroup'] == VB_ADMIN_GROUP || VB_GALLERY_ADMIN_GROUP));
Title: All users Gallery Admins? VB3 bridge
Post by: BrianT1701 on March 06, 2004, 08:11:38 AM
In this thread... http://forum.coppermine-gallery.net/viewtopic.php?p=16431

I wanted to be able to make a gallery admin group...I added the suggested code in the last post...and it worked...sort of.  All users now have full admin priviledges in the gallery.  And I mean all users, even regular fourm members.  This is not what I wanted to do.  So, question is how do I make it so the gallery admin group keeps their priv., and regular members have no admin priv.

One more thing...does every usergroup on the forums needs to be added to the bridge file?

Thanks in advance.
Title: Need to make a gallery admin group...but how? VB3
Post by: Joachim Müller on March 06, 2004, 11:54:06 AM
if it doesn't work for you, then undo the changes! It was just a proposal casper made to try out, this is not an official mod, and it's not recommended to fiddle with this at all. Coppermine simply doesn't have support for sub-admins or global moderators yet, and there's no easy workaround.

GauGau

P.S. when refering to an issue discusseed in a certain thread, reply to the thread instead of starting your own. I merged your separate thread to the one you're refering to :x
Title: Re: Need to make a gallery admin group...but how? VB3
Post by: alfisti.net on March 06, 2004, 03:44:45 PM
if you don´t have a lot admins you can put the gallery-admins into the admin group of VB3 and then you can modify (downgrade) each admin in "vb admin CP" to a moderator-status.
ceck out: usergroups > admin-rights (I have a german version, I don´t know the correct english entrys).

André
Title: Need to make a gallery admin group...but how? VB3
Post by: BrianT1701 on March 08, 2004, 04:32:40 AM
Quote from: "gaugau"if it doesn't work for you, then undo the changes! It was just a proposal casper made to try out, this is not an official mod, and it's not recommended to fiddle with this at all. Coppermine simply doesn't have support for sub-admins or global moderators yet, and there's no easy workaround.

GauGau

P.S. when refering to an issue discusseed in a certain thread, reply to the thread instead of starting your own. I merged your separate thread to the one you're refering to :x

Thanks...I think we've figured something out.  Sorry about starting another thread as well.
Title: Need to make a gallery admin group...but how? VB3
Post by: Casper on March 08, 2004, 10:38:06 AM
If you have managed a way of doing this, please post it here so others may benefit.  Thanks.