![]() |
|
Removing Commenting? - Printable Version +- ZenphotoCMS Forum (https://forum.zenphoto.org) +-- Forum: Support (https://forum.zenphoto.org/forum-1.html) +--- Forum: General support (https://forum.zenphoto.org/forum-4.html) +--- Thread: Removing Commenting? (/thread-3434.html) |
Removing Commenting? - slythfox - 2008-08-08 For my photo gallery, I would prefer to disable commenting. Is there an easy way to do this? Removing Commenting? - acrylian - 2008-08-08 It's an option in the admin options. Removing Commenting? - slythfox - 2008-08-09 I see... I finally found it. It's an a very inconvenient place: theme options. Removing Commenting? - acrylian - 2008-08-09 Hm, it is actually theme related since a theme must not support that option or comments at all. Where would you like to have that? Removing Commenting? - slythfox - 2008-08-10 Well, in the comments section would be most logical. (Alternatively, it could be a default plugin, and you could turn it on/off that way.) But leaving it it where it is could work. I just didn't expect it. And now, I'm starting to wonder why I didn't see it before. I understand why, programming-wise, it is named "Allow_comments," but when it's being displayed to the user, don't you think that underscore should be replaced with a space. Even a simple str_replace("_", "", $setting) would probably work. Removing Commenting? - sbillard - 2008-08-10 It used to be called Allow comments (without the space). That must have got broken when the multi-lilngual stuff went in and we did not notice. If it is a bug causing this I will get it fixed for 1.2. If it is an omission I am afraid it will wait until after 1.2 since new text to be translated is frozen. Removing Commenting? - sbillard - 2008-08-10 Looks like we are all 'in luck'. The underscore is only in the [i]Default[/i][i] theme. The other themes have got it right. So, that means the text string already exists and we can just fix the Default theme.[/i] |