![]() |
|
Mod Options |
![]() |
|||||||||||||||||||||||
Banned members automatically stop receiving email notification on subscribed threads
![]() Developer Last Online: May 2013 ![]() ![]() ![]() This modification is in the archives.
NOTE: This hack is now included as standard from vB 2.2.8 upwards.
![]() This is really a mini-hack. As some of you may have come to realize, one of the shortcomings of vB is that after we have banned a member, that member still receives email notification, even when we have banned the member from viewing the forum or any threads. Obviously a banned member cannot access his or her user control panel to unsubscribe to threads or switch off email notification. We as admins cannot access the member's user control panel to unsubscribe him from threads since we don't have his password, and we cannot do it from the Admin CP. We can run a db query to unsubscribe the member manually:
Where XX is the userid of the member. It's very easy to add this to the Admin CP by the way. However, this is cumbersome, as the process is not automated. And once you unban the member, he has to remember to subscribe himself to the right threads again. I wanted to make this automatic. With this mini-hack, once you ban a member (or make a member unregistered, awaiting email confirmation or a COPPA member), his email notification stops automatically. When you unban the member (or make the member registered etc.), his email notification automatically restarts again. No need to manually run that db query. It's easy to install and is a matter of ADDING ONE line in functions.php In functions.php: Find:
BELOW IT ADD:
That's it! So when you ban a member or make them unregistered, or awaiting email confirmation, they will stop receiving email notifications. No more emails from irate banned members! ![]() Download Now Only licensed members can download files, Click Here for more information. Show Your Support
No members have liked this post.
|
![]() |
||||
Mod | Developer | Type | Replies | Last Post |
Subscribed Threads, Subscribed Forums, and Event Reminders | calorie | vBulletin 3.6 Add-ons | 7 | 30 Aug 2011 15:39 |
Comments |
#2
|
||||
|
||||
great addition man...
but i really don't have use for it since i rarely ban :-/ No members have liked this post.
|
#3
|
|||
|
|||
thanks for the minihack erwin... actually, this will probably come in useful.
No members have liked this post.
|
#4
|
||||
|
||||
This is almost like bug fix really... it's silly that banned members still get subscribed thread email notifications... I was sick of getting emails from banned members complaining about the emails.
![]() No members have liked this post.
|
#5
|
|||
|
|||
Good addition, but I probably wont install.
I find it amusing that banned members still get email notifications and not be able to see the actual threads ![]()
__________________
http://www.semperfiphotography.com No members have liked this post.
|
#6
|
|||
|
|||
Actually this would be great for membership types sites. When a member expires this could make sure their subscriptions are deleted too!
No members have liked this post.
|
#7
|
||||
|
||||
No members have liked this post.
|
#8
|
||||
|
||||
Damn....this is a must have.....installing NOW
No members have liked this post.
|
#9
|
||||
|
||||
when i install it i get this message
Parse error: parse error, unexpected $ in /home/blazing/public_html/admin/functions.php on line 1009 Fatal error: Call to undefined function: vbdate() in /home/blazing/public_html/admin/sessions.php on line 362 On line 362 its a blank space and on 1009 it's
un-installing the hack fixes the problem No members have liked this post.
|
#10
|
||||||||
|
||||||||
Are you sure you put that line in the right place? This hack cannot cause a parse error, since all it does is add another "AND" requirement to the query that gets all the emails to be sent to when a new reply is made.
Without my hack, the query looks like this:
After my hack, the query looks like this:
Go and install the hack again, and make sure that you are putting that extra line in the right place in functions.php - this hack does NOT and can NOT interfere with any other hack. It just adds another requirement to that specific query. No members have liked this post.
|
#11
|
||||
|
||||
thanks for this Erwin
![]() i keep it and will try it as soon as possible ![]() No members have liked this post.
|
#12
|
||||
|
||||
There's no need to install this hack anymore. vB has included this hack as standard in 2.2.8 which is now out.
![]() No members have liked this post.
|
#13
|
||||
|
||||
Thanks for the fix, Erwin. We're still using 2.2.6.
__________________
Don't wear perfume in the garden, unless you want to be pollinated by bees. No members have liked this post.
|
#14
|
||||
|
||||
You're welcome.
![]() No members have liked this post.
|
#15
|
|||
|
|||
work in 2.2.4 too
No members have liked this post.
|
![]() |
«
Previous Mod
|
Next Mod
»
Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | |
Mod Options | |
|
|
New To Site? | Need Help? |
All times are GMT. The time now is 08:46.