Skip to content
This repository has been archived by the owner on Feb 12, 2018. It is now read-only.

Commit

Permalink
Support for additonal role membership controls
Browse files Browse the repository at this point in the history
  • Loading branch information
peppertree committed Jun 14, 2014
1 parent fe8aa53 commit 2b272d1
Show file tree
Hide file tree
Showing 8 changed files with 703 additions and 10 deletions.
10 changes: 5 additions & 5 deletions Connect_AccountRegistration.vbproj
Original file line number Diff line number Diff line change
Expand Up @@ -139,11 +139,11 @@
<None Include="BuildScripts\MSBuild.Community.Tasks.Targets" />
<None Include="Connect_AccountRegistration.dnn" />
<Content Include="Templates.ascx" />
<Content Include="Templates\DNN-Connect\Email.Admin.txt" />
<Content Include="Templates\DNN-Connect\Email.User.Private.txt" />
<Content Include="Templates\DNN-Connect\Email.User.txt" />
<Content Include="Templates\DNN-Connect\Email.User.Verified.txt" />
<Content Include="Templates\DNN-Connect\Form.txt" />
<Content Include="Templates\Default - Copy\Email.Admin.txt" />
<Content Include="Templates\Default - Copy\Email.User.Private.txt" />
<Content Include="Templates\Default - Copy\Email.User.txt" />
<Content Include="Templates\Default - Copy\Email.User.Verified.txt" />
<Content Include="Templates\Default - Copy\Form.txt" />
<Content Include="Templates\Default\Email.Admin.txt" />
<Content Include="Templates\Default\Email.User.Private.txt" />
<Content Include="Templates\Default\Email.User.txt" />
Expand Down
24 changes: 24 additions & 0 deletions Templates/Default - Copy/Email.Admin.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,24 @@

<p>A user has registered an account on the website <a href="[PORTALURL]"><strong>[PORTALNAME]</strong></a>.</p>
<p>The registration mode of the portal is set to <strong><i>[REGISTRATIONMODE]</i></strong>, so the following action is necessary:</p>
<ul>
<li>[ADMINACTION]</li>
</ul>
<h2>Details about the account</h2>
<table>
<tr>
<td>Username:</td><td>[USERNAME]</td>
</tr>
<tr>
<td>Name:</td><td>[FIRSTNAME] [LASTNAME]</td>
</tr>
<tr>
<td>E-Mail Adress:</td><td>[EMAIL]</td>
</tr>
</table>

<div style="margin-top: 20px;padding: 20px;border: 1px dashed #ccc;background-color: #eee;">
<a href="[USERURL]">Click to manage Account</a>
</div>


29 changes: 29 additions & 0 deletions Templates/Default - Copy/Email.User.Private.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,29 @@

<p>Dear [DISPLAYNAME],</p>
<p>your user account on the website <strong>[PORTALNAME]</strong> has been created succesfully. In order to log on to your account you will have to wait until we have verified your account details and activate your account. This may take up to 24 hours and you will receive another notification e-mail as soon as this process has been finished.</p>

<p>For now it is already adviseable to keep your registration details in a safe place in case you need it one day.</p>

<h2>Details about your account</h2>

<table>
<tr>
<td>Username:</td><td>[USERNAME]</td>
</tr>
<tr>
<td>Password:</td><td>[PASSWORD]</td>
</tr>
<tr>
<td>E-Mail Adress:</td><td>[EMAIL]</td>
</tr>
</table>

<p style="padding-top:20px;">
Once we have activated your account you can use the following link to manage your account details:
</p>

<div style="margin-top: 20px;padding: 20px;border: 1px dashed #ccc;background-color: #eee;">
<a href="[USERURL]">Click to manage Account</a>
</div>


36 changes: 36 additions & 0 deletions Templates/Default - Copy/Email.User.Verified.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,36 @@
This is the default template:

<p>Dear [DISPLAYNAME],</p>
<p>your user account on the website <strong>[PORTALNAME]</strong> has been created succesfully. To finalize the activation of the account we require you to verify your e-mail address. This is to prevent automated systems to register accounts on our website and we're trying to make that last step as easy as possible for you. Simply click on the link below and your account will be activated instantly. In case you will be asked of a verification code while logging on to the website you can also enter the key provided below.</p>

<div style="margin-top: 20px;padding: 20px;border: 1px dashed #ccc;background-color: #eee;">
<a href="[VERIFYURL]">Click to activate Account</a>
</div>

<p>It is adviseable to keep your registration details in a safe place in case you need it one day.</p>

<h2>Details about your account</h2>
<table>
<tr>
<td>Username:</td><td>[USERNAME]</td>
</tr>
<tr>
<td>Password:</td><td>[PASSWORD]</td>
</tr>
<tr>
<td>Verification Code:</td><td>[VERIFICATIONCODE]</td>
</tr>
<tr>
<td>E-Mail Adress:</td><td>[EMAIL]</td>
</tr>
</table>

<p style="padding-top:20px;">
Once your account is activated you can use the following link to manage your account details:
</p>

<div style="margin-top: 20px;padding: 20px;border: 1px dashed #ccc;background-color: #eee;">
<a href="[USERURL]">Click to manage Account</a>
</div>


Loading

0 comments on commit 2b272d1

Please sign in to comment.