Search

You can find the results of your search below.

Friendica Addon development @docs
173 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 BBCode tags reference @docs
79 Hits, Last modified:
====== Friendica BBCode tags reference ====== Friendica is using the [[wp>BBCode]] markup language to format postings and comments... ay all or only a part of the formatting. ===== BBCode Tags ===== ==== Basic Text formatting ==== ^ Purpose ^ BBCode Tag ^ Resulting HTML Code ^ | Bold Text | %%
Friendica Installation @de:docs
64 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
61 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
Autoloader with Composer @docs
32 Hits, Last modified:
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
bbcode @de:docs
32 Hits, Last modified:
Referenz der Friendica BBCode Tags ======================== * [Zur Startseite der Hilfe](help) ## Inli... } </style> <table class="bbcodes"> <tr> <th>BBCode</th> <th>Ergebnis</th> </tr> <tr> <td>[b]fett... ### Links <table class="bbcodes"> <tr> <th>BBCode</th> <th>Ergebnis</th> </tr> <tr> <td>[url]ht... ## Blocks <table class="bbcodes"> <tr> <th>BBCode</th> <th>Ergebnis</th> </tr> <tr> <td>[p]Ein
Formatting Syntax @wiki
31 Hits, Last modified:
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 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
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 Twitt
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
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
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
Friendica API @docs
14 Hits, Last modified:
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>
Where to get started to help improve Friendica @docs
13 Hits, Last modified:
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
How to improve the performance of a Friendica site @docs
13 Hits, Last modified:
on your system and change the following values: <code> Set "JPEG image quality" to 50. </code> This value reduces the data that is send from the server to th... that doesn’t influences image quality too much. <code> Set "OStatus conversation completion interval" to "never". </code> If you have many OStatus contacts then completin
Friendica Templating Documentation @docs
12 Hits, Last modified:
Settings @docs
12 Hits, Last modified:
FAQ / Friendica @faq
11 Hits, Last modified:
Creating posts @docs
10 Hits, Last modified:
addons @de:docs
10 Hits, Last modified:
Using Composer @docs
10 Hits, Last modified:
Abstracts @docs
9 Hits, Last modified:
Friendica Addons @addons
8 Hits, Last modified:
faq @de:docs
7 Hits, Last modified:
Two-Factor Authentication @docs
7 Hits, Last modified:
Friendica on GitHub @docs
6 Hits, Last modified:
Using SSL with Friendica @docs
6 Hits, Last modified:
First Steps @docs
6 Hits, Last modified:
message-flow @de:docs
4 Hits, Last modified:
Friendica Administration @docs
4 Hits, Last modified:
home @docs
4 Hits, Last modified:
Installing Connectors (Twitter/GNU Social) @docs
3 Hits, Last modified:
Twitter API @docs
3 Hits, Last modified:
Homepage Verification @docs
3 Hits, Last modified:
home @de:docs
3 Hits, Last modified:
User Documentation @docs
2 Hits, Last modified:
Paula Gentle (gehrke) - Public Page @user
2 Hits, Last modified:
Friendica Message Flow @docs
2 Hits, Last modified:
Friendica API entities @docs
2 Hits, Last modified:
Groups and Privacy @docs
2 Hits, Last modified:
Accesskeys reference @docs
2 Hits, Last modified:
events @de:docs
1 Hits, Last modified:
improve-performance @de:docs
1 Hits, Last modified:
installing-connectors @de:docs
1 Hits, Last modified:
developers @de:docs
1 Hits, Last modified:
Account Basics @docs
1 Hits, Last modified:
FAQ / Wiki @faq
1 Hits, Last modified:
account-basics @de:docs
1 Hits, Last modified:
Mastodon API @docs
1 Hits, Last modified:
Vagrant for Friendica Developers @docs
1 Hits, Last modified:
Updating Friendica @docs
1 Hits, Last modified:
Events @docs
1 Hits, Last modified:
Friendica translations @docs
1 Hits, Last modified:
Documentation @docs
1 Hits, Last modified:
User Documentation
1 Hits, Last modified:
Friendica Documentation
1 Hits, Last modified: