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)

croydon_de 12-29-2007 08:30 AM

Hello, i just tried this one, but the e-mails I receive from forum do not show the right way. Somehow the e-mail-Header breaks after the Date:-Header and the rest of e-mail ist shown in plain-text, not HTML, as the Content-Type Flag is not inside of header.

How can i fix this?

Would be a nice thing also to have the choice of getting text-mail instead of HTML...

Regards,
Croydon

Edit : As I have tested now, this only happens, if I write an Post directly in Forum. The posts getting into the forum via mail will be processed correct and work fine...
I think, i messed up something by the template changes...

David Bott 01-04-2008 01:41 PM

Greetings all...

This looks like it will be wonderful. I do have a question that maybe someone can answer efore I install it.

What I am looking to do is setup an e-mail address for Press Releases. Thus companies can e-mail in their press releases to the site.

So the question is, if they do not have an account on the site, how can I handle this?

I need it to come in from ANY address to the press release address and then be added as a NEW THERAD into a given forum. This forum will be closed for new posts as I do not want people replying to the releases and also do not want then to start new threads directly.

Can this be done as the software is now?

Thank you.

RWerksman 01-07-2008 02:26 AM

David,

Pretty sure that it could do that. I'd setup two addresses on the email server - one for the 'posting' address via this mod, and another that actually gets the email. (a dump address)

Setup a press release user and make their email the dump address. Make the dump address forward onto the posting address, and boom, the post should be made under the press release user. I'm not sure how secure it would be though. Maybe a form with some front end checking would help...

Love the sites BTW.

David Bott 01-07-2008 12:08 PM

Hello...

Sounds interesting. Not sure of the result of a forward for based on how it is done, it could add > or what have you to the start of each line. ;)

Yes, security of the use of this did come to mind. Not sure about that one yet either. I am now thinking that maybe anyone with a press releases to publish needs to register for AVS and alert us. Then I give that account some sort of rights or something.

Thanks for the comment on the site. :) Very busy these days.

vrwired 01-08-2008 03:00 PM

Quote:

Originally Posted by amphicar770 (Post 1410994)
How do I update existing users, as opposed to new users, to be subscribed to a specific forum.

not sure if you found this, but my hack did work and is described one page back (subject: made a hack to do this) - posted on dec 15th

Cyrix, my hack is only a work around and takes a little time and work, and I wonder if you found that the Auto Subscriptions is not working properly, as I did, before I made the hack. Might want to make sure current code is working for this...

columbusgeek 01-08-2008 03:23 PM

I am killing myself over this one for far too long. The funny part is I read over this thread and wondered how something as simple as email was goofing up everybody.

anyhow, I am getting the dreaded

Code:

Warning: imap_open() [function.imap-open]: Couldn't open stream {pop.jooxter.com:110/pop3/notls}INBOX in /includes/cron/emailintegration.php on line 83

Failed to connect to the mailbox for forum...

Seems pretty obvious I have a email setting wrong.

Does anybody have a example of their settings for google apps? I have diddling with this most of the morning and still continue to miss something somewhere.

vrwired 01-08-2008 03:26 PM

Ciricx/All,

Has anyone had the problem of getting the same email posting over and over? All subscibers are getting the same email 2-3 times a day. I first disabled task scheduler for email integration, then turn the particular forum off of email integration... same email keeps cycling in.

I've deleted the email (forum) address that the posting is coming from. Hopefully this will resolve the issue, but still wonder how this may have occurred. Any ideas?

FCS-Webmaster 01-08-2008 05:48 PM

I do have some problems with the design of te email I get sent from the board when someone opens a thead or is answering inside.
All is plain text.

If I answer via Email I get a Email with a notification and all is fine.
Wheres the problem?!

I do have the problems with thunderbid also as outlook professional.
Other emails with html are showed correctly.

Please help me out there :erm:

columbusgeek 01-08-2008 06:17 PM

Quote:

Originally Posted by croydon_de (Post 1411274)
Hello, i just tried this one, but the e-mails I receive from forum do not show the right way. Somehow the e-mail-Header breaks after the Date:-Header and the rest of e-mail ist shown in plain-text, not HTML, as the Content-Type Flag is not inside of header.


I have that issue as well. Let me know if your figure your mistake out.

FCS-Webmaster 01-08-2008 08:17 PM

