![]() |
Hi,
I switched to 2.6 recently. If the mailbox contains more than one email the messages get posted but not deleted from the mailbox (pop or imap doesn't matter), which results in multiple postings, until I log in and delete that emails... Any advice? Cyricx, are you still here? Thanks Tom |
Hi
two questions: 1. is it possible to use this mod for sending the postings only one-way? So that users only get the e-mail notification, but can not reply by e-mail? 2. Can I enable in the ACP this Mod for specific usergroups only, i.e. only for premium members? Thanks in advance |
Quote:
Tom |
toivo,
in which line did you add the PHP Code:
thanks tom |
Hi tom,
That was just a couple of command line scripts I wrote for testing, not the ei mod. One displays what is in the mailbox and the other deletes the messages. The zip file with readme.txt is attached. Regards, toivo |
oh, I just added the account to mail mail-app, so I can just look into the account and view / delete messages. I thought you added a couple of ines to the EI -mod in order to prevent multiple postings...
|
I also installed the 2.6.1 but still have the problem of messages being posted n times, because they are not deleted on the mail-server after being posted to the forums....
Any way to fix this?! |
I am running vb 3.7 RC3 and EI 2.6.1.
I have the following problems and would really enjoy some pointers:
|
Hi,
Here is a workaround to the problem which stops messages from being deleted: Quote:
Line 1615: Quote:
Regards, toivo |
Posts are being sent to the email addresses of the members who subscribed, so that is good.
But it seems as the script is not accessing the gmail inbox as no emails are getting posted. I am still getting the error below: PHP Code:
Does anyone have an idea how to fix this? Quote:
|
Hi Alfa1,
You are using vB 3.7 and have followed the installation instructions of EI and uncommented line 41. However, your system does not seem to have the file includes/functions_threadprefix.php or the path is wrong. Try commenting out line 41 and see what happens. Regards, toivo |
I am using vb 3.7. I have now uncommented line 41. Now I am getting this error:
PHP Code:
|
Hi,
You can check the settings of the mailbox in your Gmail profile - IMAP Access - Configure your email client: - the name of the incoming server is imap.gmail.com - encrypted connection (SSL) is selected - the incoming server (IMAP) uses port 993 Transfer the first two settings to the EI configuration of the forum in Forum Manager. In the Forum Manager you also have the choice between SSL (official certificate) and SSL (selfsigned certificate). Chose one of them, depending on the configuration of your server. If your server does not have an SSL certificate, it may be best to change the Gmail mailbox to accept POP connections and change the EI settings for the forum accordingly. If you get an error message for example because of an incorrect password, the error message should show the IMAP connection stream as: {imap.gmail.com:993/SSL}INBOX That combination is one of the choices in emailintegration.php and it is listed on line 86. Regards, toivo |
I am getting the same issue as other users. Tthe messages get posted via email but not deleted from the mailbox (pop or imap doesn't matter), which results in multiple postings, until I log in and delete those emails manually. Argghhh.
Also after the upgrade I do not have the Admin CP -> Email Integration sidebar option. Just doesn't show up. Actually uninstalled and reinstalled and still can't see this option any longer. Everything works as advertised (was waiting on my host to enable IMAP for a while) but since the 2.6.1 I am getting the email posts repeatedly posted until I manually delete. Saw several posts referring to this but no final advice on how to repair this issue. Can't go live on the rest of the forums until this is resolved. Any advice? Frustrating, love the mod just need this final issue resolved. Thanks in advance. :confused: |
Have you checked the PHP error log for error messages caused by emailintegration.php? It may be the same error I developed a workaround for and got the deletion working. See my post from 18 April https://vborg.vbsupport.ru/showpost....&postcount=809
|
Saw that post but not sure where to find this error, or which file to make the edit to. Line 1615 of which file? Please advise, would love to try this fix. Thanks for the quick response!
|
Thanks again toivo for the quick response. A couple questions.
1. How do I find my PHP error log? Looking in all my logs and nothing specific to PHP. Just my http error logs. Running cpanel on a hosted installation so... perhaps I don't have access to the log. 2. What file do I edit line 1615 in? Do I replace the line with the text you showed? Thanks in advance. |
Sorry idiot question, so tired today. Ran it with the mod to the file and it appears I am still getting repeat emails and multiple posts on the forum. The emails show as read but not deleted in my webmail access and each time the cron runs t repeats the email and post for this reply. hmm. Any ideas?
|
The location of the PHP error log is dependent on the type of server and you will need to talk to your hosting provider.
The line 1615 is in the file /includes/cron/emailintegration.php: Quote:
Quote:
Cheers, toivo |
You have not by any chance turned on the $debug option on line 45? If the value is 1 instead of 0, the messages will not be deleted.
Quote:
|
The location of the PHP error file is set in the php.ini file, for example:
error_log = /var/log/httpd/php_error.log If you do not have access to the php.ini file in your hosting setup, you may be able to change the location of the PHP error log so that you can see the error messages. There are a couple of ways to to do that, for details see http://php.net/configuration.changes If you are allowed to use .htaccess files in the document root directory, you can use the directive php_flag to set a local value to the error_log directive. Otherwise, if you are handy with PHP, you may be able to set up a local value for the session using the ini_set function. It is important to find out if a PHP error has happened and where it occurred before the problem can be addressed. |
Performed your mod (toivo) to the cron file and still had messages left on the server. Checked the debug variable and it is set to 0. Weird. Not sure why my installation is leaving emails on the server. Any ideas beyond the ones you provided? Had issues in the past while testing. Had the older version running but IMAP was not enabled. Uninstalled the mod and reinstalled the newest mod. Could there be some throwback code left in the installation. Ugh. Any help would be greatly appreciated. Thanks again for your input!
|
btw, since I made that mod you suggested...
The line 1615 is in the file /includes/cron/emailintegration.php: $plaintext_parser->set_parsing_language($touser['languageid']); Workaround: $plaintext_parser->set_parsing_language( 1 ); I am no longer getting the error I had when manually running the cron. Will test again today and see if it is working now. Odd, suddenly I have the Admin CP -> Email Integration in the sidebar when earlier I didn't. Cache? hmmm. Again everything is working great except emails are being left on the server and continually reposted to the site and emailed out to users. Frustrating! |
Okay. Soooo weird. Think cyricx is listening, watching... and still had my log-in information, which would be just fine with me. LOL. Appears to be working properly now. Leaving no duplicates, no errors. Wild. Had a bunch, and I mean a bunch of repeats from two posts throughout the night. Deleted those manually through webmail and just retested... wala. No more emails being left on the server. Brilliant! Now I just hope nothing gets broken when I upgrade to 3.7 when it goes stable. Any issues I should be aware (afraid of)? Any input would, as usual, be greatly appreciated. Thanks again toivo and cyricx for the great support! Much appreciated.
|
Okay, so everything was working, emails going out and being deleted from the server as they should. Then I started getting notifications of some double posts and posts not showing up from email replies. Went to run the scheduled task and I am again getting the following error when running the email integration cron (the error that was showing up for a time the last few days which when it start=ed working was no longer erroring).
Email Integration Fatal error: Call to a member function on a non-object in /home3/naeadm/public_html/forum/includes/cron/emailintegration.php on line 1093 SO it appears that if my cron is erroring out with the above error the email funcitonality is not consistent. But when I do not receive this error everything work fine. The only oddity is why this errored out for awhile and then started erroring again. I have one email response that appears to be going out multiple times now. Like it is stuck in the POP account and not being deleted. Logged into the webmail interface and go figure, there were emails in there. Manually deleted them and then reran the cron, walaa! it runs. Is there some type of formatting issue within an email that could cause this? Emailed another response to the post and now it is functional again. Almost as if one of the email posts was causing the cron to fail. Odd! Any advise? Thanks in advance, again! Any ideas? Really quite frustrating now. What variables could cause this effect? Thanks in advance! |
Modified the code at line 1093 to the same mod as toivo and things appear to be working... for now! Testing again, after clearing the pop account. Hope this works!
|
Hi, toivo
In my case, the problem lies with the variable plaintext_parser not being correctly set. So I commented the line 1266 at cron/emailintegration.php like this: //unset($plaintext_parser, $pagetext_cache); This way, I do not receive the error on line 1093 (call to member function on a non-object), and emails get deleted from the mailbox, too. I just wonder what side effects this might cause. Quote:
|
Interesting... but just found that of the 4 users I have beta testing the email integration with (in a private forum) if one of the users, lets call it user A (who is using outlook and running trend micro for av) stops the email integration cron from running. For some reason if any of this particular users response emails reside in the POP mailbox it stops the cron job from running with the 1093 error... will try uncommenting that but believe the problems lies somewhere in the internet email header changes that trend micro makes? grrr. Narrowed it down now. Crazy but true. Not sure where to go from here. Want the mod but if we cannot run it consistently with a variety of users and email apps I can't troubleshoot this for a group of 500± members. Am going to research but could really use some response from cyricx as this is beyond my capabilities. Any info? Thanks and best regards!
|
Mine was working perfectly 1 day ago, but yesterday, it stopped working.
It will no longer notify me anymore threads/posts. Is there anyway to check it? |
Hi fredang85,
You could access the mailbox and check if the messages are still there and not deleted. On the other hand, that is unlikely because the symptoms of the messages sitting in the mailbox without being deleted are multiple copies of the same message being posted and sent to members. You could check the PHP error log to see if the script emailintegration.php has produced any errors and post them in this thread so that we can have a look at them. At the start of emailintegration.php there is a debug switch which you can turn on to get more info sent to you. It did not seem to have any effect in my quick test but might be worth trying: Quote:
Quote:
Regards, toivo |
Hi ttseppal,
Thanks, that is interesting. The hot fix for 2.6.1 also involved unsetting a variable or rather an object. I'll just continue testing and studying the source code to learn more. Regards, toivo Quote:
|
Quote:
Hi my old question is not answered yet. Is it possible to configure this hack, so that it works only one way? So without reply by mail. Only sending all messages which have been posted to the forum immediately to the user? without interruption and without clicking on a link to get the next posting also by mail? |
Continuing to have the problem where it works for awhile, posts to the forum are sent out and email responses are posted, then suddenly, for no apparent reason it keeps sending an email post over and over and over, when I check the webmail I see the offending email post as well as other posts sent after that one that are sitting there waiting to be processed. If I go into the cron it gives me a line 1093 error, then if I go to the webmail, clear out all of the emails, then run the ei cron again it no longer errors. Don't know if that is related in some way. Anyone know what to do? Is Cyrcicx still supporting this software? Not sure if I should continue spending time on this option until further notice. Please help. Anyone else running this successfully? Thanks!
|
After several frustrating attempts to get this to work with vB 3.6.8, 3.6.9 and 3.7.0, I have given up. I have spent 4-5 hours trying. It is a good idea and if it worked with my site it would be a nice addition. I'll keep checking for further updates that may make this an easy hack to install.
|
is this mod dead?
Did anybody achieve to get it running? Even if it is only for sending postings out without the reply functionality? |
I can confirm the EI mod reads the messages from the mailbox, posts them and sends them with the reply capability which also works in our test forum. I had to force the language code to 1 (see https://vborg.vbsupport.ru/showthrea...151222&page=55) to make it delete the messages from the mailbox, otherwise the posts were repeated.
I have also tested a small script which reads the forum home page at regular intervals, to boost the traffic and trigger the EI script which depends on the hits which cause the cron tasks to run. Regards, toivo |
Hi,
I installed v2.2 of this mod and have since removed it, however there is still a link in forum tools to subscribe to a forum, I'm sure this was from a file edit somewhere but can't find it, can anyone help me out. How do I remove this? Mike |
Hi,
I'm looking for some assistance regarding the e-mail integration hack. Everything is installed but, for some odd reason, none of the e-mails/replies are being posted on the forum. However, if I posted directly on the forum, I get the e-mail. I set everything up using GMail and followed exactly what was instructed. Am I missing something??????? Please let me know soon because I really need this working for an event happening Friday. Thank you so much for your help! ~ Crys ^^ |
There's a bug when Allow Attachments? is set to "No" and Dismiss Attachments? is set to "Yes" in the EI options. In this mode, the attachments are supposed to be discarded and the post is supposed to be made using only the text portion of the email.
In the code for this mode, there's an error that causes the emailed post/reply with the attachment(s) to be left undeleted in the incoming mailbox and causes processing to skip the message entirely with no post made to the forum. The fix is this: Comment out the statement in line 515 (assuming v2.6.1beta) of emailintegration.php to allow the post to proceed without the attachments: PHP Code:
Thanks a million for adding this mode, Cyricx! |
This is good information.
Will they submit a new release that has bug fixes? Quote:
|
All times are GMT. The time now is 04:27 PM. |
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:
|