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)

Cyricx 08-06-2007 01:16 PM

Quote:

Originally Posted by AyeCapn (Post 1311146)
just curious how the ahck will react to hard and soft email bounces. Will it post the error messages in the forum?

The next version will handle those and keep the messages from going through.

Oversight on my part. :)

The next version will be released VERY soon :) A day or two at max.

AyeCapn 08-06-2007 08:50 PM

so... it was a big busy day for me as I launched the hack to my site of 1200 users.

Hey guess what? It doesn;t know how to filter out "Out of Office" replies! :D

that reply generates a post which generates an email which generates a post... until my server crashed! :)

Pissed off some folk too :(

Cyricx 08-06-2007 08:56 PM

Yeah... I mentioned this a few times so far that it doesn't. :(

Fxs158 found this bug, and it'll be fixed in this next version I'm releasing in the next two days.

I had meetings all weekend for the not-for-profit org I do work for, so I wasn't able to spend any time on this mod til today. :(

ChurchMedia 08-07-2007 12:38 AM

Hi -- I'm getting this error when trying to join a usergroup. Looks like your code. When I disabled the e.i. product the error went away:

Quote:

Database error in vBulletin 3.6.8:

Invalid SQL:

SELECT ei_forumid, ei_auto
FROM vb_usergroup
WHERE usergroupid =
LIMIT 1;

MySQL Error : You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'LIMIT 1' at line 4
Error Number : 1064
Date : Monday, August 6th 2007 @ 07:33:06 PM
Script : http://www.churchmedia.net/CMN/profile.php?do=joingroup
Referrer : http://www.churchmedia.net/CMN/profi...editusergroups
IP Address : XXXXXXXXXXXXX
Username : Tim Eason
Classname : vb_database
Thanks and keep up the great work!

Cyricx 08-07-2007 02:02 AM

That's for a usergroup that does not have ei_auto setup for it correct?

ChurchMedia 08-07-2007 02:47 AM

Yeah, I didn't set up hardly anything since I'm waiting on the next release.

Quote:

Originally Posted by Cyricx (Post 1311580)
That's for a usergroup that does not have ei_auto setup for it correct?


rpainter 08-07-2007 10:06 AM

Hello. I installed this mod, and it works great, except that attachments are not working. It will add the attachment to the post. When you click the attachment, you just get a page cannot be displayed error. See here:

http://scbbqtalk.com/forum/showthread.php?t=750

Please let me know what i did wrong (I followed instructions). Thanks.

rpainter 08-07-2007 02:05 PM

Quote:

Originally Posted by ChurchMedia (Post 1311548)
Hi -- I'm getting this error when trying to join a usergroup. Looks like your code. When I disabled the e.i. product the error went away:



Thanks and keep up the great work!

Getting the same error.

rbgrn 08-07-2007 04:36 PM

Quote:

Originally Posted by Cyricx (Post 1305434)
That's where I'm getting confused then :)

How are the threads being replied to? I mean... how are they getting the emails that they are replying too?

if your not allowing replies, why are you applying emails as replies to a thread? :)

Ok I'll explain once more. I pull mail in from a mailing list to my BB as read-only threads. it's 1-way communication. I assemble them into threads like gmail assembles emails into threads. If you want an example, check out http://www.diyelectriccar.com/forums/ and have a look at the "External Information" forum, which has a few forums that use this. You'll see immediately what I'm talking about. I think this will be a common use of your mod as people try to gravitate toward forums but don't want to leave an old mailing list behind.

Cyricx 08-08-2007 11:47 AM

Sorry for not getting the update out yesterday gang. Working out the bugs of hybrid/threaded mode to work for the transition over.

Also...

tooth extraction > finishing code

tekguru 08-08-2007 01:42 PM

Not a problem Chris, ready when you are mate!

ChurchMedia 08-08-2007 03:01 PM

Yeah, I think we are ready to wait until you're ready to release this and able to make sure everything is in line. You're doing us all a favor, after all. I did send you a little incentive anyway -- I encourage others to go ahead and donate some $$ to you for your efforts. I don't think you're the type to just drop the hack, but make it the best you can.

Thanks again!

Cyricx 08-08-2007 08:17 PM

All -

In my usual busy and hectic weekend way of life I'll be out until Sunday evening starting tomorrow morning.. Heading out on vacation with the famn damily to St Louis :)

Gotta keep them happy or the wife and kids will string me up! :)



Quote:

Originally Posted by ChurchMedia (Post 1312764)
Yeah, I think we are ready to wait until you're ready to release this and able to make sure everything is in line. You're doing us all a favor, after all. I did send you a little incentive anyway -- I encourage others to go ahead and donate some $$ to you for your efforts. I don't think you're the type to just drop the hack, but make it the best you can.

Thanks again!

Thank you VERY much!!!


Quote:

Originally Posted by rbgrn (Post 1312023)
Ok I'll explain once more. I pull mail in from a mailing list to my BB as read-only threads. it's 1-way communication. I assemble them into threads like gmail assembles emails into threads. If you want an example, check out http://www.diyelectriccar.com/forums/ and have a look at the "External Information" forum, which has a few forums that use this. You'll see immediately what I'm talking about. I think this will be a common use of your mod as people try to gravitate toward forums but don't want to leave an old mailing list behind.

I will absolutely check this out sunday or monday to get a complete idea of what you are hoping to accomplish with this hack, and then see what I can do to accomodate that as well :)

Quote:

Originally Posted by rpainter (Post 1311792)
Hello. I installed this mod, and it works great, except that attachments are not working. It will add the attachment to the post. When you click the attachment, you just get a page cannot be displayed error. See here:

http://scbbqtalk.com/forum/showthread.php?t=750

Please let me know what i did wrong (I followed instructions). Thanks.

Unfortunately with my timeline for getting this version released I wasn't able to check out this bug or miss-install yet. I will check it some today and more sunday.

Hopefully it'll be something easy I can figure out for ya in the hour I have before I gotta start getting ready for the trip :)

tekguru 08-08-2007 08:41 PM

Sounds good Chris updated and installed!

OS Master 08-08-2007 08:49 PM

No. There isn't any other modification about Google Apps. Basically I use it to manage my e-mail. I can create accounts there and manage them. I tried using Google's settings and it doesn't work; I didn't get any e-mails.

Cyricx 08-08-2007 08:51 PM

So basically, your using a (name)@gmail.com as the email address to catch the replies and new threads from?

glennno 08-08-2007 11:20 PM

This looks great! AyeCapn alerted me to this mod. I intend to use it pretty much like Tralala -- no email posting, just email notification of ALL posts.

My Yahoo users who I'm trying to get migrated over to vB are upset that they only get emails for threads they've posted in (forget trying to teach them about subscribing), and that even then they only get a notice of the first new post, not all of them.

So I'm installing now.

Also, I'm very impressed with all the work and updating and feedback you're giving, Cyricx, so I'm supporting with some $ too.

Thanks.

glennno 08-08-2007 11:58 PM

Quote:

Originally Posted by Cyricx (Post 1301581)
Yes it can, you'll just need to disable the scheduled task that runs.

Also, the emails are completely phrased. The two you'll need to fiddle with to customize and remove the reply stuff will be "ei_notify_thread_forum" and "ei_notify_post_forum".

Since you are not going to use the email retrieval side of it you will not need imap.

But I must stress to everyone else that will be using email retrieval... be very careful fiddling with those phrases as the cron job looks for

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

and

You can also begin a new thread by sending an email to $foruminfo[ei_replyaddress]!

and cuts everything out between that to remove the signatures and the links from emails and posts. If you mess with either of those or remove them, signatures will get duplicated in posts and emails :)

But Tralala, since your talking about not using that retrieval, you won't experience any side effects from completely chopping up those phrases to your delight :)

.
EDITED:

I'm using it the same way as Tralala (i.e., not letting users post via email). I followed all the install directions, then revised the phrases "ei_notify_thread_forum" and "ei_notify_post_forum" and disabled the cron job. I enabled usergroups for "Email Reply Integration Settings" for all forums. I enabled "Enable Email Integration for this forum?" for each forum. But no notifications are going out.

Any ideas on where I should be looking for what I'm missing?

In the forum settings, I tried both filling in and leaving blank the "Email Address user's should reply to" field. I assume I can leave it blank since I don't want them to reply to the emails, but neither try worked.

Thanks for any help anyone can offer!
G

fxs158 08-09-2007 12:16 PM

I am still having problems with the links on the email. If I copy and paste the links they look as follows;

"note that the only intentional space is left after http."

To unsuscribe to this email group;

http ://www.mysite.com/forums/subscription. php?do=addsubscription&f=12

Reply to this topic;

http ://www.mysite.com/forums/showthread.ph p?t=4180

Start new thread via forum
http ://www.mysite.com/forums/newthread.php ?do=newthread&f=12

