friendica-addons/fortunate
Hypolite Petovan c27b1cb66f Replace deprecated Addon::*registerHook by Hook::*register 2018-12-26 10:20:18 -05:00
..
lang/C Revert "[fortunate] Move addon to deprecated-addons" 2018-07-10 08:44:13 -04:00
cookie.php Revert "[fortunate] Move addon to deprecated-addons" 2018-07-10 08:44:13 -04:00
fortunate.css Revert "[fortunate] Move addon to deprecated-addons" 2018-07-10 08:44:13 -04:00
fortunate.php Replace deprecated Addon::*registerHook by Hook::*register 2018-12-26 10:20:18 -05:00
fortunemod.sql.gz Revert "[fortunate] Move addon to deprecated-addons" 2018-07-10 08:44:13 -04:00
README Revert "[fortunate] Move addon to deprecated-addons" 2018-07-10 08:44:13 -04:00

This addon requires a fortune server. You may use the DB supplied here to create one.

gunzip the fortunate.sql.gz and import into your database.
Copy cookie.php to the top level Friendica directory.
Edit fortunate.php and change FORTUNATE_SERVER definition to your hostname. Change the http in that file to https if your server doesn't support http. 

Many additional options are available if you examine cookie.php - a clever developer can provide a settings page to tailor this to one's liking. Also several languages are supported, and it would be convenient to set this to the current Friendica language if that is amongst those supported.