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 BBCode tags reference @docs
- . === Code Blocks === You can either use inline code or create a multi-line code block, both by using the BBCode ''[code]'' tag. If it is used on a single line surroundin... or example <code> Can somebody help me with the [code]hello_world()[/code] function in the [code]indroduction[/code] module? </code> will produce a posting like > ... bb]'' and ''[pre]'' which makes them display as BBCode tags in code blocks instead of being removed. ''[code]'' blocks inside [noparse] will still be converte... the text. {{ :docs:friendica_custom_css_style_bbcode.png?nolink |screenshot showing the added text shadow by using the style BBCode tag}} === Custom class block === You can also a
- 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
- 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 Zeilen</code></td> </tr> <tr> <td>[code=php]function text_highlight($s,$lang)[/code]</td> <td><code><div class="hl-main"><ol class=
- Autoloader with Composer @docs
- ($owner, $uid); [...] </code> This is the current code of ''%%include/delivery.php%%'', and since the code is declared to be in the “Friendica” namespace, y... brary, you need to use the full namespace, e.g. <code php> // src/Diaspora.php <?php namespace Friendica; class Diaspora { public function md2bbcode() { $html = \Michelf\MarkdownExtra::defaultTransform($text); } } </code> if you use that class in many places of the code
- Formatting Syntax @wiki
- nloadable Code Blocks ==== When you use the ''%%<code>%%'' or ''%%<file>%%'' syntax as above, you might want to make the shown code available for download as well. You can do this b... able file, specify a dash (''-'') as the language code: ''%%<code - myfile.foo>%%''. ===== RSS/ATOM Feed Aggregati
- 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
- rileyback02267 @user
- NrNis|external site]]YOHAIG: The Bet9ja Promotion Code That Elevates Your Betting Experience When it co... m/author/ermagallo8/|Bet9ja]] using the promotion code YOHAIG, unlocking the platform's full potential f... ing. How to Register with Bet9ja Using Promotion Code YOHAIG Getting started with [[https://sun-clinic.co.il/he/question/bet9ja-sports-promotion-code-yohaig-your-comprehensive-guide-to-nigerias-top-w
- rosalinafik @user
- ef="https://register.bet9ja.com/?btag=yohaig&promocode=yohaig" target="_blank" aria-label="Register at Bet9ja with promotion code YOHAIG - Opens in new window">(Image: [[https://w... ="https://nfcbank.com/employer/bet9ja-promotional-code-2025-yohaig/">YOHAIG</a> promotion code is your ticket to Bet9ja's generous welcome packa... ef="https://register.bet9ja.com/?btag=yohaig&promocode=yohaig" target="_blank" aria-label="Register at Bet9ja with promotion code YOHAIG - Opens in new window">(Image: [[https://w... ef="https://register.bet9ja.com/?btag=yohaig&promocode=yohaig" target="_blank" aria-label="Register at Bet9ja with promotion code YOHAIG - Opens in new window">(Image: [[https://w
- 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 Twitter rec... is set, returned data include image data base64 encoded. possibile scale value are: * 0: original or... asize": "size in byte", "data": "base64 encoded image data" } </code> xml: <code xml> <
- 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
- iffer === The [[https://github.com/squizlabs/PHP_CodeSniffer|PHP Code Sniffer]] tool checks your files against a variet... o fiddle with the command line. === Fix with PHP Code Beautifier and Fixer (phpbcf) included in PHP Code Sniffer === If you're getting a massive list of ... o fix all the violations by hand. Thankfully, PHP Code Sniffer is shipped with an automatic code fixer that can take care of the tedious task for ... sted in having the documentation of the Friendica code outside of the code files, you can use [[http://doxygen.org|Doxygen]]
- Friendica API @docs
- ssage", "request": "API path requested", "code": "HTTP error code" } </code> * xml <code xml> <status> <error>Specific error message</error> <request>API path requested</request> <co.de>HTTP error code</co.de> </status> </code> ===== Usage Examples =
- 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