Does your email looks like that?!

PHP Code:

FromPostbot <postit@fellbach-cheerleadersquads.de>
Reply-Topostit@fellbach-cheerleadersquads.de
MIME
-Version1.0

Content
-Typetext/html

Content
-Transfer-Encoding$encoding

Message
-Id: <165.377@emailintegration>

References: <165.367@emailintegration> <165.367@emailintegration>

X-Priority3

X
-MailervBulletin Mail via PHP

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">

<
html>

<
head>

<
style>

<!--

body {

    
font-familyVerdanaGenevaArialhelveticasans-serif;

}

table {

    
margin-top1em;

}

td {

    
font-familyVerdanaGenevaArialhelveticasans-serif;

    
font-size80%;

}

th {

    
font-familyVerdanaGenevaArialhelveticasans-serif;

    
font-size80%;

}

alt2 {

    
background-color#FFFFFF;

    
font-familyVerdanaGenevaArialhelveticasans-serif;

    
font-size80%;

}

-->

</
style>

</
head>

<
body><div id="ei_body">ahahahahahahahahahahahahaha<br />

</
div>

<
div id="ei_sig"><br />

-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-<
br />

</
div>

<
div id="ei_links">

<
table>

    <
tr>

        <
td align="center"><a href="http://www.fellbach-cheerleadersquads.de/home/subscription.php?do=addsubscription&f=16">Unsubscribe from Coaches Corner</a></td>

    </
tr>

    <
tr>

        <
td align="left">

            <
a href="http://www.fellbach-cheerleadersquads.de/home/showthread.php?t=165">View thread in forum (4 replies)</a> |

            <
a href="http://www.fellbach-cheerleadersquads.de/home/newreply.php?do=newreply&noquote=0&p="Reply via forum</a> |

            <
a href="http://www.fellbach-cheerleadersquads.de/home/newthread.php?do=newthread&f=16">Start a new thread via forum</a>

        </
td>

    </
tr>

    <
tr><td align="center"><a href="http://www.fellbach-cheerleadersquads.de">View Homepage</a> | <a href="http://www.fellbach-cheerleadersquads.de/home">View Forums</a> | <a href="http://www.fellbach-cheerleadersquads.de/home/calendar.php">Calendar</a> | <a href="http://www.fellbach-cheerleadersquads.de/home/memberlist.php">Memberlist</a> | <a href="http://www.fellbach-cheerleadersquads.de/home/search.php">Search Forums</a></td></tr>

    <
tr>

        <
td align="center">You may reply to this email to post a reply to the forum.<br>You can also begin a new thread by sending an email to <a href="mailto:buchung@fellbach-cheerleadersquads.de">buchung@fellbach-cheerleadersquads.de</a>!</td>

    </
tr>

</
table>

-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-

</
div>

</
body>

</
html

It seems to be, at the first lines are out of the senteader.

I apologize for my bad language skill and that I didn't hailed to the MOD its an awesome one! Thnx fort the great MOD

columbusgeek 01-08-2008 08:34 PM

No mine is more smushed.

Code:

Dear matt, Erwin has just replied to a thread you have subscribed to entitled - Broken formatting - in the bla blah blah This thread is located at: http://blahblahblah.com/forum/showthread.php?t=919&goto=newpost Here is the message that has just been posted: *************** This has been corrected. *************** There may also be other replies, but you will not receive any more notifications until you visit the forum again. All the best, jooXter forums ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Unsubscription information: To unsubscribe from this thread, please visit this page: http://blhablahblah.com/forum/subscription.php?do=removesubscription&type=thread&subscriptionid=629&auth=3a9c63bc6e81a01842981db98a354f26 To unsubscribe from ALL threads, please visit this page: http://blahblahblah.com/forum/subscription.php?do=viewsubscription&folderid=all
looks like a different issue then.

for the record I could not edit this code to my bbcode_quote, since my template did not have this line.

Code:

In:

BBCode Layout Templates -> bbcode_quote



**************

FIND:

**************

        <table cellpadding="$stylevar[cellpadding]" cellspacing="0" border="0" width="100%">



**************

REPLACE IT WITH:

**************

        <table cellpadding="$stylevar[cellpadding]" cellspacing="0" border="0">


FCS-Webmaster 01-08-2008 10:45 PM

