coppermine-gallery.com/forum

Support => cpg1.3.x Support => Older/other versions => cpg1.3 (BBS) Integration / Bridging => Topic started by: tacitus on October 18, 2005, 11:32:49 AM

Title: phpbb users without a group can upload in CPG without any restriction
Post by: tacitus on October 18, 2005, 11:32:49 AM
Hi!
I bridged CPG with my phpbb board and all works... I mean it works to much  :D :

I got the basic CPG groups Admin, Banned etc.
After brindging the phpbb-groups are added (Forenmoderator, Mitglieder etc.)

I want the uploaded pictures in CPG first to be checked by the admin (me) and set all permissions like this.

Now the problem:
When a phpbb- user without beeing in a group upload a file it appears in the user Galeries at once?!
I think the problem im that CPG don´t check the permissions when a user is not in a group?!

Do I have to put all phpbb users in a group first to solve this problem (over 1000!) or is there a CGP feature that can solve this?!

Thanks for help!!!!

Tacitus
Title: Re: phpbb users without a group can upload in CPG without any restriction
Post by: Stramm on October 18, 2005, 01:22:27 PM
in coppermine groups manager set 'Can upload files' for guests to 'no'
Title: Re: phpbb users without a group can upload in CPG without any restriction
Post by: tacitus on October 18, 2005, 01:31:28 PM
Hi!

"guests" and "bannded" do have 0kb disc space and the upload is set to "no"

Thats not the solution?!

Tacitus
Title: Re: phpbb users without a group can upload in CPG without any restriction
Post by: Stramm on October 18, 2005, 01:38:21 PM
if you're logged in as admin you see all newly uploaded files in the albums even if they haven't been approved yet. Others don't...
Title: Re: phpbb users without a group can upload in CPG without any restriction
Post by: tacitus on October 18, 2005, 01:41:15 PM
..no, even when I am logged out I can see the pictures?!

And the "approve- album" is allways empty (when I am logged in as Admin ;))

?!?
Title: Re: phpbb users without a group can upload in CPG without any restriction
Post by: Stramm on October 18, 2005, 01:56:24 PM
have you messed with the bridge file, especially this part

define('PHPBB_ADMIN_GROUP', 1);
define('PHPBB_MEMBERS_GROUP', 2);
define('PHPBB_GUEST_GROUP', 3);
define('PHPBB_BANNED_GROUP', 4);



and do your phpBB groups show up in the CPG group manager?

if  'Can upload files'  is set to no they shouldn't be allowed to upload in the first place. Setting the limit to 0 means unlimited
Title: Re: phpbb users without a group can upload in CPG without any restriction
Post by: tacitus on October 18, 2005, 02:29:13 PM
Hi!

My bridged file is as you posted it- what are the numers 1-4 about? Is this the DB- ID or the order to show?
Maybe I must be shure that -if this is the ID- it is the same as in my db?!

Yes, my phpbb- groups are shown in the CPG group manager- the problem is about the users who are not part of a group... for those the settings seem not to be valid?!

The "setting 0" is understodd... and changed ;)

Thanks Tacitus
Title: Re: phpbb users without a group can upload in CPG without any restriction
Post by: kegobeer on October 18, 2005, 03:49:42 PM
How about posting a link to your site, along with a test user and password.
Title: Re: phpbb users without a group can upload in CPG without any restriction
Post by: tacitus on October 18, 2005, 04:14:52 PM
no problem:

http://korsett-bilder.de [edit GauGau]Warning: link not worksafe[/edit]

Testaccount

User: tester
Passwd: test

The "tester" is not in any group- so normlay the upload should be hold still approved...

Tacitus
Title: Re: phpbb users without a group can upload in CPG without any restriction
Post by: Joachim Müller on October 19, 2005, 06:27:24 AM
Quote from: tacitus on October 18, 2005, 01:31:28 PM
Hi!

"guests" and "bannded" do have 0kb disc space and the upload is set to "no"

Thats not the solution?!

Tacitus
"0" means unlimited. Set upload permissions to "no", that's about it.
Title: Re: phpbb users without a group can upload in CPG without any restriction
Post by: Nibbler on October 19, 2005, 04:42:36 PM
If you hide your 'powered by coppermine' footer then you get no support from me.