The only link that works right is;

Reply via Forum

Thanks in advanced for looking into this!!!!!!!

OS Master 08-09-2007 03:10 PM

Quote:

Originally Posted by Cyricx (Post 1313054)
So basically, your using a (name)@gmail.com as the email address to catch the replies and new threads from?

No. Let me explain:

I let Google handle e-mails for my domain. I put their MX records there so I can get e-mail addresses like "webmaster[at]usingyouros[dot]com". So can this hack work for something like this?

Virtex-II 08-09-2007 08:37 PM

Nothing happens on my forum, I think I did it all the way it was supposed to be done but I don't receive any email. Can someone please help?

ChurchMedia 08-09-2007 10:04 PM

Man, you ROCK!! This is up and running on my board and almost everything is working perfectly. The only bug I've seen is that is this:

>> Create a new thread by email
>> Put a smilie in it :)
>> The smilie shows up fine in the forum
>> When you get the email back the smilie is a broken link
Code:

<img src="images/smilies/smile.gif" border="0" alt="" title="Smilie" class="inlineimg" />
The http://www.yoursite.com/forums/ is missing. This seems to only be on new threads. Replies are fine.

Thanks again. This was money well spent for me. :)

alessai 08-10-2007 02:01 AM

:eek: wut?!!! i think im dreaming :eek:

this product make forums in a really newlevel

:p i have a quastion how can the user subscribe in a froum so he can recevie the threds??

and one more thing i changed my MX (for the email) to domains live so wut am i supposed to put ? pop3 or wut?

ChurchMedia 08-10-2007 02:20 AM

I put together an end-user tutorial for my forum. It's not the best, but here it is:
http://www.churchmedia.net/CMN/vbart...le&articleid=6

Virtex-II 08-10-2007 07:39 AM

Can someone show me an example of how to configure the fields on Forums & Moderators -> Edit ...
Maybe can someone suggest a way to test the system on a private forum before using it for all forums?

Thanks a lot!


Best Regards :)

Tralala 08-10-2007 08:10 AM

Quote:

Originally Posted by ChurchMedia (Post 1314120)
I put together an end-user tutorial for my forum. It's not the best, but here it is:
http://www.churchmedia.net/CMN/vbart...le&articleid=6


Your forum requires registration... can you copy and paste your tutorial here, please? It'd be appreciated...

ChurchMedia 08-10-2007 02:22 PM

Quote:

Originally Posted by Tralala (Post 1314255)
Your forum requires registration... can you copy and paste your tutorial here, please? It'd be appreciated...

My permissions were set wrong. I just installed vBarticles. Sorry! Try it again:
http://www.churchmedia.net/CMN/vbart...le&articleid=6

ChurchMedia 08-10-2007 02:32 PM

Quote:

Originally Posted by Virtex-II (Post 1314245)
Can someone show me an example of how to configure the fields on Forums & Moderators -> Edit ...
Maybe can someone suggest a way to test the system on a private forum before using it for all forums?

1) Through your website control panel (NOT vBulletin), create an email address that makes sense for the forum (e.g. If it's a forum for PowerPoint, name it powerpoint@yoursite.com).
2) Go to Forum Manager in VB admin CP and choose the forum you want to use the email for.
2) Scroll to the bottom where the Email Integration is.
3) Fill in the blanks and save!

That's it! I attached a screenshot of my setting (has bogus info but it's how it should look). As far as a test forum, I just set up a new forum that only I can see and played around with it to make sure it was working.

Virtex-II 08-10-2007 03:13 PM

Thanks a lot ChurchMedia for your help! Your post and your tutorial (I registered to your forum) cleared all my doubts.

I still have some questions...The links reported on the e-mail seem to be uncorrect (I use OE), for example:

Code:

http://www.mydomain.com/forums/subscription.ph%20%20p?do=addsubscription&f=2
the red part doesn't make the link work properly.

All the other links are uncorrect (spaces appear in them) but seem to work right.

When someone tries to answer via email, how long does it take to have the new thread on the forum?

When I run the cron job I get this error:

Code:

Email Integration

Warning: imap_open() [function.imap-open]: Couldn't open stream {http://webmaildomini.aruba.it/cgi-bin/webmail.cgi:110/pop3/notls}INBOX in /includes/cron/emailintegration.php on line 111

Warning: imap_headers(): supplied argument is not a valid imap resource in /includes/cron/emailintegration.php on line 114

Warning: imap_close(): supplied argument is not a valid imap resource in /includes/cron/emailintegration.php on line 1213

or

Code:

Email Integration

Warning: imap_open() [function.imap-open]: Couldn't open stream {http://webmaildomini.aruba.it/cgi-bin/webmail.cgi:143/novalidate-cert}INBOX in /includes/cron/emailintegration.php on line 111

Warning: imap_headers(): supplied argument is not a valid imap resource in /includes/cron/emailintegration.php on line 114

Warning: imap_close(): supplied argument is not a valid imap resource in /includes/cron/emailintegration.php on line 1213

Is there anyway to fix them?

Regards!!!

ChurchMedia 08-10-2007 03:24 PM

I haven't had that first problem. I guess Cyricx needs to answer that one.

For the second problem, make sure you have IMAP installed and running correctly on your server. I just switched to POP3 when I got that error and it works great.

Quote:

When someone tries to answer via email, how long does it take to have the new thread on the forum?
The cron job to post it to the forums and send emails runs every 10 minutes. There's no way to shorten that (that I know of).

Good luck!

Virtex-II 08-10-2007 03:42 PM

Thanks ChurchMedia the point is that I got the error even if I try the POP3 option :( Actually I tried all of them without receiving a good result!!!

Virtex-II 08-10-2007 04:52 PM

On version 2.2 the variable $newpost[postid] doesn't seem to be parsed in the right way in the notification system. That's what I get in the email:

Code:

http://www.mydomain.com/forums/newreply.php?do=newreply&noquote=0&p=

rpainter 08-10-2007 05:00 PM

Installed the new version, and still having issues with attachments. Any ideas?

ChurchMedia 08-10-2007 07:06 PM

Quote:

Originally Posted by Virtex-II (Post 1314514)
Thanks ChurchMedia the point is that I got the error even if I try the POP3 option :( Actually I tried all of them without receiving a good result!!!

That sounds like a server issue. Contact your host and make sure IMAP is set up.

Big-K 08-11-2007 06:45 AM

nice hack. I cant wait to get this working on my site

I got the following error when I ran cron job. What's wrong?
Quote:

Email Integration


Warning: preg_match() [function.preg-match]: Unknown modifier 'j' in /includes/cron/emailintegration.php on line 157

Warning: preg_match() [function.preg-match]: Unknown modifier 'j' in /includes/cron/emailintegration.php on line 157

Warning: preg_match() [function.preg-match]: Unknown modifier 'j' in /includes/cron/emailintegration.php on line 157

Warning: preg_match() [function.preg-match]: Unknown modifier 'j' in /includes/cron/emailintegration.php on line 157

Done


Marv 08-12-2007 09:38 AM

I know - this is the 3.6 section. But has anyone tested this baby on 3.5.x ? I am looking for this mod since I left 3.0.0 behind me ;)

tekguru 08-12-2007 10:16 AM

Well I've had to go back to using verison 2.1 as for my system at least importation of emails is failing with 2.2. I did mention this to Chris via email a few days back but I guess the message was not received?

As soon as I went back to 2.1 all the queued emails came through to the forums in a flood.

Anyone else seeing the issue?

AyeCapn 08-13-2007 05:41 PM

For some reason 2.2 ignores the group memberships... I have created a publicly-joinable group for email notifications, but it still sends to all registered users...

dot2slash 08-14-2007 06:23 AM

i maded some experiences about the "google Problem" and most of the other isues
reportet ....

iam running a Linux box .. fedora 4/Apache2/php4.domethings/qmail ..
canot write or reply with Gmail at all ..
using gmail ... BUT connecting with outlook express its working fine ...
so its somethings about the parsing from the website ...

however ... my 2nd box
is windows .net Webedition.
IIS6/php5/Uses same mailbox on the linuxbox/everything else is same
same vb version same EMail integration version.

BUT (!)

sending to there replys or threads via macmail,gmail(web),gmail(outlook)
in all formats .. (html or plain) .. work perfectly ...

Cyricx 08-14-2007 02:13 PM

Sorry guys, just got back sunday from vacation and the fit hit the shan on the homefront. Car and house problems.

It may be a few more days til I can catch up on posts and emails. Gotten a few bug reports on the latest version that I need to go over.

Just didn't want you all to think I had dropped off the face of the planet :)


All times are GMT. The time now is 04:37 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.02261 seconds
  • Memory Usage 1,858KB
  • 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
  • (5)bbcode_code_printable
  • (16)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)pagenav_pagelink
  • (1)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