Restrict Registration Idea - Posted (1585 Views)
Senior Member
leatherlips
Posts: 1838
1838
I was trying out the restrict registration feature and had a question. When you have this turned on, you can choose to accept the pending member and they will be sent an email requesting them to activate their registration. This part is good.
However, there is no option to deny a pending member. You can only delete them.
Is there anyone who can figure out a way to deny a pending member and have it send them an email telling them that their registration has been denied? If you simply delete them, they are totally unaware.<
 Sort direction, for dates DESC means newest first  
 Page size 
Posted
Senior Member
leatherlips
Posts: 1838
1838
Does anyone know how to do this? I'd do it if I could. I am just a copy and paste kind of guy. blush<
Posted
Retired Support Moderator
MarcelG
Posts: 2625
2625
This seems not to hard to do. Give me some time, and I'll see what I can come up with.<
Posted
Retired Support Moderator
MarcelG
Posts: 2625
2625
Ha, it's easier than I thought it would be! bigsmile
There's already a function available for welcoming new members via an e-mail.
We can copy/paste that same function, and rename it to another one. And so I did. bigsmile
Look in the attached updated version of Admin_Accounts_Pending.asp (for 3.4.05) for the sub DenyMailMembers(), and you can see what I did. Haven't tested it yet though, but I think it should work. It works as a charm! bigsmile Topic can be moved to 'Mods W/Code'<
Posted
Senior Member
leatherlips
Posts: 1838
1838
Thanks for working on this, however it will not work for me. I instead get this error when I choose to delete a selected member:

Microsoft VBScript runtime error '800a000d'

Type mismatch: 'DenyMailMembers'

/gm/forum/admin_accounts_pending.asp, line 205

I am using Access 2000. Would that make a difference?<
Posted
Retired Support Moderator
MarcelG
Posts: 2625
2625
Mmmmm...that's strange. Have you used my zip file ?<
Posted
Senior Member
leatherlips
Posts: 1838
1838
Yes. I downloaded your zip file and uploaded it to my web thus overwriting my original file (I backed it up first of course).
I get the error when I select a member and then click the Delete Selected Pending Members link. A javascript pop up appears (asking if I really want to delete the selected members) and I click OK. Then I get a screen with the error message I posted above.
I did make one change to the file before hand. I added the Send Reminder To Pending Members MOD. It required the following change to the admin_accounts_pending.asp file:

I changed this:
" <li><a href=""javascript:del_selected()"">Delete Selected Pending Members</a></li></font></td>" & vbNewLine & _
To this:
" <li><a href=""javascript:del_selected()"">Delete Selected Pending Members</a></li>" & vbNewLine & _
" <li><a href=""admin_accounts_pending_reminder.asp"">Send Reminder</a></li></font></td>" & vbNewLine & _
<
Posted
Retired Support Moderator
MarcelG
Posts: 2625
2625
You are running 3.4.05 ? I used the 3.4.05 version as the base.<
Posted
Senior Member
leatherlips
Posts: 1838
1838
Yes, I have Snitz 3.4.05. I didn't mention that I had Restrict Registration turned on.<
Posted
Retired Support Moderator
MarcelG
Posts: 2625
2625
Mmm...let me see if that's a problem for this mod.<
Posted
Senior Member
leatherlips
Posts: 1838
1838
I should make myself a little more clear. You have been great trying to implement my idea and I truly appreciate it.
What I was initially wanting was the following:

With Restrict Registration turned on you currently have in the pending members section two categories - Approve and Delete. I would like to have a third option to Deny.
The Approve currently works as it is supposed to. It approves the member and sends them an email asking them to click the verification link.
The Delete currently works as it is supposed to. It simply deletes them.
The third option would be a Deny link. This link would delete the pending member and send them an email telling them their request was denied. Like the approve and delete functions, there would be the choice to deny selected members or deny all members.
Is this even possible?
Your work is not going in vain and if you are unable to go any further I totally understand. You are a real trooper! shy<
You Must enter a message