PDA

View Full Version : Email Integration (New Threads/Replies by and through email!)


Pages : [1] 2

Cyricx
31 Jan 2008, 14:44
This modification allows you to mimic email lists such as yahoo groups through your forums!

Complete with the user's receiving emails for new threads and replies AND being able to reply directly from email or sending a new email to start a new thread!

Just like email lists, you will need a separate email box for EACH forum that you have this enabled for!!

After installing this modification in the forum manager you will enter the settings for each forum to connect to it's own email box.

After doing so, members can subscribe to each forum that this mod is enabled for to receive notifications for new threads and replies.

Any posts in that forum, will be sent to them via email in one of two formats that you as the administrator decide. One format has a "reply box" and is the most sure fire way of not getting excess email crap ont he forums. The second format (noted as "Old" format) keeps an email in its base pure form with some attempts at quoting messages. Examples of both are attached below.

The users can then reply to that email (which will then be processed and posted to the forums through the cron job that runs every 10 minutes), or they can send a new email to the email address and a brand new thread will be created!

Essentially mimicing an email list! Suddenly those users that hate forums, can still be dragged into the conversations and help keep the forum's activity level up!


IMAP
You MUST have php imap functions enabled on your server to use this modification! You do not need to have IMAP installed, just have to enable php to use the functions by recompiling it with imap enabled!


If you are upgrading from the version
for vbulletin 3.6.x , see below!

BUGS!
These are the known bugs to date:

Unconfirmed bug that email processing does not handle Japanese characters.Unsupported Items
These are the items that are not currently supported:

Some custom bbcode modifications will not display like they do on the forums in the html emails. Like glow, and the table mod.TO UPGRADE

Please see the file in the zip for upgrading!! If your upgrading from version 2.3.X you will need to reverse some file edits that are no longer nessecary!NEW INSTALL

See instructions in the zip file.VERSION HISTORY!

2.5 Release

New Features
Email Integration now uses vbmail! This DOES require one small file edit.

2.5.1 Release -

New Feature -
Added some debug triggers in the cron file. Turning on debug will stop email sfrom being deleted after they are processed and if a message errors out, the error email will be sent to an admin specified email address which is set in the cron file.
Bug Fixes -

Fixed incorrect call to plain text parsing. (this is the cause of the duplicate posting/undefined function errors)
Corrected security hole.
Corrected a typo in the error message for attachments that are too large.
Rebuilt the method of determining attachment types vs max size to handle more then 2 attachments. Previous code would not process more then 2 attachments.
Added a call to determine the parentid for replies if one isn't specified prior to the post being added to the database from emails.
Fixed a bug where previous messages were blank in new layout for posts that didn't have a parentid specified.

2.5.2 Release

Bug Fixes
Fixed bug with new users not being automatically subscribed to forums when it is enabled for their usergroup.
Added a dirty regex fix for utf-8 encoded filenames.

2.5.3 Release

Bug Fixes
Fixed bug that displayed "Set All Instant" on User CP Subscribe Forums page when no forums were setup for Instant Email Notification.
Fixed bug that allowed forums that were set inactive to appear on the User CP SUbscribe Forums page.
Fixed bug with the how the "New Layout" processs improving how it tries to remove the first layer of > signs in replies.
Improvement/Bug Fix

Changed the field in the Forum Manager for forum['ei_usergroups'] so that it now controls not only who can reply via email. But who can receive instant notification emails. It is now titled "Please enter the usergroup IDs that can use this feature."
Added the phrase "You may increase the space between the above lines as needed." to the "New Layout" email templates to alleviate user confusion.

2.5.4 Release

Bug Fixes
Added a quickfix for a bug that caused a function error when replying to a thread that a user was subscribed to while in a forum that was enabled for Email Integration.
Error Checks Added

Added a function exists check to the cron file and the search settings page to warn people when they have not correctly enabled imap functions.

2.5.5 Release

Bug Fixes
Added a check to subscribeforum.php to not display subscription options for forums that are links.
Fixed a bug that caused the cron to incorrectly list the username and signature in the emails. (The post processed to the forums were correct, it was just the emails that were screwy sometimes.)
Slightly modified phrase and variables for replies so that if a post has a title, it'll use that title for the email, if not, it'll use the thread title like before.

2.6 Release

Bug Fixes
Joining an unmoderated public group will now auto subscribe you per the usergroup settings.
NO CONFLICTS with Instant Thread Subscription! See details in below post.
New Stuff

User Option Allow Auto Subscribe - This is an admin allowable, user option that let's the user choose to not be auto subscribed.
User Option not receive own posts - A new user option that lets them select to NOT receive their own posts via email.
Editted the phrase for the Auto Subscription script to tell people what to do if there are no listings.
Added error checks when saving a usergroup for if auto subscriptioin is entered with a forumid for a forum that does not have email integration enabled and also checks that the usergroup you are saing is entered in the forum manager as allowed to use email integration.

2.6.1 Release (BETA VERSION)

Hot Fix
It appears I was unseting a variable too soon. I've corrected this and it has resolved the issue with multiple posted replies on my test server.
Most of these will be slow to make it in til I know I've got the code to handle just about every type of email we could receive :) But in anycase, here are the ideas for future versions!

End User Option to subscribe to just receive new thread emails, or receive all new thread & reply emails (current version does all new threads & replies).Thanks to RedTyger, Bob Denny, Ed Kohwley and Chris McKeever for their additions and assistance with portions of this code.

Huge thanks also goes to the many individuals that have helped test various incarnations of this mod.

MAD PROPS TO: cgmckeever for a great quoting regex for the old format, and all the mods at www.4winmobile.com (http://www.4winmobile.com/) for helping test version 2.4 prior to release!!

You guys rock!

Please feel free to donate to my continued work on this modification!! It let's me spend more time on it! :)
Make a Donation! (https://www.paypal.com/cgi-bin/webscr?cmd=_xclick&business=cyricx%40campgaea%2eorg&item_name=Email%20Integration%20Donation&no_shipping=0&no_note=1&tax=0&currency_code=USD&lc=US&bn=PP%2dDonationsBF&charset=UTF%2d8)


Version 2.6 will work with both 3.6.8 and 3.7x


Upgrading from version for 3.6.x

Due to using different product ID's due to the changes that will be coming up for the version for vbulletin 3.7.x you will need to uninstall the 3.6.x version and install the 3.7.x version in this thread. My apologies for the inconvienance, I've been unable to determine an alternative with the 3.6.x version still in development due to the last few bugs. :)
The #.X versions are the solid tested versions.

The #.X.X versions are the beta versions. New features and bug fixes will be worked in there and then when I have a solid version it'll be released as the next #.X :)

Thank you!!

~ Cyricx

soletrader
31 Jan 2008, 14:46
Where are the files?

Cyricx
31 Jan 2008, 14:47
Beat me to the punch! :)

They are uploaded now!



FAQ

How do the emails work?This is a basic rundown of how the emails work..

When a new thread is created on the forum, plugins check for the email integration settings and then send an email out to everyone that has subscribed to that FORUM for instant email notification.

When a new reply is added to a thread, the plugins check to see what forum that thread is in, and then if that forum has email integration settings, and then sends an email out to everyone that is subscribed to that FORUM for instant email notification.

The cron job does the processing of the emails.

It checks your forums for email integration settings and then connects to each of the mailboxes one at a time. Pulls all the messages out, decodes them, cleans them up, checks for errors etc.

To determine who the user for the email is it checks the email header for who it came from. If you have strict email turned on, it grabs the username and then verifies what domain sent the email. If you have strict email turned off, it just grabs the email address of the person that sent the email. Note: this can be easy to fake.

O.. and yahoo mailing lists... do not use strict email checking. You can post as just about anyone you want in seconds from microsoft outlook :)

It then checks the "in_reply_to" in the message header. This should contain a predefined group of characters that let's us know it's a reply and assigns the post to the correct thread and parentid. Some virus scanners change this so in the subject line of reply emails is the threadid number. We check for that next as a backup :) If it doesn't match either of these criteria, it's classified as a new thread.

If it is determined that the email is a reply, it uses the datamanager to send the reply and uses the plugins to send out the emails.

If it is a new thread, then it uses the datamanager to post the new thread and uses embedded code in the file to send the email.

It then flags the message to be deleted and before closing each mailbox, expunges all marked messages from it. (Just incase an email came to the box after it had grabbed the list, this way one doesn't get lost! :) )

So the only time you'll get an email when you run the cronjob is when it is grabbing an email :)

Additionally, manually running the cron job will sometimes cause the quote boxes to not appear in the mailbox. This is due to the bbcode_quote template not being cached in the admincp ;)



Error - Undefined FunctionIf you get the error the below error you will need to enable IMAP support on your server. If you host your own server, check your php.ini file, the line for imap support will be commented out. If you do not host your own server, request your host to enable this.

Fatal error: Call to undefined function: imap_open() in
/*****/includes/cron/emailintegration.php on line XXXTo verify if you have IMAP installed go to your admincp -> Maintence -> View Php Info and you should see something like this:

additional .ini files parsed /etc/php.d/imap.ini,

OR

imap

IMAP c-Client Version 200X


To correct this problem you will need to have the php.ini file recompiled with IMAP functions enabled -
http://us.php.net/manual/en/ref.imap.php

You do not need to have IMAP installed, but if you wish to also install IMAP, instructrions for doing so can be found here -
http://us.php.net/imap


Error - Couldn't open streamIf you get this error while manually running the cron job (suggested to do the first time to be sure it's running right!)

imap_open() [function.imap-open]: Couldn't open stream

Your connection type setting for one or more of your forums are incorrect. I suggest only setting up one forum the first time. Edit that forum, and try one of the other 6 connection types. Then rerun the cron. It's a trial and error if you do not know how your server is setup. Some people use IMAP, some POP3 and others still use POP3 with Official Certificate, so try all 6.

Can I use a Gmail account to pull the emails from?You most certainly can.

Login to your mailbox at gmail, go to Settings -> Forwarding and POP/IMAP

Enable POP for the account, either from here on, or for all mail. Be sure to select archive or delete for what to do after the messages are downloaded. Otherwise the system will continue to repost the emails!!

In your forummanager use the folowing settings:

email address to reply to: username@gmail.com
hostname: pop.gmail.com
username: username@gmail.com
password: password
Type of connection: select "POP3 with SSL (Self signed certificate)"

Done!

Smilies don't show up in html emails! Images are stored in html files with the url for the location of the image. Edit your smilies in the smilie manager and give them all the true url of the image location. For example instead of /smilies/smilie.gif change them to http://www.yourdomain.com/forum/images/smilies/smilie.gif

That will allow them to show up correctly in email.




How does it work with Thread Subscriptions?

This plugin does NOT change how thread subscriptions work. You get the same emails, same format for thread subscriptions.

It just adds an option to instant subscribe to the forum and those emails you can reply to.

However... it does have a series of checks to be sure that these two don't conflict. Here's a fairly concise list of how this plugin integrates with the subscribe thread function.

When an email reply is processed, it checks if user's are subscribed for instant notification for the forum AND the thread.

If they are, it removes their subscriptions to the thread and sends them a forum email.
If a user is only subscribed to the forum, then they get the forum email.
If a user is only subscribed to the thread, they get vbulletins default thread email.When a reply is posted on the forums for a forum that email integration is turned on for, it runs the same checks as above.

Additionally, if a user has it setup to be instantly subscribed to all threads they reply to it checks then to see if they are subscribed to the forum. If they are, it doesn't allow the system to also subscribe them to the thread.

If a user tries to subscribe to a thread for instant notification for an EI Enabled forum and they are also subscribed for instant notification to the forum, it'll give them an error. However, they may still subscribe to the thread for daily or weekly updates while still having instant notification to the forum.

Is that confusing enough?? Trying writing the code for it! ;)

ssslippy
31 Jan 2008, 16:45
Supper mod, Nominated

Cybertims
31 Jan 2008, 17:44
Fatal error: Call to a member function query_first_slave() on a non-object in C:\xampp\htdocs\global.php on line 247

Any clues as to this error? I get that when I run the cronjob.

Cheers

Cyricx
31 Jan 2008, 17:53
Edit:

I suspect the issue is with the file edit. Please be sure you have followed the file edit needed in the /includes/class_mail.php file.

Cybertims
31 Jan 2008, 18:02
Edit:

I suspect the issue is with the file edit. Please be sure you have followed the file edit needed in the /includes/class_mail.php file.

Yup, the edit is there and just the way it should be......

Triky
31 Jan 2008, 18:12
I will try it!

Cyricx
31 Jan 2008, 18:41
Cybertims,

I've removed the references to _slave in the queries in some of the plugins and the /includes/cron/emailintegration.php file.

Please reimport and overwrite with the xml included in this zip and overwrite the /includes/cron/emailintegration.php file.

If that doesn't resolve your issue let me know and we will take a closer look at things :)

Cybertims
31 Jan 2008, 18:45
Interesting, but even though that error happens when I manually run the cron, the system still works and everything posts ok on the Forum and emails go out ok.

Will try this new xml file as well.....

Cheers

Cyricx
31 Jan 2008, 18:48
Right on, remember to upload the new cron file too.

My 2.4 code made some query references to the slave database. I suspect that you have different settings then those running on 3.6 that have upgraded so far :)

Cyricx
31 Jan 2008, 19:48
Found the error in the cron file :)

New zip attached.

Mah bad... trying to help someone figure out a way to setup a system cron to run the file instead of waiting for vbulletin :)

popmyzit
31 Jan 2008, 21:50
Hey Cyricx,
just installed. thanks for the great work!!

Got error going to maintenance email area with mysql error:
Database error in vBulletin 3.7.0 Beta 4:


Code:
---------------
Code is only visible to licensed users, and only when logged into the forums.
---------------

Cyricx
31 Jan 2008, 21:57
Please go to your Usergroup Manager and be sure that you have entered in a forumid for the usergroups that you wish to enable auto subscriptions for.


In version 2.4 you could actually turn on auto subscription for a usergroup and not enter in the forumids. This would spiral to a few other errors such as the one you mentioned above :)

2.5 will not allow you to not enter in a forumid if you are turning on auto subscription. So I'm fairly certain that when you installed 2.4 that mistake was made. :)

I've put in a safety net to ensure that fumble isn't made with these versions going forward :)

popmyzit
31 Jan 2008, 22:13
Hello Cyricx,
also when registering I still get:


Database Error Database error
The Forum database has encountered a problem.
Please try the following:

* Load the page again by clicking the Refresh button in your web browser.
* Open the www.mysite.com home page, then try to open another page.
* Click the Back button to try another link.

The www.mysite.com forum technical staff have been notified of the error, though you may contact them if the problem persists.

We apologise for any inconvenience.

