Auto publishing from frontend

Phoca Gallery - image gallery extension
Matmuth
Phoca Newbie
Phoca Newbie
Posts: 7
Joined: 02 Oct 2008, 13:11

Auto publishing from frontend

Post by Matmuth »

Hi,

I just want to know if it was possible to publish automatically the images uploded by authenticated users.

At this time, if one of my registred users upload images to his own folder (Author) I have to publish the images in the backend.

Thanks
User avatar
Jan
Phoca Hero
Phoca Hero
Posts: 48973
Joined: 10 Nov 2007, 18:23
Location: Czech Republic
Contact:

Re: Auto publishing from frontend

Post by Jan »

??? all images are stored as published ??? there is no option to upload images as unpublished ???
If you find Phoca extensions useful, please support the project
Matmuth
Phoca Newbie
Phoca Newbie
Posts: 7
Joined: 02 Oct 2008, 13:11

Re: Auto publishing from frontend

Post by Matmuth »

Hi,
when an user upload some pics, they are not available in the backend and I have to go to Images >> add multiple >> the folder of the catégory, next I have to select the new pictures, the category and next I have to save to publish the pictures.

If i don't do that the pictures are not added to the category.
User avatar
caro84g
Phoca Hero
Phoca Hero
Posts: 1369
Joined: 11 Feb 2008, 17:52
Location: Holland
Contact:

Re: Auto publishing from frontend

Post by caro84g »

Hi,

it sounds like the user only uploads the picture and doesn't add it to a category. (This is something else than publishing...).

Are your user rights ok? See:
https://www.phoca.cz/documentation/index ... ser-rights

Carolien
Please ask your support questions in the forums and not via PM - I delete those PM's
Backup before you do any major change to your website (and test first)
Matmuth
Phoca Newbie
Phoca Newbie
Posts: 7
Joined: 02 Oct 2008, 13:11

Re: Auto publishing from frontend

Post by Matmuth »

Hi caro84g,

I think my users have the good rights because i set than each registered user can post, modify and delete pictures in each categories.

The problem append when a user is in a category and then he upload a picture using the upload tab visible at the bottom of the category gallery.

for example:

a gallery named TEST on which all registered users have the right to access, Upload and delete.
If a registered user try to upload a picture, the picture is successfully uploaded on the server but is not visible in the gallery TEST.

As a picture is better than a large discussion
User avatar
caro84g
Phoca Hero
Phoca Hero
Posts: 1369
Joined: 11 Feb 2008, 17:52
Location: Holland
Contact:

Re: Auto publishing from frontend

Post by caro84g »

Hi,

is automatic thumbnail creation enabled?

Carolien
Please ask your support questions in the forums and not via PM - I delete those PM's
Backup before you do any major change to your website (and test first)
Matmuth
Phoca Newbie
Phoca Newbie
Posts: 7
Joined: 02 Oct 2008, 13:11

Re: Auto publishing from frontend

Post by Matmuth »

yes automatic thumbnail creation is enable :x

I am a little bit disappointed :(
User avatar
Jan
Phoca Hero
Phoca Hero
Posts: 48973
Joined: 10 Nov 2007, 18:23
Location: Czech Republic
Contact:

Re: Auto publishing from frontend

Post by Jan »

??? maybe GD function cannot create images if user upload images in front...

Test the upload in front and please let me know, if image you have uploaded:

- is in the disc
- there is a thumb folder
- 3 thumbnails of this images are stored in this thumb folder...

or try before doing it create the thumb folder in user folder:

- user-folder/thumb/

maybe if user upload images in frontend, because of permissions no thumbs folder will be created and no thumbnails can be saved...

Jan
If you find Phoca extensions useful, please support the project
Matmuth
Phoca Newbie
Phoca Newbie
Posts: 7
Joined: 02 Oct 2008, 13:11

Re: Auto publishing from frontend

Post by Matmuth »

Hi Jan,

I think we are near to find the solution. My site is on a server which disabled the CHMOD configuration(Set to 755).

So after creating the thumbs folder with my FTP client, if I try to upload some pics I get a beautiful "Error 500" from server.

Do you think there is a solution to prevent from CHMOD config or not ? Please say yes :wink:
Matmuth
Phoca Newbie
Phoca Newbie
Posts: 7
Joined: 02 Oct 2008, 13:11

Re: Auto publishing from frontend

Post by Matmuth »

Sorry but this was not the problem.

As you asked me, I've tried to upload some pictures. There are successfully uploaded to the directory but thumbnails are not created in thumbs folder.

What do you think about this problem?
Post Reply