![]() |
|
Disable comments in general option? - 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: Disable comments in general option? (/thread-12299.html) |
Disable comments in general option? - wibbi - 2018-03-15 I can not find a setting with which I can disable "Allow Comments". Each new album and photo is always created with "Allow Comments" (checked). There does not seem to be an option. Therefore, I ask where the database is written during the detection for it, so I can set it from current "1" to "0". That would be nice. Disable comments in general option? - acrylian - 2018-03-15 The comment_form plugin has those general options. If you don't want comments disable the plugin. Disable comments in general option? - wibbi - 2018-03-15 The comment_form plugin is always disable. It was disabled before i run the first detection scan. But, all have a "1" in the database. Disable comments in general option? - acrylian - 2018-03-15 If it is disabled you don't have to care about comments. The value in the database does not matter then naturally. Again the plugin has the general option which of course can be overridden by individual settings that then must be changed individiually. Disable comments in general option? - wibbi - 2018-03-15 So I have to activate the plugin comments and disable the comments, so that a "0" is entered in the database? Well, not very logical. Yes, if the plugin is disabled anyway, then no comments can be written anyway, but why then the "1" in the database? OK, maybe because "comments on" is standard. Back to my question: I do not want to enable the plugin comments, so I disable the comments, so get a "0" in the database. Okay, you can say that I'm crazy, but I do not care. I would like to know at which point in the code the "1" is written in the database, so that I can make it a "0" to the standard. Disable comments in general option? - wibbi - 2018-03-15 Aha! That's a database table row Standard setting. Set by the setup.php database table create. Can you put an option in the setup for "comments" in general on/off? that was nice. Question: For what is the column "closecomments"? Disable comments in general option? - acrylian - 2018-03-15 Why, no plugin, no comments… That's for, well, closed comments… Disable comments in general option? - wibbi - 2018-03-15 If no further comments are allowed? I found that and wonder why the column is created twice? ... Disable comments in general option? - acrylian - 2018-03-15
Keep existing but don't allow more. Setup also includes lots of db code for updates from older versions.Can't answer such questions without digging into code which I lack a bit the time right now. Disable comments in general option? - vincent3569 - 2018-03-16 hi
|