Go to file
Mikael Nordfeldth d1005c67a9 No need to check logged in user
It's always the notice's author we want to check this for anyway.

I kept getting errors like, which are now fixed:
   Trying to get property of non-object in /srv/www/vhosts/se/umeahackerspace/social/%/htdocs/local/plugins/Qvitter/QvitterPlugin.php on line 594

I guess it might also screw up (somehow?) if some future awesome
notice handling thing decided to run the StartNoticeDistribute event
when the session is not currently used by the notice's author. But
that's a bit far-fetched.
2015-06-04 20:21:49 +02:00
actions show server in mention suggestions when multiple users with same nickname matches 2015-06-02 17:10:58 +02:00
classes Added equal to the query in NotificationStream. Related to issue #116 2015-02-21 23:50:05 +01:00
css better handling of user designs, and a new custom welcome text option 2015-05-29 17:30:03 +02:00
doc minor faq fix again 2015-05-21 14:02:44 +02:00
edited-gnu-social-files/lib added an event hook to apiauthaction.php to enable header notifications 2015-01-26 17:17:38 +01:00
fonts v4. design, img upload, avatar, bg img, etc etc 2014-11-24 13:47:45 +01:00
img the quitter favicon had become low-res somehow 2015-06-02 15:22:09 +02:00
js better handling of profile cards, work in progress 2015-06-02 23:45:46 +02:00
locale It is GNU social - because mattl says so! :) Just a cleanup 2015-02-27 23:05:10 +01:00
LICENSE upload 2013-08-19 15:30:57 +02:00
QvitterPlugin.php No need to check logged in user 2015-06-04 20:21:49 +02:00
README.md readme update 2015-05-29 17:40:45 +02:00
screenshot.jpg v4. design, img upload, avatar, bg img, etc etc 2014-11-24 13:47:45 +01:00
shortener.php various bugfixes 2014-10-05 14:07:31 +02:00

Qvitter

Qvitter is free software: you can redistribute it and / or modify it
under the terms of the GNU Affero General Public License as published by
the Free Software Foundation, either version three of the License or (at
your option) any later version.

Qvitter is distributed in hope that it will be useful but WITHOUT ANY
WARRANTY; without even the implied warranty of MERCHANTABILTY or FITNESS
FOR A PARTICULAR PURPOSE. See the GNU Affero General Public License for
more details.

You should have received a copy of the GNU Affero General Public License
along with Qvitter. If not, see http://www.gnu.org/licenses/.

Setup

  1. Install GNU social

  2. Put all files in /plugins/Qvitter

  3. Replace your lib/apiauthaction.php file with the one supplied in edited-gnu-social-files/lib/apiauthaction.php. (this might not be needed if you are running the latest GNU social nightly)

  4. Add addPlugin('Qvitter'); to your /config.php file.

  5. It's recommended to set this setting in your /config.php file: $config['thumbnail']['maxsize'] = 3000;

  6. There are a few settings in /plugins/Qvitter/QvitterPlugin.php. By default Qvitter is opt-out for users. If you set $settings['enabledbydefault'] = false; Qvitter will be opt-in instead.

  7. Users can go to ://{instance}/settings/qvitter and enable or disable Qvitter.

Optional

For easy updates, you can use /config.php to override the settings in /plugins/Qvitter/QvitterPlugin.php. For example, add this to your /config.php file:

// Qvitter-settings
$config['site']['qvitter']['enabledbydefault'] = true;
$config['site']['qvitter']['defaultbackgroundcolor'] = '#f4f4f4';
$config['site']['qvitter']['defaultlinkcolor'] = '#0084B4';
$config['site']['qvitter']['timebetweenpolling'] = 5000;
$config['site']['qvitter']['urlshortenerapiurl'] = 'http://qttr.at/yourls-api.php';	
$config['site']['qvitter']['urlshortenersignature'] = 'b6afeec983';	
$config['site']['qvitter']['sitebackground'] = 'img/vagnsmossen.jpg';
$config['site']['qvitter']['favicon'] = 'img/favicon.ico?v=4';
$config['site']['qvitter']['enablewelcometext'] = true;
$config['site']['qvitter']['customwelcometext']['sv'] = '<h1>Välkommen till Quitter.se  en federerad<sup>1</sup> mikrobloggsallmänning!</h1><p>Etc etc...</p>';
$config['site']['qvitter']['customwelcometext']['en'] = '<h1>Welcome to Quitter.se  a federated microblog common!</h1><p>Etc etc...</p>';
$config['site']['qvitter']['blocked_ips'] = array();
$config['thumbnail']['maxsize'] = 3000;

Note: This version of Qvitter is tested with GNU social version 1.1.1-alpha2 (7e47026085fa4f2071e694d9c3e3fe2aa5142135).