popmyzit
31 Jan 2008, 22:14
maybe i will try i reinstall, i was upgrading from a previous version... that may be the problem.

Update: Yes Updating was the problem. Make sure you uninstall, then reinstall fresh clean install. worked for me.

Cyricx
31 Jan 2008, 22:22
The most common problem people have from upgrading from the older versions like 2.3 is forgetting to reverse the file edits or to put in the new file edit in the class_mail.php file.

Please follow the instructions in the UPGRADE.txt file closely :)

Let me know if you have any other issues Popmyzit and I'll work to resolve them asap!

popmyzit
31 Jan 2008, 23:24
Everything is fine after installing everything fresh. I will be looking for any bugs when people start sending emails

thanks again!

snoopy5
08 Feb 2008, 14:33
Hi

I am very interested in this hack. I only need a slight modification. I would be willing to pay for this.

I need this mailinglist functionality depending on the usergroup. I do not want that every user can use this feature, only premium members and Moderators shall be allowed to use this feature.

Would that be possible?

Thanks in advance

P.S.: Where is the difference between this hack above and this one:

http://www.vbulletin.org/forum/showthread.php?t=151222

Rich
08 Feb 2008, 14:46
Isn't the potential for this to backup the mail server pretty high? This could essentially generate a lot of emails if the site is active. If i am incorrect, I apologize. I am just thinking of the mass email that this could generate in addition to the email the site already sends.

snoopy5
10 Feb 2008, 10:15
Isn't the potential for this to backup the mail server pretty high? This could essentially generate a lot of emails if the site is active. If i am incorrect, I apologize. I am just thinking of the mass email that this could generate in addition to the email the site already sends.

very good question...

Can anybody answer this?

Cyricx
10 Feb 2008, 17:27
Hi

I am very interested in this hack. I only need a slight modification. I would be willing to pay for this.

I need this mailinglist functionality depending on the usergroup. I do not want that every user can use this feature, only premium members and Moderators shall be allowed to use this feature.

Would that be possible?

Thanks in advance

P.S.: Where is the difference between this hack above and this one:

http://www.vbulletin.org/forum/showthread.php?t=151222
This is very possible and I'll plan it in for the next version. Right now it allows you to restrict who can reply via email, but ti doesn't restrict who can subscribe to instant email notifications.

Let me check out some of these bugs and get them cleaned up and I'll code that in for the next version as well :)


Isn't the potential for this to backup the mail server pretty high? This could essentially generate a lot of emails if the site is active. If i am incorrect, I apologize. I am just thinking of the mass email that this could generate in addition to the email the site already sends.
In the older versions this was a large issue. However, now the modification uses the vbmail function which allows you to define how many emails it can send at once. If it needs to send more then that number then it stores them in the database and periodically processes as vbulletin normally does :)

Atsuko
11 Feb 2008, 05:02
Hello!

Thank you very much for making nice huck.
I installed this to 3.7 and seems working well.

My site is Japanese and using UTF-8 code.

When I make new thread, the mail for informing the content of new thread
can be sent without trouble.


When I reply by using the mail format, then
VB can receive the mail and show the conten, but can't read as Japanese.

Japanese mailer use ISO-2022-JP when sending mail.
I am sure so this is the reason that VB can't show Japanese when receive the mail.

Please advice where I should fix to solve this.

Cyricx
12 Feb 2008, 14:10
When I reply by using the mail format, then
VB can receive the mail and show the conten, but can't read as Japanese.

Japanese mailer use ISO-2022-JP when sending mail.
I am sure so this is the reason that VB can't show Japanese when receive the mail.

Please advice where I should fix to solve this.
I'll need to check into this and ensure that the mail decoder I use is setup to read that format.

I'll get back to you soon. Gonna be digging on this product hard today to fix a few of the reported bugs.

Cyricx
12 Feb 2008, 20:41
Atsuko, I sent you a PM with an email address. If you could please send me an email encoded as you mention to the email address in the private message, I'll work on the script to resolve your issue :)

Thank you!

Rich
12 Feb 2008, 21:36
In the older versions this was a large issue. However, now the modification uses the vbmail function which allows you to define how many emails it can send at once. If it needs to send more then that number then it stores them in the database and periodically processes as vbulletin normally does.

But if you process "x" amount of emails per hour, and the amount generated exceeds that number, you would still get a backup. It would all be qued to be delivered, but the mail que could be potentially backed up by days.

I am not just thinking of the mail generated by this script. i am trying to encompass all of the mail that the site already sends. With this added load, on active sites, couldn't this become an issue?

I think this is great for less active communities, but fear it would slow delivery to even normal email confirmations if the site is extremely active.

Cyricx
12 Feb 2008, 23:22
I think you underestimate the amount of time it takes vbulletin to process and deliver those emails :)

While I definately agree that putting it on a forum where you could have 1000 members autosubscribed to it would add a bit of a delay in the posts coming back, which is also why I strongly suggest not to use the autosubscription for large usergroups.

Also realize that the number of your users that will utilize this feature will not be all of them.

Alot of users HATE mailing lists. That's what this is...

However... alot of users HATE forums...

This let's you get those forum haters to participating in your forum and through the links in the bottom of the emails, gradually get them to roll around to the forum life :)

Please feel free to run this on a test server and try it out.

While the code is not yet at it's optimal form, it's definately strong enough to handle a significant load.

Atsuko
13 Feb 2008, 11:44
Dear Chris,


Thank you for PM.
I have just sent a mail just like I replied using your hack.

Sincerely,


Atsuko

Cyricx
13 Feb 2008, 13:27
Thanks!!

I'll start working on trying to process this. I found a few commands that will translate it to utf-8 so I just need to toy with it from there :)

Rich
13 Feb 2008, 15:10
Thanks for the response Cyricx. I don't completely understand the vbulletin mail system, so I am just trying to think of it logically. I know that when I was running 3.5 and had the auto prune usergroup modification installed, I experienced a mail backup.

It emailed users in the Unconfirmed Usergroup every 3, 5 and 7 days. Just that added load, in addition to the amount of users who subscribe to specific threads on my site, confirmation emails, comment emails, etc., I ended up having a day and half lag on sent emails.

Once I had uninstalled that modification, within a few days my mail que was back to normal.

I am looking at this as possibly doing the same thing. I may be wrong, but i wont know until I try it.

I like the concept of my staff being able to use this, so I may have to give it a go and see how it does.

Cyricx
14 Feb 2008, 13:37
Well to kinda give an idea of how the mail queue system runs from my experience dabbling in the bugger. Perhaps someone can correct me if I'm wrong.

When you post a reply with this modification, it'll run some queries to determine who all should receive an email. Then it will check to see if you have it set to run in batches. If you do have it set to run in batches, it'll add those emails to the mail queue table.

The next time a user refreshes any page on your site it'll run check how many you want to send per batch, grab those emails from the database, send them and delete those rows.

The next time it is refreshed it'll repeat this process.

I'm not one hundred percent certain on how long it waits between batches to allow another batch to be sent but I believe it's only about 5-10 seconds.

I have sent as many as 100 emails at one time with this mod prior to the vbmail days and experienced no adverse server side effects. Though I run on a VPS server. Others didn't hit problems until they tried to send 1000 emails at once! Hehe. So If you have problems with your mail backing up, try setting your batches higher, to like 10 or 20 and then monitor the system.

The reason I like the new layout is it's much more aesthetically pleasing for the forums and with the "reply box" it kinda gently encourages the users to visit the forum rather then just slink along on emails. :)

Which in the end.. is what we want... them visiting our forums. Going to the other sections of the site and heck.. in some cases... clicking on our ads :)

snoopy5
14 Feb 2008, 14:32
...

The next time a user refreshes any page on your site it'll run check how many you want to send per batch, grab those emails from the database, send them and delete those rows.

The next time it is refreshed it'll repeat this process.
....

Hi

this would be a problem for me. I need this e-mail notification sent out without a user visiting the page to refresh it.

I have a few boards, that have not enough traffic. So maybe one user every 2 days finds the forum. Sending just the e-mail out, after 2 days of the original posting would be too late.

I know of a different forum-software (www.discusware.com), that has this e-mail reply functionality too. And they use also cronjobs for it. But I can schedule the cronjob, that because of the cronjob every 3 minutes it checks for new messages (no matter whether somebody hit the forum or not) and sends the e-mail out.

A. Could you implement this too?

B.

I need always to send out e-mails for around 500-1000 users with this for each vb-borad I have on the same server. I have several vb-boards on the same server. And each board needs to send those e-mail to this number of people for each vb-board.

Would be the mailserver/serverload because of this to be too high? I use a dedicated server.

Thanks in advance

Cyricx
14 Feb 2008, 15:47
Hi

this would be a problem for me. I need this e-mail notification sent out without a user visiting the page to refresh it.

I have a few boards, that have not enough traffic. So maybe one user every 2 days finds the forum. Sending just the e-mail out, after 2 days of the original posting would be too late.

I know of a different forum-software (www.discusware.com (http://www.discusware.com)), that has this e-mail reply functionality too. And they use also cronjobs for it. But I can schedule the cronjob, that because of the cronjob every 3 minutes it checks for new messages (no matter whether somebody hit the forum or not) and sends the e-mail out.

A. Could you implement this too?

B.

I need always to send out e-mails for around 500-1000 users with this for each vb-borad I have on the same server. I have several vb-boards on the same server. And each board needs to send those e-mail to this number of people for each vb-board.

Would be the mailserver/serverload because of this to be too high? I use a dedicated server.

Thanks in advance

I do have a beta script that could be potentially run from the local server on a cron job. My expertise on setting up cron jobs for a server is nil though. If you have knowledge about those I'll send you the file I have that can be run from any directory. Just PM me your email address.

As for the mailserver/serverload. I can't say for sure, depends on your server settings. I believe the individual that experienced an issue when sending 1000 emails was on a VPS, so I would venture to say that on a dedicated server you will likely have no issues.

Either way the script would not fail, only the server could. If you set up vbmail to run in batches of a few hundred though, I think you would definately be rockin strong.

Cyricx
15 Feb 2008, 19:28
UPDATED!! :)

Here's the update message I sent out -

As many have noticed I'm on a bug squashing and obliterating mission!

I had hoped to get a few more minor bugs fixed in this version but
finally found the most elusive and meanest one which was causing people to
get errors when replying to some threads.

The criteria to cause this bug was:

A user must be subscribed to the thread, the thread must be in a forum
that email integration has been enabled. That user must not be
subscribed for instant notification to the forum... only the thread.

Then you would get the error.

I've added a quick fix for the error in 2.5.4

Please upgrade.

If you notice any quirks... bugs... or issues... PLEASE let me know.
I'm devoted to making this a solid modification but I rely on your input
:)

Thank you for your support and patience!

~ Chris

Cyricx
20 Feb 2008, 14:00
Just wanted to give everyone a heads up that I hadn't dropped off the planet and I'm working on the bugs that have been reported.

Here is a list of known confirmed bugs.

These are ones that I have NOT been able to duplicate so may actual be due to issues with another modification:

Duplicate replies when posting in a forum that EI is turned on for.
Headers when sent through a forwarder are lost when Gmail receives them. - Not a bug! Server settings required setting the delimiter in EI options to \n
Occasionally lists a newthread poster as "unregistered" in the email that is sent out. - FIXED in 2.5.5These are ones that I HAVE been able to duplicate in my test board and I'm working on fixes for them now:

Does not correctly decode iso-2022-jp emails.
Does not carry reply title to email. - FIXED in 2.5.5
Subscribeforums.php shows forums that are links. - FIXED in 2.5.5Please let me know if you are also experiencing any of the unduplicated bugs so that perhaps I can compare your site to the one having the issue to determine what may be the joining factor :)

The few bugs we are down to seem to only affect one site out of 40 LOL. So the criteria for bugs is getting very obscure... but hey... like I said.. I'm committed to making the most solid major addition modification on vb.org :)

beishe8
21 Feb 2008, 09:06
...I'm committed to making the most solid major addition modification on vb.org :)

Good on you Cyricx, keep going.
vB just cannot realise how important it is.

Thanks for your hard work!

Cyricx
21 Feb 2008, 20:11
Thank you! :)

I'm going to jump straight to 2.6

Still waiting on some feedback on two obscure "bugs" so starting the coding for the other stuff that I want to get in asap.

So far coded is the user option to not receive emails for your own posts :)
Also, admins can allow users to choose if they do NOT want to be autosubscribed.

Those are now already coded and in.

Next I'm going to check out some stuff with how the delimiter is built to see if I can tighten that up. Work on the error message for the usergroup manager so that it will give you an error if you try to autosubscribe a group that is not setup to be allowed to use the feature in the forum manager and lastly... friendly involvement with the thread subscription :)

I'm a busy bee ;)

Cyricx
22 Feb 2008, 20:15
Well... I went from 2.5.4 and went straight to a 2.6 release :)

Prolly had something to do with spending 8 hours doing nothing but working on this code hehe :)

2.5.5 was created in the interim and not released as while working on some bugs I made some huge breakthroughs in what I wanted done for 2.6... which is the coexistance with thread subscriptions as well as the user options for not getting their own posts and (if the admin allows them to) users can select to not be autosubscribed.

Check my third post in this thread for details on how the coexistance with thread subscriptions work.

I'm undecided at this time if I'm going to try to work thread subscriptions to let yu reply via email or not. It could require ALOT of file editting in the functions_newpost.php file which I'm trying to avoid as many file edits as possible.

All in all, I'm excited to feel like this may be my final version for awhile with the exception of working on the last confirmed bug of it not handling japanese characters :)


Several have asked for the cron jobs not to depend upon vbulletin traffic to work.

I'm really not up for writing something that intensive... it would involve creating a queue system as well as trying to teach people how to create cron jobs on their server... yeah.. not my piece of the pie :)

Plus I'm very happy with the way that this works with vbulletin. My forums typically have 1-2 visitors on them at a time right now and it's still working great.

The point of this is NOT to replace vbulletin. I want to encourage the users to come to the forums and hopefully eventually weed them off the mailing list lifestyle and into the forum lifestyle so to speak :)

In anycase, I do have a script that could run by cron job, but it still uses vbmail which requires traffic to activate vbmail and send the emails.. so.. hey.

You could modify it to use regular php mail but I would prolly advise against it as it could crash a server if you tried to send off 1000 emails at once!

Enough babble... hope you enjoy the latest version and donations are certainly appreciated :)

Thank you!

popmyzit
24 Feb 2008, 07:10
Hello Cyricx,

I have been having a problem. Using the gmail settings you posted i get this when running from the tasks:


Warning: imap_open() [function.imap-open]: Couldn't open stream {pop.gmail.com:993/pop3/ssl}INBOX in /includes/cron/emailintegration.php on line 89


