show the welcome page on registration completion
This commit is contained in:
parent
4784e3fe36
commit
6267ea2e8d
@ -84,6 +84,20 @@ class EmailRegistrationPlugin extends Plugin
|
|||||||
return true;
|
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)
|
function onPluginVersion(&$versions)
|
||||||
{
|
{
|
||||||
$versions[] = array('name' => 'EmailRegistration',
|
$versions[] = array('name' => 'EmailRegistration',
|
||||||
|
@ -1,10 +1,10 @@
|
|||||||
Welcome to %%%%site.name%%%%.
|
Welcome to %%site.name%%.
|
||||||
|
|
||||||
From here, you may want to...
|
From here, you may want to...
|
||||||
|
|
||||||
* Go to [your profile](%%user.profileurl%%) and post your first message.
|
* 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.
|
* [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.
|
* 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.
|
* 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.
|
Thanks for signing up and we hope you enjoy using this service.
|
||||||
|
Loading…
Reference in New Issue
Block a user