The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#1
|
|||
|
|||
![]()
Is there any easy way (outside of a sql statement, which is what I assume I'm going to need here) to disable old accounts from receiving emails? Most people who receive the birthday email seem to like it, but those who haven't logged in in years, the chances of a bounce are high, and I'd like to avoid those.
I'm thinking I can write a sql statement setting receive admin emails to no on activity date before 'x', but before I did, I wanted to know if there was some control panel way to do it. |
#2
|
|||
|
|||
![]()
I can't think of any way to do that without a query.
|
#3
|
|||
|
|||
![]()
Thanks. Should I be looking at the allowemail column? Searching in the forums makes it look like it's in the options column as WHERE options & 16 instead of WHERE allowemail = 'yes'
|
#4
|
|||
|
|||
![]()
If it's mostly birthday emails you're concerned with and you don't mind a file edit it looks like you could modify includes/cron/birthday.php so the query there picks up lastactivity and a conditional determines whether to send the email based on the time elapsed
|
#5
|
|||
|
|||
![]() Quote:
Yeah, it's the options & 16 one. It should be something like Code:
UPDATE user SET options = options - 16 WHERE options & 16 AND .... |
![]() |
Thread Tools | |
Display Modes | |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|