Search
You can find the results of your search below.
Fulltext results:
- Friendica Addon development
- ed when the HTML is generated for the Advanced profile, corresponding to the Profile tab within a person’s profile page. ''%%$b%%'' is the HTML string representation of the generated profile. The profile array details are in ''%%$a->profile%%''. ==== directory_item ==== Called from the D... Called prior to generating the sidebar “short” profile for a page. ''%%$b%%'' is the person’s profile array ==== profile_sidebar ==== Called when gen... ile for a page. ''%%$b%%'' is an array: * **profile**: profile record array for the person from the database *
- Themes
- its existence and tell it how to use the template file, by defining a config.php file. It needs to define at least the following functi... hesitate to ask in [[https://forum.friendi.ca/profile/developers|@developers]] or [[https://forum.friendi.ca/profile/helpers|@helpers]].// ===== Special Files ===== ==== unsupported ==== If a file with this name (which might be empty) exists in t... ng. ==== README(.md) ==== The contents of this file, with or without the .md which indicates [[https:
- Friendica Installation
- configuration is not allowing your ''.htaccess'' file to be used (there are rules in this file to block access to any file with .out at the end, as these are typically used... for system logs). Make certain the ''.htaccess'' file exists and is readable by everybody, then look fo... kage (if using Windows). === Unable to write the file config/local.config.php due to permissions issues === Create an empty `config/local.config.php`file and apply world-write permission. On Linux: <co
- Friendica API
- height> <width>number</width> <profile>1 if is profile photo</profile> <links type="array"> <link type=... le/show ==== Returns the [[:docs:API-Entities#Profile|Profile]] data of the authenticated user. === Return val... the authenticated user General description of profile data in API returns: - hide_friends: true if friends are hidden - profile_photo - profile_thumb - publish: true if published on the server’s local directory - net_publish: true
- Friendica API entities
- _image_url_https'' | String (URL) | No | | ''profile_image_url_profile_size'' | String (URL) | No | | ''profile_image_... dth'' | Integer | Image width in pixels | | ''profile'' | Integer | 1 if it is a profile photo | | ''allow_cid'' | String (ACL) | List of... their contact list on their profile. | | | ''profile_photo'' | String (URL) | Largest size profile picture URL. | | ''profile_thumb'' | String (URL) | Smallest size profile picture URL. | | ''publish'' | Boolean | Whether the user chose to publish
- Twitter API
- unt-settings/api-reference/post-account-update_profile|POST api/account/update_profile]] * Unsupported parameters: * ''%%url%%... unt-settings/api-reference/post-account-update_profile_image|POST api/account/update_profile_image]] * Additional parameter: * ''%%profile_id%%'' (optional): Numerical id of the profile for which the image should be used, default is ch... anage-account-settings/api-reference/get-users-profile_banner|GET users/profile_banner]] * [[https://developer.twitter.com/en/d
- Friendica Storage Backend Addon development
- tor in admin page. First, the backend class. The file will be ''%%addon/samplestorage/SampleStorageBack... // we return always the same image data. Which file we load is defined by // a config key return file_get_contents($this->filename); } pub... le text input $this->l10n->t('The file to return'), // the label $file
- Settings
- ivate them in the ''%%config/local.config.php%%'' file. Use the following settings to redirect PHP errors to a file. Config: <code> error_reporting(E_ERROR | E_WAR... '0'); </code> This will put all PHP errors in the file php.out (which must be writeable by the webserver
- Admin Tools
- nt php2po Generate a messages.po file from a strings.php file po2php Generate a strings.php file from a messages.po file typo Checks for parse errors in ... d to adjust the ''logpath'' in the ''jail.local'' file and the ''bantime'' (value is in seconds). In ''... rotate'' command. In ''/etc/logrotate.d/'' add a file called ''friendica'' that contains the configurat
- Homepage Verification
- just entered the rel-me link to your Friendica profile into the //Homepage// field of your profile. Then save the changes to your profile. Friendica will now try to find the rel-me link ... ication notice// for your homepage link in the profile. If you have already added the link to the homep
- How To Move Classes to src
- t the case for all the classes referenced in this file. Since we added a ''%%namespace Friendica\Core;%%'' to the file, all the class names still declared in ''%%includ... while simply browsing Friendica. Check the class file for any magic constant ''%%__FILE__%%'' or ''%%__DIR__%%'', as their value changed since you moved the class in the file tree. Most of the time it’s used for debugging pu
- config
- File configuration The configuration format for file configuration is an array returned from a PHP file. This prevents your webserver from displaying you... es and displays nothing. A typical configuration file looks like this: ```php <?php /* * Comment blo... fig.php The legacy `.htconfig.php` configuration file is still supported, but is deprecated and will be... ', ], </pre></td> </tr> <tr> <td><pre> $pidfile = "value"; </pre></td> <td><pre> 'system' => [
- Friendica translations
- trings across the project in the authoritative PO file located in ''view/lang/C/messages.po'' - This file makes translations strings available at [[https://... m Transifex ===== Please download the Transifex file "for use" in ''view/lang/<language>/messages.po''... ssages.po'' to update the related ''strings.php'' file and commit both files to your working branch. ==
- Where to get started to help improve Friendica
- rums: * The main [[https://forum.friendi.ca/profile/developers|forum for Friendica development]] ===... nd Friendica in the [[https://forum.friendi.ca/prufile/helpers|general support forum]]. Welcome them, an... ce, please join the [[https://forum.friendi.ca/profile/developers|forum for Friendica development]]. *... } # `composer install` if the `composer.lock` file gets changed # to update all the php dependen
- Export / Import of followed Contacts
- ts you follow. The exported list is stored as CSV file that is compatible to the format used by other pl... ed Contacts ====== To import contacts from a CSV file, go to the //Settings page//. At the bottom of th... d the //import contacts// section. Upload the CSV file there. ====== Supported File Format ====== The CSV file **must** contain at least one column. In the