mirror of
https://git.friendi.ca/friendica/friendica-addons.git
synced 2024-11-21 23:23:41 +00:00
Move addon-specific config to config/addon.ini.php
This commit is contained in:
parent
7ee6c3a20c
commit
6c443aeaf0
28 changed files with 30 additions and 30 deletions
|
@ -7,7 +7,7 @@ Use Geonames service to resolve nearest populated location for given latitude, l
|
||||||
|
|
||||||
## Installation
|
## Installation
|
||||||
|
|
||||||
Pre-requisite: Register a username at geonames.org and set in config/local.ini.php
|
Pre-requisite: Register a username at geonames.org and set in config/addon.ini.php
|
||||||
|
|
||||||
[geonames]
|
[geonames]
|
||||||
username = your_username
|
username = your_username
|
||||||
|
|
|
@ -1,7 +1,7 @@
|
||||||
<?php return <<<INI
|
<?php return <<<INI
|
||||||
|
|
||||||
; Warning: Don't change this file! It only holds the default config values for this addon.
|
; Warning: Don't change this file! It only holds the default config values for this addon.
|
||||||
; Instead overwrite these config values in config/local.ini.php in your Friendica directory
|
; Instead overwrite these config values in config/addon.ini.php in your Friendica directory
|
||||||
|
|
||||||
[geonames]
|
[geonames]
|
||||||
; username (String)
|
; username (String)
|
||||||
|
|
|
@ -7,7 +7,7 @@
|
||||||
*
|
*
|
||||||
*
|
*
|
||||||
* Pre-requisite: Register a username at geonames.org
|
* Pre-requisite: Register a username at geonames.org
|
||||||
* and set in config/local.ini.php
|
* and set in config/addon.ini.php
|
||||||
*
|
*
|
||||||
* [geonames]
|
* [geonames]
|
||||||
* username = your_username
|
* username = your_username
|
||||||
|
|
|
@ -35,7 +35,7 @@ Open the config/local.ini.php file and add "gravatar" to the list of activated a
|
||||||
[system]
|
[system]
|
||||||
addon = ...,gravatar
|
addon = ...,gravatar
|
||||||
|
|
||||||
You can add two configuration variables for the addon:
|
You can add two configuration variables for the addon to the config/addon.ini.php file:
|
||||||
|
|
||||||
[gravatar]
|
[gravatar]
|
||||||
default_avatar = identicon
|
default_avatar = identicon
|
||||||
|
|
|
@ -1,7 +1,7 @@
|
||||||
<?php return <<<INI
|
<?php return <<<INI
|
||||||
|
|
||||||
; Warning: Don't change this file! It only holds the default config values for this addon.
|
; Warning: Don't change this file! It only holds the default config values for this addon.
|
||||||
; Instead overwrite these config values in config/local.ini.php in your Friendica directory
|
; Instead overwrite these config values in config/addon.ini.php in your Friendica directory
|
||||||
|
|
||||||
[gravatar]
|
[gravatar]
|
||||||
; default_avatar (String)
|
; default_avatar (String)
|
||||||
|
|
|
@ -16,7 +16,7 @@ Simply fill in the fields in the impressium settings page in the addons area of
|
||||||
|
|
||||||
Manual Configuration
|
Manual Configuration
|
||||||
--------------------
|
--------------------
|
||||||
If you for any reason you prefer to use a configuration file instead, you can set the following variables in the config/local.ini.php file
|
If you for any reason you prefer to use a configuration file instead, you can set the following variables in the config/addon.ini.php file
|
||||||
|
|
||||||
[impressum]
|
[impressum]
|
||||||
owner = this is the Name of the Operator
|
owner = this is the Name of the Operator
|
||||||
|
|
|
@ -1,7 +1,7 @@
|
||||||
<?php return <<<INI
|
<?php return <<<INI
|
||||||
|
|
||||||
; Warning: Don't change this file! It only holds the default config values for this addon.
|
; Warning: Don't change this file! It only holds the default config values for this addon.
|
||||||
; Instead overwrite these config values in config/local.ini.php in your Friendica directory
|
; Instead overwrite these config values in config/addon.ini.php in your Friendica directory
|
||||||
|
|
||||||
[impressum]
|
[impressum]
|
||||||
; owner (String)
|
; owner (String)
|
||||||
|
|
|
@ -10,7 +10,7 @@ However, it's possible with an option to automate the creation of a Friendica ba
|
||||||
Note when using with Windows Active Directory: you may need to set TLS_CACERT in your site
|
Note when using with Windows Active Directory: you may need to set TLS_CACERT in your site
|
||||||
ldap.conf file to the signing cert for your LDAP server.
|
ldap.conf file to the signing cert for your LDAP server.
|
||||||
|
|
||||||
The configuration options for this module may be set in the config/local.ini.php file
|
The configuration options for this module may be set in the config/addon.ini.php file
|
||||||
e.g.:
|
e.g.:
|
||||||
|
|
||||||
[ldapauth]
|
[ldapauth]
|
||||||
|
|
|
@ -1,7 +1,7 @@
|
||||||
<?php return <<<INI
|
<?php return <<<INI
|
||||||
|
|
||||||
; Warning: Don't change this file! It only holds the default config values for this addon.
|
; Warning: Don't change this file! It only holds the default config values for this addon.
|
||||||
; Instead overwrite these config values in config/local.ini.php in your Friendica directory
|
; Instead overwrite these config values in config/addon.ini.php in your Friendica directory
|
||||||
|
|
||||||
[ldapauth]
|
[ldapauth]
|
||||||
; ldap_server (String)
|
; ldap_server (String)
|
||||||
|
|
|
@ -26,7 +26,7 @@
|
||||||
* Note when using with Windows Active Directory: you may need to set TLS_CACERT in your site
|
* Note when using with Windows Active Directory: you may need to set TLS_CACERT in your site
|
||||||
* ldap.conf file to the signing cert for your LDAP server.
|
* ldap.conf file to the signing cert for your LDAP server.
|
||||||
*
|
*
|
||||||
* The configuration options for this module may be set in the config/local.ini.php file
|
* The configuration options for this module may be set in the config/addon.ini.php file
|
||||||
* e.g.:
|
* e.g.:
|
||||||
*
|
*
|
||||||
* [ldapauth]
|
* [ldapauth]
|
||||||
|
|
|
@ -31,7 +31,7 @@ Open the config/local.ini.php file and add "libravatar" to the list of activated
|
||||||
[system]
|
[system]
|
||||||
addon = ...,libravatar
|
addon = ...,libravatar
|
||||||
|
|
||||||
You can add one configuration variables for the addon:
|
You can add one configuration variables for the addon to the config/addon.ini.php file:
|
||||||
|
|
||||||
[libravatar]
|
[libravatar]
|
||||||
default_avatar = identicon
|
default_avatar = identicon
|
||||||
|
|
|
@ -1,7 +1,7 @@
|
||||||
<?php return <<<INI
|
<?php return <<<INI
|
||||||
|
|
||||||
; Warning: Don't change this file! It only holds the default config values for this addon.
|
; Warning: Don't change this file! It only holds the default config values for this addon.
|
||||||
; Instead overwrite these config values in config/local.ini.php in your Friendica directory
|
; Instead overwrite these config values in config/addon.ini.php in your Friendica directory
|
||||||
|
|
||||||
[libravatar]
|
[libravatar]
|
||||||
; default_avatar (String)
|
; default_avatar (String)
|
||||||
|
|
|
@ -21,12 +21,12 @@ In case you want to use the CDN you can try the following URL as a quick start
|
||||||
http://cdn.mathjax.org/mathjax/latest/MathJax.js?config=TeX-AMS_HTML
|
http://cdn.mathjax.org/mathjax/latest/MathJax.js?config=TeX-AMS_HTML
|
||||||
|
|
||||||
In case you don't want or can use the admin panel of Friendica you can activate
|
In case you don't want or can use the admin panel of Friendica you can activate
|
||||||
the addon by adding _mathjax_ to the
|
the addon by adding _mathjax_ to the list in your config/local.ini.php file
|
||||||
|
|
||||||
[system]
|
[system]
|
||||||
addon = ...,mathjax
|
addon = ...,mathjax
|
||||||
|
|
||||||
list in your config/local.ini.php file and then providing the base URL after that
|
and then providing the base URL after that in the config/addon.ini.php file
|
||||||
|
|
||||||
[mathjax]
|
[mathjax]
|
||||||
baseurl = [the URL to your MathJax installation];
|
baseurl = [the URL to your MathJax installation];
|
||||||
|
|
|
@ -1,7 +1,7 @@
|
||||||
<?php return <<<INI
|
<?php return <<<INI
|
||||||
|
|
||||||
; Warning: Don't change this file! It only holds the default config values for this addon.
|
; Warning: Don't change this file! It only holds the default config values for this addon.
|
||||||
; Instead overwrite these config values in config/local.ini.php in your Friendica directory
|
; Instead overwrite these config values in config/addon.ini.php in your Friendica directory
|
||||||
|
|
||||||
[mathjax]
|
[mathjax]
|
||||||
; baseurl (String)
|
; baseurl (String)
|
||||||
|
|
|
@ -38,7 +38,7 @@ addons.
|
||||||
[system]
|
[system]
|
||||||
addon = ...,openstreetmap
|
addon = ...,openstreetmap
|
||||||
|
|
||||||
You can change two configuration variables for the addon:
|
You can change two configuration variables for the addon in the config/addon.ini.php file:
|
||||||
|
|
||||||
[openstreetmap]
|
[openstreetmap]
|
||||||
tmsserver = https://www.openstreetmap.org
|
tmsserver = https://www.openstreetmap.org
|
||||||
|
|
|
@ -1,7 +1,7 @@
|
||||||
<?php return <<<INI
|
<?php return <<<INI
|
||||||
|
|
||||||
; Warning: Don't change this file! It only holds the default config values for this addon.
|
; Warning: Don't change this file! It only holds the default config values for this addon.
|
||||||
; Instead overwrite these config values in config/local.ini.php in your Friendica directory
|
; Instead overwrite these config values in config/addon.ini.php in your Friendica directory
|
||||||
|
|
||||||
[openstreetmap]
|
[openstreetmap]
|
||||||
; tmsserver (String)
|
; tmsserver (String)
|
||||||
|
|
|
@ -27,7 +27,7 @@ Open the config/local.ini.php file and add "piwik" to the list of activated addo
|
||||||
[system]
|
[system]
|
||||||
addon = ...,piwik
|
addon = ...,piwik
|
||||||
|
|
||||||
You can change 4 more configuration variables for the addon:
|
You can change 4 more configuration variables for the addon in the config/addon.ini.php file:
|
||||||
|
|
||||||
[piwik]
|
[piwik]
|
||||||
baseurl = example.com/piwik/
|
baseurl = example.com/piwik/
|
||||||
|
|
|
@ -1,7 +1,7 @@
|
||||||
<?php return <<<INI
|
<?php return <<<INI
|
||||||
|
|
||||||
; Warning: Don't change this file! It only holds the default config values for this addon.
|
; Warning: Don't change this file! It only holds the default config values for this addon.
|
||||||
; Instead overwrite these config values in config/local.ini.php in your Friendica directory
|
; Instead overwrite these config values in config/addon.ini.php in your Friendica directory
|
||||||
|
|
||||||
[piwik]
|
[piwik]
|
||||||
; baseurl (String)
|
; baseurl (String)
|
||||||
|
|
|
@ -16,7 +16,7 @@
|
||||||
*
|
*
|
||||||
* Configuration:
|
* Configuration:
|
||||||
* Use the administration panel to configure the Piwik tracking addon, or
|
* Use the administration panel to configure the Piwik tracking addon, or
|
||||||
* in case you don't use this add the following lines to your config/local.ini.php
|
* in case you don't use this add the following lines to your config/addon.ini.php
|
||||||
* file:
|
* file:
|
||||||
*
|
*
|
||||||
* [piwik]
|
* [piwik]
|
||||||
|
@ -63,7 +63,7 @@ function piwik_analytics($a,&$b) {
|
||||||
$a->page['htmlhead'] .= '<link rel="stylesheet" type="text/css" href="' . $a->get_baseurl() . '/addon/piwik/piwik.css' . '" media="all" />';
|
$a->page['htmlhead'] .= '<link rel="stylesheet" type="text/css" href="' . $a->get_baseurl() . '/addon/piwik/piwik.css' . '" media="all" />';
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* Get the configuration variables from the config/local.ini.php file.
|
* Get the configuration variables from the config/addon.ini.php file.
|
||||||
*/
|
*/
|
||||||
$baseurl = Config::get('piwik', 'baseurl');
|
$baseurl = Config::get('piwik', 'baseurl');
|
||||||
$siteid = Config::get('piwik', 'siteid');
|
$siteid = Config::get('piwik', 'siteid');
|
||||||
|
|
|
@ -19,7 +19,7 @@ This is a modified version of the testdrive addon, DO NOT ACTIVATE AT THE SAME T
|
||||||
flagposts = 90
|
flagposts = 90
|
||||||
flagpostsexpire = 146
|
flagpostsexpire = 146
|
||||||
|
|
||||||
Set these in your config/local.ini.php file. By default nothing is defined in case the addon is activated accidentally.
|
Set these in your config/addon.ini.php file. By default nothing is defined in case the addon is activated accidentally.
|
||||||
They can be ommitted or set to 0 to disable each option.
|
They can be ommitted or set to 0 to disable each option.
|
||||||
The default values are those used by friendica.eu, change these as desired.
|
The default values are those used by friendica.eu, change these as desired.
|
||||||
|
|
||||||
|
|
|
@ -1,7 +1,7 @@
|
||||||
<?php return <<<INI
|
<?php return <<<INI
|
||||||
|
|
||||||
; Warning: Don't change this file! It only holds the default config values for this addon.
|
; Warning: Don't change this file! It only holds the default config values for this addon.
|
||||||
; Instead overwrite these config values in config/local.ini.php in your Friendica directory
|
; Instead overwrite these config values in config/addon.ini.php in your Friendica directory
|
||||||
|
|
||||||
[public_server]
|
[public_server]
|
||||||
; expiredays (Integer)
|
; expiredays (Integer)
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
To let the connector work properly you should define an application name in config/local.ini.php:
|
To let the connector work properly you should define an application name in config/addon.ini.php:
|
||||||
|
|
||||||
[pumpio]
|
[pumpio]
|
||||||
application_name = Name of you site
|
application_name = Name of you site
|
||||||
|
|
|
@ -1,7 +1,7 @@
|
||||||
<?php return <<<INI
|
<?php return <<<INI
|
||||||
|
|
||||||
; Warning: Don't change this file! It only holds the default config values for this addon.
|
; Warning: Don't change this file! It only holds the default config values for this addon.
|
||||||
; Instead overwrite these config values in config/local.ini.php in your Friendica directory
|
; Instead overwrite these config values in config/addon.ini.php in your Friendica directory
|
||||||
|
|
||||||
[pumpio]
|
[pumpio]
|
||||||
; application_name (String)
|
; application_name (String)
|
||||||
|
|
|
@ -9,7 +9,7 @@ When an account is created on the site, it is given a hard expiration date of
|
||||||
[testdrive]
|
[testdrive]
|
||||||
expiredays = 30
|
expiredays = 30
|
||||||
|
|
||||||
Set this in your config/local.ini.php file to allow a 30 day test drive period.
|
Set this in your config/addon.ini.php file to allow a 30 day test drive period.
|
||||||
By default no expiration period is defined in case the addon is activated accidentally.
|
By default no expiration period is defined in case the addon is activated accidentally.
|
||||||
|
|
||||||
There is no opportunity to extend an expired account using this addon.
|
There is no opportunity to extend an expired account using this addon.
|
||||||
|
|
|
@ -1,7 +1,7 @@
|
||||||
<?php return <<<INI
|
<?php return <<<INI
|
||||||
|
|
||||||
; Warning: Don't change this file! It only holds the default config values for this addon.
|
; Warning: Don't change this file! It only holds the default config values for this addon.
|
||||||
; Instead overwrite these config values in config/local.ini.php in your Friendica directory
|
; Instead overwrite these config values in config/addon.ini.php in your Friendica directory
|
||||||
|
|
||||||
[testdrive]
|
[testdrive]
|
||||||
; expiredays (Integer)
|
; expiredays (Integer)
|
||||||
|
|
|
@ -16,7 +16,7 @@ After the registration please enter the values for "Consumer Key" and "Consumer
|
||||||
|
|
||||||
## Alternative configuration
|
## Alternative configuration
|
||||||
|
|
||||||
Add your key pair to your global config/local.ini.php.
|
Add your key pair to your global config/addon.ini.php.
|
||||||
|
|
||||||
[twitter]
|
[twitter]
|
||||||
consumerkey = your consumer_key here
|
consumerkey = your consumer_key here
|
||||||
|
|
|
@ -1,7 +1,7 @@
|
||||||
<?php return <<<INI
|
<?php return <<<INI
|
||||||
|
|
||||||
; Warning: Don't change this file! It only holds the default config values for this addon.
|
; Warning: Don't change this file! It only holds the default config values for this addon.
|
||||||
; Instead overwrite these config values in config/local.ini.php in your Friendica directory
|
; Instead overwrite these config values in config/addon.ini.php in your Friendica directory
|
||||||
|
|
||||||
[twitter]
|
[twitter]
|
||||||
; consumerkey (String)
|
; consumerkey (String)
|
||||||
|
|
|
@ -48,7 +48,7 @@
|
||||||
* we do not need "Twitter as login". When you've registered the app you get the
|
* we do not need "Twitter as login". When you've registered the app you get the
|
||||||
* OAuth Consumer key and secret pair for your application/site.
|
* OAuth Consumer key and secret pair for your application/site.
|
||||||
*
|
*
|
||||||
* Add this key pair to your global config/local.ini.php or use the admin panel.
|
* Add this key pair to your global config/addon.ini.php or use the admin panel.
|
||||||
*
|
*
|
||||||
* [twitter]
|
* [twitter]
|
||||||
* consumerkey = your consumer_key here
|
* consumerkey = your consumer_key here
|
||||||
|
|
Loading…
Reference in a new issue