Failed to connect to the mailbox for forum - xxxxxx forum

also happens when i try selfsigned ssl pop3:

Warning: imap_open() [function.imap-open]: Couldn't open stream {pop.gmail.com:995/pop3/ssl/novalidate-cert}INBOX in /includes/cron/emailintegration.php on line 89

Failed to connect to the mailbox for forum - xxxx forum


--------------------
Now whats weird is i have POP3 on the forum settings not Imap...

Any idea what is going wrong? All the settings are right (username, pass, etc)

Cyricx
24 Feb 2008, 21:19
Make sure you have enabled pop3 in your gmail box.

Per the third post in this thread :)


Can I use a Gmail account to pull the emails from?You most certainly can.

Login to your mailbox at gmail, go to Settings -> Forwarding and POP/IMAP

Enable POP for the account, either from here on, or for all mail. Be sure to select archive or delete for what to do after the messages are downloaded. Otherwise the system will continue to repost the emails!!

In your forummanager use the folowing settings:

email address to reply to: username@gmail.com
hostname: pop.gmail.com
username: username@gmail.com
password: password
Type of connection: select "POP3 with SSL (Self signed certificate)"

Done!


If you don't enable your gmail box to allow people to connect to it via pop3 or imap it will give that error :)

imported_pmay68
26 Feb 2008, 23:32
Duplicate replies when posting in a forum that EI is turned on for.

I have had to disable the cron due to it reposting over and over the same message.. When I run the cron I get this Error..

Fatal error:

This forum requires that you wait 30 seconds between posts. Please try again in 30 seconds.Unable to proceed with save while $errors array is not empty in class vb_datamanager_post in /includes/class_dm.php on line 765

Cyricx
27 Feb 2008, 12:17
Thank you!

Combined with finally having the error occur on my site I may be able to solve this one today.

It seems to occur when the individual has sent in two email replies to the same thread. I'll also trying turning up my time between posts on the test site to replicate the bug.

Cyricx
27 Feb 2008, 16:21
Duplicated on the test board!!

Now to work on a fix :)

imported_pmay68
28 Feb 2008, 14:08
Awsome!!

imported_pmay68
29 Feb 2008, 12:59
Any luck on a solution yet?

Cyricx
29 Feb 2008, 13:58
I've uploaded a 2.6.1 beta version which in my testing has resolved the multiple posted replies error.

It does not have any new features in it.. this is just a hotfix :)

That hopefully fixes it...

imported_pmay68
02 Mar 2008, 01:02
Still getting the same error...

Fatal error:

This forum requires that you wait 30 seconds between posts. Please try again in 30 seconds.Unable to proceed with save while $errors array is not empty in class vb_datamanager_post in /includes/class_dm.php on line 765

imported_pmay68
02 Mar 2008, 01:11
What seems to be happening is I have a member that is replying via Yahoo Mail. I think for some reason her mail is bouncing back and forth or something.. Not sure.. She I think is the only one who replies by E-Mail.

She replies once and it tries to repost the reply several times.. I am lost on this one..

1 question I do have other than this problem is, I have 1 Email set up for 1 forum. Do all the sub forums use that same E-Mail addy or do I need a different addy for each sub catagory. I am currently using the same E-Mail in the sub catagories..

Cyricx
03 Mar 2008, 18:01
You'll need a different email for each subcategory. That is because it needs a different mail box to determine where a new thread should go.

Are you still having problems with the email trying to repost with 2.6.1? That is specifically the problem I fixed.

As far as the duplicate posts error... this is when you try to reply via forum correct? Does it happen every time you try to reply in a forum that is enabled?

Not having it happen at all on my live or test site, so trying to determine the criteria for the error your experiencing.

imported_pmay68
04 Mar 2008, 01:51
Ok, gotcha on the sub catagories.. I need to fix that, wonder if that is or could be part of the problem?

Hmmm Let me play around with this a little..

My site is http://adventurers-united.com If I send you the admincp info will you look at my settings and tell me if I have anything wrong..

Cyricx
04 Mar 2008, 02:07
Certainly, send me the details via PM and I'll check them out.

This will also let me see if there is a possible conflict with another plugin. :)

itconsultingnv
06 Mar 2008, 23:12
Ran the upgrade to update email integration from 2.5.2 to 2.6 ... for some reason the overwrite of the xml in product manager did not function properly. I still had 2.5.2 and then another listing for 2.6 in the product manager. Uninstall 2.5.2 and reinstalled the 2.6 xml. So thought everything was good, appears to be actually... the forum options are there. The options Admin -> Vbulletin Options -> Email integration Settings are listed but the admincp sidebar has no Email Integration listed below the Maintenance as before. So I cannot update my subscription options nor run the email test script. Unfortunately all my 2.5.2 settings were wiped out in the reinstall and now I need to reset all the forums... and I assume run the Subscriptions Update on all groups afterwards. But the option is no longer available. Any ideas? Help!? Was functioning great before the upgrade. Thanks in advance.

itconsultingnv
06 Mar 2008, 23:28
Okay. It appears I am missing some code from 2.5? See attached image of my existing install/uninstall code for the mod doesn't show any 2.5 options. Could the uninstall caused this? Please advise. No longer can find the 2.5 download and really need this option functional again. Advice would be great. Can I fix it or do I have to uninstall and reinstall the whole thing.

http://www.naebaforums.com/forum/picture1.png

Thanks. Troy

itconsultingnv
06 Mar 2008, 23:33
Okay. Maybe I am screwing things up further but I reloaded the old 2.5.2 xml file and the email integration option below maintenance in the sidebar is back. However my Product Manager shows both versions being installed. odd. See attached image. Should this be the case?

http://www.naebaforums.com/forum/picture2.png

Thanks in advance.

itconsultingnv
06 Mar 2008, 23:42
Okay, the sidebar is right but within forum manager I now have two separate blocks for email integration. Should I now uninstall 2.5.2? Please advise. Thanks in advance.

http://www.naebaforums.com/forum/picture3.png

itconsultingnv
06 Mar 2008, 23:48
Uninstalled 2.5.2 and now I have only one box for email integration under forum manager, edit. But now I no longer have the admin cp sidebar email integration and cannot update subscription settings en masse or run your script for email testing. Any ideas. sorry for so many posts, wanted to document all my results with you. Love the package by the way. Worked great in 2.5.2 (after I run update scubscriptions) ... again, have to reenter all forum settings and afraid I will have no way to update the subscription settings once I do so. Thanks in advance again.

itconsultingnv
07 Mar 2008, 00:27
An update. Only 2.5.2 works properly. When I install 2.6 or 2.6.1 the xml does not overwrite the prior version. Additionally, it actually seems to break the 2.5.2 and/or 2.6 implementation causing it to have database errors in relation to ei_something i forget column not being in the database. When you get chance please let me know if you want to log in to my implementation and take a deeper look. Back to 2.5.2 for now and hopefully everything should work again. What did 2.6 fix?

Cyricx
07 Mar 2008, 13:56
Ah bugger, this is a issue with me using two different product id numbers. As I plan for the 3.7 to go in a radically different direction very soon.

Uninstall both mods that you show listing. Then uploaded all the files from the zip in this thread and install the xml file.

I'll try to work on a fix for this. I won't have time til maybe sunday.

Work and not-for-profit organization stuff is taking a heavy toll on my time right now.

mdevour
10 Mar 2008, 05:46
Cyricx,

I can't tell you how grateful I am for your work on this mod. This functionality is one of the two elements that stand between me and migrating my mailing lists to a forum format. I have too many members who are still on dial-up or for other reasons cannot stand using forums. They'll only stay around if I give them e-mail. Thanks to you that's possible.

A suggestion: For those who are wanting a cron-based trigger instead of waiting for page refreshes, isn't there a simple way to use cron to trigger a phantom user to refresh a page every so often? :D

Once I update my test board to the most recent vB, I'll attempt to install your mod...

Peace,

Mike D.

itconsultingnv
10 Mar 2008, 21:04
Uninstalled and resinstalled and everything is functioning properly, except I am waiting on my web hosting company to enable IMAP in php so I can do email responses. Am I correct in assuming that my email responses will not post to the forums if the cron job cannot run?

I am getting the following error in the Scheduled Tasks, Email Integration cron...

Email Integration
Imap not recognized!! You MUST enable IMAP extensions on your server in your php.ini file!

Fatal error: Cannot break/continue 1 level in /home3/naeadm/public_html/forum/includes/cron/emailintegration.php on line 52

And my response emails are not posting. Bah! Waiting on your hosting provider bites! ;)

Thanks for the great mod again!

Cyricx
14 Mar 2008, 20:20
itconsultingnv,
Yes, you are correct. It will still send the emails out, but will not process them :)

note, you do NOT have to have IMAP installed, just have the functions enabled in php :)


Mike D,
Hypothetically I guess that is possible, though it is something I have no experience with.



Just to let everyone know I haven't dropped off the planet. I recently discovered the problem with one of our lovely bugs where an email gets stuck in limbo and holds up the process of emails. It has to do with multipart mixed emails and the boundaries. I'm digging through the decode file now to try to figure out what the heck is up. No eta... due to having to decode the decode file to figure out where it's burpin :)

Cyricx
24 Mar 2008, 16:58
Found an issue with the mimedecode file that comes with php pear. It goofs up entirely when it hits a forwarded message with an attachment.

I'm researching some alternative mail decode class files to find a resolution.

ThePiston
25 Mar 2008, 16:39
this is a great mod! one thing: in the readme, it says go to "Admincp -> Usergroups -> Auto Subscriptions" but I don't see Auto Subscriptions there...

Cyricx
25 Mar 2008, 16:43
That will appear after the product xml file is uploaded :)

If you've already done that step, try to refresh your admincp. That'll get everything to recognize :)

Auto Subscriptions is also available under the "Email Integration" heading.

Tom_S
29 Mar 2008, 21:50
I read through this entire thread and I didn't see this error:


Fatal error: Call to a member function set_parsing_language() on a non-object in /home/mydomain/public_html/forum/includes/cron/emailintegration.php on line 1093


Any ideas?

Thanks in advance

EDIT:

Everything worked in spited of the error though. Hmmm
The error occured when I manually ran the process from scheduled tasks.

Tom_S
29 Mar 2008, 22:06
Well sadly I am getting double posts when it does post via email. It does not clean up after it does post. It reposts them again. It continues to email the posts from the forum every few minutes. I have everything setup exactly according to the specs. This thing has huge potential but far to buggy at this stage. I don't have time to help beta right now but I will most assuredely love this mod upon completion and even pay for the time and effort put in.

dartho
01 Apr 2008, 10:02
I'm using this so that members can leave voicemail messages on a voip number I have, which in turn get emailed as wav files a specific account, picked up by this add-on and posted in a 'voice mail' forum :)

Fantastic!

itconsultingnv
24 Apr 2008, 00:23
I am getting the same problem as Tom S. The cron is not cleaning out the POP account and will continually repost. When this occurs and you go to scheduled tasks the cron gives you the 1093 error. If you clean out the pop account and rerun the cron everything works again, until someone posts an email reply with something odd with the email which trips the cron. Then your back in the loop again. Really want this script working but not sure why this is occurring still (have 3.6.2) ... Been posting to another thread where toivo has been assisting but not sure that is right. Uggh... really love the script, want to use it for our non-profit. Can you tell me if this is a known bug and if the issue will ever be resolved.

joyceleong
24 Apr 2008, 13:46
I have installed 2.6.1 version, have some issues on the hack, and tried to locate AdminCP -> Email Integration -> Forum Setings Help, but I couldn't find it.

These are also not available on my admincp:
"Admincp -> Usergroups -> Auto Subscriptions" but I don't see Auto Subscriptions there...so is this..."Email Integration" Heading on my admin cp.

I can only see the Email Integration Settings Under the Vbulletin Options.

Please advise. Thank you.

itconsultingnv
24 Apr 2008, 17:18
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!

kzuser
04 May 2008, 22:23
after setup i can receive notifications but cant post by email
after checking with sheduled tasks i see this why?

Email Integration

Warning: require_once([path]/includes/functions_threadprefix.php) [function.require-once]: failed to open stream: No such file or directory in [path]/includes/cron/emailintegration.php on line 41

Fatal error: require_once() [function.require]: Failed opening required '/var/www/html/includes/functions_threadprefix.php' (include_path='.:/php/includes:/usr/local/lib/php:/usr/local/php/lib/php') in /var/www/html/includes/cron/emailintegration.php on line 41

F.nk
05 May 2008, 23:28
hello, thank you for the mod
I am working properly, but I have problems with the miniature of the attachment you are deployed on the thread
leaves the miniature email, and not the one I got from. torrent

http://i25.tinypic.com/30wo578.jpg

subnet_rx
15 May 2008, 03:18
I'm having problems with the IMAP part. IMAP and IMAP-SSL is enabled, and I can find no need to enable anything in php.ini. This mod still gives an error about IMAP.

mrahul
15 May 2008, 11:32
I guess this would involve lot of spam mails into posts isn't it ?

kevinh
21 May 2008, 14:34
This is a truly inspired product, given that I'm about to try and migrate an old fashioned transitory mail list to a vB forum :)

Just one question at this stage - how can I tell if I have php imap functions enabled on my server ? (I know IMAP works on my server with Outlook, but I'm guessing that is not the same thing as PHP being able to use it)
Thanks,
Kevin

Cyricx
01 Jun 2008, 23:27
I'm still bouncing around, but have zero time to look into all the posts yet..

Wife lost her job, so having to take on alot of extra freelance work to keep the bills paid.

No eta on when I'll be able to bust some more arse on this. There are a few new email parsers out I want to try.

Just wanted to give ya all a headsup so you didn't think I was dead LOL.

Just paying bills :)

Alfa1
02 Jun 2008, 00:21
Thanks for the status update Cyricx. It is appreciated. If I get this working, I will send a donation your way.

Joshva
17 Jun 2008, 06:18
Hi,

I have followed the instructions carefully but any emails i respond to just sit in the inbox of the email account. The mod does not pick them up. I have tried both POP and IMAP. I have tried running the cron manually. It still does not pick up.

How should I diagnose this issue?

Thanks,
Josh

Cyricx
17 Jun 2008, 16:32
Hi,

I have followed the instructions carefully but any emails i respond to just sit in the inbox of the email account. The mod does not pick them up. I have tried both POP and IMAP. I have tried running the cron manually. It still does not pick up.

How should I diagnose this issue?

Thanks,
Josh

The script is not connecting to the mailbox.

Either the hostname, username, password or connection type is incorrect.

Try using the forum settings help script. Depending on your settings for allowing scripts to time out, it may be able to help you determine what your settings should be.

Joshva
20 Jun 2008, 01:52
Hi,

I have checked my settings with the hosting provider and they are ok. Where do i find the "forum settings help script"?

