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 the theme di
- 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
- /desc> <album>album name</album> <filename>original file name</filename> <type>mime type</type> <heig... height> <width>number</width> <profile>1 if is profile photo</profile> <links type="array"> <link type=... , "album": "album name", "filename": "original file name", "type": "image mime type", ... ="resource_id" album="album name" filename="original file name" type="image mime type">
- Friendica Storage Backend Addon development
- construct(string $filename) { $this->filename = $filename; } public function get(string $refer... defined by // a config key return file_get_contents($this->filename); } public function put(string $... same keys we defined in getOptions() $newfilename = trim($data['filename']); // this function should ... this example we check if file exists if (!file_exists($newfilename)) { // in case of error we return
- Twitter API
- per.twitter.com/en/docs/direct-messages/custom-profiles/api-reference/delete-profile|DELETE custom_profiles/destroy.json]] * [[https://developer.twitter.com/en/docs/direct-messages/custom-profiles/api-reference/get-profile|GET custom_profiles/:id]] * [[https://developer.twitter.com/en/docs/direct-messages/custom-profiles/api-reference/get-profile-list|GET custom_profiles/list]] * [[https://developer.twitter.com/en/docs/direct-messages/custom-profiles/api-reference/new-profile|POST custom_profiles/new.json]] * [[https://developer.twitter.com/e
- Settings
- dicated table in database (''%%storage%%'') * **Filesystem** : Data is stored as file on the filesystem. More storage backends can be avaiable fro... eir Settings page whether or not to have their profile published in the site directory. This setting forces all profiles on this site to be listed in the site directory ... cific problem. **The amount of data can grow the filesize of the logfile quickly**. You should set up some kind of [[wp>Lo... 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
- Friendica API entities
- _image_url_https'' | String (URL) | No | | ''profile_image_url_profile_size'' | String (URL) | No | | ''profile_image_... ption | | ''album'' | String | Album name | | ''filename'' | String | Original image filename | | ''type'' | String | MIME Type | | ''hei... dth'' | Integer | Image width in pixels | | ''profile'' | Integer | 1 if it is a profile photo | | ''allow_cid'' | String (ACL) | List of... hars) | | ''album'' | String | Album name | | ''filename'' | String | Original image filename | | ''type'' | String | MIME Type | | ''cre
- 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... ight want to work on the translation of the /help files? ===== Design ===== Are you good at designing ... ce, please join the [[https://forum.friendi.ca/profile/developers|forum for Friendica development]]. *
- Friendica translations
- ssages.po'' to update the related ''strings.php'' file and commit both files to your working branch. ==== Using the Transife... ssages.po'' to update the related ''strings.php'' file and commit both files to your working branch. ===== Translation funct
- config
- File configuration The configuration format for file configuration is an array returned from a PHP file. This prevents your webserver from displaying you... n The `config` directory holds key configuration files and can have different config files. All of them have to end with `.config.php` and ... ame. Some examples of common known configuration files: - `local.config.php` holds the current node cus... rectory holds the codebase default configurations files. They must not be changed by users, because they
- 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 Friendica files postupdate Execute pending post upd... d to adjust the ''logpath'' in the ''jail.local'' file and the ''bantime'' (value is in seconds). In ''
- 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
- 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
- Creating posts
- ] for embedding content. Therefore, the supported files are depending on your browser and operating system (OS). Some filetypes are WebM, MP4 and OGG.* <p style="clear:both... ble> <i><b>*</b> how to [upload](help/FAQ#upload) files</i> <p style="clear:both;"> </p> **<img src="do... post will be public, and will show up on your profile page when strangers visit it. Click on it and th