Announcement

#1 2012-01-02 18:08:40

NWS
Member
Seattle, WA
2011-04-02
175

[resolved] Trying to set up comments

Here's what I'd like to do but can't get it working the way I need.

I need to have a private album allowing comments. I would like to set up one group or user (whatever would work best) to have access to this album and be able to login under 1 account (set up by me). But under this account have multiple users without having to register.

Here's what I want to use it for.

I'm in a photography group. I need the members of the group to be able to access it under one account to offer critique, lighting suggestions, etc.

I've got it partially working but only one person (the user account) can post a comment, otherwise there is an error stating the account is already in use.

Anyone know how I can set it up this way?

Please help.
Thanks

Offline

 

#2 2012-01-05 18:05:41

NWS
Member
Seattle, WA
2011-04-02
175

Re: [resolved] Trying to set up comments

Could someone please help me with this? Or at least tell me what I want to do isn't possible so I can at least figure out some type of solution?

Thanks

Offline

 

#3 2012-01-05 19:27:10

flop25
Piwigo Team
2006-07-06
7037

Re: [resolved] Trying to set up comments

hello
to avoid the error "the account is already in use." put your user as "generic". You can use the plugin Event cats to set an auto login through a link


To get a better help : Politeness like Hello-A link-Your past actions precisely described
Check my extensions : more than 30 available
who I am and what I do : http://fr.gravatar.com/flop25
My gallery : an illustration of how to integrate Piwigo in your website

Offline

 

#4 2012-01-05 19:39:16

NWS
Member
Seattle, WA
2011-04-02
175

Re: [resolved] Trying to set up comments

Thank you!! I'll give that a try.

I must be doing something wrong. I've managed to set up events and go where I want the login to go.

But when I'm posting comments as a different author I'm getting errors:


    Anti-flood system : please wait for a moment before trying to post another comment
    Your comment has NOT been registered because it did not pass the validation rules

That was the first attempt after one successful comment post.

When trying to post as a different author I get this one:

    This login is already used by another user
    Your comment has NOT been registered because it did not pass the validation rules

Am I right in assuming I need to logout and then login again to get it to work? I'm assuming two people cannot be logged in under that user name at the same time?

Still getting this error when trying to post as a different author even using the link provided by event cats:

    This login is already used by another user
    Your comment has NOT been registered because it did not pass the validation rules

Last edited by NWS (2012-01-05 20:16:14)

Offline

 

#5 2012-01-05 20:21:56

NWS
Member
Seattle, WA
2011-04-02
175

Re: [resolved] Trying to set up comments

Somehow I managed to get it working. Seems there is some sort of time limit for posting more comments under that account.

Most seems to be working alright. Managed to post comments under the same account but as a different author, either by logging in or using the auto login link created by event cats.

But now I have another issue.
In piwigo I set the comments so users can edit/delete comments. There's nothing showing up anywhere under an image for them to do that. Only shows up when I'm logged in as webmaster.
How to fix that?

Also in the emails it's sending me about comments there is a link to go to edit/delete the comments.  I found some comments I'd made a month or so ago, and had forgotten they were there but wanted them deleted.


Where in Piwigo do I go to edit/delete (as webmaster) all comments?

Thanks

Last edited by NWS (2012-01-05 20:36:45)

Offline

 

#6 2012-01-05 20:36:36

flop25
Piwigo Team
2006-07-06
7037

Re: [resolved] Trying to set up comments

you can edit the config variable
// anti-flood_time : number of seconds between 2 comments : 0 to disable
$conf['anti-flood_time'] = 60;

you should normaly see these 2 icons for the comments under the picture AND on the page /comments.php


To get a better help : Politeness like Hello-A link-Your past actions precisely described
Check my extensions : more than 30 available
who I am and what I do : http://fr.gravatar.com/flop25
My gallery : an illustration of how to integrate Piwigo in your website

Offline

 

#7 2012-01-05 20:41:29

NWS
Member
Seattle, WA
2011-04-02
175

Re: [resolved] Trying to set up comments

Thank you again. I really appreciate your help.

Yes the two icons are on the comments.php page, but they are not showing up on the image pages when logged in as the user. They do show up if I log in as webmaster though. Obviously somewhere I didn't set something right.

Last edited by NWS (2012-01-05 20:43:16)

Offline

 

#8 2012-01-05 20:44:51

flop25
Piwigo Team
2006-07-06
7037

Re: [resolved] Trying to set up comments

NWS wrote:

Thank you again. I really appreciate your help.

Yes the two icons are on the comments.php page, but they are not showing up on the image pages.

I'm blushing ^^
it might depends on the theme about the icons


To get a better help : Politeness like Hello-A link-Your past actions precisely described
Check my extensions : more than 30 available
who I am and what I do : http://fr.gravatar.com/flop25
My gallery : an illustration of how to integrate Piwigo in your website

Offline

 

#9 2012-01-05 20:49:51

NWS
Member
Seattle, WA
2011-04-02
175

Re: [resolved] Trying to set up comments

OK, thanks.

Another dumb question. Where do I change that variable you gave me? Which file? I'm totally lost on PHP although I can cut/paste...lol

Offline

 

#10 2012-01-05 20:53:33

flop25
Piwigo Team
2006-07-06
7037

Re: [resolved] Trying to set up comments

NWS wrote:

OK, thanks.

Another dumb question. Where do I change that variable you gave me? Which file? I'm totally lost on PHP although I can cut/paste...lol

Localfile editor, like all the customizations

Last edited by flop25 (2012-01-05 20:54:00)


To get a better help : Politeness like Hello-A link-Your past actions precisely described
Check my extensions : more than 30 available
who I am and what I do : http://fr.gravatar.com/flop25
My gallery : an illustration of how to integrate Piwigo in your website

Offline

 

#11 2012-01-05 21:00:17

NWS
Member
Seattle, WA
2011-04-02
175

Re: [resolved] Trying to set up comments

This file?

"config_default.inc.php"

Offline

 

#12 2012-01-05 21:04:11

flop25
Piwigo Team
2006-07-06
7037

Re: [resolved] Trying to set up comments

NWS wrote:

This file?

"config_default.inc.php"

this is the default file ! LocalFile editor can open it, in order to show all the variables available
But you copy/paste/change the variable in the Tab config of localfile editor and save it


To get a better help : Politeness like Hello-A link-Your past actions precisely described
Check my extensions : more than 30 available
who I am and what I do : http://fr.gravatar.com/flop25
My gallery : an illustration of how to integrate Piwigo in your website

Offline

 

#13 2012-01-05 21:25:47

NWS
Member
Seattle, WA
2011-04-02
175

Re: [resolved] Trying to set up comments

Thank you! That worked.

Offline

 

#14 2013-10-23 23:03:33

cfqgy
Member
2013-03-06
9

Re: [resolved] Trying to set up comments

Thanks! This really helped me :)

Offline

 

#15 2019-07-21 19:44:17

zjohn13
Member
2015-04-08
34

Re: [resolved] Trying to set up comments

Thanks both, this old thread helped me as well.

John

Offline

 

Board footer

Powered by FluxBB

github twitter newsletter Donate Piwigo.org © 2002-2024 · Contact