Commit 6267ea2e authored by Evan Prodromou's avatar Evan Prodromou

show the welcome page on registration completion

parent 4784e3fe
......@@ -84,6 +84,20 @@ class EmailRegistrationPlugin extends Plugin
return true;
}
function onStartLoadDoc(&$title, &$output)
{
$dir = dirname(__FILE__);
$docFile = DocFile::forTitle($title, $dir.'/doc-src/');
if (!empty($docFile)) {
$output = $docFile->toHTML();
return false;
}
return true;
}
function onPluginVersion(&$versions)
{
$versions[] = array('name' => 'EmailRegistration',
......
Welcome to %%%%site.name%%%%.
Welcome to %%site.name%%.
From here, you may want to...
* Go to [your profile](%%user.profileurl%%) and post your first message.
* [Search for people](%%%%action.peoplesearch%%%%) that you may know or that share your interests.
* Update your [profile settings](%%%%action.profilesettings%%%%) to tell others more about you.
* Read over the [online docs](%%%%doc.help%%%%) for features you may have missed.
* [Search for people](%%action.peoplesearch%%) that you may know or that share your interests.
* Update your [profile settings](%%action.profilesettings%%) to tell others more about you.
* Read over the [online docs](%%doc.help%%) for features you may have missed.
Thanks for signing up and we hope you enjoy using this service.
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment