Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
wiki:documentation [2025/06/01 02:30] – [Snippets and Templates] scumsuckwiki:documentation [2025/08/11 22:50] (current) – [Discussion] scumsuck
Line 61: Line 61:
 Avatars may be uploaded after making a comment by making a Gravatar account.  Avatars can also be changed whenever you want. Avatars may be uploaded after making a comment by making a Gravatar account.  Avatars can also be changed whenever you want.
  
 +==== Discussion ====
 +The [[https://www.dokuwiki.org/plugin:discussion|discussion plugin]] enables a comment section on individual pages, by typing ''%%~~DISCUSSION~~%%''in the area you want that section in.  
 +
 +The default input fields are
 +  - Real Name
 +  - E-Mail
 +  - Website
 +  - Comment
 +Those fields are hard-coded, with no configuration options in the server-side admin panel.  I have done a really hacky CSS fix to replace "Real Name" with "Username" so people don't think I'm trying to doxx them.
 +
 +This code hides "Real Name" and makes it so screen readers don't read it.
 +
 +<code>
 +.comment_name .block span {
 +  font-size: 0;
 +  visibility: hidden;
 +}
 +</code>
 +
 +This code replaces the text with "Username" or whatever you want it to read instead.
 +
 +<code>
 +.comment_name .block span::after {
 +  content: 'Username:';
 +  font-size: 18px;
 +  visibility: visible;
 +}
 +</code>
 +
 +Supposedly entering your e-mail allows you to get notifications for comments, but I haven't been able to get email notifications as an admin.  For now, the e-mail just lets you have [[https://wiki.scumsuck.com/wiki:documentation#avatars|an avatar]].
 ==== Styling ==== ==== Styling ====
 Dokuwiki has a [[https://www.dokuwiki.org/plugin:styling|styling plugin]] built in for simple color changes to templates, [[https://wiki.scumsuck.com/wiki:documentation?do=admin&page=styling|accessible via the admin panel]].   Dokuwiki has a [[https://www.dokuwiki.org/plugin:styling|styling plugin]] built in for simple color changes to templates, [[https://wiki.scumsuck.com/wiki:documentation?do=admin&page=styling|accessible via the admin panel]].