plugin:discussion
Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
plugin:discussion [2022-07-12 11:59] – [Is it somehow possible to show all discussions on one page (like in the admin area)?] johng | plugin:discussion [2024-02-06 08:11] (current) – [When I add a ~~DISCUSSION~~ to a page the toolbar for the editor for the main page text changes to the one for the discussion submission box with buttons like that for media removed. Is this expected behaviour?] Aleksandr | ||
---|---|---|---|
Line 6: | Line 6: | ||
email : michael@content-space.de | email : michael@content-space.de | ||
type : syntax, action, admin, helper | type : syntax, action, admin, helper | ||
- | lastupdate : 2020-09-24 | + | lastupdate : 2021-12-31 |
compatible : Detritus, Hrun, Ponder Stibbons, Elenor of Tsort, Frusterick Manners, Greebo, Hogfather | compatible : Detritus, Hrun, Ponder Stibbons, Elenor of Tsort, Frusterick Manners, Greebo, Hogfather | ||
depends | depends | ||
Line 41: | Line 41: | ||
* Edit: Registered users can edit their comments; admins can edit all comments. To remove a comment, just edit it, clear the text and save the empty comment -- like you would do with a wiki page. | * Edit: Registered users can edit their comments; admins can edit all comments. To remove a comment, just edit it, clear the text and save the empty comment -- like you would do with a wiki page. | ||
* Delete: Registered users and admin all comments.\\ // | * Delete: Registered users and admin all comments.\\ // | ||
- | * Hide / Show: Admins can deactivate and reactivate comments easily by this button. Hidden comments aren't shown to normal users and are displayed dimmed to admins. Registered users can only hide their own comments. | + | * Hide / Show: Admins can deactivate and reactivate comments easily by this button. Hidden comments aren't shown to normal users and are displayed dimmed to admins. Registered users can only hide their own comments. |
Of course, the whole DokuWiki [[: | Of course, the whole DokuWiki [[: | ||
Line 64: | Line 64: | ||
^ '' | ^ '' | ||
- | ^ '' | + | ^ '' |
- | ^ '' | + | ^ '' |
^ '' | ^ '' | ||
^ '' | ^ '' | ||
Line 75: | Line 75: | ||
^ '' | ^ '' | ||
^ '' | ^ '' | ||
- | ^ '' | + | ^ '' |
^ '' | ^ '' | ||
^ '' | ^ '' | ||
Line 114: | Line 114: | ||
The plugin has built-in support for the [[plugin: | The plugin has built-in support for the [[plugin: | ||
- | ==== My dates are shown wrong. What can I do? ==== | ||
- | |||
- | You're probably not running the latest version of the plugin. Try to update to the latest version first. | ||
==== Is it possible to show the newest entry on top? ==== | ==== Is it possible to show the newest entry on top? ==== | ||
Line 126: | Line 123: | ||
If you enable the [[config: | If you enable the [[config: | ||
+ | ==== How can I subscribe to a RSS feed of all discussions or threads ==== | ||
+ | |||
+ | This is possible using the [[feed]] plugin, please see there how it works. | ||
+ | |||
+ | ==== No subscribe/ | ||
+ | |||
+ | The plugin disables subscription for logged-in users when the option " | ||
+ | |||
+ | |||
+ | ==== Howto rename all Discussion section titles? ==== | ||
+ | |||
+ | You can overwrite translated strings such as the default title with your own text. | ||
+ | <code php conf/ | ||
+ | |||
+ | <?php | ||
+ | /** | ||
+ | * Customization of the english language file | ||
+ | * Copy only the strings that needs to be modified | ||
+ | */ | ||
+ | |||
+ | $lang[' | ||
+ | </ | ||
==== Where are discussions saved? ==== | ==== Where are discussions saved? ==== | ||
Line 144: | Line 163: | ||
Alternative: | Alternative: | ||
- | ==== When I use the sidebar plugin the discussions disappear ===== | ||
- | This is a know problem with the sidebar plugin which needs to be fixed by it's author. If you're looking for working alternatives in the meanwhile I suggest to have a look at the [[plugin: | ||
==== Is it somehow possible to show all discussions on one page (like in the admin area)? ==== | ==== Is it somehow possible to show all discussions on one page (like in the admin area)? ==== | ||
Line 167: | Line 184: | ||
Discussions aren't stored like regular wiki pages. This will not work. | Discussions aren't stored like regular wiki pages. This will not work. | ||
- | ==== How can I subscribe to a RSS feed of all discussions or threads ==== | ||
- | |||
- | This is possible using the [[feed]] plugin, please see there how it works. | ||
- | |||
- | ==== No subscribe/ | ||
- | |||
- | The plugin disables subscription for logged-in users when the option " | ||
==== Removing the shown IP of a guest comment and replacing it with ' | ==== Removing the shown IP of a guest comment and replacing it with ' | ||
Line 184: | Line 194: | ||
$comment[' | $comment[' | ||
- | + | ||
- | ==== Is it possible to disable the email box for guest comments? ==== | + | |
- | + | ||
- | I'm not a developer of the plugin but I believe you can do this if you comment out the following lines 283-287 and 291: | + | |
- | + | ||
- | < | + | |
- | // if(empty($_REQUEST[' | + | |
- | // if(!mail_isvalid($_REQUEST[' | + | |
- | // msg($lang[' | + | |
- | // return; | + | |
- | // } else { | + | |
- | $comment[' | + | |
- | $comment[' | + | |
- | $comment[' | + | |
- | // } | + | |
- | </ | + | |
- | + | ||
- | and lines 983 - 988: | + | |
- | + | ||
- | < | + | |
- | < | + | |
- | <label class=" | + | |
- | < | + | |
- | <input type=" | + | |
- | </ | + | |
- | </ | + | |
- | + | ||
- | </ | + | |
- | + | ||
- | in action.php inside the plugins directory. Anonymous users won't be able to subscribe tho. Please correct me if I'm breaking some other function with this. Until now there hasn't been a problem tho. Andy | + | |
==== When I add a ~~DISCUSSION~~ to a page the toolbar for the editor for the main page text changes to the one for the discussion submission box with buttons like that for media removed. | ==== When I add a ~~DISCUSSION~~ to a page the toolbar for the editor for the main page text changes to the one for the discussion submission box with buttons like that for media removed. |
plugin/discussion.1657619989.txt.gz · Last modified: 2022-07-12 11:59 by johng