Allowing site visitors to upload photos, view comments

bnewburger

Joined: 2007-12-04
Posts: 1
Posted: Tue, 2007-12-04 22:16

OK, I may be missing something obvious, but I can't see how visitors to the site can be invited to post their own pictures, ideally in a way that that admin can approve them for public viewing, or at least review them shortly after they are posted. I see plenty of documentation about how the admin adds his own photos, which I have done. Second question is that I have enabled comments, but site visitors do not see those comments. Is there some mechanism that allows visitors to register? I reviewed the list of plugins but don't see anything that describes features to allow visitors to participate in the gallery.

Here it our installation so far, if that helps:

http://www.myfemplace.com/gallery2

Thanks.

 
lvthunder

Joined: 2003-09-12
Posts: 808
Posted: Wed, 2007-12-05 01:12

As far as registering there is a register plugin that allows this. To see the comments you probably need to grant some permissions. I'm not quite sure the exact steps because it's been a while since I've done it. Also make sure you have the View Comments block showing on your theme.

 
floridave
floridave's picture

Joined: 2003-12-22
Posts: 27300
Posted: Wed, 2007-12-05 02:22

@moderation: http://gallery.menalto.com/node/48148
don't know how far the development has come.

Dave
_____________________________________________
Blog & G2 || floridave - Gallery Team

 
keirstinc

Joined: 2007-12-05
Posts: 6
Posted: Wed, 2007-12-05 16:22

I am trying to allow registered users that are not the site admin to upload pictures. Am I missing something that is already there to allow me to do so?

 
lvthunder

Joined: 2003-09-12
Posts: 808
Posted: Wed, 2007-12-05 16:38

Goto the album you want to allow them to upload to. The root album if you want the whole thing. Then goto edit Permissions and add it there. There is a group called registered users that you can give rights to.

 
keirstinc

Joined: 2007-12-05
Posts: 6
Posted: Wed, 2007-12-05 17:13

Thanks! I've been searching all over for that. Now, is there a way to limit them to only adding an album and pictures to that album. I really want to strip away all the album setup tabs other then the one where they name it. Then I only want them to be able to add pictures to it.

 
lvthunder

Joined: 2003-09-12
Posts: 808
Posted: Wed, 2007-12-05 17:24

You might want to look at the User Album module. At least I think that's what it's called. It automatically creates an album per user. http://codex.gallery2.org/Gallery2:Modules:useralbum

 
keirstinc

Joined: 2007-12-05
Posts: 6
Posted: Wed, 2007-12-05 18:14

Thanks for the idea, but I already looked at that. What my customer wants is to allow anyone to post an album (only her family will be using the site), but she wants the albums to be organized by events. So, the user albums did not work. Plus, the way I have it set up now, they will never have to login so they will not be registered users. They can do it now, but the options are confusing for an average person so I am trying to strip it to the minimum.

 
lvthunder

Joined: 2003-09-12
Posts: 808
Posted: Wed, 2007-12-05 18:28

The only problem with allowing anyone to post images you will some day end up with a bunch of porn on your site. The templates you need to modify are in the following folder gallery2/modules/core/templates. Just make sure you put the new files in gallery2/modules/core/templates/local so when you update G2 you don't overwrite the changes you made.

 
keirstinc

Joined: 2007-12-05
Posts: 6
Posted: Wed, 2007-12-05 21:26

I do not know what I am supposed to change in these templates. Can you give me some direction?

 
lvthunder

Joined: 2003-09-12
Posts: 808
Posted: Wed, 2007-12-05 21:35

Well you said you wanted to simplify the stuff on the screen. Those templates are what's used to generate those pages.

 
keirstinc

Joined: 2007-12-05
Posts: 6
Posted: Wed, 2007-12-05 22:06

I want to remove it for the people that are not logged in or even registered users and leave it for the admin. Looking at the code, I don't have a clue what to change. I am not a really in-depth coder. I basically just do pretty straight-forward html and php.

 
lvthunder

Joined: 2003-09-12
Posts: 808
Posted: Thu, 2007-12-06 00:43

I'm not quite sure what your talking about anymore. I thought you wanted to change stuff around. If there are certain parts of the form you only want admins to see, but there are parts that you want everyone else to see you can use if then statements. Those tpl files are HTML with Smarty tags in them. If you know HTML and php you will pick smarty up really fast. Do a google search for smarty and look a the manual. It's really easy to use. The hard part is finding the variables you want, but I can help you with that if you give me specific examples.

 
floridave
floridave's picture

Joined: 2003-12-22
Posts: 27300
Posted: Thu, 2007-12-06 00:53

Perhaps the simple upload mod would help?
http://gallery.menalto.com/node/35587

Dave
_____________________________________________
Blog & G2 || floridave - Gallery Team

 
keirstinc

Joined: 2007-12-05
Posts: 6
Posted: Thu, 2007-12-06 15:10

The simple module is exactly what I needed. Thanks for everyones help!