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:49] arviddoc:techfaq [2024/04/07 13:03] (current) – updated for 1.3 arvid
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 =====
 +==== What is required to run FlatPress? ====
 +FlatPress 1.3 will happily run on **any web server that supports PHP from 7.1 to 8.3**.\\ 
 +//The PHP [[https://www.php.net/manual/de/book.intl.php|intl extension]] is mandatory.//
 +
 +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? ====
 +The short answer is no. FlatPress is a single user system by design.
 +
 +You should better ask "can I have more than one user?". In this case the answer is "yes, but it's not supported" :D
 +
 +Actually, you can run the installer multiple times; if you choose a different username for each time you run the setup, the old user won't be deleted, and so you'll get one user for each time you run the setup.
 +
 +The drawbacks in this are that every user has administrative powers and there is little or no checks on probable race conditions: for instance, if two you are editing two posts at the same time, strange things may happen: FP may for instance not show one of the posts (clean the cache from the Maintenance panel); if two of you are editing the same posts, the changes of the first to post will be probably lost, overwritten by the changes the other did (no fix for this at the moment).
 +
 +==== 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.
 +
 +==== 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! ====
 +Please do not hesitate to contact the FlatPress team. You may do so on different ways:
 +  * If you are familiar with GitHub, [[https://github.com/flatpressblog/flatpress/issues|open an issue there]].
 +  * To be sure it's really a bug, open a topic on the [[https://forum.flatpress.org|support forum]].
 +FlatPress is an international project, so our preferred language is English. You might find fellow FlatPress users speaking your language on the forum, though :)
 +
 +See also: https://www.flatpress.org/contact
 ===== BBCode ===== ===== BBCode =====
 ==== What is BBCode? ==== ==== What is BBCode? ====
Line 18: Line 53:
 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 26: Line 68:
  
 ==== 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 32: Line 74:
 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).
  
-===== Are multiple users supported? ===== +===== Comments ===== 
-The short answer is no. FlatPress is a single user system by design+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 serviceOnly then will this comment appear under your entry.
-You should better ask "can have more than one user?"In this case the answer is "yes, but it's not supported" :D+
  
-Actually, you can run the installer multiple times; if you choose different username for each time you run the setup, the old user won'be deletedand so you'll get one user for each time you run the setup+==== Approve comments ==== 
- +=== I have received an e-mail that comment from me must be approved. === 
-The drawbacks in this are that every user has administrative powers and there is little or no checks on probable race conditions: for instanceif two you are editing two posts at the same time, strange things may happen: FP may for instance not show one of the posts (clean the cache from the Maintenance panel); if two of you are editing the same posts, the changes of the first to post will be probably lost, overwritten by the changes the other did (no fix for this at the moment). +As of FlatPress 1.3 Andantecomments are blocked by the comment center plugin until you approve or delete them or change the policy
- +==== How to handle spam comments? ==== 
-====I've lost my password! ===== +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)
-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.+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 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.
  
-===== I've found a bug! ===== +===== Character encoding =====
-First of all, think of it twice. Done? Think again. :D Is it really a bug or a non-implemented-feature? +
-A bug is behavior you wouldn't expect. For instance if you save an entry and then it's displayed in a wrong order, that's a bug. You can contact. But first check whether you have the latest release installed. If not, upgrade and check again if it's still there. +
-Otherwise, if you save your entry and then you wonder why **it's not playing banjo** in the meantime, that's probably a non-implemented feature. +
-**NOTE**: the playing banjo is not a short-term feature, we're busy teaching FlatPress how to do a good espresso coffee. FP wants it the American-way.+
  
 +==== Which character encoding standards are supported by FlatPress? ====
 +FlatPress currently supports four character encoding standards. [[https://en.wikipedia.org/wiki/ISO/IEC_8859-15|ISO-8859-15]] (Latin-9), [[https://en.wikipedia.org/wiki/Windows-1252|Windows-1252]], [[https://en.wikipedia.org/wiki/ISO/IEC_8859-7|ISO-8859-7]] and [[https://en.wikipedia.org/wiki/UTF-8|UTF-8]]. UTF-8 is recommended. Other character sets have not yet been tested (?).
 +To change the character encoding, log in to the administration area and open the "Configuration" menu.
  
doc/techfaq.1578170989.txt.gz · Last modified: 2020/01/04 21:49 by arvid

Donate Powered by PHP Valid HTML5 Valid CSS Driven by DokuWiki