doc:techfaq
Differences
This shows you the differences between two versions of the page.
Next revision | Previous revision | ||
doc:techfaq [2020/01/04 21:22] – created arvid | doc:techfaq [2024/04/07 13:03] (current) – updated for 1.3 arvid | ||
---|---|---|---|
Line 1: | Line 1: | ||
- | ====== | + | ====== |
- | Find answers to // | + | Find answers to // |
- | ===== What is BBCode? ===== | + | ===== General technical questions ===== |
- | For a general overview, see [[http://en.wikipedia.org/wiki/BBCode]]. | + | ==== What is required to run FlatPress? ==== |
- | To see which BBCode tags are implemented in FlatPress, see [[doc: | + | 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.// | ||
- | ===== How is BBCode implemented ? ===== | + | 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:// |
- | Using this great class: | + | |
- | ===== What is a widget? ===== | + | Since all data is stored in files, no database |
- | A Widget | + | |
- | With " | + | |
- | A widget can then provide more advanced functions than just displaying a list of links (for which I'd suggest the static+blockparser combo), you may for instance have a widget fetching a displaying an rss feed from an external web page. The only limit is what php can do :) | + | |
- | ===== What is a static page? ==== | + | ==== How to install FlatPress? ==== |
- | A static page is an entry completely unlinked from the normal blog entry flux and that can't be commented. It can be reached using the file name you chose when you save it as a parameter for the URL; for instance if you choose MY_PAGE as a file name (not as a title!) you will be able to access your page using %%http:// | + | Installing FlatPress [[en: |
- | Where are my static page linked? How do I show them out? | + | |
- | SPB creates automatically | + | ==== Are multiple users supported? ==== |
- | for instance: | + | The short answer is no. FlatPress is a single |
- | < | + | You should better ask "can I have more than one user?". In this case the answer is "yes, but it's not supported" |
- | [list] | + | |
- | [*][url=static.php?page=MY_PAGE]My Page[/ | + | |
- | [*][url=static.php? | + | |
- | [/list] | + | |
- | </ | + | |
+ | 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. | ||
- | ===== How do I add a new widget? ===== | + | 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). |
- | Add the corresponding plugin both to the plugin list and to the widget list in the section | + | ==== I've lost my password! ==== |
+ | Delete **%%setup.lock** from fp-content/, | ||
- | 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 '' | + | ==== How to backup my FlatPress blog? ==== |
+ | There a three things you can do against data loss: Backup, backup, and: backup.\\ | ||
+ | Fortunately, | ||
- | Generally in themes you have one ore more predefined widget bars. Usually | + | ==== 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:// | ||
+ | * To be sure it's really | ||
+ | FlatPress is an international project, so our preferred language is English. You might find fellow FlatPress users speaking your language on the forum, though :) | ||
- | To add a new widget | + | See also: https:// |
+ | ===== BBCode ===== | ||
+ | ==== What is BBCode? ==== | ||
+ | BBCode is a simple-to-understand markup language that allows | ||
+ | To learn which BBCode tags are implemented | ||
+ | ==== How is BBCode implemented ? ==== | ||
+ | Using the great class [[http:// | ||
- | ===== I have enabled a widget in the plugin panel but I don't see anywhere in my sidebars | + | ===== Entries and pages ===== |
+ | ==== What is an entry? ==== | ||
+ | A blog entry is one content entry of your blog. An entry has a publish date and may be commented by your readers. | ||
+ | * Blog entry example on flatpress.org: | ||
- | As we said, Widgets are special plugins providing | + | ==== What is a static 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 " | ||
+ | * Static page example on flatpress.org: | ||
+ | ===== Plugins ===== | ||
+ | [[doc: | ||
+ | [[res: | ||
+ | ==== What is a Plugin? ==== | ||
+ | // In the FlatPress administration area -> Plugin administration: | ||
- | ===== Are multiple users supported? | + | ===== Widgets |
+ | ==== What is a widget? ==== | ||
+ | A widget is a dynamic component displayed (depending on the theme and on your config) on a topbar, on the right sidebar (default), etc. | ||
+ | With " | ||
+ | A widget can then provide more advanced functions than just displaying a list of links (for which I'd suggest the static+blockparser combo), you may for instance have a widget fetching a displaying an rss feed from an external web page. The only limit is what php can do :) | ||
+ | ==== How do I add a new widget? ==== | ||
+ | {{ : | ||
- | The short answer | + | 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 '' |
- | You should better ask "can I have more than one user?". In this case the answer is "yes, but it's not supported" | + | Generally in themes you have one ore more predefined widget bars. Usually you have at least the '' |
- | Actually you can run the installer multiple times; if you choose | + | To add a widget, just drag'n drop it from the right to the bar you wish it to appear. See screenshot on the right! |
+ | ==== I have enabled | ||
+ | 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, | ||
- | 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 | + | ===== Comments ===== |
+ | FlatPress offers very effective mechanisms against spam comments. | ||
+ | Preventively, as a first step, the commenter has to solve a simple math problem | ||
- | Of course, working on this is on my todo; you might expect | + | ==== 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:// | ||
+ | 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 four character encoding standards. [[https:// | ||
+ | To change the character encoding, log in to the administration area and open the " | ||
doc/techfaq.1578169378.txt.gz · Last modified: 2020/01/04 21:22 by arvid