Hm...yeah it seems so. Wish you good luck for a solution of your problem. Why don`t you have anymore this line in your template? A hack?!

columbusgeek 01-08-2008 10:53 PM

No its about the same content. Not sure why this forum is stuffing it into one giant code line though.

FCS-Webmaster 01-09-2008 09:25 PM

Is there any help out there?!
Mr Cyricx!? Please help me out.

Cyricx 01-10-2008 02:34 PM

This html email stuff just isn't working out well.

I'm working now on a next version to address several of the bugs mentioned.

As well as I think what I'm going to do here is go with a more vbulletin friendly formatted plain text email. And then down the road I can add a html format one back for those that want it and it would be user selectable.

Anyway, bear with me, I'm digging into the code this week. :)

Sorry for the delay in responding, I had to write a huge interface this last two weeks :(

I do have the test site back up. PM me for details if you like :) Those of you who were on the old test site, have the details still. It's the same, though everything was reset :)

tekguru 01-10-2008 05:36 PM

Good news Chris, keep us posted on how it is going!

FCS-Webmaster 01-11-2008 02:19 PM

Quote:

Originally Posted by Cyricx (Post 1418990)
This html email stuff just isn't working out well.

I'm working now on a next version to address several of the bugs mentioned.

As well as I think what I'm going to do here is go with a more vbulletin friendly formatted plain text email. And then down the road I can add a html format one back for those that want it and it would be user selectable.

Anyway, bear with me, I'm digging into the code this week. :)

Sorry for the delay in responding, I had to write a huge interface this last two weeks :(

I do have the test site back up. PM me for details if you like :) Those of you who were on the old test site, have the details still. It's the same, though everything was reset :)

Thank you very much and sorry If I might had forced you!
Good to hear you don`t let us alone

mykkal 01-11-2008 02:47 PM

Dude, your talking about taking the HTML feature away?

Don'r do that. If it takes you longer to release then fine but don't force us to downgrade. I depend on the HTML feature.

Quote:

