]> git.mxchange.org Git - quix0rs-gnu-social.git/commit
Adds $config['invite']['enabled'] to enable/disable invites.
authorJeffery To <jeffery.to@gmail.com>
Sun, 14 Jun 2009 08:17:22 +0000 (16:17 +0800)
committerJeffery To <jeffery.to@gmail.com>
Sun, 14 Jun 2009 08:17:22 +0000 (16:17 +0800)
commit6d308f6ffe3f894c60fafaea3ceaef86d30dfe1d
tree8cea1b246bfb704c76d67e519d4ce3b0fccf5844
parent77c94c44a622052366dcc03fee522232672d71d9
Adds $config['invite']['enabled'] to enable/disable invites.

The invite function may not applicable for private and/or closed installs. This adds a configuration option to enable/disable invites (defaulting to enabled), hides the "Invite" nav item when necessary, and adds a check to actions/invite.php.

Note that I haven't tried the Facebook application so I didn't add any checks to actions/facebookinvite.php.
README
actions/invite.php
config.php.sample
lib/action.php
lib/common.php
lib/facebookaction.php
lib/subgroupnav.php
plugins/FBConnect/FBConnectPlugin.php