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.<
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.
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! Topic can be moved to 'Mods W/Code'<
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 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! <
My forum is used for a middle school. The students must use a certain username based on their grade level. If they use a nonsense username, I'd like to deny them and let them know why so they can re-register properly.
Sometimes I need to delete them because they entered an invalid email address. I don't necessarily need to notify them in this case.
I wish I knew how to do it. I could help you figure it out. I'm not sure why your MOD isn't working on my site either... <
I got it to work! Well, actually, a friend of mine got it to work!
He knows about asp and looked at my file and knew what to do. For those interested, here is how it looks on the admin page when restrict registration is turned on (note that I also had the Send Reminders MOD installed, the attached file does not include that).
Clicking the deny links do two things: 1. It sends the pending member an email telling them their account has been denied and 2. It deletes them.
Inside of the attached file, you can change the deny message to your own liking.