Pending Registrations Template

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

%TMPL:DEF{"ApprovalHeader"}%<noautolink>
| *WikiName* | *Email* | *LastName* | *FirstName* | *LoginName* | *Code* | *Action* |
%TMPL:END%

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

%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%

Templates for "Pending Verification" registrations

%TMPL:DEF{"VerificationHeader"}%<noautolink>
| *WikiName* | *Email* | *LastName* | *FirstName* | *LoginName* | *Code* | 
%TMPL:END%

%TMPL:DEF{"verifyNotEnabled"}%<div class="foswikiAlert">%MAKETEXT{"Email verification is not enabled."}%</div>%TMPL:END%

%TMPL:DEF{"VerificationRow"}%| $WikiName | $Email | $LastName | $FirstName | $LoginName | $VerificationCode |%TMPL:END%

Common templates

%TMPL:DEF{"accessdenied"}%<div class="foswikiAlert">%MAKETEXT{"Access to pending registrations is restricted to administrators."}%</div>%TMPL:END%
%TMPL:DEF{"nothingPending"}%<div class="foswikiAlert">%MAKETEXT{"No registrations are pending."}%</div>%TMPL:END%

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 AustLII Communities? Send feedback
This website is using cookies. More info. That's Fine