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)

doubleclick 09-27-2007 10:55 AM

Hi Bob-

Sorry for the misunderstanding.

The FORUM is password protected, and has been long before I knew this mod existed. It has nothing to do with spam: it is a private forum for a group that doesn't want the world to view it.

Anyway, I temporarily removed the password temporarily to reduce the list of suspects. Even without a password I still get the error I reported.

How can I correct this error?

doubleclick 09-27-2007 11:34 PM

ok. got past the imap error. Turns out this error message isn't just about which of the 6 connection type settings to use.

Now, the emails are posting, but there is a bunch of code preceeding and following the text.

for example, I just replied to a post via email with "did this work?"

The post in the forum reads:

Message BODY { FONT-FAMILY: Verdana, Geneva, Arial, helvetica, sans-serif } TABLE { MARGIN-TOP: 1em; BACKGROUND-COLOR: #ffff66 } TD { FONT-SIZE: 80%; FONT-FAMILY: Verdana, Geneva, Arial, helvetica, sans-serif } TH { FONT-SIZE: 80%; FONT-FAMILY: Verdana, Geneva, Arial, helvetica, sans-serif } did this work?

I tried html on and html off for that forum and for the usergroup that uses it, but the results were the same in both cases.

Also, two quote boxes show up in each email post. one is who it is from (which we already know from the postbit) and the second quote box copies the original post, (which we already know from the thread)

How do I strip out the code and just get the text of the reply?

.

Thanks

doubleclick 09-28-2007 04:52 PM

I see this same question was asked at the beginning of the month as well, and no answer was posted.

https://vborg.vbsupport.ru/showpost....&postcount=395

Did somebody answer him in a PM or does nobody here know the answer?

Cyricx 10-01-2007 02:12 PM

That's an issue witht he preg_replace code and my attempts to quote the previous posters message.

The new version has a completely new set of preg_replace code written for it that I'll need to test out heavily, but right now that version is still hanging on some issues I'm working on with using the vbmail function from a cron job and rebuilding the message headers.

As soon as I solve that problem, things will progress quickly to releasing the new version.

Unfortunately my job and family come first so time has become a little constrained as of late, so I'm unable to define an eta for the next version. :(

Cyricx 10-01-2007 02:13 PM

Quote:

Originally Posted by dot2slash (Post 1346708)
is therea option to automate thumbnails for picture attachments ??

somehow this is not working ...

also if i send a png file (lowecase filename with numbers)
i get the log:
Code:

Newthread added from AltF4
to forum Warteschleife
Attachment invalid extension JPG: AltF4

mail answer:
Code:

We're sorry, but we could not process
your emailed reply / new thread.
 
You tried to upload a file with the extension type of JPG.
That extension type is not permitted.

any idea ?

Hmmm. Do you have PNGs as an available attachment type in your admincp -> attachment manager?

Cyricx 10-01-2007 02:15 PM

Quote:

Originally Posted by doubleclick (Post 1348606)
ok. got past the imap error. Turns out this error message isn't just about which of the 6 connection type settings to use.

Your correct, it has to do with connecting to the box period. This can be the username, password, the host and the connection type. Unfortunately there is no way to discern which of those is causing the issue.

It's usually pretty easy to double check the username and password, that leaves you with trying "localhost" the IP Address or mail.yourdomain.com as the host and then trying the connection types.

Typically at least that's the most common issues.

doubleclick 10-01-2007 05:56 PM

Quote:

Originally Posted by cyricx
The new version has a completely new set of preg_replace code written for it that I'll need to test out heavily, but right now that version is still hanging on some issues I'm working on with using the vbmail function from a cron job and rebuilding the message headers.

Is there some way for me to hack at the old code and make it stop with the html and quote dump in the meantime? Just put in plain ol' text?

I didn't realize this mod wasn't finished, and promised a group of users I'd implement it. can you at least tell me where to comment out the invitation to post new threads and reply via email in the outgoing email to users so they don't? That would be a good bandaid until you get time to finish this.

Cyricx 10-01-2007 07:19 PM

Unfortunately there is no easy quick fix. Even if you forced it to use plain text, many email browsers only send an html formatted email, which would gain you blank messages from those users.

cgmckeever 10-01-2007 08:43 PM

Doubleclick - contact me off list..I actually hacked the code and made it exactly what you are looking for....if there is a plaintext message, it uses that over the HTML, and only falls to the HTML if there is nothing else.

It also does some smart quoting of the original ...
I do think it ignores most BB markup except URL

Its just a replacement of one file .. but it does fork the code ...

user: cgmckeever
provider: gmail

Cyricx 10-01-2007 08:51 PM

Cgmckeever -

I'd love to compare the code for the rewrite I've got coming down the line. Would you mind sending me a copy?


All times are GMT. The time now is 08:15 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.01856 seconds
  • Memory Usage 1,747KB
  • 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_code_printable
  • (3)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