The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
Comments |
#742
|
|||
|
|||
Are you using 1.11?
If so, uninstall it and install 1.09. |
#743
|
||||
|
||||
Yeah I'm using 1.11, but now that I've made all these fixes and enhancements, and it's working perfectly, it seems pointless to revert
So far I've received 400 bounces, but it's definitely getting through to people. And the report is sitting in the vb_mailqueue table ready to send, once the other 9000 emails are finished. Quote:
The only thing I need now is another automated script for actually pruning the accounts. *If you haven't logged in for the last 30 days, you'll get the reminder email. *If you haven't logged in for the last 53 days, you'll get the reminder email again. *If you haven't logged in for the last 60 days, and you have never posted, you'll be deleted *If you haven't logged in for the last 60 days, and you have posted, nothing happens, except you will obviously receive an email reminder every 30 days forever, or until you request removal of your account I'm thinking about customising that part of the mod anyway, so there's 2 different messages based on what the lastactivity was. "Your account will be deleted in 30 days", "Your account will be deleted in 7 days". This needs to be based on their postcount, because I won't be automatically deleting any member who has posted on the forum. |
#745
|
||||
|
||||
Quote:
My site requires a login to download mp3s and videos, same account as the forum. So I have a lot of people who sign up, download my files and never come back. I want to email them after 30 days, then again after 60, and then if they haven't visited or posted I want to delete their account permanently. And it would need to be automated because I don't have time to login every day and manually delete anybody who hasn't logged in for a while. I think I'll need to write this one myself, but I'm also working on an unsubscription system for my forum. Any emails (like the inactive users one) will contain an unsubscribe link to make it easier for them. |
#746
|
|||
|
|||
Installed Thanks
|
#747
|
|||
|
|||
Quote:
2. You don't need to write your own add-on to do the unsubscribe thing. Customize the inactive email sent by this add-on to include instructions for unsubscribing (do this in the vBulletin options for the add-on). Here's mine: Code:
Hello, $username! <p>You are receiving this email because you previously registered at the YOUR FORUM NAME with the following information:</p> <p>Member name: $username<br> User number: $userid<br> Email address: $email</p> <p>It's been some time since your last visit to our FORUM community.</p> <p>You might be interested in having another look. We have added several features and enhancements to the forums, and many new topics and new members are added every day.</p> <p>If you don't remember your password, you can request it here: <a href="http://WWW.YOURFORUM.COM/login.php?do=lostpw">http://WWW.YOURFORUM.COM/login.php?do=lostpw</a></p>. <p>We hope to see you back soon.</p> <p>If you do not wish to receive further emails of this nature, please log into your UserCP at <a href="http://WWW.YOURFORUM.COM/profile.php?do=editoptions">http://WWW.YOURFORUM.COM/profile.php?do=editoptions</a> and uncheck the box next to Receive Email from Administrators.</p> |
#748
|
||||
|
||||
Quote:
I had a good look at EZ Bounce, what it does and how it works, and it just doesn't suit my requirements at all, not even slightly. Quote:
website.com/forum/u/?e=user@domain.com&s=hj289h238hsdkjh That would put their account in the "PendingDeletion" usergroup, send them a confirmation email, and within 24 hours a CRON job would delete the account. They would also be able to cancel the deletion request using the same page. It doesn't require retrieving passwords or logging in to the forum, I want it to be as simple as possible. I realise this might sound like overkill, but it would fit in with my site a lot better. If their account has posts on the forum then it wouldn't delete it, but they'd be able to click a button to request deletion (which would simply notify me and I could do it manually for them). But that's not a big problem. I sent out 12,000 emails to all my members the other night, and while 2000 bounced back to me, I also had a lot of people who wanted their accounts deleted. If they're not ever going to login, never going to post, and never want me to email them, then I may as well just delete them permanently and keep my database clean. The more I can automate, the less time I'll have to waste on daily maintenance. |
#749
|
||||
|
||||
Quote:
I don't have the SMTP Email enabled - could this be it? I've checked all the other options, and I don't see where I've missed anything. Used it for the first time this morning, it sent out a little over 7000 emails. I'd like to see which ones bounced (or click here to get through the spam filter) And a previously inactive guy started a new thread. Thanks! :up: |
#750
|
||||
|
||||
Quote:
I fixed it by changing line 69 in remindermail.php from this: Code:
vbmail($toemail, $subject, $message, $notsubscription = false, $from = $vbulletin->options['bbtitle'], $uheaders = '', $username = ''); Code:
vbmail($toemail, $subject, $message); If I'd known that the return address was screwed I would have fixed it first before sending out my emails, but all the bounces went to nobody@server.mywebsite.com. So I had to login and forward all those emails to my other account. My changes to the code are working perfectly, every day since I installed it I've received a summary email like this: Quote:
The remindermail.php script includes an unsubscribe link like this: http://localhost/unsubscribe/?u=170&s=5a516a0923 (testing on my dev server) 'u' is their vBulletin userid, 's' is an encrypted key based on their password and salt. It won't let them login or do anything except unsubscribe. Assuming that validates, the page will display this: The member can then choose to unsubscribe if they wish. It simply adds their userid and timestamp to another database table, and when the unsubscribe CRON script runs it will delete the account if the timestamp is over 24 hours ago. If they click "Delete Account", they will then see this: If they have never made a post then the account is deleted automatically, but if they have made 1 or more posts on the forum I'd much rather do it manually myself through the AdminCP, to make sure their posts are marked as "Guest" etc. In those cases I'm working on a method to have the request emailed to me after 24 hours have passed, and to also move their account to a new usergroup. If the UserID and encrypted Key in the URL don't match exactly, they will receive a login screen: Although this won't actually log them in to the site, it just validates the Username and Password before redirecting back to /unsubscribe/u=$userid&s=$key |
#751
|
||||
|
||||
Wow, thanks man. I've uploaded your php file to see what happens
|
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|