The Forum has been Updated
The code has been upgraded to the latest .NET core version. Please check instructions in the Community Announcements about migrating your account.
When you are using 'email validation' and 'require registration', visitors "apply for membership" -- that is, they "register". Admins are presented with a list of 'pending members'.
If you 'approve' one (or more) pending memberships, email notification is sent. When the Accounts Pending screen refreshes, the "Approved?" column displays the word 'Yes'. However, the checkbox (used to select applicants for approval or deletion) is still there. Since an approval email has already been sent, I do not want to (incorrectly) click the checkbox of an applicant that has already been approved -- possibly sending a second email to applicant. My remedy: Hide the checkbox for applicants who have already been approved!
This 'mod' requires changes to only two lines of code. If you want to disable the checkbox for 'approved' applicants, follow the instructions below. Be careful of line wraps. Find these 2 lines of code in ADMIN_ACCOUNTS_PENDING.ASP (approx Ln 434)
Response.Write " <td bgcolor=""" & CColor & """ align=""center""><font face=""" & strDefaultFontFace & """ size=""" & strFooterFontSize & """ color=""" & strForumFontColor & """><input type=""checkbox"" name=""id"" value=""" & MP_MemberID & """ onclick=""Toggle(this)""></font></td>" & vbNewLine & _
" </tr>" & vbNewLine
REPLACE THE 2 LINES ABOVE WITH THE FOLLOWING SEVEN LINES OF CODE:
if MP_MemberApprove = 1 then
Response.Write " <td bgcolor=""" & CColor & """ align=""center""><font face=""" & strDefaultFontFace & """ size=""" & strFooterFontSize & """ color=""" & strForumFontColor & """> </font></td>" & vbNewLine & _
" </tr>" & vbNewLine
else
Response.Write "<td bgcolor=""" & CColor & """ align=""center""><font face=""" & strDefaultFontFace & """ size=""" & strFooterFontSize & """ color=""" & strForumFontColor & """><input type=""checkbox"" name=""id"" value=""" & MP_MemberID & """ onclick=""Toggle(this)""></font></td>" & vbNewLine & _
" </tr>" & vbNewLine
end if
That's it... The checkbox beside applicants that have been approved is hidden.
Caution: Make a backup copy of Admin_Accounts_Pending.asp before changing the code.
Note: Tested on Snitz v3.4.06
Email me if you have questions or have a problem.<
If you 'approve' one (or more) pending memberships, email notification is sent. When the Accounts Pending screen refreshes, the "Approved?" column displays the word 'Yes'. However, the checkbox (used to select applicants for approval or deletion) is still there. Since an approval email has already been sent, I do not want to (incorrectly) click the checkbox of an applicant that has already been approved -- possibly sending a second email to applicant. My remedy: Hide the checkbox for applicants who have already been approved!
This 'mod' requires changes to only two lines of code. If you want to disable the checkbox for 'approved' applicants, follow the instructions below. Be careful of line wraps. Find these 2 lines of code in ADMIN_ACCOUNTS_PENDING.ASP (approx Ln 434)
Response.Write " <td bgcolor=""" & CColor & """ align=""center""><font face=""" & strDefaultFontFace & """ size=""" & strFooterFontSize & """ color=""" & strForumFontColor & """><input type=""checkbox"" name=""id"" value=""" & MP_MemberID & """ onclick=""Toggle(this)""></font></td>" & vbNewLine & _
" </tr>" & vbNewLine
REPLACE THE 2 LINES ABOVE WITH THE FOLLOWING SEVEN LINES OF CODE:
if MP_MemberApprove = 1 then
Response.Write " <td bgcolor=""" & CColor & """ align=""center""><font face=""" & strDefaultFontFace & """ size=""" & strFooterFontSize & """ color=""" & strForumFontColor & """> </font></td>" & vbNewLine & _
" </tr>" & vbNewLine
else
Response.Write "<td bgcolor=""" & CColor & """ align=""center""><font face=""" & strDefaultFontFace & """ size=""" & strFooterFontSize & """ color=""" & strForumFontColor & """><input type=""checkbox"" name=""id"" value=""" & MP_MemberID & """ onclick=""Toggle(this)""></font></td>" & vbNewLine & _
" </tr>" & vbNewLine
end if
That's it... The checkbox beside applicants that have been approved is hidden.
Caution: Make a backup copy of Admin_Accounts_Pending.asp before changing the code.
Note: Tested on Snitz v3.4.06
Email me if you have questions or have a problem.<