Thanks heaps,
Josh

Cyricx
20 Jun 2008, 16:32
In the admincp under Email Integration.

Most common errors:

Hostname: try the IP, localhost, or mail.yourdomain.com
username: try just the username or username@yourdomain.com
password: case sensitive

Joshva
21 Jun 2008, 08:20
Hi Cyricx,

Thanks for the prompt reply.


I finally found the script:

http://www.joshandfriends.com.au/forums/admincp/admin_ei_search_settings.php?do=test

I ran it with my settings for the forum. It returned exactly the parameters i am using!

I tried setting up a mailbox in Outlook with the same parameters and it correctly retrieved the emails.

I have re-tried to reply via email integration and run the cron job manually from the Scheduled Tasks.


Any other ideas as to why it is not bringing back emails?

Cyricx
01 Jul 2008, 02:37
I'd have to see your forum manager settings to confirm what's wrong.

Perhaps the mailbox name is changed from INBOX to something else?

popmyzit
12 Jul 2008, 18:10
Hello again,

I still have errors even though I set GMAIL to POP3 and IMAP enabled:

Email Integration

Warning: imap_open() [function.imap-open]: Couldn't open stream {pop.gmail.com:995/pop3/ssl/novalidate-cert}INBOX in [path]/includes/cron/emailintegration.php on line 98

Failed to connect to the mailbox for forum - X Forum

Warning: imap_open() [function.imap-open]: Couldn't open stream {pop.gmail.com:995/pop3/ssl/novalidate-cert}INBOX in [path]/includes/cron/emailintegration.php on line 98

Failed to connect to the mailbox for forum - X Forum

Done

---------

Can we not use GMAIL with this integration as you mention?
thanks

popmyzit
12 Jul 2008, 18:36
I read up on this, others are having similar problems with gmail can you please test this with php 5.25?

Do i need port 995 open from my end? I seem to have IMAP functions installed.

StephenKay
13 Jul 2008, 20:13
This mod looks very interesting, but I have a question:

Does this do any checking to verify someone posting a new thread or reply is a verified member? Or can any spammer who gets a hold of one of the thread email addresses post into it?

Thanks,
Stephen

Cyricx
14 Jul 2008, 13:49
I read up on this, others are having similar problems with gmail can you please test this with php 5.25?

Do i need port 995 open from my end? I seem to have IMAP functions installed.

The problem, from all of my testing (running 5.26 on my server) relies with the settings in gmail. I've been able to duplicate no issues with setting up gmail per the second post :(

This mod looks very interesting, but I have a question:

Does this do any checking to verify someone posting a new thread or reply is a verified member? Or can any spammer who gets a hold of one of the thread email addresses post into it?

Thanks,
Stephen

It has two different ways it verifies who you are. 1) It directly checks the email address the email is sent from to the email of a registered user to determine who the user is. Or you can turn on "strict" email checking, it which it rebuilds the email address using the username of the email address the email is sent from with the domain the email is sent from.

popmyzit
20 Jul 2008, 04:04
Hello,
actually it does work now the port 995 of the server has to be open in order to do IMAP/POP SSL secure transfers.

just wanted to let you know.

thanks again will test more.

BustaCap
09 Aug 2008, 03:37
I am trying to "mirror" a mailing list that I belong to to my vbulletin forum but am having some issues.

None of the users on the mailing list are users on my forum (and I want to keep it that way). I simply want a way to collect all of the messages on the mailing list and have them posted to my forum so I can easily read and search them. Is this possible? The problem I ran into is this:

1. I have a Gmail account that the mailing list messages go to. I setup EI to connect to that Gmail account so that messages are archived after downloading
2. The first time I ran the cron job it gave me an error saying no users with the gmail account that I use could be found. So I changed my email address on my forum to the gmail account. Then, when I ran the cron job all of the messages in the gmail account are removed from the inbox and archived. So far so good. But, when I then go to my forum none of the messages show up there.
3. To troubleshoot, if I send an email to myself using the gmail account, that message is correctly posted to the forum.

So it looks like it is ignoring any message that do not originate from my gmail account. Is this how it is supposed to work or do I have I have an icorrect setting somewhere?

More distressing is that I received error emails to my admin forum email address *from* the listserv saying "Your message dated Fri, 08 Aug 2008 20:03:54 -0600 with subject "Error:Invalid User Email" has been submitted to the moderator of the listserv". How does EI even know what the listserv email address is?? I really don't want *any* messages going to the listserv.

kevinh
12 Aug 2008, 01:36
So it looks like it is ignoring any message that do not originate from my gmail account. Is this how it is supposed to work or do I have I have an icorrect setting somewhere?


That's how it's supposed to work, otherwise anyone could post to your forum if they know the EI mailbox address.

kevinh
12 Aug 2008, 04:48
Just in case users of this forum are unaware there is another very substantial thread about this mod here http://www.vbulletin.org/forum/showthread.php?t=151222&page=61

We are now running this on a live vBulletin site and I thought it might be worth sharing some of the issues we have come across;


We had a small number of posts by email that displayed the html code in the email - we seem to have solved this by switching to plain text in the settings.

Users clicked 'reply' after receiving an email notification of a new post, then cleared the whole email composition window and typed their reply, resulting in a new thread being created by EI.

Users accidentally editing the dashed lines resulting in the whole reply email being puiblished in the forum, rather than what was just between the dashed lines - I'm surprised this wasn't treated as a new thread by EI.

One user couldn't figure out why he couldn't type his reply between the dashed lines before he clicked 'reply', (he thought it was because he was using a Mac!).

Users have also experienced some formatting/line break issues, possibly because their email text has been pasted from another application.

We have noticed that some users tend to reply to any email with a completely unrelated post which belongs in another forum. In this instance we move the post, however if another user respond to the original post by email, their reply ends up in the original forum, rather than the forum the post was moved to.


Although all but one of these are user related problems, they should be considered carefully before using EI on a large, busy vBulletin site, because it could easily create a heavy admin load for the site owner.

salava
25 Aug 2008, 09:52
Hi,

I have followed the instructions carefully but any emails i respond to just sit in the inbox of the email account. The mod does not pick them up. I have tried both POP and IMAP. I have tried running the cron manually. It still does not pick up.

How should I diagnose this issue?

Thanks,
Josh

I have absolutely the same problems. I have used several types of email accounts for the forum, I have used new "virgin" forum without any other mods, I have used several different options, but without success. The forum settings help script works without problems.
This mod will be very usefull for me, I have many old emails with information I want to place on board and it would be difficult manually.

I am using latest vB 3.7.2 and hostmonster hosting.

salava
25 Aug 2008, 10:05
That's how it's supposed to work, otherwise anyone could post to your forum if they know the EI mailbox address.

Who would be the sender of the post sent by email if there are two vBulletin users with the same email? [Such option is possible in vBulletin]. Or such emails will be ignored or the mod failed?

kevinh
25 Aug 2008, 12:02
Who would be the sender of the post sent by email if there are two vBulletin users with the same email? [Such option is possible in vBulletin]. Or such emails will be ignored or the mod failed?

I don't know why you would allow two different users to have the same email address. But if you did I don't know how this mod would handle it. Try it and see what happens :)

kevinh
25 Aug 2008, 12:16
Cyrix,

I have moved a thread from one forum to another and left a re-direct, both have EI enabled.

If someone replies by email to an email notification of a post to the original forum, sending it to the mailbox for the original forum, EI follows the re-driect and posts the thread in the new forum, but it sends out the email notification of the new post to subscribers to original forum (where the post no longer exists), and not to subscribers of the new forum.

Needless to say this is causing all sorts of problems!

Can you put this on the 'to do' list please :)

Thanks,
Kevin

salava
25 Aug 2008, 17:43
I am not able to try, mod does not work for me. And why same emails? I am preparing new forum for several groups of users and I want test all features plus to place on the board some "old" email discussions and not bother real users with new correspondence and me with opening so many new email accounts. But these are only details... The most important is to make the mod working.

curse-1
27 Aug 2008, 13:27
Hello, short question! Did someone translate coincidentally this nice tools on German?

beishe8
23 Oct 2008, 22:42
Is this mod dead?

Cyricx
23 Oct 2008, 22:53
Not dead. Just on haitus.

Economy and real life.

