mirror of
https://git.friendi.ca/friendica/friendica-addons.git
synced 2025-07-12 03:18:48 +00:00
Tobias outlined a rare situation where a site admin may not have an
admin account, and will therefore need to do things in .htconfig.php So, restore the .htconfig.php method as "If you prefer..."
This commit is contained in:
parent
3ea3cd9ec3
commit
1405c0c637
8 changed files with 239 additions and 1 deletions
|
@ -48,7 +48,8 @@ ___ Configuration ___
|
|||
__ Global Configuration __
|
||||
|
||||
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
|
||||
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*
|
||||
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 __
|
||||
|
||||
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
|
||||
personal configuration from the Twitter credentials.
|
||||
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue