Search
You can find the results of your search below.
Matching pagenames:
Fulltext results:
- Friendica Addon development @docs
- ment of your addon file. Here’s the structure: <code php> /** * Name: {Human-readable name} * Descri... > * Status: {Unsupported|Arbitrary status} */ </code> You can also provide a longer documentation in a... Register your addon hooks during installation. <code> \Friendica\Core\Hook::register($hookname, $file, $function); </code> ''%%$hookname%%'' is a string and corresponds to
- Friendica Installation @de:docs
- rsetzen, aber wir tun unser Bestes, um allgemeine Code-Fehler zu beheben. Falls du noch keinen eigenen ... ie Aktualisierung wesentlich einfacher. Der Linux-Code, mit dem man die Dateien direkt in ein Verzeichnis wie “meinewebseite” kopiert, ist <code> git clone https://github.com/friendica/friendica... ywebsite cd mywebsite bin/composer.phar install </code> Stelle sicher, dass der Ordner view/smarty3 exi
- Friendica Installation @docs
- es - but we will do our best to solve any general code issues. If you do not have a Friendica account y... epository into a directory “mywebsite” would be <code> git clone https://github.com/friendica/friendica... cd mywebsite bin/composer.phar install --no-dev </code> Make sure the folder view/smarty3 exists and is... le by the webserver user, in this case www-data <code> mkdir -p view/smarty3 chown www-data:www-data vi
- Friendica BBCode tags reference @docs
- === ^ Purpose ^ BBCode Tag ^ Resulting HTML Code ^ | Bold Text | %%[b]bold[/b]%% | %%<strong>b... viding the numerical value of the size in pixel <code> [size=20]exact size[/size] (size can be any number, in pixels) </code> or by providing textual aliases like ''xx-small... passage, you can specify the name of the font. <code> [font=serif]Serif font[/font] </code> The font
- Friendica Storage Backend Addon development @docs
- ll method in the interface must be implemented: <code php> namespace Friendica\Core\Storage\Capability\... ring(); public static function getName(); } </code> * ''%%get(string $reference)%%'' returns data ... l methods in the interface must be implemented: <code php> namespace Friendica\Core\Storage\Capability\... public function saveOptions(array $data); } </code> * ''%%getOptions()%%'' returns an array with d
- Autoloader with Composer @docs
- n ''%%src/%%'' that define a very useful class: <code php> // src/ItemsManager.php <?php namespace Frie... .. } public function getByID($id) { ... } } </code> The class ''%%ItemsManager%%'' has been declared... '%%require_once('vendor/autoload.php');%%''. The code will be something like: <code php> // mod/network.php <?php use Friendica\App; function network_cont
- Formatting Syntax @wiki
- nd_strings_in_your_installation|localization]]): <code - conf/lang/en/lang.php> <?php /** * Customizati... be modified */ $lang['js']['nosmblinks'] = ''; </code> ==== Image Links ==== You can also use an imag... t use indention for deeper levels - That's it <code> * This is a list * The second item * You... t use indention for deeper levels - That's it </code> Also take a look at the [[doku>faq:lists|FAQ on
- Friendica API @docs
- em id === Return values === On success: json: <code>"ok"</code> xml: <code><ok>true</ok></code> On error: HTTP 400 BadRequest ==== GET api/direct_messages==== Deprecated Twitt
- Domain-Driven-Design @docs
- take full advantage of PHP type hints. Before: <code php> function doSomething(array $intros) { fo... 'uid' => local_user()]); doSomething($intros); </code> After: <code php> function doSomething(\Friendica\Contact\Introductions\Collection\Introductions $int... ecForUser(local_user()); doSomething($intros); </code> ==== Dependency Injection ==== Under this conce
- Where to get started to help improve Friendica @docs
- r helpers in all areas, whether you write text or code, whether you spread the word to convince people o... out the provided links for hints at the expected code architecture. ==== Composer ==== Friendica uses... e of consistency between contribution and general code readability, Friendica follows the widespread [[h... d `/doc/$lng` subdirectories. === Check with PHP Code Sniffer === The [[https://github.com/squizlabs/P
- bbcode @de:docs
- mit Text</p></td> </tr> <tr> <td>Eingebetteter [code]Programmcode[/code] im Text</td> <td>Eingebetteter <key>Programmcode</key> im Text</td> </tr> <tr> <td>[code]Programmcode<br>über<br>mehrere<br>Zeilen[/code]</td> <td><code>Programmcode über mehrere Z
- ejabberd and prosody XMPP server with synchronized credentials @docs
- hichever user is running the server, ie. ejabberd<code> $ chown ejabberd:ejabberd /path/to/friendica/bin/auth_ejabberd.php </code> * Change the access mode so it is readable only to the user ejabberd and has exec<code> $ chmod 700 /path/to/friendica/bin/auth_ejabberd.php </code> * Edit your ejabberd.cfg file, comment out you
- How To Move Classes to src @docs
- hp%%'' must start with the following statement: <code php> namespace Friendica\Core; </code> From now on, the ''%%Config%%'' class can be referred to as ''%%... are the different ways you can use ''%%use%%'': <code php> // No use $config = new Friendica\Core\Config(); </code> <code php> // Namespace shortcut use Friendica\C
- Two-Factor Authentication @docs
- d, that automatically generates an authentication code. That code changes after a certain period of time. * To configure authentication via TOTP on multiple devices, during setup, scan the QR code using each device at the same time. * If 2FA is... OTP|andOTP]] ==== Record your One-Use Recovery Codes ==== From your two-factor authentication user s
- Friendica API @docs
- When an error occurs in API call, an HTTP error code is returned, with an error message Usually: * ... other error conditions Error body is * json <code json> { "error": "Specific error message", "request": "API path requested", "code": "HTTP error code" } </code> * xml <code xml> <status> <error>Specific error message</error>