Going through a separation plus having to get extra income where I can leaves me with little time to devote to this right now. :(

But it's definately not going to die. As soon as I get the time I've got alot planned for this.

Funny how time can be so very elusive though..

beishe8
24 Oct 2008, 10:08
Going through a separation..
Sorry to hear that... :(

leitel
29 Oct 2008, 19:28
Got this mod working. As I look it over, I notice that the "From" is showing my server SMTP domain. What need is to have the from domain be the same address as the mailed-by domain.
Thank you :)

tommythejoat
03 Nov 2008, 18:32
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!

I have been trying to get this going also. I am willing to spend quite a bit of time on it and have been looking through a listing of the cron job.

There seem to be a number of places where the incoming email format does not get handled properly and eventually you get around to processing a message that generates a fatal error. 1093 is one of the error lines. That particular one seems to be eliminated by commenting it out, but it looks like one needs to know the vBulletin function library pretty well to be able to effectively read the code.

Is there anyone participating here who is a programmer of this material? It is very new to me, although I have about 30 years experience as a programmer in other environments.

Debugging something running on a server with a live message board is kind of painful.

I am running 3.7.3 pl1 and the latest version of the mod posted here.

I set up my server mailbox as a pop3 source for my personal mail that I can turn on or off. That lets me pull the pathological emails out of the box and continue testing. If you leave them in, the scheduled task will continue to process everything with a datetime later than the broken email and the cron job will generate its fatal error on every pass.

I think it might be better to disable the scheduled running of the routine and just run it manually when you want to work on it. That way you can put output statements in the code and see them in the AdminCP as the routine runs.

kevinh
03 Nov 2008, 22:33
I am getting the same problem as Tom S. The cron is not cleaning out the POP account and will continually repost. When this occurs and you go to scheduled tasks the cron gives you the 1093 error. If you clean out the pop account and rerun the cron everything works again, until someone posts an email reply with something odd with the email which trips the cron. Then your back in the loop again. Really want this script working but not sure why this is occurring still (have 3.6.2) ... Been posting to another thread where toivo has been assisting but not sure that is right. Uggh... really love the script, want to use it for our non-profit. Can you tell me if this is a known bug and if the issue will ever be resolved.

I had the problem mentioned above and after doing the suggested mods in the other thread I now have it working. Start with post #843 on this page http://www.vbulletin.org/forum/showthread.php?t=151222&page=57

NOTE: This URL points to the other thread for this mod in the vB 3.6 forum.

We're running vB 3.7.1 and we use Email Integration with plain text email. I seem to remember seeing at least one further code tweak that is required if you are running vB later than 3.7.1

yaku
04 Nov 2008, 02:42
I'm going nuts trying to figure this out. I keep getting this error:

Email Integration

Warning: include_once([path]/./includes/cron/emailintegration.php) [function.include-once]: failed to open stream: No such file or directory in [path]/admincp/cronadmin.php on line 113

Warning: include_once() [function.include]: Failed opening '[path]/./includes/cron/emailintegration.php' for inclusion (include_path='.:/usr/lib/php:/usr/local/lib/php') in [path]/admincp/cronadmin.php on line 113

Done

I've tried the IMAP and POP3 changes...anyone know what is causing this?

tfw2005
06 Dec 2008, 20:34
I have some suggestions for if/when this things gets back going.

I would like to use this more as a submission deal, where specified contacts who normally wouldn't participate on the forum can send correspondence to a particular email, and it will be posted into a private forum for staff to read.

It can be done now, except I would need to create a user account with each one of their emails so that it doesn't get bounced. And folks working at or for companies may have several different email addresses they use to communicate.

I have no desire to use the subscription or mass emailing system. Just incoming, once, gets posted, staff looks at it on site. Replies to that thread would never be emailed back to anyone. And I guess, the response emails posting replies and not new threads - that could be removed here too. As could the usergroup check.

To prevent spam if the email address got out, I would suggest creating a universal whitelist on the backend, so that we can add addresses at will, similar to how it checks against user accounts. But it checks that one list. We can scan the actual mailbox every so often, and if we see an email from an alternate address, or new person, that we want to continue getting alerts from, we add it.

Would also like a way to leave emails on server, possibly move to a predefined folder in the mail account like "Read" or "Posted".

Not sure if that is too far out of specs for this, but if those options could be added, like "use for correspondence OR use for mailing list" and then fill in options for whatever you choose, that would be cool.

Up side, could also add in RSS feeds from news sources and update blogs from people/companies you want to watch, and put that in the same forum. So you have one place to check on your own site for stuff that needs to be addressed.

I would donate significantly if this could be achieved. Just PM me for further specs if desired.

Good work either way, thanks for the mod, later!

roalaik
09 Dec 2008, 09:51
hello. Can I import from my current list which is in CSV?

snoopy5
11 Dec 2008, 18:15
Hi


1. Is it possible to use this plugin only one-way? I.e. only to send e-mails with all postings of the board out, but without the option to reply by mail?


After installing this modification you will have new settings in your forum manager where for each forum you can enable this modification and setup a separate email address to use for each forum that you have this enabled for.

2. Is this step above a "have to"? Is it possible with the scenario #1 to skip this? I want my users to get all postings, no matter which subforum, but they shall not reply by e-mail.



Thanks in advance

yinyang
11 Dec 2008, 21:28
any chance this moving up to version 3.8?

ThomasR
23 Dec 2008, 14:25
I just installed it on vb 3.8 RC2. "Seems" to be ok but I have several problems (reply by email which never arrives on the forum, part of the email reply box which appears, etc), but I have to check more in depth before asking for help (perhaps I miss something)

fly
23 Dec 2008, 18:31
I'll go ahead and ask this - to see if anyone has by chance done it, before digging into this hack...

I want my users to be able to MMS/email pictures to a specific thread in the forum. This hack seems to be close. I only need the mailbox checking part and then to direct it to a specific thread of my choosing. I'm fine with the pictures being posted anonymously. Usernames would be awesome, but with MMS seems like it would be hard to implement.

I seriously doubt anyone else wants this or has done it, but it doesn't hurt to ask...

roalaik
23 Dec 2008, 18:47
I am looking for answers if I can import users from google groups or yahoo groups

yaku
13 Jan 2009, 02:31
One warning about this hack: the emails will contain the poster's IP address if you don't use a SMTP server rather than the internal PHP mail() function.

TBrewerton
19 Jan 2009, 11:07
I have also just tried this on 3.8 and can only get e-mails to send yet cant reply respond to the boards.

Please can we get an urgent update as my board relies on this mod and i would love to upgrade.

Thanks,

Tim

optrex
22 Jan 2009, 21:36
Please add me to the list too for a 3.8 upgrade. Nothing incoming, presumably due to re-captcha.

mjname
27 Jan 2009, 05:12
Has anyone tried this with Blog? I would love to be able just update my blog with this.

mykkal
27 Feb 2009, 23:13
Can a hook be made to tie into the FaceBook Connect Mod? (http://www.vbulletin.org/forum/showthread.php?t=198499) That mod allows users to register and sign into forums using their facebook ID's. I am using email integration and the once a user has registered they can use the email intergration to post.

But FaceBook connect also allows a user to post directly to thier facebook profiles a "note" with the title of the thread. This note redirects back to the actual forum thread.

Is it possible to get a hook made that will publish these threads when the user logs in or that will publis the threads to facebook when the email is recieved?
:)
Facebook connect mod:
http://www.vbulletin.org/forum/showthread.php?t=198499 :cool: (http://www.vbulletin.org/forum/showthread.php?t=198499:cool:)

also... where is the 3.8 version?

rodneytamblyn
01 Mar 2009, 09:55
Hi Cyricx,

A few email integration woes today.

I have about 15 forums enabled with EI addresses. A user complained that mails being sent to one of the addresses were not being delivered. I ran the cron job manually and discovered it complaining:

Fatal error:
* The text that you have entered is too long (10328 characters). Please shorten it to 10000 characters long.
Unable to proceed with save while $errors array is not empty in class vb_datamanager_thread_firstpost in [path]/includes/class_dm.php on line 810

Fair enough, I increased the maximum post length. Bad mistake. Turns out there were a lot of messages queued up in other forum email accounts. The system went crazy and generated thousands of email messages before I realised what was going on.

Next issue I found:

Fatal error: Call to a member function on a non-object in /Users/oceanbrowser/Sites/forum/includes/cron/emailintegration.php on line 1615

This has been referred to elsewhere, I applied the fix changing that line to $plaintext_parser->set_parsing_language( 1 )

However I also got this error which I haven't seen reported:
Fatal error: Call to a member function on a non-object in /Users/oceanbrowser/Sites/forum/includes/cron/emailintegration.php on line 1093

Applied your fix to that line too.

Next I got this error:

Fatal error:
* This forum requires that you wait 30 seconds between posts. Please try again in 30 seconds.
Unable to proceed with save while $errors array is not empty in class vb_datamanager_post in [path]/includes/class_dm.php on line 810

It's very difficult to work out which forum is affected. Would be great if the error messages in the cron also outputted the details of the email message being processed (which would also show the forum being sent to)

I still haven't solved the last above issue, have disabled EI in the forum tonight and will have to spend more time tomorrow investigating that.

The installation documentation should warn users to check the maximum post length and be aware that if an email comes in that exceeds this length it will stop ALL processing of emails in all lists - i.e. when an error occurs the cron job doesn't log it and continues, it aborts. And if you change that setting later, it can initiate an email flood if you have an accumulated backlog of messages.

For some reason (also TBD) EI posted the same messages over and over into the forum - I think it was erroring out before it had a chance to delete the messages (?) then next time the script ran, it posted them again. Would be good if the posting mechanism checked for duplicate post, and also if there could be some in-build flood protection measures.

~ Rodney

rodneytamblyn
02 Mar 2009, 10:05
In the email integration cron job I am seeing this error message (below). Any ideas how to resolve this issue?

Thanks

~ Rodney

Email Integration

Fatal error:

* This forum requires that you wait 30 seconds between posts. Please try again in 30 seconds.

Unable to proceed with save while $errors array is not empty in class vb_datamanager_post in [path]/includes/class_dm.php on line 810

mykkal
02 Mar 2009, 14:48
I had to uninstall this mod removing an important feature of vBulletin becuase it doesn't work with 3.8.1.

I've asked in the forum but haven't got any replies on when Email Intergration for 3.8 would work.

This is messed up. Be nice if we had an update.

beishe8
03 Mar 2009, 05:25
Not dead. Just on haitus.

Economy and real life.

Going through a separation plus having to get extra income where I can leaves me with little time to devote to this right now. :(

But it's definately not going to die. As soon as I get the time I've got alot planned for this.

Funny how time can be so very elusive though..

I was excited when you started to develop this hack but as I see you do not have the time to further improve it.
With 3.8 it's not working at all because of the changes in vB's code.
Isn't it possible to offer it to vB.org's hackers to make the final touches to it?

All the best, beishe8

beishe8
02 Apr 2009, 06:40
Sad to say but seems this hack should find its way to the graveyard.:(

kevinh
02 Apr 2009, 07:17
Although it would be nice to see it developed further, it does work on 3.7. I'm using it very effectively on a small forum with about 200 subscribers.

Cyricx
02 Apr 2009, 13:54
it's running on my test board for 3.8

Are you sure you did the file edit?

It's still in development, no eta of course, because I do have so much I'm doing. But it's not forgotten :)

tommythejoat
02 Apr 2009, 14:14
I am running EI with 3.8.1.

I just left it installed when I upgraded to see what would happen. It seems to be working fine.

I did have a problem with html emails and disabled that feature some time ago.

This is a very important feature for a subset of our users who are too busy to open their browser and face the distractions of the message board. We use it in committee discussions where we need those people's inputs.

Cyricx
02 Apr 2009, 14:27
The problem with HTML emails is that you didn't redo the file edit in the instructions.

When you upgrade you have to redo any file edits as they new files you upload overwrite them.

toivo
07 Apr 2009, 01:58
I have just posted the code for the vB 3.6 version of EI Mod 2.6.1 BETA to delete the message from the mailbox if the first 100 characters are identical compared to the last post made by the user. This is a lifesaver when users go on holidays after setting up an autoreply which is not caught by the holiday/out-of-office rule in your EI mailbox.


Details:
http://www.vbulletin.org/forum/showthread.php?p=1785423#post1785423

The code works using the old message format, without delimiters, but it may be possible to adapt it to work with the new format, too.

lbernstein
09 Apr 2009, 17:56
The problem with HTML emails is that you didn't redo the file edit in the instructions.

When you upgrade you have to redo any file edits as they new files you upload overwrite them.

I'm still running EI 2.3.1 and want to upgrade to 2.6.1. Where can I find the list of file edits that were made to redo them? I can't seem to find my downloaded version of 2.3.1 to now backtrack.

zhangyc
08 May 2009, 09:09
Hi Cyricx,

I have installed your plug-in. It sends notification mails and receives posts are all ok with my Internet e-mail account.
But when I use it to receive posts from an Microsoft Exchange e-mail account, it returns failure to me.
I tried all the mail server connection types in the dropdownlist, but still error.
Do you have any comments on the connection to an Microsoft Exchange e-mail account? Many thanks to you!

Here are my configuration place and the result of running my email task.
9881698817

Cyricx
08 May 2009, 13:52
I'm still running EI 2.3.1 and want to upgrade to 2.6.1. Where can I find the list of file edits that were made to redo them? I can't seem to find my downloaded version of 2.3.1 to now backtrack.

They are included in the zip.



Hi Cyricx,

I have installed your plug-in. It sends notification mails and receives posts are all ok with my Internet e-mail account.
But when I use it to receive posts from an Microsoft Exchange e-mail account, it returns failure to me.
I tried all the mail server connection types in the dropdownlist, but still error.
Do you have any comments on the connection to an Microsoft Exchange e-mail account? Many thanks to you!

Here are my configuration place and the result of running my email task.
9881698817

If none of the drop downs are working, then most commonly this is an issue with the username, password and domain name. Find out from your provider what settings you need to enter to use outlook express, and you can mimic those. Sometimes it's mail.yourdomain.com sometimes its yourdomain.com
and the username is sometimes just yourname and other times it is yourname@yourdomain.com

It really varies greatly on the provider. There is a script included that you'll find linked in your admincp that tries some of the typical combinations and tries to help you determine the settings.

kevinh
10 May 2009, 12:37
Hey Chris,

Is it possible to create a delay of 1-2 minutes before posts via the web based forum are sent out to email subscribers?

Thanks,
Kevin

Cyricx
11 May 2009, 14:15
It uses the mailqueue system if you have it enabled in your vbulletin options -> email options.

Keep in mind, it can create significant stalls in emails being sent out if you enable that too well. If you set it for 5 messages at a time, and 100 people are subscribed to a forum then it can take a LONG time to get all of those messages out if your forum doesn't have alot of foot traffic.

zhangyc
12 May 2009, 01:46
There is a script included that you'll find linked in your admincp that tries some of the typical combinations and tries to help you determine the settings.
Hi, Cyricx.
Where could I find this script? I tried to find in my admincp, but did not get any result. Please show me the path, thanks.

SamirDarji
19 May 2009, 19:28
I am trying to "mirror" a mailing list that I belong to...This is what I want to do as well. It's a PITA to check hundreds of emails from all these groups to see what they are doing. It would be so much easier to see them right inside my forum. Plus, then my site staff can see them as well.

From best I've gathered, this plugin works by comparing the sender's email with a user on the forum. If the user matches, it posts. If it doesn't, it doesn't post. So one way to get a yahoo group or google group mirroring is to create a user account for each of the users on the group, right? This way, the plugin will find the appropriate user and post under their name. Is this assumption correct?

My thoughts on how to get a email list posting is to forward the originally received email, which has the original sender's email addresss (not a forum user by default), to an account which is a valid forum user, a "bot" for all practical means, which then forwards it to the forum email. Because the "bot" is a valid user on the forum, the plugin will check the originating email and find it to be a valid user, but the content of the email will actually be from the email list. Does this make sense? Would this work?

Cyricx
19 May 2009, 19:32
Most mailing lists send the email as coming from the individual user. so all of those users would have to be added.

This plugin is not built or made to be able to mirror a list.

It's made with the sole intention of replacing one. :)

SamirDarji
19 May 2009, 20:18
This plugin is not built or made to be able to mirror a list.

It's made with the sole intention of replacing one. :)I really wish I could get these groups to get off of these cheesy free hosts, but I can't. :( I've even offered them their own sub-forums and forums, but still nothing.

So until I figure out a solution to consolidate each of these groups' postings into a place, I have to wade through all the emails on the lists via email versus searching forums. :(

Do you believe my system of forwarding would accomplish what I wish to do? This will require a lot of forwarding and auto-responders to be set up and tested, but does it at least look good in theory?

And after thinking about the plugin, I'm planning to also run it as-is for having my own site's very own email list. :)

Cyricx
19 May 2009, 20:29
As mentioned, it will not work unless as someone is added to the mailing list.. they are added as a user.

This would be a management nightmare.

If any email address was not a valid user, they would get email messages from the site.

The mailing lists you encounter set the reply-to, but they do not change the "from" sometimes they will change the representation of the from. But typically, in the header information, that is not changed.

So. No. It would not feasibly work and unfortunately it's not something I plan on coding as it would be irrational to have both running. Those free hosts all have a board system there.

The primary argument I've used in convincing those that use them to switch is who owns the servers.

They may be using those boards but the servers are owned by that free host and they can allow that information to be released to anyone at any point in time.

In moving to a vbulletin hosted mailing list, you have sole control over the information and who can access what.

Cyricx
19 May 2009, 20:31
Hi, Cyricx.
Where could I find this script? I tried to find in my admincp, but did not get any result. Please show me the path, thanks.

In your admincp, you should have a box on the left side for "email intetration" click on the arrow to open that up and click "forum settings help".

If you do not see that in your admincp, you did not upload all of the files. :)

SamirDarji
20 May 2009, 01:09
As mentioned, it will not work unless as someone is added to the mailing list.. they are added as a user.

This would be a management nightmare.

If any email address was not a valid user, they would get email messages from the site.

The mailing lists you encounter set the reply-to, but they do not change the "from" sometimes they will change the representation of the from. But typically, in the header information, that is not changed.I think I may not have explained what I was trying to do thoroughly. I really don't care about replying back from the forum or having any of my forum members even see the postings. I just want to have the emails in the email list post into a forum so that way I don't have to check them in my email.

There are several groups that I have to keep tabs on that use email lists, and if I was able to have their emails come directly into a forum, I'd never have to leave my main site to read everything. Your plugin introduces the possibility of doing this since an email can post to a thread/forum.

Based on this idea, do you think that the system of forwarding emails from the list would get them simply posted into the forum?
The primary argument I've used in convincing those that use them to switch is who owns the servers.

They may be using those boards but the servers are owned by that free host and they can allow that information to be released to anyone at any point in time.

In moving to a vbulletin hosted mailing list, you have sole control over the information and who can access what.I completely agree with this arguement, and the subject of intellectual property rights is overlooked by so many. But I'm in the southeast US and these people really don't understand the implications until it hits them. Today, I even had a staff member post our unique and original material on youtube. :rolleyes:

Cyricx
20 May 2009, 06:37
As mentioned, it will not work unless as someone is added to the mailing list.. they are added as a user.

This would be a management nightmare.

If any email address was not a valid user, they would get email messages from the site.


I'm sorry..

I really don't know how I can be more clear then that.

If everyone on the list was not a registered user on the forums. It would NOT post to the forum and they would get an email with an ERROR.

If you want to go through and create a user for every single person on the list and each time someone is added create a new user. More power to ya. However...

This would be a management nightmare.

This system is not made, and I personally will not be coding it in such a way as to accomplish what you are asking.

*shrug* :( I'm kinda at a loss for how to explain it any better. Feel like I'm just repeating myself endlessly hehe :)

More power to ya in your struggle with them though :)

SamirDarji
20 May 2009, 15:38
I think I'm still not getting my point across. :( I'll make an example.

Let's call a group "A". This group has an email list. I set up an email address that will subscribe to the group on my server, let's call it "eA". This email address does not tie to a user in vB. I have eA subscribe to the email list of group A. So the email address eA is receiving the emails from the email list of group A.

I completely understand that even if the email addresses eA is a user on vB that it will not post because the send to header on the email list of group A contains the real address of the sender, who more than likely is not a registered user on vB.

So to circumvent this problem, I set up a user on vB called robotA. This user has their own email address, rA. Now, because rA is an email address with a valid user on vB, rA can post via email to the forum that uses EI.

Then I set up a forwarding on my server that forwards the emails that eA receives to rA. This changes the send to header. Then rA forwards this email to EI, which also changes the send to header. Because the send to header now matches a valid vB user, EI will process the reply.

Thank you for the previous quick replies and I look forward to your thoughts. :)

Cyricx
20 May 2009, 15:53
I understand fully all the different ways you could do this.

What your suggesting is no different then creating a second yahoo group to backup messages from the first.

Pretty frickin pointless.

How do you reply to messages? Users on your board may not be on the yahoo group list.

All the messages will appear to come from the same exact person.

If messages are editted or email chains deleted from the yahoo group, they will not be deleted on your forum. So you have massive information discrepancies there as well.




