vBulletin Mods

The Official vBulletin Modifications Site
https://www.vbulletin.org/forum/showthread.php?t=266142

Logician 14 Nov 2011 15:47

Quote:

Originally Posted by DragonByte Tech (Post 2267845)
My guess is that the Cron doesn't use vB's bootstrap to initialise. Since cron mailing don't need vBMail stuff anyway, I'll edit the mail_send hook with this
Block Disabled:      (Update License Status)  
Suspended or Unlicensed Members Cannot View Code.

That should work :)

Why doesn't cron mailing need vbmail stuff? Daily/weekly digest, birthday greetings, event reminder are performed via cron. Actually so is ALL mailing process if "Use Mailqueue System" setting is turned on in vb. Am I missing something? :)

DragonByte Tech 14 Nov 2011 15:54

Because bounced mail collection is not strictly dependent on anything in that hook, the headers simply help it identify the source :)

Not to mention anything within that if condition I posted is only supposed to happen on vBMail's own pages anyway :)


Fillip

Logician 14 Nov 2011 16:05

Quote:

Originally Posted by DragonByte Tech (Post 2267859)
Because bounced mail collection is not strictly dependent on anything in that hook, the headers simply help it identify the source :)

Not to mention anything within that if condition I posted is only supposed to happen on vBMail's own pages anyway :)

Yes collecting is not needing that hook but I assumed email sending depended on that since it needs to check if bounce flag is for the TO: user on. But I guess I'm safe to assume this class is not needed during that process, right? :)

DragonByte Tech 14 Nov 2011 16:33

Correct :)


Fillip

Logician 14 Nov 2011 18:56

ok thanks! :)

And one more issue I pulled from PHP error log: When threshold.php runs on cron, it is producing "PHP Fatal error: Call to undefined function print_cp_message() in /home/.../public_html/forum/includes/class_dm.php on line 1092"

When I run the cron in scheduled tasks, it does not produce the error so I believe it only happens when it runs on its own.

DragonByte Tech 14 Nov 2011 19:03

Change line 152 of /dbtech/vbmail/cron/threshold.php to
Block Disabled:      (Update License Status)  
Suspended or Unlicensed Members Cannot View Code.

I'll just wait a few more days for you to finish reporting these before releasing the bugfix version :p

I'm happy for you and imma let you finish, but this bugfix version will be the biggest bugfix release of all time.


Fillip

weindians 15 Nov 2011 11:07

if i turn off mailqueue option in email setting all mails will be sent straight away? is that correct? n i can get warning from host! vbmail uses queueing only if that option is turned on?? i sent one set after turning off cron based email mod( have been using) with mailqueue still on but still not delivered ( week) i assume that is because if that user visits only email sent in that case..

DragonByte Tech 15 Nov 2011 13:02

If you turn mailqueue off, you will receive warnings from hosts if they are prone to do that :p

I'm not sure what vB chooses to do if you turn off mailqueue, tbh. I support it, but I'm unsure if it ignores the setting or not.


Fillip

Logician 15 Nov 2011 18:21

I made a small change in dbtech/vbmail/actions/admin/bounce.php:

Before line:

Block Disabled:      (Update License Status)  
Suspended or Unlicensed Members Cannot View Code.

I added:

Block Disabled:      (Update License Status)  
Suspended or Unlicensed Members Cannot View Code.

So now I can monitor flagged user count easily without needing phpmyadmin. :)

DragonByte Tech 19 Nov 2011 01:32

vBMail v1.1.4:
Fix: In some rare cases, connection to the IMAP server could fail
Fix: The PM sent to a user when the bounce flag in effect will now correctly display the email
Fix: Forums without email verification would not properly un-flag a user when they changed their email
Change: IMAP connection errors are now displayed in the error message


Fillip

CharlieDelta 19 Nov 2011 17:24

Thank you for the update to this great product. My navbar issue is now fixed!!
Good work DBT!

snowlion 03 Dec 2011 05:35

I'd received 2000+ emails back with this message included
Quote:

Domain bentinhyeu.info has exceeded the max emails per hour (500) allowed. Message discarded.
I used Paul M's Cron based e-mail sending so the Mailqueue System has enabled.

DragonByte Tech 03 Dec 2011 11:13

vBMail uses vBulletin's Mailqueue system, there's nothing more I can do on my end :(


Fillip

Dadoo 19 Dec 2011 13:02

Quote:

Originally Posted by Logician (Post 2267782)
I've been reported that sometimes this error shows up for admin:

Block Disabled:      (Update License Status)  
Suspended or Unlicensed Members Cannot View Code.

I traced it a little and noticed it could only happen during vb cron mailing. You include the class in "global_bootstrap_init_complete" hook so it should be there in all page visits but there must be a vb section which triggers vb mail cron for admin visitor without initializing "global_bootstrap_init_complete" hook to produce this error. I'm still working on it to find where but wanted to report here in case you also have an idea. :)

Quote:

Originally Posted by DragonByte Tech (Post 2267845)
My guess is that the Cron doesn't use vB's bootstrap to initialise. Since cron mailing don't need vBMail stuff anyway, I'll edit the mail_send hook with this
Block Disabled:      (Update License Status)  
Suspended or Unlicensed Members Cannot View Code.

That should work :)


Fillip

Unfortunately, that problem still exist with 1.1.4 version, but in "actions/admin/mailinglist.php on line 19"

DragonByte Tech 19 Dec 2011 13:11

No, in that script it happens because of the i.s.s.w. "security" product. Please either disable that or set its admin_global hook to 65535 so it stops breaking every other product.


Fillip


All times are GMT. The time now is 09:49.

Powered by vBulletin® Version 3.8.14
Copyright © 2021, MH Sub I, LLC dba vBulletin. All Rights Reserved. vBulletin® is a registered trademark of MH Sub I, LLC
Copyright ©2001 - , vbulletin.org. All rights reserved.