![]() |
Fixed. :D
|
Firstly thanks for the great hack. It is well written, has a clean code and from checking the source code, I can confirm that a lot of work is put into the project so frankly speaking I believe it is not appreciated enough. So I wanted to tell my appreciation for your work first! :-)
I installed it in a friend's board. He wants to use for bounce email management and not interested in email listing features so my comments are regarding this part only. During installation I had some issues, glitches and fixes for them so I wanted to share with you considering you might want to know about them. ISSUE 1: During the initial installation the hack didn't work first. It gave no signal but it was not processing any bounced emails. After some debugging, I noticed that imap_open() was failing with error: Warning: imap_open() [function.imap-open]: Couldn't open stream {mail.___.com:143/imap}Inbox in [path]/dbtech/vbmail/includes/class_imap.php on line 98 Although all login details were correct. After some work I noticed our server is requiring /novalidate-cert parameter otherwise, it is dieing with error: Certificate failure for ___.com: self signed certificate: /C=US/ST=Unknown/L=Unknown/O=Unknown/OU=Unknown/CN=server1.____/emailAddress=ssl@server1.___" So changing the line in dbtech/vbmail/includes/class_imap.php: PHP Code:
PHP Code:
I think it might be a good idea to: 1- Add a hack setting to enter custom parameters there. Alternatively you can make "IMAP Port" setting inputbox "string", instead of "number" which will then allow entering values like: 143/novalidate-cert 2- In part: PHP Code:
ISSUE 2: In dbtech /vbmail/cron/threshold.php, this part: PHP Code:
PHP Code:
ISSUE 3: The hack is not unflagging user if vb option "verifyemail" is turned off since you tied unflagging only to register.php user activation screen. I added this pluggin to correct this issue for boards which does not use email confirmation: HOOK LOCATION: profile_updatepassword_complete PHP CODE: Quote:
If I run into other issues, I'll keep reporting. And once again, thanks for the great hack and efforts put into it! ;) |
Quote:
Quote:
I've added the novalidate-cert and the imap_last_error() to the file and it'll be updated with the next version :) Quote:
Quote:
I'll release it later tonight alongside a vBActivity & Awards update, thanks :D Fillip |
I've been reported that sometimes this error shows up for admin:
PHP Code:
|
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
PHP Code:
Fillip |
Quote:
|
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 |
Quote:
|
Correct :)
Fillip |
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. |
All times are GMT. The time now is 01:36 AM. |
Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|