Advanced search  

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]

Pages: [1]   Go Down

Author Topic: Best solutions for upload pics with users ?  (Read 8493 times)

0 Members and 1 Guest are viewing this topic.

stranger

  • Coppermine newbie
  • Offline Offline
  • Posts: 2
Best solutions for upload pics with users ?
« on: September 26, 2003, 08:08:21 am »

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!)
Logged

Joachim Müller

  • Dev Team member
  • Coppermine addict
  • ****
  • Offline Offline
  • Gender: Male
  • Posts: 47843
  • aka "GauGau"
    • gaugau.de
Best solutions for upload pics with users ?
« Reply #1 on: September 26, 2003, 08:26:47 am »

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!
Logged

stranger

  • Coppermine newbie
  • Offline Offline
  • Posts: 2
Best solutions for upload pics with users ?
« Reply #2 on: September 26, 2003, 09:04:13 am »

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]
Logged

dale

  • Coppermine novice
  • *
  • Offline Offline
  • Posts: 41
    • http://club.storm-riders.org
Best solutions for upload pics with users ?
« Reply #3 on: October 02, 2003, 06:45:09 pm »

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://forum.coppermine-gallery.net/proxy.php?request=http%3A%2F%2Fdalesforum.com%2Fpermision.gif&hash=e8c107aee647c164b16656c4c16a3d11ca6d1c0f)
Logged
Im not a complete idiot... Some parts are missing.

Joachim Müller

  • Dev Team member
  • Coppermine addict
  • ****
  • Offline Offline
  • Gender: Male
  • Posts: 47843
  • aka "GauGau"
    • gaugau.de
Best solutions for upload pics with users ?
« Reply #4 on: October 02, 2003, 08:08:46 pm »

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
Logged

dale

  • Coppermine novice
  • *
  • Offline Offline
  • Posts: 41
    • http://club.storm-riders.org
Best solutions for upload pics with users ?
« Reply #5 on: October 02, 2003, 08:25:42 pm »

(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.
Logged
Im not a complete idiot... Some parts are missing.

Joachim Müller

  • Dev Team member
  • Coppermine addict
  • ****
  • Offline Offline
  • Gender: Male
  • Posts: 47843
  • aka "GauGau"
    • gaugau.de
Best solutions for upload pics with users ?
« Reply #6 on: October 02, 2003, 08:28:18 pm »

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
Logged

TSG

  • Coppermine newbie
  • Offline Offline
  • Posts: 2
Best solutions for upload pics with users ?
« Reply #7 on: October 06, 2003, 01:07:15 am »

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:
Code: [Select]
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:
Code: [Select]
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:

Code: [Select]
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...
Logged

Joachim Müller

  • Dev Team member
  • Coppermine addict
  • ****
  • Offline Offline
  • Gender: Male
  • Posts: 47843
  • aka "GauGau"
    • gaugau.de
Best solutions for upload pics with users ?
« Reply #8 on: October 06, 2003, 09:18:25 am »

subdomains are different domains - this probably won't work (I haven't read your whole posting, just the start with
Quote
gallery: 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
Logged

TSG

  • Coppermine newbie
  • Offline Offline
  • Posts: 2
Best solutions for upload pics with users ?
« Reply #9 on: October 06, 2003, 10:09:37 am »

try out the test account...

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

dale

  • Coppermine novice
  • *
  • Offline Offline
  • Posts: 41
    • http://club.storm-riders.org
Best solutions for upload pics with users ?
« Reply #10 on: October 07, 2003, 05:07:48 pm »

Quote
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


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.
Logged
Im not a complete idiot... Some parts are missing.

Zerg

  • Coppermine regular visitor
  • **
  • Offline Offline
  • Gender: Male
  • Posts: 52
Best solutions for upload pics with users ?
« Reply #11 on: October 07, 2003, 06:07:55 pm »

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

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

 :?:
Logged

kegobeer

  • Dev Team member
  • Coppermine addict
  • ****
  • Offline Offline
  • Gender: Male
  • Posts: 4637
  • Beer - it does a body good!
    • The Kazebeer Family Website
Best solutions for upload pics with users ?
« Reply #12 on: October 07, 2003, 06:24:53 pm »

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

  • Coppermine regular visitor
  • **
  • Offline Offline
  • Gender: Male
  • Posts: 52
Best solutions for upload pics with users ?
« Reply #13 on: October 07, 2003, 06:36:05 pm »

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://forum.coppermine-gallery.net/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:
Logged

jack

  • VIP
  • Coppermine frequent poster
  • ***
  • Country: 00
  • Offline Offline
  • Posts: 279
Best solutions for upload pics with users ?
« Reply #14 on: October 07, 2003, 08:45:25 pm »

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

Look at http://forum.coppermine-gallery.net/viewtopic.php?p=1687#1687 for more info.
Logged
Please do not contact me for support directly - instead: post on this board!
Pages: [1]   Go Up
 

Page created in 0.025 seconds with 14 queries.