Permissions

dave111111

Joined: 2012-05-17
Posts: 62
Posted: Sun, 2012-08-05 14:39

hi,

I have an album that i would like to use where people can upload images to this album but can not view it if that makes sense. I want to use this album a a screening process so we have more control over what is posted in our gallery. so i woudl iek [people to be able to upload to this gallery but not able to surf around as the images have not been approved if they are in this album. Once the images are approved, I will move the images to the proper album..

How do we do this?

dave

Gallery URL = http://www.mcrmysoldiers.com/my-chemical-romance/gallery/gallery-2.3.2-full-en/gallery2/main.php
Gallery version = 2.3.2 core 1.3.0.2
API = Core 7.54, Module 3.9, Theme 2.6, Embed 1.5
PHP version = 5.3.2-1ubuntu4.17 apache2handler
Webserver = Apache
Database = mysql 5.1.63-0ubuntu0.10.04.1, lock.system=flock
Toolkits = ArchiveUpload, Exif, Getid3, ImageMagick, LinkItemToolkit, SquareThumb, Thumbnail, Gd
Acceleration = none, none
Operating system = Linux freedomhill.he.net 2.6.32-36-generic-pae #79-Ubuntu SMP Tue Nov 8 23:25:26 UTC 2011 i686
Default theme = matrix
gettext = enabled
Locale = en_US
Browser = Mozilla/5.0 (Windows NT 6.1; WOW64; rv:14.0) Gecko/20100101 Firefox/14.0.1
Rows in GalleryAccessMap table = 32
Rows in GalleryAccessSubscriberMap table = 13
Rows in GalleryUser table = 2
Rows in GalleryItem table = 11
Rows in GalleryAlbumItem table = 6
Rows in GalleryCacheMap table = 0

 
suprsidr
suprsidr's picture

Joined: 2005-04-17
Posts: 8339
Posted: Mon, 2012-08-06 16:57

I actually may have a solution for this.
For a gallery I setup for a client, they wanted visitors to be able to donate images if they had images from the same events.
So the security for allowing anonymous uploads is a huge no-no, but I have found a way.

Visitors that want to donate images can use a custom form to upload an archive(.zip) of images and they also have to leave their name, email addy and a small message.
This archive is uploaded to a web-safe directory, and you get an email when this happens, something like:
"This person whose email is... has uploaded an archive, if you know this person click here to process this archive else click here to delete it"
When you process the archive it is automatically unzipped and the contents are added to an album with the same name as the archive, but the album is hidden until you the admin unhide it.

-s

 
dave111111

Joined: 2012-05-17
Posts: 62
Posted: Sat, 2012-08-11 16:18

I am not concerned about anonymous uploads as anyone who uploads will need
to register...then and only then can they upload..... will that work too?
if so how do I do it?

dave

 
Jpman

Joined: 2012-08-11
Posts: 1
Posted: Sat, 2012-08-11 18:11

I am also intrested in this. I would love to take in pictures from people to use but I do want to be able to "screen" them first. I dont want to end up with several random images. Would love if you could share how you did this suprsidr or if Dave found a way...

Thanks,

 
dave111111

Joined: 2012-05-17
Posts: 62
Posted: Sat, 2012-08-11 18:41

Hi Jpman,

I am basically looking for a way to have 1 gallery folder where people can upload only, then we can screen and put the images in the proper galleries... in our case... those may be concert pics band member pics etc.

if you find anything let me know

 
suprsidr
suprsidr's picture

Joined: 2005-04-17
Posts: 8339
Posted: Sat, 2012-08-11 20:05

try this:
create a new album
remove permission "Everybody core.viewAllVersions"
add permission "Registered User core.addSubItem"

So there will be no view permissions, but there is add item permissions.
And you can have a link somewhere for registered users <a href="/gallery2/main.php?g2_view=core.ItemAdmin&g2_subView=core.ItemAdd&g2_itemId=xxx">Upload photos</a>
where xxx is the actual album id

-s
All New jQuery Minislideshow for G2/G3

 
dave111111

Joined: 2012-05-17
Posts: 62
Posted: Sun, 2012-08-12 13:48

I did this... Please see screen shot attachment of gallery permissions.

I signed up as a member but I was unable to see the gallery where i would be able to upload photos.... Can it be a user permission issue instead of a gallery permission issue? I amhave looking around but just dont know what to do.

thanks

dave

 
suprsidr
suprsidr's picture

Joined: 2005-04-17
Posts: 8339
Posted: Sun, 2012-08-12 13:54
Quote:
I was unable to see the gallery where i would be able to upload photos.

isn't that what you asked for?
can this registered user add items by following a direct link to the add items page?
yoursite.com/gallery2/main.php?g2_view=core.ItemAdmin&g2_subView=core.ItemAdd&g2_itemId=xxx
where xxx is the album id

-s
All New jQuery Minislideshow for G2/G3

 
dave111111

Joined: 2012-05-17
Posts: 62
Posted: Sun, 2012-08-12 15:28

I dont know how to add a link to pint to that page.. I mean I know HTML but how do i add a link on G2 page? What i really want once this issue is resoved is to put teh gallery on OUR page so it blends in... this is the entire and ONLY reason i switched over from G3 as it was not able to be done in G3... When the gallery page is up and looks like G2 and not our page, our visitors can not see the rest of ourt site and must back out untill they can get to our home page again... We want this gallery to be inside our pages so our customers never lose site of what we have to offer..including this gallery...

So i guess first can you help me with the link I need to direct customers to the upload gallery?... then I woudl need help putting this gallery into our site..

thanks

 
suprsidr
suprsidr's picture

Joined: 2005-04-17
Posts: 8339
Posted: Sun, 2012-08-12 18:39
Quote:
I dont know how to add a link to pint to that page..

You can use regular html or in smarty:

    {if $user.isRegisteredUser}
	<a href="{g->url arg1="view=core.ItemAdmin" arg2="subView=core.ItemAdd" arg3="itemId=xxx"}">
	    {g->text text="Upload your event photos"}
	</a>
    {/if}

but I cannot advise further without knowing where on your page you want it.

As for embedding, I have many tools for G2 including a simple form.

-s
All New jQuery Minislideshow for G2/G3

 
dave111111

Joined: 2012-05-17
Posts: 62
Posted: Sun, 2012-08-12 21:31

Hi,

there is no point in adding the HTML to this page when this page is going to be moved any way to a different page on my site with my custom look and my links and I dont know how to do that. this is the only REASON I changed to G2... i was using G3 and you were helping me with that but said what I wanted could nto be done in G3 and I needed to switch to G2... i did but dont know how to do this...

thanks

dave

 
suprsidr
suprsidr's picture

Joined: 2005-04-17
Posts: 8339
Posted: Sun, 2012-08-12 21:39

So what page do you want gallery embedded into - or show me a page you want gallery to look like.

-s
All New jQuery Minislideshow for G2/G3

 
suprsidr
suprsidr's picture

Joined: 2005-04-17
Posts: 8339
Posted: Mon, 2012-08-13 15:12
 
dave111111

Joined: 2012-05-17
Posts: 62
Posted: Mon, 2012-08-13 22:54

this looks great but i am also interested in the galleries being shown not just the images..... Can the galleries be shown then click on the gallery and then look at all the photos in the specific gallery?

dave

 
suprsidr
suprsidr's picture

Joined: 2005-04-17
Posts: 8339
Posted: Mon, 2012-08-13 23:03

I chose a specific album, but you can choose any album you want - even root.
This gives you the ability to have multiple access points to your gallery and each one could look different if you wanted.

-s
All New jQuery Minislideshow for G2/G3

 
dave111111

Joined: 2012-05-17
Posts: 62
Posted: Wed, 2012-08-15 21:29

OK great!

but how do i do this with my galleries? the images there are your images and not my gallieres... can you show me how to insert my galleries?

thank you so much!

 
suprsidr
suprsidr's picture

Joined: 2005-04-17
Posts: 8339
Posted: Thu, 2012-08-16 18:12
 
dave111111

Joined: 2012-05-17
Posts: 62
Posted: Sun, 2012-08-26 20:52

you posted on august 8th, 2012 above a link to post images for admin review....

I changed it to fit my site and album name but it is not working... I think I may have the wrong album name but i dont know where to find the correct album name.. Can you help? i entered the album name as "upload"

http://www.mcrmysoldiers.com/gallery2/main.php?g2_view=core.ItemAdmin&amp;g2_subView=core.ItemAdd&amp;g2_itemId=upload

thank you so much

 
suprsidr
suprsidr's picture

Joined: 2005-04-17
Posts: 8339
Posted: Sun, 2012-08-26 21:11

the id would never be "upload"
gallery uses numeric ids for every item

-s
All New jQuery Minislideshow for G2/G3

 
dave111111

Joined: 2012-05-17
Posts: 62
Posted: Mon, 2012-08-27 23:37

where can i find this ID please?

thank you

 
suprsidr
suprsidr's picture

Joined: 2005-04-17
Posts: 8339
Posted: Tue, 2012-08-28 00:03

when you visit every item in gallery, you see the link & g2_itemId revealed in the address bar

-s
All New jQuery Minislideshow for G2/G3

 
dave111111

Joined: 2012-05-17
Posts: 62
Posted: Tue, 2012-08-28 17:49

I must have mis understood....sorry. attached you will see how I CAME UP WITH THE id... WHICH i Believe to be "29".. you can see this is in fact the gallery I want members to upload to and then we will filter the images to the appropriate gallery

the link is going to the URL below but it comes up dead...

http://www.mcrmysoldiers.com/gallery2/main.php?g2_view=core.ItemAdmin&amp;g2_subView=core.ItemAdd&amp;g2_itemId=29

 
suprsidr
suprsidr's picture

Joined: 2005-04-17
Posts: 8339
Posted: Tue, 2012-08-28 19:52
 
dave111111

Joined: 2012-05-17
Posts: 62
Posted: Tue, 2012-08-28 21:01

oopss honest mistake... is there a way to limit the upload picture page so the nav buttons do not run of the right side of the page?

look here and see what I mean.... I also included a screen shot
http://www.mcrmysoldiers.com/my-chemical-romance/photos.php?g2_view=core.ItemAdmin&g2_subView=core.ItemAdd&g2_itemId=29

 
suprsidr
suprsidr's picture

Joined: 2005-04-17
Posts: 8339
Posted: Tue, 2012-08-28 22:46

uninstall some of those upload modules, I'd just give them the built-in from browser method.

-s
All New jQuery Minislideshow for G2/G3

 
dave111111

Joined: 2012-05-17
Posts: 62
Posted: Thu, 2012-08-30 19:42

thanks!!!! worked great...... one more thing on this topic .. how can i neaten up the borders for this? is some place in the PHP that i can redefine these fields so they fit a little neater? if so which file please and general location :-)

see attached please

dave

 
suprsidr
suprsidr's picture

Joined: 2005-04-17
Posts: 8339
Posted: Thu, 2012-08-30 19:46

Honestly your site is too narrow for 3 columns in the gallery page, I'd lose the 3rd column.

-s
All New jQuery Minislideshow for G2/G3

 
dave111111

Joined: 2012-05-17
Posts: 62
Posted: Thu, 2012-08-30 22:23

Ok thanks.. I will start a new thread about security issues as that seems to be my next problem...

thanks for all your help... I hope you can help me again as you have been great and patient

 
rdmihalache1

Joined: 2012-11-13
Posts: 1
Posted: Tue, 2012-11-13 11:20

I would also like to have something like this. But can I set it up on mac OS X, or it doesn't matter which operating system I use, since everything will be uploaded on the server through FTP? Tnanks.

 
melibra23

Joined: 2012-12-19
Posts: 1
Posted: Wed, 2012-12-19 11:45

i would like to use this gallery to upload few of my images sorted by folders based on categories.what is the procedure for that, do i need to register first.please let me know