I'll say it one more time :)

This modification is NOT made to work WITH a mailing list.

It is made to BE a mailing list in and of itself!

It turns one of your forums... into a mailing list.

Any attempts to integrate with an existing group mailing list, like yahoo groups, will create major discrepancies, errors and confused users.

If you want to backup information from a mailing list... search google. There are download programs for just about every free mailing list to make backups of the messages.


I'm sorry to be so abundantly blunt but I don't seem to be getting the message across. :)

*hugs*

ilanyon
21 May 2009, 09:34
Hi,
Sorry to ask again...but I will...:p...will this mod be made available for 3.8 at some stage?

Or, is it worth while installing this version in the hope that it will work okay?

Cheers,

Ian

SamirDarji
21 May 2009, 20:06
Thank you for your patience and replies. I know how seeing someone use your creation in a skewed manner can be unnerving. I've been there.

To specifically answer some of your questions:How do you reply to messages? Users on your board may not be on the yahoo group list.You don't. We don't want to reply. This is just "read-only" for staff.
All the messages will appear to come from the same exact person.Doesn't matter. All we care about is the content inside the message.
If messages are editted or email chains deleted from the yahoo group, they will not be deleted on your forum. So you have massive information discrepancies there as well.That's fine. This is all just information that we're going to be reading. If it gets outdated in a week, it really doesn't matter.

In the explanation of how I was planning to have groups' messages posting to a forum, I completely forgot to explain how the forum users would use it. The quick answer is--the forum users won't.

We do not reply to the groups' lists. We are subscribed to find out what the group is doing since they don't disseminate the information by other means (web site, traditional forum, etc.). The EI forum would only be visible to forum staff. The staff can view the messages posted from the group. They can't reply and can't post. That's the extent of the use of the EI forum.

So that's the why. Now, the question is the how. In theory, would the system which I described above work?

SamirDarji
21 May 2009, 20:08
I just installed it on vb 3.8 RC2. "Seems" to be ok but I have several problems (reply by email which never arrives on the forum, part of the email reply box which appears, etc), but I have to check more in depth before asking for help (perhaps I miss something)Did you ever fix these issues?

ilanyon
23 May 2009, 01:04
Hi, just installed on 3.8.2 and seems to be running fine...thank-you...great mod!

Can anyone tell me if there is now a way of admin turning on the 'instant e-mail notifications' for any entire pre-existing usergroup...? Obviously I can go into each user one at a time and set this up for them...but I would rather do it all in one hit if at all possible?

Be gentle with me...I am still learning...:p

Cheers,

ian

ArnyVee
24 May 2009, 17:09
Has anyone used this mod consistently in order to have pictures shared via a mobile device yet? I know that some folks were close and/or doing it but encountering some issues. Any success stories that can be shared?

mykkal
27 May 2009, 15:05
when i enable email integration my forum goes blank. I've asked for help a few times. Is there anyone that can help?

Thanks...

mykkal
27 May 2009, 15:16
This is the error I get.

I'm using php 5 & MYSQL 5 with the 2.6.1 beta. Please help this time. It's been a few months.



Code:
---------------
Code is only visible to licensed users, and only when logged into the forums.
---------------



And then when I try to update the allowed forums I get another error:



Code:
---------------
Code is only visible to licensed users, and only when logged into the forums.
---------------

mykkal
29 May 2009, 19:19
CAN I Get Some Support Please? It Has Been Months Since I First Asked.

Lordy...

beishe8
30 May 2009, 01:11
CAN I Get Some Support Please? It Has Been Months Since I First Asked.

Lordy...

Sorry, do not expect support for this beta version. "Last Update: 29 Feb 2008"
I would like to use this great hack but because of the teething problems with it, I can't.

mykkal
01 Jun 2009, 22:17
Sorry, do not expect support for this beta version. "Last Update: 29 Feb 2008"
I would like to use this great hack but because of the teething problems with it, I can't.

Well that is a huge problem because there is no version that works with 3.8...

Unless someone else knows of a version that I do not.
2.6 returns the exact same errors.

mykkal
03 Jun 2009, 04:54
Cyrix... uninstall/reinstall isn't working.

Can I get some help with troubleshooting please?

westward
05 Jun 2009, 16:16
Hello, I am attempting an install of this mod - (vb - 3.7.6)

I am upto step 4 - (find $headers .= preg_replace("#(\r\n|\r|\n)#s", $delimiter, $uheaders);
unset($uheaders);)
in the includes/class_mail.php file.

however those lines are not to be found? Where can i find those lines of code?
thanks

westward
05 Jun 2009, 16:42
Hello, I am attempting an install of this mod - (vb - 3.7.6)

I am upto step 4 - (find $headers .= preg_replace("#(\r\n|\r|\n)#s", $delimiter, $uheaders);
unset($uheaders);)
in the includes/class_mail.php file.

however those lines are not to be found? Where can i find those lines of code?
thanks

Many appologies - i found it.

mykkal
06 Jun 2009, 11:30
helllloooooo?????


Cyrix... uninstall/reinstall isn't working.

Can I get some help with troubleshooting please?

mykkal
06 Jun 2009, 20:11
Reporting this mod as UNSUPPORTED.

Digital Jedi
07 Jun 2009, 13:53
Reporting this mod as UNSUPPORTED.
I wasn't aware we could do that. :rolleyes:

ArnyVee
07 Jun 2009, 15:59
I think that's sorta like a citizen's arrest :)

mykkal
07 Jun 2009, 16:43
I wasn't aware we could do that. :rolleyes:

oh hahaha... taunting is always cool.

Well lets see. I asked for help months ago.. your taunting.

I asked for help a few months ago... your taunting.

I asked for help a few weeks ago... your taunting.

I asked for herlp a days ago... your taunting.

Fact is I was polite and courteoues. The developer basically ignored all of my pleas and hasn't respond to me in all these months except once.

And you know that these things can be reported. We've all seen others take over support of a mod that isn't being done farily or that it changes to "unsupported".

Facebook Connect would be one such mod...

If I have to wait more then 7 months to get a simple answer or even remedial support then it shouldn't be supported.

I am personally tired of asking for help and not getting any. I do appreciate the taunting tho. let's me know what type of character you have.

BS aside. If this were really supported I wouldn't be typing this right now. Laugh at that.

Digital Jedi
07 Jun 2009, 19:29
oh hahaha... taunting is always cool.

Well lets see. I asked for help months ago.. your taunting.

I asked for help a few months ago... your taunting.

I asked for help a few weeks ago... your taunting.

I asked for herlp a days ago... your taunting.

Fact is I was polite and courteoues. The developer basically ignored all of my pleas and hasn't respond to me in all these months except once.

And you know that these things can be reported. We've all seen others take over support of a mod that isn't being done farily or that it changes to "unsupported".

Facebook Connect would be one such mod...

If I have to wait more then 7 months to get a simple answer or even remedial support then it shouldn't be supported.

I am personally tired of asking for help and not getting any. I do appreciate the taunting tho. let's me know what type of character you have.

BS aside. If this were really supported I wouldn't be typing this right now. Laugh at that.
I think my point is that I don't believe vB.org ticks the Support option based on requests. And that Support has always been at the discretion of the author. It's an arbitrary thing that you shouldn't really take all that seriously, because literally anything could be happening to the author, where he intends to get back, that he can't. Sickness, work, loss of internet connection. I couldn't support my mods a few months back there because my grandmother died and right afterwards my daughter started keeping me up with frequent nighttime seizures and I wasn't getting any sleep other than during the day. I didn't have time to come on and tell everyone why I wasn't around or even really considered ticking the box in each of my threads as something particularly pressing. My situation is not uncommon, nor the only reason a person could have for not getting back online. There are thousands.

So, yeah, I made my comment humorous. I think it's kind of humorous to raise a fuss over support of a free mod, made in the free time of someone offering a product as is and, as the policy of the site says, at your own risk. Would you have preferred I raked you over the coals with angry words and a lot of capital letters? I think I was being rather benign.

mykkal
07 Jun 2009, 19:35
Oh really?

well I think its kinda ridiculous to release something and claim to support if you WON'T always. there's an un supported designation for that.

I've seen that. Haven't you? :rolleyes:

This seems like deflection.

Digital Jedi
07 Jun 2009, 19:39
Oh really?

well I think its kinda ridiculous to release something and claim to support if you WON'T always. there's an un supported designation for that.

I've seen that. Haven't you? :rolleyes:

This seems like deflection.
So what your saying is, if there was the slightest possibility that my grandmother was going to die, my daughter was going to start having rapid nighttime seizures and that I wasn't going to get a lot of sleep that I should have predicted that and never ticked the Supported option?

Hrm...you know, I haven't been feeling very well lately...

mykkal
07 Jun 2009, 20:14
So what your saying is, if there was the slightest possibility that my grandmother was going to die, my daughter was going to start having rapid nighttime seizures and that I wasn't going to get a lot of sleep that I should have predicted that and never ticked the Supported option?

Hrm...you know, I haven't been feeling very well lately...

glad you asked cause i'm the best person to answer this question I run a free job board. (www.mymodeltalk.com). I also run a free auditions and castings service. I make my money from traffic.

Whenever i'm unavailable to fullfill my pledges as promised I let my community know.
The demogrphic database of my newletter service is 300k. That's larger then users registered to the open forum.

I don't take positions with the communnity (online or offline) that I can't make good on. And if its interupted I let the community know that i'm unavilable. Or if i really couldn't devote myself to it i'd let the community know or find myself a replacement. Thats all that has to be done.

i mean a few days disappearance is cool. but I didn't get communications for months. and this is a product i wanted to support and I have used for many years in the past.

especially if your suggesting i'm out of line for being unhappy now that support has gotten worse over the years.

your a "designer/coder" taunting a member of the community. your trippin like a kid dude. and now that i'm realizing that... i'm laughing too. :) lolollol

http://img.photobucket.com/albums/v245/DIRTRED/post111153226392oasg5.gif

Digital Jedi
08 Jun 2009, 10:45
glad you asked cause i'm the best person to answer this question I run a free job board. (www.mymodeltalk.com). I also run a free auditions and castings service. I make my money from traffic.

Whenever i'm unavailable to fullfill my pledges as promised I let my community know.
The demogrphic database of my newletter service is 300k. That's larger then users registered to the open forum.

I don't take positions with the communnity (online or offline) that I can't make good on. And if its interupted I let the community know that i'm unavilable. Or if i really couldn't devote myself to it i'd let the community know or find myself a replacement. Thats all that has to be done.

i mean a few days disappearance is cool. but I didn't get communications for months. and this is a product i wanted to support and I have used for many years in the past.

especially if your suggesting i'm out of line for being unhappy now that support has gotten worse over the years.

your a "designer/coder" taunting a member of the community. your trippin like a kid dude. and now that i'm realizing that... i'm laughing too. :) lolollol

http://img.photobucket.com/albums/v245/DIRTRED/post111153226392oasg5.gif
You've just hit the nail right on the head, there. YOU don't take positions you can't fulfill. No one guaranteed that any of these modifications would do the same. In fact, the policy of the site says that this is all third party software, supported at the authors availability or discretion. As I mentioned in one of my articles, authors are helping just because they can. That means they can choose NOT to help you, just because they can. I'm not saying that's the case here, but that simply means no one's obliged to help you here. It's all voluntary and out of the kindness of the people's hearts. No one is loosing any money when they can't get back, because, again, this stuff is all free.

Look, let's not spam this thread up anymore then we already have. I was not taunting you. I was being mildly sarcastic (and mean very mildly). But not taunting. Don't be so thinned-skinned.

By the way, I make no claim at being a coder/designer. That's just something the forum does automatically when you post a style or a template mod. I'm as dependent on this stuff working as you are. But if you are dependent on the largest part of your base being able to use a certain service, and you are concerned about being able to deliver that service, it seems to me you should more cautious about hinging those services on free products provided with no guarantee of availability.

ArnyVee
13 Jun 2009, 21:27
Let me try and bring this thread back to 'business' ;)

Has anyone been able to work this mod into a way to post pictures to the site (MMS) uploaded via their mobile phone?

If not, anyone have a suggestion on how to do something like this?

mykkal
18 Jun 2009, 14:31
haven't been able to contact the modder. he's been active in the 3.6.8 forum for this mod but not here.

3.6.8 isn't supported right? Why he's supporting them there I couldn't answer...

mykkal
20 Jun 2009, 03:59
lol, wow. guess were left hanging...

tdmadeeasy
01 Jul 2009, 13:35
I am prepared to pay to get a version of this that works with 3.8. Can anybody help? Please I really need this.

Cyricx
01 Jul 2009, 14:45
Hmm...

8 year old daughter, Renaissance festival, regular performances, two not-for profit orgs (one I'm the president of) and 2 websites to maintain. O yeah, and a regular 40 hour a week job.

Yeah, I'm a pretty busy man :)

But I haven't forgotten about this, just haven't had the time to fix it for everyone. Not sure why some it is messing up on. It works fine on my test board for 3.8 with a fresh install.

Anyway, new version will be coming, but it's gotta take it's line in my priority of life :)

As mentioned, this is developer software, and last time I made about $1 an hour for the work I put in. So it's pretty much not for profit.

I didn't pick this mod up because I had all the time in the world to put into it.

I picked the mod up because nobody else would. :)

*hugs to all* patience, I'm still here juggling life and trying to squeeze this in.

SamirDarji
01 Jul 2009, 18:06
I am prepared to pay to get a version of this that works with 3.8. Can anybody help? Please I really need this.What type of problems are you having? What other plugins do you have installed?

tdmadeeasy
01 Jul 2009, 18:31
Thanks for updating us on the situation Cyricx.

I will try this on my 3.8 board and see how it goes.

I think I will just have to get someone to fix the code if I run into any issues.

UKDarkstar
03 Jul 2009, 13:03
Just installed under 3.8.3 and can confirm it is all working fine - excellent mod, exactly what I needed as I have a Committee accessing a private forum area and some really only want to communicate by email (they don't like forums).

Thanks again for this mod ! :)

mykkal
03 Jul 2009, 15:15
that update meant a lot. thanks :)

tdmadeeasy
04 Jul 2009, 18:33
has anybody been able to get this to work with a gmail email address? That is where a gmail account is the forum email account. I ve tried both the pop and imap options with no success.

I keep getting the error



Code:
---------------
Code is only visible to licensed users, and only when logged into the forums.
---------------



Guess I am making some obvious mistake somewhere, but not sure what

UKDarkstar
05 Jul 2009, 13:13
Just got 1 issue - when emails are sent out detailing posts and someone goes from Outlook 2007 to reply, the reply email address is not being populated.

Is this a setting I've got wrong somewhere ?

