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.
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.<
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.<
Sist redigert av
Postet den
Does anyone know how to do this? I'd do it if I could. I am just a copy and paste kind of guy.
<
Postet den
This seems not to hard to do. Give me some time, and I'll see what I can come up with.<
portfolio - linkshrinker - oxle - twitter
Postet den
Ha, it's easier than I thought it would be!
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'<
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.
portfolio - linkshrinker - oxle - twitter
Sist redigert av
Postet den
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?<
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?<
Postet den
Mmmmm...that's strange.
Have you used my zip file ?<
portfolio - linkshrinker - oxle - twitter
Postet den
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 & _<
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 & _<
Sist redigert av
Postet den
You are running 3.4.05 ? I used the 3.4.05 version as the base.<
portfolio - linkshrinker - oxle - twitter
Postet den
Yes, I have Snitz 3.4.05. I didn't mention that I had Restrict Registration turned on.<
Postet den
Mmm...let me see if that's a problem for this mod.<
portfolio - linkshrinker - oxle - twitter
Postet den
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!
<
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!
Sist redigert av
Email Member
Message Member
Post Moderation
Filopplasting
If you're having problems uploading, try choosing a smaller image.
Forhåndsvis post
Send Topic
Loading...