diff options
author | redmatrix <git@macgirvin.com> | 2016-01-12 15:43:08 -0800 |
---|---|---|
committer | redmatrix <git@macgirvin.com> | 2016-01-12 15:43:08 -0800 |
commit | baedd253090e1129dfea8284ee6dc29649286b3b (patch) | |
tree | ea24903d359fe8f7c7730fcc874d2764f84d45e8 /index.php | |
parent | bbc1a1f1fb925fc804585118364297acb5c8fa1f (diff) | |
download | volse-hubzilla-baedd253090e1129dfea8284ee6dc29649286b3b.tar.gz volse-hubzilla-baedd253090e1129dfea8284ee6dc29649286b3b.tar.bz2 volse-hubzilla-baedd253090e1129dfea8284ee6dc29649286b3b.zip |
'auto channel creation' - if the corresponding config variable is set, create a channel when an account is created.
Plugins can provide the necessary channel details (probably from an extended registration form). If no details are provided, a social (mostly public) channel will be created using the LHS of the email address and you will be directed to your channel page (unless email verification is required, in which case this step will be delayed until successful validation and login). If the reddress is already assigned a random name(1000-9999) reddress will be assigned.
Diffstat (limited to 'index.php')
-rwxr-xr-x | index.php | 8 |
1 files changed, 5 insertions, 3 deletions
@@ -336,11 +336,13 @@ if($a->module_loaded) { } if((! $a->error) && (function_exists($a->module . '_content'))) { - $arr = array('content' => $a->page['content']); + $arr = array('content' => $a->page['content'], 'replace' => false); call_hooks($a->module . '_mod_content', $arr); $a->page['content'] = $arr['content']; - $func = $a->module . '_content'; - $arr = array('content' => $func($a)); + if(! $arr['replace']) { + $func = $a->module . '_content'; + $arr = array('content' => $func($a)); + } call_hooks($a->module . '_mod_aftercontent', $arr); $a->page['content'] .= $arr['content']; } |