Would also be nice to not quote forum name in email title (some suers complaining about long message titles !) or is there a box I've not ticked somewhere for this ?

I also do not get the display option in the Admin CP but have checked and all files were uploaded.

None of these are major issues as apart from them the mod works perfectly for me on 3.8.3. If some help/comments can be provided when you have some time that would be great ! :)

lbernstein
07 Jul 2009, 08:28
Still not able to get the replies to post to the board. My host sees the reply coming into the mailbox, but when I perform a manual cron job, the email is purged (and fails to get posted to the forum).

The cron job log usually says that there are no emails in the box, but at times the cron log gives me the following:

"Email Integration results Opened mailbox for General Discussion Blocked from xxxx57@gmail.com Opened mailbox for Touchworks v11 No messages found for Touchworks v11 Opened mailbox for Modules No messages found for Modules"

The reply is originating from the address xxxx57@gmail.com.

I would be willing to pay someone to help get the mod working. PM me if you're interested.

UKDarkstar
07 Jul 2009, 08:35
Still not able to get the replies to post to the board. My host sees the reply coming into the mailbox, but when I perform a manual cron job, the email is purged (and fails to get posted to the forum).

The cron job log usually says that there are no emails in the box, but at times the cron log gives me the following:

"Email Integration results Opened mailbox for General Discussion Blocked from xxxx57@gmail.com Opened mailbox for Touchworks v11 No messages found for Touchworks v11 Opened mailbox for Modules No messages found for Modules"

The reply is originating from the address xxxx57@gmail.com.

I would be willing to pay someone to help get the mod working. PM me if you're interested.

Sounds like you've got the security feature turned on to block free email accounts such as gmail - have you checked that ?

lbernstein
07 Jul 2009, 08:45
Sounds like you've got the security feature turned on to block free email accounts such as gmail - have you checked that ?

Where do I find this option?

UKDarkstar
07 Jul 2009, 09:00
Where do I find this option?

AdminCP => vBulletin options => user banning options => banned email addresses and aggressive email banning

Cyricx
07 Jul 2009, 14:01
Still not able to get the replies to post to the board. My host sees the reply coming into the mailbox, but when I perform a manual cron job, the email is purged (and fails to get posted to the forum).

The cron job log usually says that there are no emails in the box, but at times the cron log gives me the following:

"Email Integration results Opened mailbox for General Discussion Blocked from xxxx57@gmail.com Opened mailbox for Touchworks v11 No messages found for Touchworks v11 Opened mailbox for Modules No messages found for Modules"

The reply is originating from the address xxxx57@gmail.com.

I would be willing to pay someone to help get the mod working. PM me if you're interested.

in the cron file there is this code:


Code:
---------------
Code is only visible to licensed users, and only when logged into the forums.
---------------



In your admincp -> vbulletin options -> email integration settings

You need to correct this entry

Blocked Subject Text
Please enter the list of any text you wish to search for in the subject that you will reject any emails for having. Separate each one by a comma.
No Title,(no subject),Your email requires verification,Mail delivery failed,Autoreply,Undelivered Mail Returned to Sender,failure notice


You've added something in there that is causing the issue.

lbernstein
07 Jul 2009, 15:39
i
In your admincp -> vbulletin options -> email integration settings

You need to correct this entry

Blocked Subject Text
Please enter the list of any text you wish to search for in the subject that you will reject any emails for having. Separate each one by a comma.
No Title,(no subject),Your email requires verification,Mail delivery failed,Autoreply,Undelivered Mail Returned to Sender,failure notice


You've added something in there that is causing the issue.

That did it! Thanks for your help, I appreciate it more than you can imagine.

Cheers,

Larry

Cyricx
08 Jul 2009, 22:27
Just a quick note for those stating they are having problems running the mod on 3.8

I just copied my board to a test server, upgraded it to 3.8.3, redid the file edit to class_mail.php

And it's working just fine..

mykkal
08 Jul 2009, 23:43
Your giving great support to everyone. I've asked many times over many months and got nothing?
How is that fair? I used this product for over 3 years now. If you don't wish to support me then let me know and I will move on.

in the cron file there is this code:


Code:
---------------
Code is only visible to licensed users, and only when logged into the forums.
---------------



In your admincp -> vbulletin options -> email integration settings

You need to correct this entry

Blocked Subject Text
Please enter the list of any text you wish to search for in the subject that you will reject any emails for having. Separate each one by a comma.
No Title,(no subject),Your email requires verification,Mail delivery failed,Autoreply,Undelivered Mail Returned to Sender,failure notice


You've added something in there that is causing the issue.

SamirDarji
09 Jul 2009, 17:13
Just a quick note for those stating they are having problems running the mod on 3.8

I just copied my board to a test server, upgraded it to 3.8.3, redid the file edit to class_mail.php

And it's working just fine..What edits need to be done? I tried searching the thread, but didn't find anything. :(

Cyricx
09 Jul 2009, 17:23
It's in the install.txt file in the zip attached to the main post of this thread.

Cyricx
09 Jul 2009, 17:25
Your giving great support to everyone. I've asked many times over many months and got nothing?
How is that fair? I used this product for over 3 years now. If you don't wish to support me then let me know and I will move on.

Doing the best I can with the time I have.

This is volunteer work.

On a side note. I uninstalled and reinstalled on my 3.8.3 test board and everything worked great. Please check the other thread. No sense in having this discussion in two threads.

SamirDarji
09 Jul 2009, 17:46
It's in the install.txt file in the zip attached to the main post of this thread.Thank you!

topianno
09 Jul 2009, 18:43
Hello,
I have installed the "Email Integration 2.6 Version for VB37.zip" on vBulletin 3.8.1. I am having a problem with the reply emails not being posted to the forum. The emails are coming through just fine. However, when you reply to the emails they are not being posted.

I looked through the instructions and it says there is a script to test the settings. However, I can't find it. Anyone know where it is?

Has anyone had this problem and found a solution?

Thank you!

Gabe

Cyricx
09 Jul 2009, 19:12
Hello,
I have installed the "Email Integration 2.6 Version for VB37.zip" on vBulletin 3.8.1. I am having a problem with the reply emails not being posted to the forum. The emails are coming through just fine. However, when you reply to the emails they are not being posted.

I looked through the instructions and it says there is a script to test the settings. However, I can't find it. Anyone know where it is?

Has anyone had this problem and found a solution?

Thank you!

Gabe

Login to your admincp. On the left hand side of the screen look for "Email Integration", click the arrow next to it to expand the box then click on "Forum Settings Help".

topianno
09 Jul 2009, 19:32
Hello Cyricx,
There is no menu on the left hand side of the screen. Any ideas why this would be? I followed all of the instructions to install the MOD and the emails are coming through like I said...

Thanks ahead of time...

Cyricx
09 Jul 2009, 20:01
I suspect you missed uploading the includes/xml/cpnav_emailintegration.xml file in the zip.

tdmadeeasy
17 Jul 2009, 22:28
Hah! Found what the problem was. The firewall on my server was blocking outbound connections from port 993. See http://www.electrictoolbox.com/php-imap-download-email-gmail/

Opened up the firewall on port 993 and it worked with Gmail !!

has anybody been able to get this to work with a gmail email address? That is where a gmail account is the forum email account. I ve tried both the pop and imap options with no success.

I keep getting the error



Code:
---------------
Code is only visible to licensed users, and only when logged into the forums.
---------------



Guess I am making some obvious mistake somewhere, but not sure what

45wheelgun
08 Aug 2009, 21:09
Thanks for the cool hack. Works like a charm. I am running 3.8.3 and it installed without error.

My forum has a User Profile Field for a users "real name". The Field is called [field13].

It is a simple thing for me to add that in the outbound message just after [username] on the following lines?

______________________
CURRENT MESSAGE FROM: $mainpost[username]

$pagetext

$attachmentmessage

______________________
PREVIOUS MESSAGE FROM: $parentpost[username]

If so, what should I add to make it happen?

Thanks,
Dave

bvbuk
11 Aug 2009, 11:00
can i use this to forward emails from an email account into a section of the forum?

tommythejoat
11 Aug 2009, 15:44
For new emails, i.e. not replies to an email received from the package, the subject line is the thread title. Therefore you would need to either format all the emails to have a common subject line before forwarding them, or you would need to set up a forum to receive the email threads.

kawe
12 Aug 2009, 07:05
hai
why my forum getting slow loading then white blank page ?

SamirDarji
14 Aug 2009, 17:45
can i use this to forward emails from an email account into a section of the forum?In theory, yes. Although this is not the original author's intention. I plan to test this in a few months.

topianno
21 Aug 2009, 22:11
I suspect you missed uploading the includes/xml/cpnav_emailintegration.xml file in the zip.

No, the file has been uploaded to the /includes/xml folder. Is there another reason why the menu would not be showing up?

SamirDarji
22 Aug 2009, 00:00
I would try re-installing the plugin.

topianno
22 Aug 2009, 00:53
Hello,
Is there a way of auto subscribing old users to instantly receive email notifications where they were previously not setup to do so?

-Gabe

SamirDarji
24 Aug 2009, 20:01
If there is a way to modify a user's subscriptions via the admincp, then you could do that. Other than that it would require an SQL query.

rugby
04 Sep 2009, 13:58
i would like to know if this mod will also work for forwarding and replying pm's or is it only for new threads and replies?

SamirDarji
04 Sep 2009, 19:34
Just threads and replies. And only for specific forums that you set up.

ilanyon
12 Sep 2009, 08:40
FIXED ISSUE - REMOVED SOME OF THE BLOCKED SUBJECT TEXT - MUST HAVE HAD SOMETHING IN THERE THAT THE SYSTEM DIDN'T LIKE


Hi and thank-you for a great mod.

I have a problem though...

I have installed and gone through all of the instructions but the mail in not appearing in the forum.

I can post to the forum and the system e-mails out. I can send e-mails to the e-mail account (gmail) and the system runs the cron job okay and cleans out the inbox of gmail, but nothing is then posted to the forum...

I think that I have done everything as I should...and now I'm at a bit of a loss...

Any help/suggestions would be very much appreciated! :p

Cheers,

Ian

toivo
13 Sep 2009, 01:17
Hi,

Our Microsoft Exchange Server will be decommissioned and therefore I tested accessing the mailbox in a Qmail server, running Courier IMAP which does not seem to be the latest version. Emails sent from Gmail which worked in Exchange were suddenly deleted but not posted. This happens because the From: header is presented to the PHP application by this particular IMAP server in the format firstname lastname <mailbox@gmail.com>, instead of the usual format mailbox@example.com.

Here is a fix. Replace the lines 135 - 138 of emailintegration.php


Code:
---------------
Code is only visible to licensed users, and only when logged into the forums.
---------------


with the following:


Code:
---------------
Code is only visible to licensed users, and only when logged into the forums.
---------------

toivo
22 Sep 2009, 02:50
If your users send replies to your forum mailbox from Lotus Notes, you would have noticed that each HTML link embedded in the message generates an attachment ~~DLNKn.URL where n is a sequence number starting from 0. This patch discards those attachments.

Find the following from line 734:


Code:
---------------
Code is only visible to licensed users, and only when logged into the forums.
---------------


Add above it:


Code:
---------------
Code is only visible to licensed users, and only when logged into the forums.
---------------



Find the following from line 1322:


Code:
---------------
Code is only visible to licensed users, and only when logged into the forums.
---------------


Add above it:


Code:
---------------
Code is only visible to licensed users, and only when logged into the forums.
---------------

toivo
23 Sep 2009, 10:37
I have just posted a patch to Email Integration Modification to support moderated forums, at http://www.vbulletin.org/forum/showthread.php?t=151222&page=67

Toivo

joyfulmiller
23 Sep 2009, 14:09
Is there a way to modify this mod so that the instant notification and full text emails works, but the replying by email is NOT included? I'm interested in only the full text and instant notification features and would like to modify the email itself to remove the reply sections as well as change the name of the option in the subscription drop down menu to "Instant Notification with Full Text". Is this possible? If so, is there a way I can do make the changes myself?

SamirDarji
24 Sep 2009, 05:05
I have just posted a patch to Email Integration Modification to support moderated forums, at http://www.vbulletin.org/forum/showthread.php?t=151222&page=67

ToivoAwesome! Will this work for both 3.6.x and 3.7.x based forums? Also, thank you for all the fixes you've posted above.

toivo
24 Sep 2009, 05:39
Awesome! Will this work for both 3.6.x and 3.7.x based forums?

I presume so, based on Email Integration working in both. I have only tested it in 3.6.8.

Cheers.

BucWiLd
07 Oct 2009, 00:10
really wish this was available for 3.8>

angeljs
08 Oct 2009, 16:33
Hi, I wonder if someone could help me with this problem. I'm trying to run the setup script but keep getting an internal server error

Does the internal server error mean there is a chmod error somewhere?

Edit: Must have been a glitch on the server at it's working ok now.

angeljs
08 Oct 2009, 21:32
Is there a way to tweak the cron job settings so this works every 5 minutes? I've tried setting it for every minute, but it doesn't work. It works when I run the job manually, but nothing seems to happen when I just leave it, so was wondering if tweaking the cron jobs may help.

toivo
08 Oct 2009, 23:37
Is there a way to tweak the cron job settings so this works every 5 minutes?Have a look at the script in post #898 at http://www.vbulletin.org/forum/showthread.php?t=151222&page=60.
The script is scheduled to run on a different server. It accesses the home page of the forum and triggers the scheduled jobs to run even when the forum has a quiet period with only a few visitors.

rlopez
10 Nov 2009, 18:19
Where is the template for the email that this mod sends out stored? I would like to modify this template.
Thanks

lbernstein
10 Nov 2009, 18:31
Help!!!
I'm getting what seems like random occurance of duplicate posts to the forum as well as emails out. I can stop the problem if I close the forum, but it got so bad yesterday I had to disable the mod. Can anyone give me a pointer on what I can do?

I'm running vBulletin 3.8.2 and EI 2.6.1

Thanks

www.ambersight.com/forums

toivo
10 Nov 2009, 20:21
I am using 3.6.8 with this mod. The only problem I have experienced happens when someone has an auto-reply rule which does not exclude the forum email address and the out-of-office message starts bouncing back and forth and it gets propagated to everyone. I managed to fix that through code that compares the incoming message with the last post from the sender.

Do have a mail server which allows you to create a rule which copies each incoming message to a separate folder? Then you can check if the duplicated messages are triggered by the same message being received twice.

toivo
11 Nov 2009, 00:34
Where is the template for the email that this mod sends out stored? I would like to modify this template.
The email templates can be found in the phrase table through this query:


Code:
---------------
Code is only visible to licensed users, and only when logged into the forums.
---------------


The full list includes a few additional templates for error notifications etc:


Code:
---------------
Code is only visible to licensed users, and only when logged into the forums.
---------------

toivo
08 Dec 2009, 23:44
I'm getting what seems like random occurance of duplicate posts to the forum as well as emails out. I can stop the problem if I close the forum, but it got so bad yesterday I had to disable the mod. Can anyone give me a pointer on what I can do?
I'm running vBulletin 3.8.2 and EI 2.6.1www.ambersight.com/forums
I upgraded my test forum to 3.8.4 which went all right after editing class_mail.php, as instructed in step 4 of INSTALL.TXT.

When I sent two messages from the same email address and ran the Email Integration from the Scheduled Task Manager, an error message was displayed:Fatal error:
This forum requires that you wait 30 seconds between posts. Please try again in 30 seconds.
Unable to proceed with save while $errors array is not empty in class vB_DataManager_Thread_FirstPost in [path]includes\class_dm.php on line 810
#0 vb_error_handler(256, Both messages remained in the mailbox but the first message had been posted to the forum. The next time the cron job was run, the second message was posted and both messages were deleted from the mailbox. Please note that duplicate messages were not sent to the members, because my earlier fix to EI Mod discards duplicate posts: http://www.vbulletin.org/forum/showthread.php?t=151222&page=64
(http://www.vbulletin.org/forum/showthread.php?t=151222&page=64)
Had I not had that fix implemented, at least one of the messages would have been posted and broadcast twice.

lbernstein
09 Dec 2009, 19:54
Is it possible to turn off sending emails to an individual user from the Admin Control Panel?

toivo
09 Dec 2009, 20:41
Is it possible to turn off sending emails to an individual user from the Admin Control Panel?
Go to Forum Manager and look up the forum that your EI Mod is associated with to get the usergroup ID. Go to Usergroup Manager and find out the name of the usergroup. Then go to the User Manager, look up the user and de-select the usergroup. That will remove the user from among the recipients and senders of emails to the forum with EI Mod.

dvsDave
15 Dec 2009, 14:47
I have google running my mail for my domain. I can't get the EI to work in pop or IMAP.

server is pop.gmail.com
username is ____________@controlbooth.com
(I've tried all of the POP options)

Can I hardcode the server names into the script to avoid the confusion of gmail vs. controlbooth.com domains?

jdj
20 Jan 2010, 11:15
Will this work for vB4.0? Any reason why not, or if it will work...anything to watch out for?

Cyricx
20 Jan 2010, 15:48
It will not work for vb4.0, too many major code changes, attachment table and such.

I really need to find someone who knows a lot about parsing emails to help out with this mod. I fricken learned php writing this mod with no prior background...

I'm working on a paid modification right now (that doesn't deal with emails.. yay!), so until I finish it, I won't be back to work on EI.

But if anyone knows email parsing and wants to help out, give me a hollar! I will be bringing this up for 4.0 soon. Mainly because the sites I admin on that use this I want to bring them up to 4.0 asap heh :)

toivo
20 Jan 2010, 23:16
The little I know about email parsing I learnt from your mod, but otherwise I will be happy to help testing the new version, especially in Lotus Notes environment :D

Hopefully you will have a chance to look at my patch to support moderated forums, and eventually integrate something similar to the new version: http://www.vbulletin.org/forum/showthread.php?t=151222&page=67

Piggo
21 Jan 2010, 01:22
I'm also holding off on upgrading to 4.01, as I really need this EI to work.



Any person who is able and willing to help make that happen is a HERO in my book! :)

