add documentation; add to admin panel; some tweaks and interface stuff

This commit is contained in:
Zach Prezkuta 2012-08-25 15:03:16 -06:00
parent bd59f3d152
commit f062ccbb66
7 changed files with 142 additions and 71 deletions

View file

@ -277,8 +277,7 @@ function create_user($arr) {
require_once('include/group.php');
group_add($newuid, t('Friends'));
if((! isset($a->config['system']['newuser_public'])) || ($a->config['system']['newuser_public'] == 0)) {
// Make the group we just created the default for new contacts and for posts
if(! get_config('system', 'newuser_public')) {
$r = q("SELECT id FROM `group` WHERE uid = %d AND name = '%s'",
intval($newuid),
dbesc(t('Friends'))