mirror of
https://git.friendi.ca/friendica/friendica-addons.git
synced 2024-11-25 20:03:20 +00:00
Merge pull request #39 from beardy-unixer/master
Updated readme's again
This commit is contained in:
commit
d6d767573c
4 changed files with 63 additions and 1 deletions
|
@ -20,6 +20,18 @@ Installing the Friendica/Facebook connector
|
||||||
c) Click save.
|
c) Click save.
|
||||||
d) Finally, return to the Facebook settings page, and activate real-time updates.
|
d) Finally, return to the Facebook settings page, and activate real-time updates.
|
||||||
|
|
||||||
|
i. If you for any reason prefer to use a configuration file instead of the admin panels,
|
||||||
|
Activate the plugin by including it in .htconfig.php, e.g.
|
||||||
|
|
||||||
|
$a->config['system']['addon'] = 'plugin1,plugin2,facebook';
|
||||||
|
|
||||||
|
and set the following values:
|
||||||
|
$a->config['facebook']['appid'] = 'xxxxxxxxxxx';
|
||||||
|
$a->config['facebook']['appsecret'] = 'xxxxxxxxxxxxxxx';
|
||||||
|
|
||||||
|
Replace with the settings Facebook gives you.
|
||||||
|
|
||||||
|
|
||||||
3. To use the Facebook plugin, visit the "connector settings" area of your settings
|
3. To use the Facebook plugin, visit the "connector settings" area of your settings
|
||||||
page. Click "Install Facebook Connector".
|
page. Click "Install Facebook Connector".
|
||||||
4. This will ask you to login to Facebook and allow the plugin to do it's stuff.
|
4. This will ask you to login to Facebook and allow the plugin to do it's stuff.
|
||||||
|
|
|
@ -15,4 +15,17 @@ Configuration:
|
||||||
Simply fill in the fields in the impressium settings page in the plugins area
|
Simply fill in the fields in the impressium settings page in the plugins area
|
||||||
of your admin panel.
|
of your admin panel.
|
||||||
|
|
||||||
|
If you for any reason prefer to use a configuration file instead, you can set the
|
||||||
|
following variables in the .htconfig file
|
||||||
|
|
||||||
|
* $a->config['impressum']['owner'] this is the Name of the Operator
|
||||||
|
* $a->config['impressum']['ownerprofile'] this is an optional Friendica account
|
||||||
|
where the above owner name will link to
|
||||||
|
* $a->config['impressum']['email'] a contact email address (optional)
|
||||||
|
will be displayed slightly obfuscated
|
||||||
|
as name(at)example(dot)com
|
||||||
|
|
||||||
|
* $a->config['impressum']['postal'] should contain a postal address where
|
||||||
|
you can be reached at (optional)
|
||||||
|
* $a->config['impressum']['notes'] additional informations that should
|
||||||
|
be displayed in the Impressum block
|
||||||
|
|
|
@ -16,6 +16,9 @@ Support the OpenStreetMap community and share the load.
|
||||||
|
|
||||||
___ Configuration ___
|
___ Configuration ___
|
||||||
|
|
||||||
|
If you for any reason prefer to use a configuration file instead
|
||||||
|
of the admin panels, please refer to the Alternative Configuration below.
|
||||||
|
|
||||||
Activate the plugin from your admin panel.
|
Activate the plugin from your admin panel.
|
||||||
|
|
||||||
You can now add a Tile Server and default zoom level in the plugin settings
|
You can now add a Tile Server and default zoom level in the plugin settings
|
||||||
|
@ -25,3 +28,21 @@ The Time Server URL points to the tile server you want to use. Use the full URL,
|
||||||
with protocol (http/s) and trailing slash. You can configure the default zoom
|
with protocol (http/s) and trailing slash. You can configure the default zoom
|
||||||
level on the map in the Default Zoom box. 1 will show the whole world and 18 is the highest
|
level on the map in the Default Zoom box. 1 will show the whole world and 18 is the highest
|
||||||
zoom level available.
|
zoom level available.
|
||||||
|
|
||||||
|
|
||||||
|
___ Alternative Configuration ___
|
||||||
|
|
||||||
|
Open the .htconfig.php file and add "openstreetmap" to the list of activated
|
||||||
|
addons.
|
||||||
|
|
||||||
|
$a->config['system']['addon'] = "openstreetmap, ..."
|
||||||
|
|
||||||
|
You have to add two configuration variables for the addon:
|
||||||
|
|
||||||
|
$a->config['openstreetmap']['tmsserver'] = 'http://www.openstreetmap.org/';
|
||||||
|
$a->config['openstreetmap']['zoom'] = '18';
|
||||||
|
|
||||||
|
The *tmsserver* points to the tile server you want to use. Use the full URL,
|
||||||
|
with protocol (http/s) and trailing slash. You can configure the default zoom
|
||||||
|
level on the map with *zoom*. 1 will show the whole world and 18 is the highest
|
||||||
|
zoom level available.
|
|
@ -48,7 +48,8 @@ ___ Configuration ___
|
||||||
__ Global Configuration __
|
__ Global Configuration __
|
||||||
|
|
||||||
If you enabled an administrator account, please use the admin panel to cofigure
|
If you enabled an administrator account, please use the admin panel to cofigure
|
||||||
the Twitter relay.
|
the Twitter relay. If you for any reason prefer to use a configuration file instead
|
||||||
|
of the admin panels, please refer to the Alternative Configuration below.
|
||||||
|
|
||||||
Activate the plugin from the plugins section of your admin panel. When you have
|
Activate the plugin from the plugins section of your admin panel. When you have
|
||||||
done so, add your consumer key and consumer secret in the settings section of the
|
done so, add your consumer key and consumer secret in the settings section of the
|
||||||
|
@ -58,6 +59,20 @@ When this is done your user can now configure their Twitter connection at
|
||||||
"Settings -> Plugin Settings" and enable the forwarding of their *public*
|
"Settings -> Plugin Settings" and enable the forwarding of their *public*
|
||||||
messages to Twitter.
|
messages to Twitter.
|
||||||
|
|
||||||
|
__ Alternative Configuration __
|
||||||
|
|
||||||
|
-To activate this addon add @twitter@ to the list of active addons in your
|
||||||
|
.htconfig.php file
|
||||||
|
|
||||||
|
$a->config['system']['addon'] = "twitter, ..."
|
||||||
|
|
||||||
|
Afterwards you need to add your OAuth consumer key / secret pair to it by
|
||||||
|
adding the following two lines
|
||||||
|
|
||||||
|
$a->config['twitter']['consumerkey'] = 'your consumer KEY here';
|
||||||
|
$a->config['twitter']['consumersecret'] = 'your consumer SECRET here';
|
||||||
|
|
||||||
|
|
||||||
__ User Configuration __
|
__ User Configuration __
|
||||||
|
|
||||||
When the OAuth consumer informations are correctly placed into the
|
When the OAuth consumer informations are correctly placed into the
|
||||||
|
@ -73,3 +88,4 @@ on the "Plugin Settings" page displaying two check boxes. One to enable/disable
|
||||||
the forwarding of *all public* postings to Twitter and one to clear the
|
the forwarding of *all public* postings to Twitter and one to clear the
|
||||||
personal configuration from the Twitter credentials.
|
personal configuration from the Twitter credentials.
|
||||||
|
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue