Pending Registrations Template

15 Mar 2026 - 13:52 | Version 1 |

Tailoring instructions:

The contents of the Pending Registrations report can be modified to report any fields collected on a customized UserRegistration form. Each formfield name is substituted with the similarly named token in the row definition: For example, if your User Registration form includes the Organization field, it can be included by adding $Organization to the below ApprovalRow and VerificationRow templates.

Both this topic, and the PendingRegistrations topic must be in the same web for the override to work:
  1. Copy this template topic to Main.PendingRegistrationsTemplate
  2. Edit Main.PendingRegistrationsTemplate and make the desired changes.
  3. Copy PendingRegistrations to Main.PendingRegistrations.
  4. PendingRegistrations will now generate a report using your tailored layout.

Templates for "Pending Approval" registrations

<div class='tmplDef'>
<h2><span class='foswikiGrayText'>DEF - </span>ApprovalHeader</h2><verbatim class='tml'>%TMPL:DEF{"ApprovalHeader"}%<noautolink>
| *WikiName* | *Email* | *LastName* | *FirstName* | *LoginName* | *Code* | *Action* |
%TMPL:END%</verbatim>
</div>

<div class='tmplDef'>
<h2><span class='foswikiGrayText'>DEF - </span>approvalNotEnabled</h2><verbatim class='tml'>%TMPL:DEF{"approvalNotEnabled"}%<div class="foswikiAlert">%MAKETEXT{"Registration approval is not enabled."}%</div>%TMPL:END%</verbatim>
</div>
<div class='tmplDef'>
<h2><span class='foswikiGrayText'>DEF - </span>approveAction</h2><verbatim class='tml'>%TMPL:DEF{"approveAction"}%
%MAKETEXT{"You can use the \"approve\" or \"reject\" links to approve or reject these registrations"}%
%TMPL:END%</verbatim>
</div>

<div class='tmplDef'>
<h2><span class='foswikiGrayText'>DEF - </span>ApprovalRow</h2><verbatim class='tml'>%TMPL:DEF{"ApprovalRow"}%| $WikiName | $Email | $LastName | $FirstName | $LoginName | $ApprovalCode |\
[[%SCRIPTURLPATH{"register" action="approve" code="$ApprovalCode" referee="%WIKINAME%"}%][%MAKETEXT{"Approve"}%]] / \
[[%SCRIPTURLPATH{"register" action="disapprove" code="$ApprovalCode" referee="%WIKINAME%"}%][%MAKETEXT{"Reject"}%]] |
%TMPL:END%</verbatim>
</div>

Templates for "Pending Verification" registrations

<div class='tmplDef'>
<h2><span class='foswikiGrayText'>DEF - </span>VerificationHeader</h2><verbatim class='tml'>%TMPL:DEF{"VerificationHeader"}%<noautolink>
| *WikiName* | *Email* | *LastName* | *FirstName* | *LoginName* | *Code* | 
%TMPL:END%</verbatim>
</div>

<div class='tmplDef'>
<h2><span class='foswikiGrayText'>DEF - </span>verifyNotEnabled</h2><verbatim class='tml'>%TMPL:DEF{"verifyNotEnabled"}%<div class="foswikiAlert">%MAKETEXT{"Email verification is not enabled."}%</div>%TMPL:END%</verbatim>
</div>

<div class='tmplDef'>
<h2><span class='foswikiGrayText'>DEF - </span>VerificationRow</h2><verbatim class='tml'>%TMPL:DEF{"VerificationRow"}%| $WikiName | $Email | $LastName | $FirstName | $LoginName | $VerificationCode |%TMPL:END%</verbatim>
</div>

Common templates

<div class='tmplDef'>
<h2><span class='foswikiGrayText'>DEF - </span>accessdenied</h2><verbatim class='tml'>%TMPL:DEF{"accessdenied"}%<div class="foswikiAlert">%MAKETEXT{"Access to pending registrations is restricted to administrators."}%</div>%TMPL:END%</verbatim>
</div>
<div class='tmplDef'>
<h2><span class='foswikiGrayText'>DEF - </span>nothingPending</h2><verbatim class='tml'>%TMPL:DEF{"nothingPending"}%<div class="foswikiAlert">%MAKETEXT{"No registrations are pending."}%</div>%TMPL:END%</verbatim>
</div>
This site is powered by FoswikiCopyright © by the contributing authors. All material on this site is the property of the contributing authors.
Ideas, requests, problems regarding Wiki? Send feedback
This website is using cookies. More info. That's Fine