Search

You can find the results of your search below.

Friendica Addon development @docs
163 Hits, Last modified:
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
66 Hits, Last modified:
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
63 Hits, Last modified:
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
56 Hits, Last modified:
. === 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 > ... lp me understand the following function from the [code]introduction[/code] module? [code=python] def hello_world(): """ ... pre]'' which makes them display as BBCode tags in code blocks instead of being removed. ''[code]'' blocks inside [noparse] will still be converte
Friendica Storage Backend Addon development @docs
30 Hits, Last modified:
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
30 Hits, Last modified:
($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 Friendi... MarkdownExtra::defaultTransform($text); } } </code> if you use that class in many places of the code and you don’t want to write the full path to the clas
Formatting Syntax @wiki
29 Hits, Last modified:
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 API @docs
18 Hits, Last modified:
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... "data": "base64 encoded image data" } </code> xml: <code xml> <photo> <id>photo id</id> <created>date(YYYY-MM-DD HH:MM:SS)</cre
Domain-Driven-Design @docs
17 Hits, Last modified:
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
15 Hits, Last modified:
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]]
ejabberd and prosody XMPP server with synchronized credentials @docs
14 Hits, Last modified:
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
14 Hits, Last modified:
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
bbcode @de:docs
14 Hits, Last modified:
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>&uuml;ber<br>mehrere<br>Zeilen[/code]</td> <td><code>Programmcode &uuml;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="hl-main"><li><span class="hl-code">&nbsp;</span><span class="hl-reserved">function</span><span class="hl-code"> </span>
Friendica API @docs
13 Hits, Last modified:
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 =
Two-Factor Authentication @docs
13 Hits, Last modified:
d, that automatically generates an authentication code. That code changes after a certain period of time. * To co... TP 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... will be presented with a list of one-use recovery codes. Please save those in the same place you are sav
Friendica Templating Documentation @docs
12 Hits, Last modified:
Settings @docs
12 Hits, Last modified:
FAQ / Friendica @faq
12 Hits, Last modified:
Using Composer @docs
10 Hits, Last modified:
Creating posts @docs
6 Hits, Last modified:
Using SSL with Friendica @docs
6 Hits, Last modified:
Friendica on GitHub @docs
6 Hits, Last modified:
Friendica API authentication @docs
6 Hits, Last modified:
Abstracts @docs
4 Hits, Last modified:
Friendica Administration @docs
4 Hits, Last modified:
Installing Connectors (Twitter/GNU Social) @docs
3 Hits, Last modified:
Homepage Verification @docs
3 Hits, Last modified:
First Steps @docs
3 Hits, Last modified:
Database Tables @docs
3 Hits, Last modified:
Paula Gentle (gehrke) - Public Page @user
2 Hits, Last modified:
faq @de:docs
2 Hits, Last modified:
home @docs
2 Hits, Last modified:
Friendica Addons @addons
2 Hits, Last modified:
message-flow @de:docs
2 Hits, Last modified:
Accesskeys reference @docs
2 Hits, Last modified:
developers @de:docs
1 Hits, Last modified:
Friendica translations @docs
1 Hits, Last modified:
Vagrant for Friendica Developers @docs
1 Hits, Last modified:
Updating Friendica @docs
1 Hits, Last modified:
FAQ / Wiki @faq
1 Hits, Last modified:
Friendica API entities @docs
1 Hits, Last modified:
home @de:docs
1 Hits, Last modified:
Documentation @docs
1 Hits, Last modified:
Account Basics @docs
1 Hits, Last modified:
Friendica Documentation
1 Hits, Last modified:
account-basics @de:docs
1 Hits, Last modified:
User Documentation
1 Hits, Last modified:
config @docs
1 Hits, Last modified:
Admin Tools @docs
1 Hits, Last modified: