User Tools

Site Tools


doc:techfaq

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
doc:techfaq [2020/01/04 21:55] – [I've found a bug!] arviddoc:techfaq [2024/02/18 14:34] (current) – [Approve comments] fraenkiman
Line 1: Line 1:
-====== Freqently Asked Technical Questions ====== +====== Frequently Asked Technical Questions ====== 
-Find answers to //technical// questions about FlatPress here. If you're looking for general FAQ about FlatPress, please see [[doc:faq|this page]].+Find answers to //technical// questions about FlatPress here. If you're looking for general FAQ about FlatPress, please see [[doc:faq|this page]]. And for answers to more specific technical questions, please see the [[doc:tips|Tips and guides]] page.
  
 ===== General technical questions ===== ===== General technical questions =====
 +==== What is required to run FlatPress? ====
 +FlatPress 1.2.1 will happily run on **any web server that supports PHP from 5.6 to 8.0**.\\ 
 +
 +//(Note for future use: FlatPress 1.3 "Andante" will run on PHP 7.1 to 8.3 - and it'll need the PHP [[https://www.php.net/manual/de/book.intl.php|intl extension]] enabled.)//
 +
 +For best results (but not mandatory), the web server should also have a rewrite engine (such as [[https://httpd.apache.org/docs/2.4/mod/mod_rewrite.html|mod_rewrite]]) enabled; this is needed by the PrettyURLs plugin to create, well, pretty URLs. Also, [[https://www.php.net/manual/en/book.image.php|GDlib]] should be installed for the creation of image thumbnails.
 +
 +Since all data is stored in files, no database is needed.
 +
 +==== How to install FlatPress? ====
 +Installing FlatPress [[en:doc:basic:installation|is very easy]].
 +
 ==== Are multiple users supported? ==== ==== Are multiple users supported? ====
 The short answer is no. FlatPress is a single user system by design. The short answer is no. FlatPress is a single user system by design.
Line 14: Line 26:
 ==== I've lost my password! ==== ==== I've lost my password! ====
 Delete **%%setup.lock** from fp-content/, backup your fp-content/config/ if you heavily customized FlatPress and then restart setup (point to index.php or setup.php); once asked create a user with the same username of the old one and it will be overwritten. Restore your config/ dir backup once done. Delete **%%setup.lock** from fp-content/, backup your fp-content/config/ if you heavily customized FlatPress and then restart setup (point to index.php or setup.php); once asked create a user with the same username of the old one and it will be overwritten. Restore your config/ dir backup once done.
 +
 +==== How to backup my FlatPress blog? ====
 +There a three things you can do against data loss: Backup, backup, and: backup.\\ 
 +Fortunately, [[en:doc:basic:backup|backing up your FlatPress blog is quite easy]].
  
 ==== I've found a bug! ==== ==== I've found a bug! ====
Line 38: Line 54:
 A static page is an entry completely unlinked from the normal blog entry flux and that can't be commented. Examples would be the "About" and the "Imprint" page.  A static page is an entry completely unlinked from the normal blog entry flux and that can't be commented. Examples would be the "About" and the "Imprint" page. 
   * Static page example on flatpress.org: https://www.flatpress.org/download   * Static page example on flatpress.org: https://www.flatpress.org/download
 +
 +===== Plugins =====
 +[[doc:plugins:standard#standard_plugins|Standard plugins]]
 +
 +[[res:plugins|There are also a lot plugins contributed by the community!]]
 +==== What is a Plugin? ====
 +// In the FlatPress administration area -> Plugin administration: Create new article (What is a plugin?). //
  
 ===== Widgets ===== ===== Widgets =====
Line 46: Line 69:
  
 ==== How do I add a new widget? ==== ==== How do I add a new widget? ====
-Add the corresponding plugin both to the plugin list and to the widget list in the section and at the position you want it to go.+{{ :doc:widgetconfig_screenshot.png?direct&200|Screenshot of widget configuration in the admin area. Click to view in full size!}}Add the corresponding plugin both to the plugin list and to the widget list in the section and at the position you want it to go.
  
 Widgets are organized in **groups** or **bars**; every bar can contain any number of widgets. These bars are then displayed on the theme using the special tag ''{widget pos=BAR}'' where ''BAR'' is the name of the bar. Widgets are organized in **groups** or **bars**; every bar can contain any number of widgets. These bars are then displayed on the theme using the special tag ''{widget pos=BAR}'' where ''BAR'' is the name of the bar.
Line 52: Line 75:
 Generally in themes you have one ore more predefined widget bars. Usually you have at least the ''right'' bar; a lot of themes display both the contents of the left and of the right bar even if they actually have one single column of widgets (they show them together, one group after the other). Generally in themes you have one ore more predefined widget bars. Usually you have at least the ''right'' bar; a lot of themes display both the contents of the left and of the right bar even if they actually have one single column of widgets (they show them together, one group after the other).
  
-To add a new widget you add its plugin name to the plugin list in the paneland the choose one of the groups and add the plugin name to the list as well. As you saw in the blockparser example, some widget may expect you to provide some parameters as well. +To add a widget, just drag'n drop it from the right to the bar you wish it to appearSee screenshot on the right!
 ==== I have enabled a widget in the plugin panel but I don't see anywhere in my sidebars ==== ==== I have enabled a widget in the plugin panel but I don't see anywhere in my sidebars ====
 As we said, Widgets are special plugins providing a widget function; by the way FlatPress does not know where you want it to appear, so, once a plugin widget is loaded, you should enable it in the widget panel as well (see the previous question). As we said, Widgets are special plugins providing a widget function; by the way FlatPress does not know where you want it to appear, so, once a plugin widget is loaded, you should enable it in the widget panel as well (see the previous question).
  
 +===== Comments =====
 +FlatPress offers very effective mechanisms against spam comments.
 +Preventively, as a first step, the commenter has to solve a simple math problem (Accessible Antispam Plugin) to be able to send his comment. However, if a spam bot has passed this first stage, you can either block all comments until they are approved or filter them using appropriate guidelines and/or have them checked by the Akismet service. Only then will this comment appear under your entry.
 +
 +==== Approve comments ====
 +=== I have received an e-mail that a comment from me must be approved. ===
 +As of FlatPress 1.3 Andante, comments are blocked by the comment center plugin until you approve or delete them or change the policy.
 +==== How to handle spam comments? ====
 +To do this, go to Posts -> Manage posts in the administration area. Now find the post that contains spam comments. Now copy the ID of the post (FlatPress 1.3 required).
 +Now go to the comment center -> Manage comments. Search for the post using the ID. You can now search for the comment, send it to Akismet and delete it. 
 +==== Where can I get an Akismet API key? ====
 +FlatPress offers you the comment center and [[https://akismet.com/|Akismet]] to effectively fend off spam comments. To be able to use the Akismet service, you need an Akismet API key. For personal websites and blogs, this API key is **free** of charge (personal). If your FlatPress blog is not personal, for example if it represents a company, you will need a paid subscription. If you don't have an Akismet key yet, go to the [[https://akismet.com/pricing/|Akismet website]] and choose an anti-spam solution that suits you.
 +After you have received the key, you can enter it in the comment center in the configuration.
 +
 +===== Character encoding =====
 +
 +==== Which character encoding standards are supported by FlatPress? ====
 +FlatPress currently supports two character encoding standards. [[https://en.wikipedia.org/wiki/ISO/IEC_8859-15|ISO-8859-15]] (Latin-9) and [[https://en.wikipedia.org/wiki/UTF-8|UTF-8]]. UTF-8 is recommended.
 +To change the character encoding, log in to the administration area and open the "Configuration" menu.
  
 +Although FlatPress with in Greek supports the character encoding [[https://en.wikipedia.org/wiki/ISO/IEC_8859-7|ISO-8859-7]], the title of the entry must correspond to UTF-8 or ISO-8859-15. See [[https://github.com/flatpressblog/flatpress/issues/281|issue #281]]
doc/techfaq.1578171348.txt.gz · Last modified: 2020/01/04 21:55 by arvid

Donate Powered by PHP Valid HTML5 Valid CSS Driven by DokuWiki