Originally Posted by FCS-Webmaster (Post 1419580)
Thank you very much and sorry If I might had forced you!
Good to hear you don`t let us alone


edgeyveggie 01-13-2008 05:56 PM

Would this add-on make it possible for me to email a picture from my phone and post a new thread with the picture in it? Or is it solely for replying to threads?

Cyricx 01-13-2008 08:00 PM

Quote:

Originally Posted by mykkal (Post 1419599)
Dude, your talking about taking the HTML feature away?

Don'r do that. If it takes you longer to release then fine but don't force us to downgrade. I depend on the HTML feature.

Noted. I'll see what I can do :)


Quote:

Originally Posted by edgeyveggie (Post 1420755)
Would this add-on make it possible for me to email a picture from my phone and post a new thread with the picture in it? Or is it solely for replying to threads?

Hmm.. I'm not sure how possible it would be. Right now, I do not think it would work that way unless your phone was setup as your athorization email account for your username :)

However, there are addons for alot of the galleries like photopost has one that lets people post pictures from their phones.

I would guess it to be a long ways down the line before I would consider adding in any kind of mobile phone tie in. Certainly could be cool though. Messaging from your cellphone to post and receive posts.. gives me chills :), though I couldn't even imagine how long it would be before I got to that point LOL.

I'm still battling with just getting this bastard to go through the 1billion different email browsers cleanly ;)

Cyricx 01-14-2008 07:06 PM

So..

I wanted to give everyone a peek at the way I'm working on the emails to look. This is the plain text version.

I certainly plan to have a full html version of the email either in this next build or shortly thereafter depending on my luck with vbmail's system. And the html emails would look like a blend of this plain text format and the current emails that are sent out for the current build.

To give a little insight into my thoughts and why I'm going for this format:

As I was dealing with some of the different online businesses I started to notice that more and more were going to an email system where you needed to reply between Line X and Line Y. This let them be sure that they were cutting up the email correctly and getting your reply right.

It kept things from getting messy with previous messages coming through in pieces, ads were gone, etc.

The thing i didn't like about them, is they had like 3 paragraphs of bs text and then the lines and more text. It almost obscured where you needed to put your message.

I tried to address that concern.

The biggest benefit is the regex's for this would be VERY simple. The forum posts will look GREAT! because they won't have the other messages quoted a billion times. AND the emails you get, have the current message AND the message that person was replying too!


Anyway, I'm pretty damn set on this format, but did want to give everyone a chance to peek at it before it rolled out. :)

The open reply format just proved to be almost impossible to keep things even halfway neat lookin :(

RWerksman 01-14-2008 07:20 PM

Looks great!

capsize 01-14-2008 09:08 PM

The new format looks great! I'm all for a format that keeps posts free of clutter and ads.

In that spirit, I've got a feature request:

Since many of the users of this mod are migrating from Yahoo! groups (like I am), it would be nice to have a way to discard all attachments but keep the text portions. Right now, if attachments are disabled, then a post with an attachment gets rejected and returned to the sender. In addition to the current "reject attachments" and "post attachments" modes of handling incoming emailed posts, it would be nice to add a third "discard attachments" mode. When a message with attachments is mailed to Yahoo! groups, the text portions get posted with the following line appended at the end of the post:
[Non-text portions of this message have been removed]

Thanks for all the good work, Cyricx!

Cyricx 01-14-2008 10:37 PM

Capsize,

That's an easy one! I've added that in and it will make it to the next version :)

Sorky 01-14-2008 10:47 PM

I've been watching this closely as we are also replacing an old email list and want to minimize the impact of the change.

I presume that a new email sent and converted straight to a post would not have any "lines" and would therefore simply post everything.

I personally don't like the idea of having to type between the lines as many users have an email signature that they would have to scroll down below to do a reply... If you only had a single line that said "do not type below this line as nothing under this line will be posted", that would be a simple backup to allow the effective stripping of the previous email information.

BTW : This is all looking really good - great work.

Cyricx 01-15-2008 01:21 AM

I actually started with that Sorky, unfortunately with almost every email program it left some kinda line like

Cyricx wrote:

At the bottom of each message, that varied by browser by settings :( The only other solution I could come up with that would be 100% reliable, was the inbetween lines thing.

I think that is the most important step that I need to work this towards. 100% reliability.

You are correct though if the post is a new thread it will not do anything more then make sure there isn't any left over html hanging around.

Replies, it will make the email appear like a normal regular post when it hits the forums. :)

Basically, the cron job checks the headers of the email for the message id "in_reply_to". If it has the emailintegration jazz in there, it's a reply and it parses and cleans it up. If it doesn't its a new thread and it just cleans up some html.


All, just a note into where I'm at and what I've done so far :)
  • Added option to dismiss attachments.
  • Cleaned the subject line, no more [forumname-91] subject, it's now just [forumname] subject
  • Completely fixed the code to work for threaded and hybrid mode by correctly setting the parentid
  • Fixed the bug in the attachment system.
Current items I am working on simultaneously are:
  • reformatted emails (25% done)
  • enable user selectable plain or html emails, with an admin override (10%)
Other things that will make it into the next version?

Have to wait and see what comes up. :) :)

Sorky 01-15-2008 02:53 AM

I hate to flog a dead horse, but...

What if a user simply clicks reply and types away without scrolling down and putting the reply in the correct place... Will it post a blank message on the forum? Will it discard his email as empty? Will he be notified that he made a mistake?

That was my last word on this - you are the expert and it's your product, so however you finish up is ok ;-)

RWerksman 01-15-2008 03:39 AM

I'd like to suggest that if blank, the system disregards the post.

Additionally, if we're only talking text based content, what would the use of sending an HTML based email be? If email application (Outlook, Thunderbird, most web-based deals such as Hotmail & Yahoo!) automagically convert the link in the text based mail to a hyperlink or image, what more is needed?

...or am I being schtupid?

columbusgeek 01-15-2008 03:56 AM

I am excited. I feared this cool idea would die.

Cyricx 01-15-2008 11:59 AM

Quote:

Originally Posted by RWerksman (Post 1421698)
I'd like to suggest that if blank, the system disregards the post.

Additionally, if we're only talking text based content, what would the use of sending an HTML based email be? If email application (Outlook, Thunderbird, most web-based deals such as Hotmail & Yahoo!) automagically convert the link in the text based mail to a hyperlink or image, what more is needed?

...or am I being schtupid?

The reason for sending plain text is that some browsers do not like html emails. Using the current code in 2.3.1 I have one user that actually receives blank emails because their settings deny html emails.

Noone will block plain text, many people seem to block html.

I do NOT intend to do away with html. I'm actually trying to work it now so that it is an option.

The admin can choose to let user's decide, or can force the script to use a particular format. If they admin let's user's decide then they will have an option in their messaging & notification options to choose plain text or html. It will default to plain text.

This has been a REAL learning experience to going from, hey it looks great to me.. to... how COULD it look for someone else.. :)


Quote:

Originally Posted by Sorky (Post 1421674)
I hate to flog a dead horse, but...

What if a user simply clicks reply and types away without scrolling down and putting the reply in the correct place... Will it post a blank message on the forum? Will it discard his email as empty? Will he be notified that he made a mistake?

That was my last word on this - you are the expert and it's your product, so however you finish up is ok ;-)

The code remains intact to disregard blank messages and sends an error message email to the user. Same as if they sent a blank post. :) I will likely customize the error message for replies to mention the box though.

This is also the reason for the box being SOO close to the top. They can't miss it if they are going to read the message anyway :)

FCS-Webmaster 01-15-2008 06:19 PM

WOW...heres real life going on!
Go Cyricx! Go Cyricx!
Great job you`re doing here!

