Merge pull request #4 from abinoam/myaddon
Friendika -> Friendica: at the addons repository
This commit is contained in:
commit
86a45576b2
BIN
facebook.tgz
BIN
facebook.tgz
Binary file not shown.
|
@ -1,15 +1,15 @@
|
|||
Installing the Friendika/Facebook connector
|
||||
Installing the Friendica/Facebook connector
|
||||
|
||||
1. register an API key for your site from developer.facebook.com
|
||||
a. We'd be very happy if you include "Friendika" in the application name
|
||||
to increase name recognition. The Friendika icons are also present
|
||||
a. We'd be very happy if you include "Friendica" in the application name
|
||||
to increase name recognition. The Friendica icons are also present
|
||||
in the images directory and may be uploaded as a Facebook app icon.
|
||||
Use images/friendika-16.jpg for the Icon and images/friendika-128.jpg for the Logo.
|
||||
Use images/friendica-16.jpg for the Icon and images/friendica-128.jpg for the Logo.
|
||||
b. The url should be your site URL with a trailing slash.
|
||||
You may use http://portal.friendika.com/privacy as the privacy policy
|
||||
URL unless your site has different requirements, and
|
||||
http://portal.friendika.com as the Terms of Service URL unless
|
||||
you have different requirements. (Friendika is a software application
|
||||
you have different requirements. (Friendica is a software application
|
||||
and does not require Terms of Service, though your installation of it might).
|
||||
c. Set the following values in your .htconfig.php file
|
||||
$a->config['facebook']['appid'] = 'xxxxxxxxxxx';
|
||||
|
@ -34,6 +34,6 @@ Facebook contacts will not be able to view private photos, as they are not able
|
|||
authenticate to your site to establish identity. We will address this
|
||||
in a future release.
|
||||
|
||||
Info: please make sure that you understand all aspects due to Friendika's
|
||||
default licence which is: Creative Commons Attribution 3.0 (further info:
|
||||
http://creativecommons.org/licenses/by/3.0/ )
|
||||
Info: please make sure that you understand all aspects due to Friendica's
|
||||
default licence which is: MIT License (further info:
|
||||
https://github.com/friendica/friendica/blob/master/LICENSE)
|
||||
|
|
BIN
impressum.tgz
BIN
impressum.tgz
Binary file not shown.
|
@ -1,12 +1,12 @@
|
|||
Impressum Plugin for Friendika
|
||||
Impressum Plugin for Friendica
|
||||
|
||||
Author: Tobias Diekershoff
|
||||
tobias.diekershoff@gmx.net
|
||||
|
||||
License: 3-clause BSD license (same as Friendika)
|
||||
License: 3-clause BSD license (same as Friendica)
|
||||
|
||||
About
|
||||
This plugin adds an Impressum block to the /friendika page with informations
|
||||
This plugin adds an Impressum block to the /friendica page with informations
|
||||
about the page operator/owner and how to contact you in case of any questions.
|
||||
|
||||
In the notes and postal fields you can use HTML tags for formatting.
|
||||
|
@ -14,7 +14,7 @@ About
|
|||
Configuration:
|
||||
For configuration 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 Friendika account
|
||||
* $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
|
||||
|
|
|
@ -1,7 +1,7 @@
|
|||
<?php
|
||||
/**
|
||||
* Name: Impressum
|
||||
* Description: Plugin to add contact information to the about page (/friendika)
|
||||
* Description: Plugin to add contact information to the about page (/friendica)
|
||||
* Version: 1.0
|
||||
* Author: Tobias Diekershoff <https://diekershoff.homeunix.net/friendika/profile/tobias>
|
||||
* License: 3-clause BSD license
|
||||
|
|
BIN
ldapauth.tgz
BIN
ldapauth.tgz
Binary file not shown.
|
@ -4,8 +4,8 @@ to maintain a single password across the organisation.
|
|||
|
||||
Optionally authenticates only if a member of a given group in the directory.
|
||||
|
||||
The person must have registered with Friendika using the normal registration
|
||||
procedures in order to have a Friendika user record, contact, and profile.
|
||||
The person must have registered with Friendica using the normal registration
|
||||
procedures in order to have a Friendica user record, contact, and profile.
|
||||
|
||||
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.
|
||||
|
|
|
@ -7,7 +7,7 @@
|
|||
*/
|
||||
|
||||
/**
|
||||
* Friendika addon
|
||||
* Friendica addon
|
||||
*
|
||||
* Module: LDAP Authenticate
|
||||
*
|
||||
|
@ -17,8 +17,8 @@
|
|||
*
|
||||
* Optionally authenticates only if a member of a given group in the directory.
|
||||
*
|
||||
* The person must have registered with Friendika using the normal registration
|
||||
* procedures in order to have a Friendika user record, contact, and profile.
|
||||
* The person must have registered with Friendica using the normal registration
|
||||
* procedures in order to have a Friendica user record, contact, and profile.
|
||||
*
|
||||
* 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.
|
||||
|
|
|
@ -3,7 +3,7 @@ by Tobias Diekershoff
|
|||
tobias.diekershoff(at)gmx.net
|
||||
|
||||
This addon allows you to embed the code necessary for the FLOSS webanalytics
|
||||
tool piwik into the Friendika pages.
|
||||
tool piwik into the Friendica pages.
|
||||
|
||||
Online version of this Document: http://ur1.ca/35m2x
|
||||
|
||||
|
@ -13,7 +13,7 @@ To use this plugin you need a "piwik":http://piwik.org installation.
|
|||
|
||||
___ Where to find ___
|
||||
|
||||
In the Friendika git repository @/addon/piwik/piwik.php@ and a CSS file for
|
||||
In the Friendica git repository @/addon/piwik/piwik.php@ and a CSS file for
|
||||
styling the opt-out notice.
|
||||
|
||||
___ Configuration ___
|
||||
|
@ -29,9 +29,9 @@ $a->config['piwik']['optout'] = true;
|
|||
The *baseurl* points to your piwik installation. Use the absolute path,
|
||||
remember trailing slashes but ignore the protocol (http/s) part of the URL.
|
||||
Change the *sideid* parameter to whatever ID you want to use for tracking your
|
||||
Friendika installation. The *optout* parameter (true|false) defines whether or
|
||||
Friendica installation. The *optout* parameter (true|false) defines whether or
|
||||
not a short notice about the utilization of piwik will be displayed on every
|
||||
page of your Friendika site (at the bottom of the page with some spacing to the
|
||||
page of your Friendica site (at the bottom of the page with some spacing to the
|
||||
other content). Part of the note is a link that allows the visitor to set an
|
||||
_opt-out_ cookie which will prevent visits from that user be tracked by piwik.
|
||||
|
||||
|
|
|
@ -1,13 +1,13 @@
|
|||
<?php
|
||||
/**
|
||||
* Name: Piwik Analytics
|
||||
* Description: Piwik Analytics Plugin for Friendika
|
||||
* Description: Piwik Analytics Plugin for Friendica
|
||||
* Version: 1.0
|
||||
* Author: Tobias Diekershoff <https://diekershoff.homeunix.net/friendika/profile/tobias>
|
||||
*/
|
||||
|
||||
|
||||
/* Piwik Analytics Plugin for Friendika
|
||||
/* Piwik Analytics Plugin for Friendica
|
||||
*
|
||||
* Author: Tobias Diekershoff
|
||||
* tobias.diekershoff@gmx.net
|
||||
|
@ -21,7 +21,7 @@
|
|||
* $a->config['piwik']['siteid'] = '1';
|
||||
* $a->config['piwik']['optout'] = true; // set to false to disable
|
||||
*
|
||||
* Change the siteid to the ID that the Piwik tracker for your Friendika
|
||||
* Change the siteid to the ID that the Piwik tracker for your Friendica
|
||||
* installation has. Alter the baseurl to fit your needs, don't care
|
||||
* about http/https but beware to put the trailing / at the end of your
|
||||
* setting.
|
||||
|
@ -45,7 +45,7 @@ function piwik_analytics($a,&$b) {
|
|||
|
||||
/*
|
||||
* styling of every HTML block added by this plugin is done in the
|
||||
* associated CSS file. We just have to tell Friendika to get it
|
||||
* associated CSS file. We just have to tell Friendica to get it
|
||||
* into the page header.
|
||||
*/
|
||||
$a->page['htmlhead'] .= '<link rel="stylesheet" type="text/css" href="' . $a->get_baseurl() . '/addon/piwik/piwik.css' . '" media="all" />' . "\r\n";
|
||||
|
|
BIN
randplace.tgz
BIN
randplace.tgz
Binary file not shown.
|
@ -1,7 +1,7 @@
|
|||
<?php
|
||||
/**
|
||||
* Name: Random place
|
||||
* Description: Sample Friendika plugin/addon. Set a random place when posting.
|
||||
* Description: Sample Friendica plugin/addon. Set a random place when posting.
|
||||
* Version: 1.0
|
||||
* Author: Mike Macgirvin <http://macgirvin.com/profile/mike>
|
||||
*
|
||||
|
|
BIN
sniper.tgz
BIN
sniper.tgz
Binary file not shown.
|
@ -1,7 +1,7 @@
|
|||
<?php
|
||||
|
||||
/**
|
||||
* Demo plugin for adding various types of Flash games to Friendika.
|
||||
* Demo plugin for adding various types of Flash games to Friendica.
|
||||
* In this case we're using "Hot Shot Sniper" by FlashGames247
|
||||
*
|
||||
* Name: Sniper
|
||||
|
|
BIN
statusnet.tgz
BIN
statusnet.tgz
Binary file not shown.
|
@ -7,7 +7,7 @@ by Tobias Diekershoff
|
|||
!! with it, please contact the Author. !!
|
||||
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
|
||||
|
||||
With this addon to Friendika you can give your user the possibility to post
|
||||
With this addon to Friendica you can give your user the possibility to post
|
||||
their public messages to any StatusNet instance (like identi.ca for example).
|
||||
The messages will be strapped their rich context and shortened to to the character
|
||||
limit of the StatusNet instance in question if necessary. If shortening of the
|
||||
|
@ -30,7 +30,7 @@ was longer than the maximal allowed notice length requires it, that you have
|
|||
PHP5+ and curl on your server.
|
||||
Where to find
|
||||
|
||||
In the Friendika git repository /addon/statusnet/, this directory contains all
|
||||
In the Friendica git repository /addon/statusnet/, this directory contains all
|
||||
required PHP files (including the Twitter OAuth library [1] by Abraham Williams,
|
||||
MIT licensed and the Slinky library [2] by Beau Lebens, BSD license), a CSS file
|
||||
for styling of the user configuration and an image to Sign in with StatusNet.
|
||||
|
@ -54,8 +54,8 @@ connect to the StatusNet account of choice.
|
|||
https://identi.ca/api/
|
||||
* OAuth Consumer key & secret
|
||||
|
||||
To get the OAuth Consumer key pair the user has to (a) ask her Friendika admin
|
||||
if a pair already exists or (b) has to register the Friendika server as a
|
||||
To get the OAuth Consumer key pair the user has to (a) ask her Friendica admin
|
||||
if a pair already exists or (b) has to register the Friendica server as a
|
||||
client application on the StatusNet server. This can be done from the account
|
||||
settings under "Connect -> Connections -> Register an OAuth client application
|
||||
-> Register a new application".
|
||||
|
@ -64,12 +64,12 @@ During the registration of the OAuth client remember the following:
|
|||
* there is no callback url
|
||||
* register a desktop client
|
||||
* with read & write access
|
||||
* the Source URL should be the URL of your Friendika server
|
||||
* the Source URL should be the URL of your Friendica server
|
||||
|
||||
After the required credentials for the application are stored in the
|
||||
configuration you have to actually connect your Friendika account with
|
||||
configuration you have to actually connect your Friendica account with
|
||||
StatusNet. To do so follow the Sign in with StatusNet button, allow the access
|
||||
and copy the security code into the plugin configuration. Friendika will then
|
||||
and copy the security code into the plugin configuration. Friendica will then
|
||||
try to acquire the final OAuth credentials from the API, if successful the
|
||||
plugin settings will allow you to select to post your public messages to your
|
||||
StatusNet account.
|
||||
|
|
BIN
twitter.tgz
BIN
twitter.tgz
Binary file not shown.
|
@ -7,7 +7,7 @@ By Tobias Diekershoff
|
|||
!! with it, please contact the Author. !!
|
||||
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
|
||||
|
||||
With this addon to Friendika you can give your user the possibility to post
|
||||
With this addon to Friendica you can give your user the possibility to post
|
||||
their *public* messages to Twitter. The messages will be strapped their rich
|
||||
context and shortened to 140 characters length if necessary. If shortening of
|
||||
the message was performed a link will be added to the Tweet pointing to the
|
||||
|
@ -20,7 +20,7 @@ Online version of this document: http://ur1.ca/35mml
|
|||
|
||||
___ Requirements ___
|
||||
|
||||
To use this plugin you have to register your Friendika instance as an
|
||||
To use this plugin you have to register your Friendica instance as an
|
||||
_client application_ for Twitter with _read and write_ access, we do not intend
|
||||
to use Twitter for login. The registration can be done at twitter.com/apps
|
||||
and you need to have a Twitter account to do so.
|
||||
|
@ -34,7 +34,7 @@ message was longer than 140 characters requires it, that you have *PHP5+* and
|
|||
|
||||
___ Where to find ___
|
||||
|
||||
In the Friendika git repository /addon/twitter/, this directory contains
|
||||
In the Friendica git repository /addon/twitter/, this directory contains
|
||||
all required PHP files (including the Twitter OAuth library [1] by Abraham
|
||||
Williams, MIT licensed and the Slinky library [2] by Beau Lebens, BSD license),
|
||||
a CSS file for styling of the user configuration and an image to _Sign in with
|
||||
|
@ -68,7 +68,7 @@ connect to Twitter. To do so one has to follow the _Sign in with Twitter_
|
|||
button (the page will be opened in a new browser window/tab) and get a PIN from
|
||||
Twitter. This PIN has to be entered on the settings page. After submitting the
|
||||
PIN the plugin will get OAuth credentials identifying this user from the
|
||||
Friendika account.
|
||||
Friendica account.
|
||||
|
||||
If this first step was successful the Twitter configuration will be changed
|
||||
on the "Plugin Settings" page displaying two check boxes. One to enable/disable
|
||||
|
|
Binary file not shown.
|
@ -53,7 +53,7 @@ function uhremotestorage_settings($a, &$s){
|
|||
$tpl = file_get_contents(dirname(__file__)."/settings.tpl");
|
||||
$s .= replace_macros($tpl, array(
|
||||
'$title' => 'Unhosted remote storage',
|
||||
'$desc' => sprintf( t('Allow to use your friendika id (%s) to connecto to external unhosted-enabled storage (like ownCloud)'), $uid ),
|
||||
'$desc' => sprintf( t('Allow to use your friendica id (%s) to connecto to external unhosted-enabled storage (like ownCloud)'), $uid ),
|
||||
'$url' => array( 'unhoestedurl', t('Unhosted DAV storage url'), $davurl, 'If your are using ownCloud, your unhosted url will be like <tt>http://<i>HOST</i>/apps/remoteStorage/compat.php/<i>USER</i>/remoteStorage/</tt>'),
|
||||
'$submit' => t('Submit'),
|
||||
));
|
||||
|
|
BIN
widgets.tgz
BIN
widgets.tgz
Binary file not shown.
|
@ -1,7 +1,7 @@
|
|||
<?php
|
||||
/**
|
||||
* Name: Widgets
|
||||
* Description: Allow to embed info from friendika into another site
|
||||
* Description: Allow to embed info from friendica into another site
|
||||
* Version: 1.0
|
||||
* Author: Fabio Comuni <http://kirgroup.com/profile/fabrix/>
|
||||
*/
|
||||
|
|
Loading…
Reference in New Issue
Block a user