Cheers,

jdj
21 Jan 2010, 11:50
Hi there

I'm not a developer (still a newbie...deployed my first site last year). I tried this mod on 3.8.2 last year, couldn't get it to work (emails kept going round in a loop) and stopped trying when I discovered 4.0 was on the way. Presently I'm in the process of testing out 4.0 with a view to moving my 3.8.4 site to 4.0 soon. Always intended to try again with EMI as I think it's a great idea. Suspect you did a good job with it but couldn't tell.... :) Possibly my failure to get it to work was my ignorance.

Whilst I'm not a developer I can probably find someone who knows something about parsing emails if that's what the problem is. Question is though, just to break down' what's required, looking at it as a project, what do you think are the key things that would have to be changed to get it to work with 4.0? I know that there's been some criticism of 4.0 but having had a look at it over the last few days I can see it's a better product and despite my own limitations I seem to be able to work it. So that's where I think the future of EMI is.

If I can get some idea of what's required I might be able to go and get some help to fix it.

Cyricx
21 Jan 2010, 15:32
The key to the product in general, not in regards to 4.0 but the only spot that has problems I can find work arounds for is the email parsing.

Pulling the messages and attachments out of emails and making them clean... I end up fiddling around with code til something works, but with so many email browsers and formats out there and not knowing anything about email parsing.... it's total hit and miss.

Regardless, even at its current sluggish state, I'll have a 4.0 version made and will include the patches and fixes others have written like toivo into it in the near future.

Can't say how near as the event attendance and payment mod I'm working on needs to be updated to 4.0 first.

amphicar770
21 Jan 2010, 18:47
I'm also holding off on upgrading to 4.01, as I really need this EI to work.



Any person who is able and willing to help make that happen is a HERO in my book! :)

Cheers,


I am also holding of on upgrade too 4.x until this mod is available. My users would revolt without it!! It is a shame that the folks at VB are stuck in the past and can not see how times have changed as have the way people collaborate in social networks. I am glad to see Cyricyx will be making a 4.x version of this mod available, I was really worried that it had been abadoned.

In any event, I think the best way to help make this happen and be a hero is to contribute to Cyricx's efforts via donations. I can only begin to imagine how many hundreds of hours have been invested in this program. Although I have contributed more than once in the past, I will take the lead by making another donation today!

Thanks,

Mike
http://www.amphicar770.com

testbot
30 Jan 2010, 20:41
anyone know the status of this for vb4? i will be glad to donate if we get some kind of eta.

jdj
01 Feb 2010, 18:44
I remain interested in EMI, but I also deployed vB4.0 last week and I'm just getting to grips with it. The threads seem to have RSS feed buttons on them which you can just click on. I haven't had a chance to play with these yet but presumably you can just set them up to feed what's circulating on a particular forum to your inbox. Anyone know whether you could design a mod or take part of EMI to reply to a forum in response to something being delivered from a RSS feed rather than starting again from scratch?

JJ

Cyricx
01 Feb 2010, 19:00
I've got a private mod (not related to EMI) that I've got to finish first, but I'll post as soon as I start upgrading this to vb4.0 which will be soon because I want to get my forums up to 4.0 too :)

jdj - The issues that I battle through are all related to processing replies from emails as they come in. So the RSS function as they go out wouldn't help with the problem spots at all.

testbot
09 Feb 2010, 19:15
I've got a private mod (not related to EMI) that I've got to finish first, but I'll post as soon as I start upgrading this to vb4.0 which will be soon because I want to get my forums up to 4.0 too :)

jdj - The issues that I battle through are all related to processing replies from emails as they come in. So the RSS function as they go out wouldn't help with the problem spots at all.
how's this going? :D

toivo
11 Feb 2010, 22:24
Here is a quick-fix of patches to EI Mod to support moderated forums, cloned from the existing code in EI Mod. The patch modifies emailintegration.php and two of its plugins, adds two custom hooks to moderate.php and installs a product with four plugins.

In limited testing under 3.8.4 this patch allowed moderation from the Admin Control Panel, Moderator Control Panel and from inline moderation.

The only differences to the earlier version tested in 3.6.8, available from http://www.vbulletin.org/forum/showthread.php?t=151222&page=67, are the two INSERT statements in the installation instructions in the file Install.384.txt.

Toivo

jdj
15 Feb 2010, 12:40
This may be a bit convoluted, but if this mod works with 3.8.4 is there a way to set up a "dummy" or "server" installation of 3.8.4 to run EMI and "share" the posts with an installation of 4.0? I mean, is it possible to get the two installations to connect to the same MySQL database?

JJ

kevinh
16 Feb 2010, 23:11
I'm trying to get some outbound mail delay issues resolved and the guys who look after my server need to know whether EI sends mail using smtp authentication or just using the mail() php function?

I'm not a developer so I don't really know. Can someone please advise :)

testbot
16 Feb 2010, 23:27
i haven't looked at the code and i'm not the developer for this mod but i would guess that it uses vbmail which is a vbulletin mail function.

toivo
17 Feb 2010, 00:07
If vBulletin Options - Email Options - SMTP Email has this explanation: Set this option to yes to use an SMTP server rather than the internal PHP mail() function.EI Mod uses the standard vbmail() function which selects one of the following, depending on the configuration in SMTP Email:

vB_SmtpMail = SMTP wrapper
vb_Mail = PHP Mail() function

These classes can be found in includes/class_mail.php.

kevinh
17 Feb 2010, 00:42
Many thanks guys, that's exactly what I needed to know :)

I had forgotten about that batch sending feature. When mail is set to be sent in batches, does anyone know what the delay is between batches?

toivo
17 Feb 2010, 20:49
The processing of the mail queue is triggered by each rendered page. The function exec_mail_queue() is called from exec_shut_down() close to the bottom of includes/functions.php.

Marv
26 Feb 2010, 11:02
Any updates on a 4.x release ? Hell, this one is a must have :)

hollosch
26 Feb 2010, 11:40
Tagged and waiting for a solution of this mod for vB4...

twohawks
27 Feb 2010, 21:01
Does this mod work with 4.0?

Thanks!

toivo
27 Feb 2010, 22:23
Here is a quick-fix of patches to EI Mod to support moderated forums, cloned from the existing code in EI Mod. The patch modifies emailintegration.php and two of its plugins, adds two custom hooks to moderate.php and installs a product with four plugins.

In limited testing under 3.8.4 this patch allowed moderation from the Admin Control Panel, Moderator Control Panel and from inline moderation.

The only differences to the earlier version tested in 3.6.8, available from http://www.vbulletin.org/forum/showthread.php?t=151222&page=67, are the two INSERT statements in the installation instructions in the file Install.384.txt.Please note that the patch at http://www.vbulletin.org/forum/showthread.php?p=1980256 post #234 incorrectly adds the signature of the original author of the thread to moderated replies sent by email, instead of the signature of the poster of the reply.

As a workaround, you can remove the signature from the email template for replies. The users seem to have a signature in their emails in any case. I am using the old format - by popular demand.

Serenit_y
17 Mar 2010, 11:59
Sad to say but seems this hack should find its way to the graveyard.:(

After spending 100s of hours on it,
The man has life issues to deal with, in attempting to focus on he's life, all of a sudden, you wish to condemn the Time and effort spent on it, and countless Forum Administrators the mod has helped, and the sheer goodwill of the author of the Mod in giving the mod for free.

Shame.

Serenit_y
17 Mar 2010, 12:52
Good afternoon,

I've been having problems with the Mail Integration plug-in,

Problem
--------
- I create a forum, and apply the Email integration settings,
- Add a couple of users to automatically receive email notifications
- Create a new thread in the forum
- The notification of the new thread arrives to User A, and User B's email account immediately
- I reply the email from user A and user B's email accounts.
- I log into vbulletin, but the messages don't arrive, after about 10minutes, I run the "Email Integration" cron from the shcedule task Manager
- Nothing happens,
- Couple of hours later, I log back into the forum, and the messages arrive, after about 3/4 hours,
- Sometimes they arrive the next day.

- Also often after the messages arrive, they keep duplicating themselfs on the thread, like a loop, till I
delete the thread.

Please help, I'm on a deadline to solve this.

Much thanks in Advance,

Serenit_y
23 Mar 2010, 10:16
On further testing the problem is,
The Cron gets the topic/message from the email, but dosen't seem to delete it, so when it runs again, it copies that same email, and now I have many duplicated replies on my vbulletin server.
I've set the cron to run every 5 minutes,
If your available, i'd appreciate a hand : ]

toivo
23 Mar 2010, 12:51
If you use the old message format, here is my patch in the 3.6 forum that gets rid of duplicated messages:http://www.vbulletin.org/forum/showpost.php?p=1785423&postcount=953

By 'cron' do you mean the Scheduled Tasks in vBulletin? The Scheduled Tasks run only when the forum has some activity. You can run a PHP command line (CLI) script and schedule it to run every 5 minutes by using the real cron (crontab), or Windows Scheduler, depending on your operating system. The script is in this post: http://www.vbulletin.org/forum/showpost.php?p=1581411&postcount=898 (http://www.vbulletin.org/forum/showpost.php?p=1581411&postcount=898)

If messages do not get deleted, have a look at this post: http://www.vbulletin.org/forum/showpost.php?p=1579651&postcount=886

All these patches are used on vB 3.8.4 with two mailboxes.

Serenit_y
23 Mar 2010, 18:43
Message for Toivo, deleted whole message to save space :p



Thanks for the reply, I just wanted to make sure we're on the same page
1. I've carried out the first task, Adding the patch to stop duplicated messages
2. Yes by Cron, I meant the Email Integration cron that retrieves the mail from the user accounts.
Following the link, I did the following
-- Created php file forum_read.php, under the vbulletin directory, and copied the code to this file.
I replaced the forum url variable, with the vbulletin URL, but where do you find the url requested below;
"// cron url from <img src=
$cron_url = 'http://example.com/testvb/cron.php?' "

3. I created a run_cron.php file, under vbulletin/include/cron directory, containing the script
#!/bin/bash
# load forum home page and read cron.php
php /root/forum_read/forum_read.php
exit 0'
- I added a new cron under AdminCP -> scheduled tasks pointing to this run_cron.php file.

- I'm I missing something so far?
- When I run this run_cron.php file from the scheduled task menu, will it run the forum_read.php file, or the EI file, this was a bit confusing.
- Also does the EI mod, only run when someone actually opens the forum,


Thanks a lot in advance,

toivo
23 Mar 2010, 20:28
where do you find the url requested below;
"// cron url from <img src=
$cron_url = 'http://example.com/testvb/cron.php?' "
example.com is the URL of your site, testvb is the name of the folder where your forum is.

- I added a new cron under AdminCP -> scheduled tasks pointing to this run_cron.php file.The script cannot be run under vBulletin Scheduled Tasks. The purpose of the forum_read.php file is to read the home page of the forum once every 5 minutes so that the Scheduled Tasks are triggered to run even during low forum activity. The Scheduled Tasks in vBulletin are run only if the forum is accessed, and getting a cron (the cron in the operating system) job to run forum_read.php once every 5 minutes to access the forum guarantees that the Scheduled Tasks are run regularly, independent of the forum activity.

You may have to tweak the forum_read.php script to run it on the same server, I run it from a different server.

- Also does the EI mod, only run when someone actually opens the forumThat is true. The script forum_read.php makes sure that the forum is accessed every 5 minutes, independent of the actual user activity.