Can`t wait for your next release!

abrecher 01-17-2008 12:10 AM

Realistically how stable is this mod ? Can it be used on a very large forum yet ? I'm DYING for something like this and I'd really like to implement it.

RWerksman 01-17-2008 12:34 AM

I dont think it's particularly stable in the form that it's currently in. I personally am waiting for a future version that leverages the vb mail system and has a better parsing system.

abrecher 01-17-2008 12:56 AM

I'd donate to the development of this project!

AlexanderT 01-17-2008 07:41 AM

Quote:

Originally Posted by Cyricx (Post 1421424)
Anyway, I'm pretty damn set on this format, but did want to give everyone a chance to peek at it before it rolled out. :)(

It looks e-x-c-e-l-l-e-n-t! ;) I am all for reliability, so I wouldn't mind the "write between the lines" thingy.

Cyricx 01-17-2008 05:04 PM

It's not completely stable now. Still has it's burps.

The next version will be SOLID if I have anything to say about it ;)

AyeCapn 01-17-2008 05:15 PM

cyricx > *

Amazing work buddy. Amazing.

JohnNM 01-17-2008 06:39 PM

Hi Cyricx,

I need your honest evaluation. My organization is about to bolt on vBulletin all together because of the lack of a reliable email system. I have been looking through the threads, and it is clear that there is very strong demand for your work. Thanks for picking up the pieces.

I need to make an evaluation as to whether I should put your beta software on my system now, or whether I need to toss vBulletin completely. To make this decision, I need a high-level summary of the current issues with your implementation. That way I can decide whether the current problems are something we can live with, or whether the timing is not right and we need to find some other solution. Could you please help with this?

Would anone else like to comment?

John
p.s. - We would definitely pay for a stable solution to this gaping hole in vBulletin.

Cyricx 01-17-2008 07:07 PM

My honest evaluation...

I would not bolt on vbulletin.

This modification WILL come to pass. And it's very close to being stable enough for a heavy roll out.

Time table? I can't be certain. I'd love to have this rolling out in the next two weeks.

In fact I'm taking next monday off my paying job (using a vacation day) to dump a significant amount of time into this modification to try to finish resolving a few of the problems remaining.

The current version her eon vborg, is "okay". Sometimes the parsing is crappy and it'll show extra = signs, and attachments aren't handled very well.

The version I have built so far is pretty solid.

I can promise a new version in 2 weeks that may not use vbmail.

However, I'm hoping to get one that uses vbmail by that same time frame.

I know this isn't the definitive concrete answer you were hoping for.. but it's an honest one :)

JohnNM 01-17-2008 08:02 PM

Cyricx,

Thanks for your quick response and your frank evaluation. I will download and install your code to see where it stands. It sounds to me as if it is my best bet at the moment.

From what I can see, many people are rooting for you (myself included). Thanks for the great work thus far. I would be happy to report back any issues I may find if that would be helpful to you.

John


All times are GMT. The time now is 05:11 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.02494 seconds
  • Memory Usage 1,913KB
  • 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
  • (3)bbcode_code_printable
  • (1)bbcode_php_printable
  • (9)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)pagenav_pagelink
  • (2)pagenav_pagelinkrel
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (40)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