News:

CPG Release 1.6.28
added submissions from {406man}
cleaned up a few PHP (8.4) deprecations
fixed PHP deprecation in calendar
removed security vulnerability
(please upgrade when possible)

Main Menu

Best solutions for upload pics with users ?

Started by stranger, September 26, 2003, 08:08:21 AM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

stranger

Hi all!
I use Coppermine, and intergrated it with IBP (Invision Power Board Forum).
Can anyone give me the best solution for uploading pictures when logging in Coppermine Album as users (not Admin) ?
 
Or My Album got errors ? I can't upload any pics to Album when logged in Album as users.

(Sorry for my bad English!)

Joachim Müller

make sure you have set the permissions of the user's group correctly ("groups" in admin mode) and the properties of the album the user is supposed to upload to.
If this doesn't help, create a test user account and give us the login data and of course the url of your site.

GauGau

P.S. your message isn't a feature request, but should go into support! That's were I'll move it to!

stranger

Oh, sorry  :) Thanks for moving my post into right place.

But in my Album, users cannot register because I intergrated it with IBP Forum! When they click Register Link, browser bring them to Register Link of the Forum.

I tested with some usernames which I registered newest in the forum, but I cannot use it to upload anypics. Certainly, I choose type of pics exactly  to upload (my host's support GD2). When I logged in to Album with Admin username and chose UserMode, I cannot upload! Although when chose Admin Mode, I can upload any pics which I want.

If my English cannot explane those errors clearly, please go to my forum and register a new nick to test. The link to album is here. Plz try guess some links, because my forum uses Vietnamese Language  :wink:  :wink:  

Thanks for help me![/url]

dale

Same problem here. Its as if the link is backwards. if I am not loged in I have the upload picture link. but when I log in the link is missing. Tried other themes and it is no different.

If I try going to upload.php it tells me I dont have permision, wether I am loged in as a user or an admin. I also dont have any admin options as a normal user. So I cant create albums either. Only as an administrator.

You can view my gallery at www.dalesforum.com/gallery it is integrated with an Invision board. You can log in as :name: user :pass: test

below is a snapshot of my groups settings. I think everything is in order. I am familiar with using Coppermine as a stand alone, this is a fresh intall to integrate with my board.

(https://coppermine-gallery.com/forum/proxy.php?request=http%3A%2F%2Fdalesforum.com%2Fpermision.gif&hash=e8c107aee647c164b16656c4c16a3d11ca6d1c0f)
Im not a complete idiot... Some parts are missing.

Joachim Müller

OK, make sure you have done two things:
  • give your users the permission to upload at all - this is done in the group settings (see the pic dale has provided)
  • give them (at least one) album to upload to[/list:u]
    GauGau

dale

(posted this befor I read your reply. I will try your advice)

Well, I got it working. I made anouther group, and they can use the gallery just fine. dont know why this is so but hey at least its working now right.

It looks like the default members group in Invision is not working properly with Coppermine. I will keep poking around in there and see what else I come up with.
Im not a complete idiot... Some parts are missing.

Joachim Müller

warning :!:  it's a known issue with bbs integration into coppermine: if you change your group settings in the bbs (that is: add a group) you'll have to review your coppermine groups settings as well.

GauGau

TSG

Quote from: "dale"Same problem here. Its as if the link is backwards. if I am not loged in I have the upload picture link. but when I log in the link is missing. Tried other themes and it is no different.

same problem here too! :shock:

i've never used coppermine before and would really like to use it :)  

gallery: http://galleries.thespearsgirls.com/
forum: http://forums.thespearsgirls.com/

Test Account
user: Tester
pass: test

any help would be appreciated.

Edit:
i was messing around with this again and after turning on the debug info i noticed that in the user data section it displays the username as 'banned' and therefore it won't let you upload but when you are logged out it places you in the group 'members'

while logged in:
USER_DATA :
Array
(
    [0] => 2
    [user_id] => 2
    [1] => Admin
    [user_name] => Admin
    [2] => 4
    [mgroup] => 4
    [3] => 4
    [group_id] => 4
    [4] => Banned
    [group_name] => Banned
    [5] => 0
    [group_quota] => 0
    [6] => 0
    [has_admin_access] => 0
    [7] => 0
    [can_rate_pictures] => 0
    [8] => 0
    [can_send_ecards] => 0
    [9] => 0
    [can_post_comments] => 0
    [10] => 0
    [can_upload_pictures] => 0
    [11] => 0
    [can_create_albums] => 0
    [12] => 1
    [pub_upl_need_approval] => 1
    [13] => 1
    [priv_upl_need_approval] => 1
)


while logged off:
USER_DATA :
Array
(
    [0] => 0
    [user_id] => 0
    [1] =>
    [user_name] =>
    [2] => 2
    [mgroup] => 2
    [3] => 2
    [group_id] => 2
    [4] => Members
    [group_name] => Members
    [5] => 10024
    [group_quota] => 10024
    [6] => 0
    [has_admin_access] => 0
    [7] => 1
    [can_rate_pictures] => 1
    [8] => 1
    [can_send_ecards] => 1
    [9] => 1
    [can_post_comments] => 1
    [10] => 1
    [can_upload_pictures] => 1
    [11] => 1
    [can_create_albums] => 1
    [12] => 1
    [pub_upl_need_approval] => 1
    [13] => 0
    [priv_upl_need_approval] => 0
)



so, the groups are not matching up correctly
hm, now let me see what i can do to fix this up :?

another edit:

members are placed into the anon group:

USER_DATA :
Array
(
    [0] => 857
    [user_id] => 857
    [1] => Tester
    [user_name] => Tester
    [2] => 3
    [mgroup] => 3
    [3] => 3
    [group_id] => 3
    [4] => Anonymous
    [group_name] => Anonymous
    [5] => 0
    [group_quota] => 0
    [6] => 0
    [has_admin_access] => 0
    [7] => 1
    [can_rate_pictures] => 1
    [8] => 1
    [can_send_ecards] => 1
    [9] => 0
    [can_post_comments] => 0
    [10] => 0
    [can_upload_pictures] => 0
    [11] => 0
    [can_create_albums] => 0
    [12] => 1
    [pub_upl_need_approval] => 1
    [13] => 1
    [priv_upl_need_approval] => 1
)


the only work around that I have is to rename and change the permission settings and yes..it works! :D

but i'm guessing there's something in the code doing this...

Joachim Müller

subdomains are different domains - this probably won't work (I haven't read your whole posting, just the start with
Quotegallery: http://galleries.thespearsgirls.com/
forum: http://forums.thespearsgirls.com/
I admit subdomains are really nice (looks good, search engine friendly), but you always have problems with them...

GauGau

TSG

try out the test account...

i've been able to log in/out multiple times using this set up so have my users

dale

Quotei was messing around with this again and after turning on the debug info i noticed that in the user data section it displays the username as 'banned' and therefore it won't let you upload but when you are logged out it places you in the group 'members

So there is something backwards. When I shut off picture uploading for the members group, the 'upload picture' link ( that was present when I was not logged in ) disappeared.


Edit:
Defiantly backwards. In giving the Anonymous group permission to upload, my users now have full use of coppermine.
Im not a complete idiot... Some parts are missing.

Zerg

So, as I`m gathering this, "Anonymous" and "Registered" members are just messed and group permission are supposed to look approximately like this:

(https://coppermine-gallery.com/forum/proxy.php?request=http%3A%2F%2Fwww.hot.ee%2Fsotsirh%2Fgroups.jpg&hash=a23853ba7d2c95d439a60c5aec8c1cbd4512087d)

 :?:

kegobeer

As you have it, registered users have a quota of 0kb, can't upload or have a personal gallery; Anonymous users have a quota of 1024kb, can upload into public galleries with approval, can have a personal gallery and upload without approval; Administrators have a quota of 1024kb, can upload and can have a personal gallery.

I would have admin with all powers; registered with a quota of 1024kb, upload into public with approval and upload into private with approval, and be able to rate pics, send ecards, and post comments.  Anonymous would not be able to upload at all, but could rate pics, send ecards, and post comments.

Is there any reason why you have two Banned groups?
Do not send me a private message unless I ask for one.  Make your post public so everyone can benefit.

There are no stupid questions
But there are a LOT of inquisitive idiots

Zerg

Quote from: "kegobeer"As you have it, registered users have a quota of 0kb, can't upload or have a personal gallery; Anonymous users have a quota of 1024kb, can upload into public galleries with approval, can have a personal gallery and upload without approval; Administrators have a quota of 1024kb, can upload and can have a personal gallery.

I would have admin with all powers; registered with a quota of 1024kb, upload into public with approval and upload into private with approval, and be able to rate pics, send ecards, and post comments.  Anonymous would not be able to upload at all, but could rate pics, send ecards, and post comments.

Is there any reason why you have two Banned groups?

Seems like you didn`t quite follow the thread...

Anyhow, take a look at this topic: http://coppermine-gallery.com/forum/index.php?topic=14&postdays=0&postorder=asc&start=15
I shall not post here anymore, since these 2 topics are similar and jack is willing to try fixing things tonight... :roll:

jack

I have looked at this, and it is not a bug in the code, more of a configuration issue.

Look at http://coppermine-gallery.com/forum/viewtopic.php?p=1687#1687 for more info.
Please do not contact me for support directly - instead: post on this board!