vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 3.6 Add-ons (https://vborg.vbsupport.ru/forumdisplay.php?f=194)
-   -   Major Additions - Email Integration (New threads/replies by email) (https://vborg.vbsupport.ru/showthread.php?t=151222)

riahiarshia 07-18-2008 05:35 PM

It seems to work just fine using a gmail account.

kevinh 07-19-2008 12:26 AM

Alex, my experience with this is that it happened with the same user (who had previously posted by email without the repeat posts occuring). Ironically he was one of the few people who helped us test EI, but the problem only occurred after we went live, although fortunately we're still beta testing with 12 users.

So I [S]don't[/S] do think it is random. It's a pretty big problem for me, because I'm in Australia but many of my users will be in the UK, so if the problem occurs it's likely to happen when I'm asleep, and by the time I know about it I will have a lot of unhappy users!

Incidentally I already had 'Strict Email Checking' to set to 'NO'.

kevinh 07-19-2008 12:38 AM

In the mean time I am trying to disable posts by email while retaining the notifications.

I have modified the phrases for the new thread and new post emails so that they no longer contain the 'reply between the lines section' and make no reference to replying or starting threads by email. It's a bit of a bodge but it will work. However, in the notification emails I am getting far too much space above and below the previous message section.

I'm assuming this must be down to a php file - can someone please tell me which file it is that creates these email message?

toivo 07-19-2008 12:57 PM

Hi Kevin.

Have you tried the fixes listed in reply #843? I had a similar problem with messages not getting deleted and a small change fixed that.

If the message has no attachments, the variable $attachmentinfo in the phrase ei_post_notify_html for emailbody is blank and there will be three lines above the previous message section. The processing is done around lines 726-822 in emailintegration.php, and $parentpost is done after that.

Regards,
toivo

kevinh 07-20-2008 05:31 AM

Quote:

Originally Posted by toivo (Post 1579023)
Hi Kevin.

Have you tried the fixes listed in reply #843? I had a similar problem with messages not getting deleted and a small change fixed that.

I hadn't, no. Because people were still talking about the problem in very recent posts I figured there wasn't a fix so didn't bother to go back through the 50 of pages of posts :o

Many thanks for drawing this to my attention. I will make the relevant changes and report back!

kevin

kevinh 07-20-2008 08:07 AM

Hi toivo,

[S]I have a problem with your fix below - my line 1615 says;

if (empty($evalemailplain))

however I have this on line 1814;

$plaintext_parser->set_parsing_language($touser['languageid']);

I'm not a coder so I need to very precise instructions :)[/S]

In your post below I assume the code you have after "Line 1615" is the new code?

[S]But what do I replace with it ? (obviously not line 1615 in my emailintegration.php file)[/S]

Regards,
Kevin

PS. I am running EI 2.6.1 Beta

Quote:

Originally Posted by toivo (Post 1492963)
Hi,

Here is a workaround to the problem which stops messages from being deleted:

Force the language code, rather than retrieve it from $touser['languageid']:

Line 1615:

$plaintext_parser->set_parsing_language( 1 );

I sent three messages to the mailbox, hit the forum a few times and received all three messages. And they had been deleted from the mailbox, too.

Regards,
toivo


toivo 07-20-2008 08:21 AM

Hi Kevin,

Quite right, that is the new code.

Odd, the original version of emailintegration was under 1700 lines.

Regards,
Toivo

kevinh 07-20-2008 08:51 AM

Ho Toivo,

My emailintegration is 1884 line. Maybe it's something to do with my editor (EditPad).

I'l check it in another editor and see if it effect the line numbers .....

Can you please confirm what the code is that I have to replace - is it;

$plaintext_parser->set_parsing_language($touser['languageid']);

Thanks,
Kevin

kevinh 07-20-2008 08:54 AM

Hi Toivo,

I just checked it in Dreamweaver and the line nos are now correct!

Thanks for your help.

Regards,
Kevin

toivo 07-20-2008 09:31 AM

Hi Kevin,

That is the line.

Cheers,
Toivo


All times are GMT. The time now is 09:35 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
  • Page Generation 0.02306 seconds
  • Memory Usage 1,741KB
  • Queries Executed 10 (?)
More Information
Template Usage:
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (2)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)pagenav_pagelink
  • (3)pagenav_pagelinkrel
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (10)printthreadbit
  • (1)spacer_close
  • (1)spacer_open 

Phrase Groups Available:
  • global
  • postbit
  • showthread
Included Files:
  • ./printthread.php
  • ./global.php
  • ./includes/init.php
  • ./includes/class_core.php
  • ./includes/config.php
  • ./includes/functions.php
  • ./includes/class_hook.php
  • ./includes/modsystem_functions.php
  • ./includes/class_bbcode_alt.php
  • ./includes/class_bbcode.php
  • ./includes/functions_bigthree.php 

Hooks Called:
  • init_startup
  • init_startup_session_setup_start
  • init_startup_session_setup_complete
  • cache_permissions
  • fetch_threadinfo_query
  • fetch_threadinfo
  • fetch_foruminfo
  • style_fetch
  • cache_templates
  • global_start
  • parse_templates
  • global_setup_complete
  • printthread_start
  • pagenav_page
  • pagenav_complete
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete