X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;f=config.php.sample;h=6e55eaffc8bdf9190fafd0e735008ed787360af1;hb=bdb8c12d975846ce128619e672b8064b8f5f890a;hp=c2e7bf151a2dd2d7f66db868dcbaacfd1a2e1acd;hpb=525b86771866f368a4df9163562fbfe43be76b40;p=quix0rs-gnu-social.git diff --git a/config.php.sample b/config.php.sample index c2e7bf151a..6e55eaffc8 100644 --- a/config.php.sample +++ b/config.php.sample @@ -18,6 +18,8 @@ $config['site']['server'] = 'localhost'; $config['site']['path'] = 'laconica'; #$config['site']['fancy'] = false; #$config['site']['theme'] = 'default'; +#To enable the built-in mobile style sheet, defaults to false. +#$config['site']['mobile'] = true; #For contact email, defaults to $_SERVER["SERVER_ADMIN"] #$config['site']['email'] = 'admin@example.net'; #Brought by... @@ -61,7 +63,6 @@ $config['sphinx']['enabled'] = false; $config['sphinx']['server'] = 'localhost'; $config['sphinx']['port'] = 3312; - # Users to populate the 'Featured' tab #$config['nickname']['featured'][] = 'scobleizer'; @@ -93,11 +94,14 @@ $config['sphinx']['port'] = 3312; #For incoming email, if enabled. Defaults to site server name. #$config['mail']['domain'] = 'incoming.example.net'; - #exponential decay factor for tags, default 10 days #raise this if traffic is slow, lower it if it's fast #$config['tag']['dropoff'] = 86400.0 * 10; +#exponential decay factor for popular (most favorited notices) +#default 10 days -- similar to tag dropoff +#$config['popular']['dropoff'] = 86400.0 * 10; + #optionally show non-local messages in public timeline #$config['public']['localonly'] = false; @@ -105,6 +109,14 @@ $config['sphinx']['port'] = 3312; #$config['public']['blacklist'][] = 123; #$config['public']['blacklist'][] = 2307; +#Mark certain notice sources as automatic and thus not +#appropriate for public feed +#$config['public]['autosource'][] = 'twitterfeed'; +#$config['public]['autosource'][] = 'rssdent'; +#$config['public]['autosource'][] = 'Ping.Fm'; +#$config['public]['autosource'][] = 'HelloTxt'; +#$config['public]['autosource'][] = 'Updating.Me'; + #Do notice broadcasts offline #If you use this, you must run the six offline daemons in the #background. See the README for details. @@ -124,3 +136,23 @@ $config['sphinx']['port'] = 3312; #Twitter integration source attribute. Note: default is Laconica #$config['integration']['source'] = 'Laconica'; + +# Edit throttling. Off by default. If turned on, you can only post 20 notices +# every 10 minutes. Admins may want to play with the settings to minimize inconvenience for +# real users without getting uncontrollable floods from spammers or runaway bots. + +#$config['throttle']['enabled'] = true; +#$config['throttle']['count'] = 100; +#$config['throttle']['timespan'] = 3600; + +# List of users banned from posting (nicknames and/or IDs) +#$config['profile']['banned'][] = 'hacker'; +#$config['profile']['banned'][] = 12345; + +# Config section for the built-in Facebook application +#$config['facebook']['apikey'] = 'APIKEY'; +#$config['facebook']['secret'] = 'SECRET'; + +# Add Google Analytics +# require_once('plugins/GoogleAnalyticsPlugin.php'); +# $ga = new GoogleAnalyticsPlugin('your secret code');