PDA

View Full Version : Major Additions - Email Integration (New threads/replies by email)


Pages : 1 2 3 [4] 5

Magnum164
02-29-2008, 12:01 AM
ok. Not sure what I actually did, but I got it to working.

geniusjones
02-29-2008, 06:27 AM
Wow Cyricx, let me just say thanks for the awesome mod. This might or might not be the lynchpin of me convincing our group to switch from our old mailing lists to a real 2008 piece of software for our intranet.

I have this working a little, but I have two very very large issues that are preventing me from testing this any more.

First, is there any way I can have the software care about the 'TO' field instead of the 'FROM' field? OR what about specifying the filter criteria for matching myself? For various reasons, I am working from a pre-existing email list that cannot be reconfigured, so I'm stuck with my list email being in the 'to' field. It only takes emails if it finds a user with an email address corresponding to the email in the 'From' of the list email.

Secondly, my list is live, so the rejection emails when I have things wrong are driving my users crazy. Is there any way for me to have it send error emails somewhere BESIDES back to the sender in the email? This is a show-stopper for me -- it's erroring out, but I can't test it because I only have problems with your mod and my actual list list, not with my control emails, and testing the list spams it and there are 100 people reading this in my business.

What do you think? Any thoughts are welcome!
GJ

Cyricx
02-29-2008, 11:43 AM
First, is there any way I can have the software care about the 'TO' field instead of the 'FROM' field? OR what about specifying the filter criteria for matching myself? For various reasons, I am working from a pre-existing email list that cannot be reconfigured, so I'm stuck with my list email being in the 'to' field. It only takes emails if it finds a user with an email address corresponding to the email in the 'From' of the list email.

I'm really not understanding what your meaning here... let's talk via PM and try to determine what your needing :)

You can define the email to come from the same person, same email address for all emails (just the reply_to changes for each forum), you can set that up in the settings.


Secondly, my list is live, so the rejection emails when I have things wrong are driving my users crazy. Is there any way for me to have it send error emails somewhere BESIDES back to the sender in the email? This is a show-stopper for me -- it's erroring out, but I can't test it because I only have problems with your mod and my actual list list, not with my control emails, and testing the list spams it and there are 100 people reading this in my business.

What do you think? Any thoughts are welcome!
GJ
It's really a bad idea to test anything in a global environment. Create a new forum, with a new email box and only let your admins and moderators interact with it. Then you can test it without having your user's experience any problems.

Cyricx
02-29-2008, 11:55 AM
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...

tekguru
02-29-2008, 01:10 PM
Got it Chris, interestingly enough I did not get an update notification through.

Cyricx
02-29-2008, 01:21 PM
Yeah.. I didn't send one. Didn't want to keep bombing everyone, especially until I had good confirmation that it was a fix.

Fixing it on my test site doesn't always = fixing it live. That's where I look for bug reports :)

geniusjones
02-29-2008, 10:08 PM
I'm really not understanding what your meaning here... let's talk via PM and try to determine what your needing :)

1) You can define the email to come from the same person, same email address for all emails (just the reply_to changes for each forum), you can set that up in the settings.


2) It's really a bad idea to test anything in a global environment. Create a new forum, with a new email box and only let your admins and moderators interact with it. Then you can test it without having your user's experience any problems.

1-Hmmmmmmmmmm this gave me an idea. Ok I'll put that in my test. I have to redeploy the whole install before I try again so it'll take me another day or two because of regular time constraints.

2-I agree fully. I did have it set up the way you describe and it was working to my satisfaction. It was when I went to do a small test on the live list address when I ran into some of my limits. It just so happens that one rejected email caused 100 people to phone me haha.

I PMed you my IM info, and I'll speak to you as we have time. Thanks Cyricx for your brain time.

Best regards,
GJ

pnd
03-01-2008, 04:46 AM
Hi Cyricx. Thanks for this great mod. I currently encounter some grumpy old ladies who also refuse to use the message board and only want to keep their conversation via email :rolleyes:

I have 2 questions and hopefully you can help me out.

1) i believe i got everything installed properly. when someone creates a post or thread, a forum subscribed user receives an email in his inbox, and when he replies, it sends a notification other subscribers but doesn't direct to the forum for some strange reason. is there a setting in my server that may prevent this from happening?

2) when a subscribed user creates a thread/post in the forum, it sends a notification email to himself. is there anyway to prevent this? instead only send an email when someone else posts in that subscribed forum other than himself?

Thanks in advance!

tekguru
03-01-2008, 06:44 PM
Loaded it finally this afternoon Chris. Forum has been quiet today but no dupes at all yet!

Ron Wilhelm
03-03-2008, 02:28 AM
Thanks for a great plugin. This really elevates vBulletin's usability. I had one problem though - new threads didn't show the posters name in the initial email on "CURRENT MESSAGE FROM:" line for new style emails. I played around with this and fixed it by changing

$poster = $bbuserinfo['username'];

to


$poster = $vbulletin->userinfo[username];

in the newthread_post_complete plugin.

EDIT: I know my profile shows 3.6.7, but this was also on my 3.6.8 PL2 dev board.

Piggo
03-03-2008, 11:34 AM
I've uploaded a 2.6.1 beta version which in my testing has resolved the multiple posted replies error.

I'll wait to upload that until you get the "rename email subject" done!
<hint> <ahem> <cough>

:D:D

Cyricx
03-03-2008, 03:56 PM
Heheh.

It sounds like I still got a bug with posting from the forums too. Working with another poster on that one. :)

amphicar770
03-07-2008, 12:35 AM
I've been running this mod for a while now with no problems until this week.

I have had two instances where a message gets posted over and over and over again, everytime the cron job runs. I went to the mailbox and deleted the message which stopped it. It seems that they were not deleted after they were sent so cron kept sending. Have only seen this with two posts but each time the message went out lots of times before I caught it.

Cyricx
03-07-2008, 11:51 AM
The new beta version fixes that problem.

neil00027
03-12-2008, 04:44 AM
Thanks Cyricx for your work on this modification - it is a great addition for vBulletin. I hope that it is built in as standard before long!

I've installed it on one of my sites and am getting the following error: Fatal error: Call to a member function set_parsing_language() on a non-object in /home/forum/www/www/includes/cron/emailintegration.php on line 1093

Emails are normally (but not always) staying in the forum email inbox rather than being collected and added to the forum. I've read the thread above and think I've done everything suggested. What do you suggest that I do to solve this issue?

On another matter the Subject header is reading as follows: [Forum One-t-8]. I'm presuming the t-8 is the name of the thread. Is it possible to drop this item from the subject header?

As a point of clarification - how does this modification fit in with the moderation functions of vBulletin?

A couple of things for the wish list for the modification.

1. On the old style of email (which I much prefer!) - it doesn't say in the body of the email who the author. Would it be possible to add this? For many of my email users this will be an essential requirement.

2. I would like to add my own personal message to the footer - It would be great if this can be done simply by entering ones desired text into a text box designed for the purpose. There may also be times when I want to add a message also to the top of the message. Is there a way I can do both of these at the moment?

Once again thanks Cyricx for such an important addition to vBulletin!

filipo
03-12-2008, 11:12 PM
Cyricx - Excellent and very useful mod!

I've been using phpBB2 with the m2f mod (mail to forum) but I'm considering the switch to vBulletin.

Couple of questions:

1. Is it possible to include attachments with outbound e-mails and not just the links?

2. When I send an attachment to the forum by e-mail, no thumbnail is generated - only the link is shown. Did I miss a setting somewhere that would have attachments show up the same as if they were added online in the forum?

TRR
03-14-2008, 01:41 AM
The new beta version fixes that problem.

I uploaded the beta... still have the issue ...

Cyricx
03-14-2008, 06:30 PM
I uploaded the beta... still have the issue ...
Noted. Will continue working on it :)


Cyricx - Excellent and very useful mod!

I've been using phpBB2 with the m2f mod (mail to forum) but I'm considering the switch to vBulletin.

Couple of questions:

1. Is it possible to include attachments with outbound e-mails and not just the links?

Possible. Yes, but not something I plan to code in, if someone wants to write that, rock on :) It's really not feasible for any of my uses. My intent is to get the readers to visit the forum and ween them off the mailing list :)


2. When I send an attachment to the forum by e-mail, no thumbnail is generated - only the link is shown. Did I miss a setting somewhere that would have attachments show up the same as if they were added online in the forum?
Right now the attachments don't interact with the thumbnail generator. Something I plan to add very soon... well... after I get the last few bugs that keep cropping up ironed out! :)

I've installed it on one of my sites and am getting the following error: Fatal error: Call to a member function set_parsing_language() on a non-object in /home/forum/www/www/includes/cron/emailintegration.php on line 1093

Can you please verify that you are using the latest version. Including readding the product xml and selecting overwrite as well as overwriting the /includes/cron/emailintegration.php file? I'm fairly certain this is a previously resolved bug.


Emails are normally (but not always) staying in the forum email inbox rather than being collected and added to the forum. I've read the thread above and think I've done everything suggested. What do you suggest that I do to solve this issue?

I believe I just discovered today, the criteria that is causing it. I believe it has to do with the message being a multipart:mixed and the decode file doesn't seem to be getting the body information and boundaries right. I'm digging through this now. The decode file was a open source file so I'm literally decodeing... the decode file to figure out where it is screwin up :)


On another matter the Subject header is reading as follows: [Forum One-t-8]. I'm presuming the t-8 is the name of the thread. Is it possible to drop this item from the subject header?

I tried to get rid of this in a previous version however, it has to be there. :( Alot of the newer email virus scanners are rebuilding the message header. Which is clearing ou the message id field that I use to determine parentids and such. So the t-# needs to be there otherwise the users with certain virus email scanners emails will always show up as new threads.


As a point of clarification - how does this modification fit in with the moderation functions of vBulletin?

I haven't tested this in depth yet.



A couple of things for the wish list for the modification.

1. On the old style of email (which I much prefer!) - it doesn't say in the body of the email who the author. Would it be possible to add this? For many of my email users this will be an essential requirement.

2. I would like to add my own personal message to the footer - It would be great if this can be done simply by entering ones desired text into a text box designed for the purpose. There may also be times when I want to add a message also to the top of the message. Is there a way I can do both of these at the moment?

Once again thanks Cyricx for such an important addition to vBulletin!
1. I had it adding in the signature of the user :)

I could add the username in there. I'll make a note and see about that in the next version.

2. Right now it's built in a very messy and slow manner. My thoughts are to take this to a global setting that people can go in and edit the links for etc. It's planned for the future, though it's a low priority compared to the few remaining rare bugs :)


Haven't dropped off the earth gang :)

I recently took over position of President for the not-for-profit org I do alot of work for, so I've been running around picking up pieces and writing custom modifications.

Bear with me... :)


O crap, forgot to mention.. anyone else having reports of AOL users unable to display the messages?

I'm fairly certain it has to do with the message encoding and have been working on that as well.

Thank you all for your support, bug reports and suggestions! :D :D

neil00027
03-18-2008, 03:34 AM
Hey just thinking about about this modification - many of my members on some of my forums/email lists really like to get a digest of the forum/list messages. If such an option could be included in this moderation it would be great!

Thanks in advance!

Cyricx
03-18-2008, 07:30 PM
You can already do that with default vbulletin :)

Though you can't reply to them straight from email, which wouldn't be possible by digest either as how would we know which one you were replying too :)

neil00027
03-19-2008, 01:35 AM
You can already do that with default vbulletin :)

Though you can't reply to them straight from email, which wouldn't be possible by digest either as how would we know which one you were replying too :)

LOL I thought that a few hours after posting my message!!! :o Must admit though that it is a function I'd like to see further development on. With the Web xing software that I'm using less and less you can schedule the digest to be dispatched at a particular hour on a particular day a week.

Cyricx
03-19-2008, 11:36 AM
:)

You can do that in vbulletin too :)

Just go into the Scheduled Task Manager and you'll see the cron jobs located there with the times they are set to run.

Although, depending on board traffic will decide the exact moment they run.

Something I wish they would change in vbulletin is how the scheduled tasks are called. But that's my opinion.

kube
03-19-2008, 11:44 PM
I tried an Update from 2.2 to 2.6...

In 2.2 it worked fine...with some little old problems.

But after that update (I think I made it after reading carefully the instructions)
I had big problems....all options I can make in my adminCP have no effects, when I change them.

example: all mails are outgoing by one adress for all (I set it to "one adress for each forum)

smilies are not shown right anymore.....


so, do anyone have an idea, what my mistake was ???

I wanted to start with that as an easter-present for my users.....but now :confused:

Cyricx
03-20-2008, 01:34 PM
Did you reupload all the files?

kube
03-20-2008, 01:49 PM
yes, reuploaded all the files.

but there was still the "ei_folder"(INBOX) in my adminCP...which should not be there, right ?

in the mysql database "ei_folder" was missing, so that I can`t store the changes. I made it quick&dirty and added the"ei_folder" as a new table, so that I can store my forum-changes, but nothing happened....

Cyricx
03-20-2008, 02:44 PM
That should be there. You added an ei_folder field to the forum table of your database right? You didn't create a whole new table right?

Edit one of the forums and put in INBOX for that field, then save and edit it again to verify it took the change.

kube
03-20-2008, 03:18 PM
That should be there. You added an ei_folder field to the forum table of your database right? You didn't create a whole new table right?

Edit one of the forums and put in INBOX for that field, then save and edit it again to verify it took the change.

That`s exactly what I did !

In 2.2 the "ei_folder" was there, and in 2.6 not, right ?

The "ei_folder" is not the big problem....in 2.2 it`s at all working....but not so fine, like the 2.6 sounds to do.

But the upgrade to 2.6 do not send mails by the special forum-adress and the smilies are not shown...sending mails ans answering by mail is working !


So I think there are only some little mistakes...not the whole one !


Thanks for your time.

Cyricx
03-20-2008, 03:31 PM
It sounds like your settings are not what you want in the vbulletin options.

First off, you are receiving plain text emails. This is not a bug, this is a feature :)

Go into Vbulletin Options -> Email Integration Settings

There you can select for everyone to either be able to select to receive emails by plain text and html, or you can turn that off and force everyone to receive plaintext or html.

Right now, you have it so that users can select which has the default of sending plain text emails unless they go into their edit options page and select to receive html emails.

As far as the other goes, make sure you do not have it set to send emails from a single user and that the username and from address is blank in the Vbulletin Options -> Email Integration Settings

kube
03-20-2008, 10:28 PM
see the pics....but all mails are send by the mail adress from my forum

kube
03-21-2008, 12:10 AM
I think I got the problem....don`t know how....but I did.... :)

amphicar770
03-21-2008, 03:12 PM
Hi Cyricx,

I have been running this mod since you released it and not only consider it the best VB enhancement of all time, but the support you provide has been incredible.

I earlier sent a donation to support your effort and have just sent a 2nd contribution. I certainly hope that every one who has benefited recognizes how much time you have invested and supports your great work however they can.

Thanks again.

Mike I.
http://www.amphicar770.com

ThePiston
03-23-2008, 05:53 PM
has anyone successfully integrated and VB mailman with this mod? I'm not that familiar with mailman, but I think it could replace it or be a bridge...

ThePiston
03-23-2008, 06:04 PM
actually - a better way to put this:

my friend has a mailman listserv right now - about 10,000 emails and he wants to convert this into a forum. People LOVE the list and do not want it altered. Can we use this mod with VB to replace the mail list and also have the forum?

laurens800
03-23-2008, 09:46 PM
good job i like it only it sucks it got no button

Cyricx
03-24-2008, 03:00 PM
Hi Cyricx,

I have been running this mod since you released it and not only consider it the best VB enhancement of all time, but the support you provide has been incredible.

I earlier sent a donation to support your effort and have just sent a 2nd contribution. I certainly hope that every one who has benefited recognizes how much time you have invested and supports your great work however they can.

Thanks again.

Mike I.
http://www.amphicar770.com

Thank you!!!!


actually - a better way to put this:

my friend has a mailman listserv right now - about 10,000 emails and he wants to convert this into a forum. People LOVE the list and do not want it altered. Can we use this mod with VB to replace the mail list and also have the forum?
That's actually the plan and intent with this. Is to replace those with a different email address that they email too :)

Started out with wanting to replace yahoo groups with vbulletin :)




Just a quick update to all:
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.

toddchris
03-25-2008, 12:58 AM
Hi Everyone,

I've really tried to read through most everything here, but I still can seem to get the retrieve function to work from my server. I'm getting the familiar error of:

Email Integration


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

Failed to connect to the mailbox for forum - ACCD

Done



One problem seems to be that when I set up a new email account on my Centos, it makes the login the entire email address, not just the portion before the @. I read somewhere on here that some tried replacing the @ symbol with the + symbol, but I still the pages of error stuff like this:

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
#0 vb_error_handler(256,
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, /home/mynlada/public_html/forum/includes/class_dm.php, 810, Array ([this] => vB_DataManager_Post Object ([validfields] => Array ([postid] => Array ([0] => 3,[1] => 3,[2] => return ($data > 0);),[threadid] => Array ([0] => 3,[1] => 1),[parentid] => Array ([0] => 3,[1] => 2),[username] => Array ([0] => 7,[1] => 0,[2] => _-_mEtHoD_-_),[userid] => Array ([0] => 3,[1] => 0,[2] => _-_mEtHoD_-_),[title] => Array ([0] => 7,[1] => 0,[2] => _-_mEtHoD_-_),[dateline] => Array ([0] => 3,[1] => 2),[pagetext] => Array ([0] => 7,[1] => 1,[2] => _-_mEtHoD_-_),[allowsmilie] => Array ([0] => 3,[1] => 1),[showsignature] => Array ([0] => 1,[1] => 0),[ipaddress] => Array ([0] => 7,[1] => 2),[iconid] => Array ([0] => 3,[1] => 0,[2] => _-_mEtHoD_-_),[visible] => Array ([0] => 3,[1] => 0),[attach] => Array ([0] => 3,[1] => 0),[infraction] => Array ([0] => 3,[1] => 0),[reportthreadid] => Array ([0] => 3,[1] => 0)),[bitfields] => Array (),[table] => post,[condition_construct] => Array ([0] => postid = %1$d,[1] => postid),[post] => Array ([threadid] => 1,[parentid] => 2,[username] => toddchris,[userid] => 2,[title] => Test Reply,[pagetext] => This is reply to a reply. lol,[visible] => 1,[allowsmilie] => 1,[showsignature] => 1,[dateline] => 1206410172,[ipaddress] => 96.231.209.34),[floodcheck] => vB_FloodCheck Object ([registry] => vB_Registry Object ([datastore] => vB_Datastore Object ([defaultitems] => Array ([0] => options,[1] => bitfields,[2] => attachmentcache,[3] => forumcache,[4] => usergroupcache,[5] => stylecache,[6] => languagecache,[7] => products,[8] => pluginlist,[9] => cron,[10] => profilefield,[11] => loadcache,[12] => noticecache),[itemarray] => Array (),[registry] => vB_Registry Object ( *RECURSION*,[dbobject] => vB_Database Object ([functions] => Array ([connect] => mysql_connect,[pconnect] => mysql_pconnect,[select_db] => mysql_select_db,[query] => mysql_query,[query_unbuffered] => mysql_unbuffered_query,[fetch_row] => mysql_fetch_row,[fetch_array] => mysql_fetch_array,[fetch_field] => mysql_fetch_field,[free_result] => mysql_free_result,[data_seek] => mysql_data_seek,[error] => mysql_error,[errno] => mysql_errno,[affected_rows] => mysql_affected_rows,[num_rows] => mysql_num_rows,[num_fields] => mysql_num_fields,[field_name] => mysql_field_name,[insert_id] => mysql_insert_id,[escape_string] => mysql_real_escape_string,[real_escape_string] => mysql_real_escape_string,[close] => mysql_close,[client_encoding] => mysql_client_encoding),[registry] => vB_Registry Object ( *RECURSION*,[fetchtypes] => Array ([2] => 2,[1] => 1,[0] => 3),[appname] => vBulletin,[appshortname] => vBulletin,[database] => mynlada_forum,[connection_master] => Resource id #7,[connection_slave] => Resource id #7,[connection_recent] => Resource id #7,[multiserver] => ,[shutdownqueries] => Array ([lastvisit] => UPDATE user SET lastactivity = 1206410172 WHERE userid = 1 ,[0] => INSERT INTO adminlog(userid, dateline, script, action, extrainfo, ipaddress) VALUES (1, 1206410172, 'cronadmin.php', 'runcron', 'cron id = 19', '96.231.209.34') ),[sql] => ,[reporterror] => 1,[error] => ,[errno] => ,[maxpacket] => 0,[locked] => ,[querycount] => 46,[rows] => 0),[prefix] => ),[input] => vB_Input_Cleaner Object ([shortvars] => Array ([f] => forumid,[t] => threadid,[p] => postid,[u] => userid,[a] => announcementid,[c] => calendarid,[e] => eventid,[q] => query,[pp] => perpage,[page] => pagenumber,[sort] => sortfield,[order] => sortorder),[superglobal_lookup] => Array ([g] => _GET,[p] => _POST,[r] => _REQUEST,[c] => _COOKIE,[s] => _SERVER,[e] => _ENV,[f] => _FILES),[scriptpath] => ,[reloadurl] => ,[wolpath] => ,[url] => ,[ipaddress] => ,[alt_ip] => ,[registry] => vB_Registry Object ( *RECURSION*),[db] => vB_Database Object ([functions] => Array ([connect] => mysql_connect,[pconnect] => mysql_pconnect,[select_db] => mysql_select_db,[query] => mysql_query,[query_unbuffered] => mysql_unbuffered_query,[fetch_row] => mysql_fetch_row,[fetch_array] => mysql_fetch_array,[fetch_field] => mysql_fetch_field,[free_result] => mysql_free_result,[data_seek] => mysql_data_seek,[error] => mysql_error,[errno] => mysql_errno,[affected_rows] => mysql_affected_rows,[num_rows] => mysql_num_rows,[num_fields] => mysql_num_fields,[field_name] => mysql_field_name,[insert_id] => mysql_insert_id,[escape_string] => mysql_real_escape_string,[real_escape_string] => mysql_real_escape_string,[close] => mysql_close,[client_encoding] => mysql_client_encoding),[registry] => vB_Registry Object ( *RECURSION*,[fetchtypes] => Array ([2] => 2,[1] => 1,[0] => 3),[appname] => vBulletin,[appshortname] => vBulletin,[database] => mynlada_forum,[connection_master] => Resource id #7,[connection_slave] => Resource id #7,[connection_recent] => Resource id #7,[multiserver] => ,[shutdownqueries] => Array ([lastvisit] => UPDATE user SET lastactivity = 1206410172 WHERE userid = 1 ,[0] => INSERT INTO adminlog(userid, dateline, script, action, extrainfo, ipaddress) VALUES (1, 1206410172, 'cronadmin.php', 'runcron', 'cron id = 19', '96.231.209.34') ),[sql] => ,[reporterror] => 1,[error] => ,[errno] => ,[maxpacket] => 0,[locked] => ,[querycount] => 46,[rows] => 0),[userinfo]

I don't really know what to do next. Sorry if this seems like a stupid question, but I don't know what else to do.

Any help would be appreciated.

Thanks,
Todd

Cyricx
03-25-2008, 02:32 AM
Have you tried using the Admincp -> Email Integration -> Forum Settings Help to help determine your mailbox settings?

Your issue is that your hostname, username or password is not correct for the settings you have entered for forum ACCD

You can use the @ symbol just fine, however try without that as well.

If it's on the same box as the server you can try the hostname of localhost.

Also, do you have IMAP installed? or just php enabled? If you have IMAP installed, you'll need to use the IMAP settings instead of the pop3 you have selected.

Worst case, if you can't get the forum settings help script to work, gimme a hollar and I'll help determine what your settings should be as I have time :)

toddchris
03-25-2008, 03:57 PM
Chris,

Thanks so much for the quick response. I would really like to get this working. It's would really help our non-profit fill a need that they currently have.

Just let me know what you need acccess to. We be so appreciative of the help and could potentially contribute something as well.

Thanks,
Todd


Have you tried using the Admincp -> Email Integration -> Forum Settings Help to help determine your mailbox settings?Yes, I've tried but it doesn't come back with any helpful information

Your issue is that your hostname, username or password is not correct for the settings you have entered for forum ACCD

You can use the @ symbol just fine, however try without that as well.I've tried all the combinations that I can think of here.

If it's on the same box as the server you can try the hostname of localhost.It is on the same box, so have been using localhost

Also, do you have IMAP installed? or just php enabled? If you have IMAP installed, you'll need to use the IMAP settings instead of the pop3 you have selected.Originally IMAP was not installed, but I installed that option using WHM. If you check in my PHP settings it does show up.

Worst case, if you can't get the forum settings help script to work, gimme a hollar and I'll help determine what your settings should be as I have time :)
That would be great, and as we are on VB 3.7 would could help you test some.

ThePiston
03-25-2008, 04:23 PM
sorry if this was asked, but where can i change it to check mail server more frequently?

Also, is there any way to allow a user to reply to person's email who sent the post instead of giong through the forum? Maybe a link inside the email that says "reply ONLY to this user via email (#)". This will be a biggie since this is a big reason people use listservs... they can "reply" or "reply to all' - this mod seems to take away the ability to reply to just the one poster via email.

ttseppal
03-25-2008, 08:29 PM
Hi, Cyricx! Thanks for the great mod!

My intention is to use it to replace/enhance a handful of mailing lists that have around 1000 users.

I have version 2.6.1 BETA installed with vBulletin 3.6.8 pl 2. I am getting the same errors that some have reported earlier:

Fatal error: Call to a member function set_parsing_language() on a non-object in /var/www/localhost/htdocs/forum/includes/cron/emailintegration.php on line 1093

Specifically, this happens when there are two replies to the same thread sitting in the mailbox. The replies are both added to vBulletin thread, but the emails are never removed from the mailbox and they are processed again and again every time cron is run.

Hope you have time to look into this.

kube
03-28-2008, 10:53 AM
Is it possible to set "close thread after first posting" for a special forum ?

I have a forum, where users only allow discussions, if they whish...all "normal" threads are closed directly. (checkbox for closing is activated there).

If you start a new thread by mail I think it will not, right ?!

Is it possible to set a kind of if-condition to do that ?

dosadno
03-28-2008, 01:35 PM
is it possilbe to install it on vbulletin 3.6.4

dartho
04-01-2008, 12:35 PM
I'm having troubles with this with attachments, wav files in particular.

Here's the scenario - a mailer program on another server sends a wav file to me, I receive in Outlook forward to the email address which gets checked by the add-on and the add-on creates a new thread, post with wav file attached. All Good, all works!

However - If I configure the mailer program to send the wav file directly to the email address which gets checked by the addon, the wav attachment looks to remain encoded (encoding snippet:

UklGRoAnAABXQVZFZm10IBQAAAARAAEAQB8AANcPAAAAAQQAAg D5AWZhY3QEAAAAhE0AAGRhdGFM
JwAAUAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA AAAAAAAAAAAAAAAAAAAAAAAAAA


I can open the wav perfectly in outlook. I can open the wav perfectly via web based email account when waiting to be checked by this addon. I've tried multiple providers - including Gmail - all with the same result. The only time it works for wav files is if the email comes from Outlook.

Any ideas?

Thanks!

ThePiston
04-01-2008, 12:45 PM
is this mod still supported? i haven't seen Cyricx in a while

dartho
04-01-2008, 01:00 PM
I'm hoping so! He posted a week ago in the 3.7 version thread...

Tralala
04-01-2008, 03:32 PM
Is it possible to set "close thread after first posting" for a special forum ?


+1 this would be great... I have a forum for announcements and this email integration makes it super easy to blast those out.

Aylwin
04-04-2008, 01:04 PM
Very nice mod! Thanks very much! I tried to use vbMail Reply a few years ago but couldn't get it to work the way I wanted.

I have everything installed and working the way I believe it's supposed to. I also have it working together with another mod that allows users to subscribe to forums and get instant notification of new threads.

Now, I would like to combine the two together. This would mean the user can choose between 2 levels of email integration. The first level is as it is now - full email integration. The user receives email notifications for every single post on the subscribed forum. This is fine except that the user is bombarded with emails if the forum is busy.

So, I would like to propose a 2nd level - partial email integration. The user will receive instant email notifications only for new threads. If they wish to participate in the discussion, they can reply via email. They will then be subscribed to that thread and receive email notifications of all further replies. I believe this 2nd level would be a good option to reduce the number of unwanted emails.

Would this be easy to implement? Is anyone else interested in this? I could try to help with some coding myself but I'd need some help and which files to modify, what additional functions are needed and which hooks could be used.

By the way, Cyricx, subscribeforums.php is great! I've been looking for this mod for ages. You might want to consider releasing it as a separate mod. I know that there are others who would be interested in it. Good work!

ThePiston
04-04-2008, 01:39 PM
I think it'd be a great addition to have the 2nd level, but I see a few problems which may or may not be a big deal.
1) thread topics change and although they may not like initial thread topic, it might change and they'll miss out
2) having an "opt-out of this thread" link would mean I'd be clicking on about 100 of those a day for my list which would be a real pain - having to pull up the forum just to confirm that I was opted out of that thread is almost as bad as just deleting them

tekguru
04-04-2008, 06:29 PM
Anyone had any issues since upgrading to 3.6.9 of vB? For me it still works but HTML format mails come through as pure HTML, not formatting correctly at all.

We've had to switch over to using text only mails.....

toivo
04-08-2008, 10:30 PM
Hi,

We are running 3.6.8 PL 2 and I applied the hotfix 2.6.1 but the email messages were still sent multiple times and remained in the mailbox on the Exchange server. I ran a script to purge the messages (first imap_delete($mailbox, $msg_no); for each message and at the end imap_close($mailbox, CL_EXPUNGE); ).

The next test message was still being sent multiple times, until I changed the Mail Server Connection in the EI settings in the Forum manager from IMAP to POP3. Now the messages are only sent once.

However, in the next test there was one text message (reply to a message sent by EI) in the mailbox when I sent a new HTML message from Outlook. When EI ran the following error occurred:

PHP Fatal error: Call to a member function set_parsing_language() on a non-object in {...test forum folder...} \includes\cron\emailintegration.php on line 1615

I deleted the two messages from the mailbox and sent a new HTML message from Outlook. This time the message was read, deleted from the mailbox, posted to the forum and forwarded OK to the subscribers (me).

However, I was then able to reproduce the PHP Fatal Error by sending a text reply message followed by a new HTML message. Both of these messages were posted to the forum, but both of them also remained in the mailbox because of the error.

I hope this gives some clues where the problem is. I do not think we can expect the average user to want to or be able to switch the default setting for a new message in Outlook from HTML to Plain Text when they need to send a message to the Forum.

Regards,
toivo

Dontom
04-12-2008, 04:31 PM
Hi,
I switched to 2.6 recently. If the mailbox contains more than one email the messages get posted but not deleted from the mailbox (pop or imap doesn't matter), which results in multiple postings, until I log in and delete that emails...

Any advice?

Cyricx, are you still here?

Thanks
Tom

snoopy5
04-12-2008, 05:21 PM
Hi

two questions:

1. is it possible to use this mod for sending the postings only one-way?

So that users only get the e-mail notification, but can not reply by e-mail?

2. Can I enable in the ACP this Mod for specific usergroups only, i.e. only for premium members?

Thanks in advance

Dontom
04-13-2008, 05:05 AM
2. Can I enable in the ACP this Mod for specific usergroups only, i.e. only for premium members?

Yes, after installing the hack you will have additional settings in your forum manager (on a per forum base) - there you can specify which usergroup may use the email functionality...
Tom

Dontom
04-13-2008, 06:26 AM
toivo,
in which line did you add the imap_delete($mailbox, $msg_no);?
thanks
tom

toivo
04-13-2008, 12:03 PM
Hi tom,

That was just a couple of command line scripts I wrote for testing, not the ei mod. One displays what is in the mailbox and the other deletes the messages. The zip file with readme.txt is attached.

Regards,
toivo

Dontom
04-13-2008, 01:49 PM
oh, I just added the account to mail mail-app, so I can just look into the account and view / delete messages. I thought you added a couple of ines to the EI -mod in order to prevent multiple postings...

Dontom
04-13-2008, 02:38 PM
I also installed the 2.6.1 but still have the problem of messages being posted n times, because they are not deleted on the mail-server after being posted to the forums....

Any way to fix this?!

Alfa1
04-14-2008, 09:40 PM
I am running vb 3.7 RC3 and EI 2.6.1.

I have the following problems and would really enjoy some pointers:

-Running the cron gives me this error: 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 '/mydomain/forum/includes/functions_threadprefix.php' (include_path='.:/usr/local/lib/php') in /mydomain/forum/includes/cron/emailintegration.php on line 41
In your installation file you write: If you have problems getting emails to appear in the forum, you can use a help script I have written which tests many different configurations to determine the proper entries for your forum. To use this script, go to AdminCP -> Email Integration -> Forum Setings Help. I do not find AdminCP -> Email Integration -> Forum Setings Help.
- And last but not least, my phpinfo notes this about my IMAP settings:
IMAP c-Client Version 2001
SSL Support enabled
Kerberos Support enabled Does that give any clue to the correct settings in the forum manager? (pop3 with or without SSL, IMAP with or without SSL)

toivo
04-17-2008, 01:55 PM
Hi,

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

PHP Fatal error: Call to a member function set_parsing_language() on a non-object in {...test forum folder...} \includes\cron\emailintegration.php on line 1615

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

Line 1615:

$plaintext_parser->set_parsing_language( 1 );


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

Regards,
toivo

Alfa1
04-17-2008, 07:38 PM
Posts are being sent to the email addresses of the members who subscribed, so that is good.

But it seems as the script is not accessing the gmail inbox as no emails are getting posted. I am still getting the error below:

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 '/mydomain/forum/includes/functions_threadprefix.php' (include_path='.:/usr/local/lib/php') in /mydomain/forum/includes/cron/emailintegration.php on line 41

I am using normal IMAP.

Does anyone have an idea how to fix this?

I am running vb 3.7 RC3 and EI 2.6.1.

I have the following problems and would really enjoy some pointers:

-Running the cron gives me this error: 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 '/mydomain/forum/includes/functions_threadprefix.php' (include_path='.:/usr/local/lib/php') in /mydomain/forum/includes/cron/emailintegration.php on line 41
In your installation file you write: I do not find AdminCP -> Email Integration -> Forum Setings Help.

toivo
04-18-2008, 12:44 PM
Hi Alfa1,

You are using vB 3.7 and have followed the installation instructions of EI and uncommented line 41. However, your system does not seem to have the file includes/functions_threadprefix.php or the path is wrong.

Try commenting out line 41 and see what happens.

Regards,
toivo

Alfa1
04-20-2008, 12:29 PM
I am using vb 3.7. I have now uncommented line 41. Now I am getting this error:
Email Integration

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

Failed to connect to the mailbox for forum - Forum A

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

Failed to connect to the mailbox for forum - Forum B

Done

toivo
04-20-2008, 01:54 PM
Hi,

You can check the settings of the mailbox in your Gmail profile - IMAP Access - Configure your email client:

- the name of the incoming server is imap.gmail.com
- encrypted connection (SSL) is selected
- the incoming server (IMAP) uses port 993

Transfer the first two settings to the EI configuration of the forum in Forum Manager.

In the Forum Manager you also have the choice between SSL (official certificate) and SSL (selfsigned certificate). Chose one of them, depending on the configuration of your server. If your server does not have an SSL certificate, it may be best to change the Gmail mailbox to accept POP connections and change the EI settings for the forum accordingly.

If you get an error message for example because of an incorrect password, the error message should show the IMAP connection stream as:

{imap.gmail.com:993/SSL}INBOX

That combination is one of the choices in emailintegration.php and it is listed on line 86.

Regards,
toivo

itconsultingnv
04-21-2008, 10:24 PM
I am getting the same issue as other users. Tthe messages get posted via email but not deleted from the mailbox (pop or imap doesn't matter), which results in multiple postings, until I log in and delete those emails manually. Argghhh.

Also after the upgrade I do not have the Admin CP -> Email Integration sidebar option. Just doesn't show up. Actually uninstalled and reinstalled and still can't see this option any longer.

Everything works as advertised (was waiting on my host to enable IMAP for a while) but since the 2.6.1 I am getting the email posts repeatedly posted until I manually delete. Saw several posts referring to this but no final advice on how to repair this issue. Can't go live on the rest of the forums until this is resolved.

Any advice? Frustrating, love the mod just need this final issue resolved. Thanks in advance. :confused:

toivo
04-21-2008, 10:37 PM
Have you checked the PHP error log for error messages caused by emailintegration.php? It may be the same error I developed a workaround for and got the deletion working. See my post from 18 April https://vborg.vbsupport.ru/showpost.php?p=1492963&postcount=809

itconsultingnv
04-21-2008, 10:42 PM
Saw that post but not sure where to find this error, or which file to make the edit to. Line 1615 of which file? Please advise, would love to try this fix. Thanks for the quick response!

itconsultingnv
04-21-2008, 10:53 PM
Thanks again toivo for the quick response. A couple questions.
1. How do I find my PHP error log? Looking in all my logs and nothing specific to PHP. Just my http error logs. Running cpanel on a hosted installation so... perhaps I don't have access to the log.

2. What file do I edit line 1615 in? Do I replace the line with the text you showed?

Thanks in advance.

itconsultingnv
04-21-2008, 11:22 PM
Sorry idiot question, so tired today. Ran it with the mod to the file and it appears I am still getting repeat emails and multiple posts on the forum. The emails show as read but not deleted in my webmail access and each time the cron runs t repeats the email and post for this reply. hmm. Any ideas?

toivo
04-21-2008, 11:34 PM
The location of the PHP error log is dependent on the type of server and you will need to talk to your hosting provider.

The line 1615 is in the file /includes/cron/emailintegration.php:

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

Workaround:
$plaintext_parser->set_parsing_language( 1 );

The idea of the workaround is to use the default language code 1. The original code depends on the contents of the $touser array which is for some reason incorrect.

Cheers,
toivo

toivo
04-22-2008, 12:10 AM
You have not by any chance turned on the $debug option on line 45? If the value is 1 instead of 0, the messages will not be deleted.

Sorry idiot question, so tired today. Ran it with the mod to the file and it appears I am still getting repeat emails and multiple posts on the forum. The emails show as read but not deleted in my webmail access and each time the cron runs t repeats the email and post for this reply. hmm. Any ideas?

toivo
04-22-2008, 01:28 AM
The location of the PHP error file is set in the php.ini file, for example:

error_log = /var/log/httpd/php_error.log

If you do not have access to the php.ini file in your hosting setup, you may be able to change the location of the PHP error log so that you can see the error messages. There are a couple of ways to to do that, for details see http://php.net/configuration.changes (http://au.php.net/configuration.changes)

If you are allowed to use .htaccess files in the document root directory, you can use the directive php_flag to set a local value to the error_log directive.

Otherwise, if you are handy with PHP, you may be able to set up a local value for the session using the ini_set function.

It is important to find out if a PHP error has happened and where it occurred before the problem can be addressed.

itconsultingnv
04-22-2008, 04:28 PM
Performed your mod (toivo) to the cron file and still had messages left on the server. Checked the debug variable and it is set to 0. Weird. Not sure why my installation is leaving emails on the server. Any ideas beyond the ones you provided? Had issues in the past while testing. Had the older version running but IMAP was not enabled. Uninstalled the mod and reinstalled the newest mod. Could there be some throwback code left in the installation. Ugh. Any help would be greatly appreciated. Thanks again for your input!

itconsultingnv
04-22-2008, 04:31 PM
btw, since I made that mod you suggested...

The line 1615 is in the file /includes/cron/emailintegration.php:

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

Workaround:

$plaintext_parser->set_parsing_language( 1 );

I am no longer getting the error I had when manually running the cron. Will test again today and see if it is working now. Odd, suddenly I have the Admin CP -> Email Integration in the sidebar when earlier I didn't. Cache? hmmm.

Again everything is working great except emails are being left on the server and continually reposted to the site and emailed out to users. Frustrating!

itconsultingnv
04-22-2008, 04:42 PM
Okay. Soooo weird. Think cyricx is listening, watching... and still had my log-in information, which would be just fine with me. LOL. Appears to be working properly now. Leaving no duplicates, no errors. Wild. Had a bunch, and I mean a bunch of repeats from two posts throughout the night. Deleted those manually through webmail and just retested... wala. No more emails being left on the server. Brilliant! Now I just hope nothing gets broken when I upgrade to 3.7 when it goes stable. Any issues I should be aware (afraid of)? Any input would, as usual, be greatly appreciated. Thanks again toivo and cyricx for the great support! Much appreciated.

itconsultingnv
04-22-2008, 05:56 PM
Okay, so everything was working, emails going out and being deleted from the server as they should. Then I started getting notifications of some double posts and posts not showing up from email replies. Went to run the scheduled task and I am again getting the following error when running the email integration cron (the error that was showing up for a time the last few days which when it start=ed working was no longer erroring).

Email Integration

Fatal error: Call to a member function on a non-object in /home3/naeadm/public_html/forum/includes/cron/emailintegration.php on line 1093

SO it appears that if my cron is erroring out with the above error the email funcitonality is not consistent. But when I do not receive this error everything work fine. The only oddity is why this errored out for awhile and then started erroring again.

I have one email response that appears to be going out multiple times now. Like it is stuck in the POP account and not being deleted. Logged into the webmail interface and go figure, there were emails in there. Manually deleted them and then reran the cron, walaa! it runs. Is there some type of formatting issue within an email that could cause this? Emailed another response to the post and now it is functional again. Almost as if one of the email posts was causing the cron to fail. Odd! Any advise? Thanks in advance, again!

Any ideas? Really quite frustrating now. What variables could cause this effect? Thanks in advance!

itconsultingnv
04-22-2008, 06:04 PM
Modified the code at line 1093 to the same mod as toivo and things appear to be working... for now! Testing again, after clearing the pop account. Hope this works!

ttseppal
04-22-2008, 07:16 PM
Hi, toivo

In my case, the problem lies with the variable plaintext_parser not being correctly set. So I commented the line 1266 at cron/emailintegration.php like this:

//unset($plaintext_parser, $pagetext_cache);

This way, I do not receive the error on line 1093 (call to member function on a non-object), and emails get deleted from the mailbox, too. I just wonder what side effects this might cause.

Hi,

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



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

Line 1615:



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

Regards,
toivo

itconsultingnv
04-22-2008, 07:22 PM
Interesting... but just found that of the 4 users I have beta testing the email integration with (in a private forum) if one of the users, lets call it user A (who is using outlook and running trend micro for av) stops the email integration cron from running. For some reason if any of this particular users response emails reside in the POP mailbox it stops the cron job from running with the 1093 error... will try uncommenting that but believe the problems lies somewhere in the internet email header changes that trend micro makes? grrr. Narrowed it down now. Crazy but true. Not sure where to go from here. Want the mod but if we cannot run it consistently with a variety of users and email apps I can't troubleshoot this for a group of 500± members. Am going to research but could really use some response from cyricx as this is beyond my capabilities. Any info? Thanks and best regards!

fredang85
04-23-2008, 04:35 AM
Mine was working perfectly 1 day ago, but yesterday, it stopped working.

It will no longer notify me anymore threads/posts. Is there anyway to check it?

toivo
04-23-2008, 12:10 PM
Hi fredang85,

You could access the mailbox and check if the messages are still there and not deleted. On the other hand, that is unlikely because the symptoms of the messages sitting in the mailbox without being deleted are multiple copies of the same message being posted and sent to members.

You could check the PHP error log to see if the script emailintegration.php has produced any errors and post them in this thread so that we can have a look at them.

At the start of emailintegration.php there is a debug switch which you can turn on to get more info sent to you. It did not seem to have any effect in my quick test but might be worth trying:

// debug command - LEAVE THIS OFF!!!
// Turning this on will stop emails from being deleted from the server!
$debug = 0;
// enter the email address error messages should go to when debug is on.
$debugemail = 'youremail@yourdomain.com';


Change it to:
$debug = 1;

and replace the email address with your own.

Regards,
toivo

toivo
04-23-2008, 12:33 PM
Hi ttseppal,

Thanks, that is interesting. The hot fix for 2.6.1 also involved unsetting a variable or rather an object.

I'll just continue testing and studying the source code to learn more.

Regards,
toivo

Hi, toivo

In my case, the problem lies with the variable plaintext_parser not being correctly set. So I commented the line 1266 at cron/emailintegration.php like this:

//unset($plaintext_parser, $pagetext_cache);

This way, I do not receive the error on line 1093 (call to member function on a non-object), and emails get deleted from the mailbox, too. I just wonder what side effects this might cause.

snoopy5
04-24-2008, 12:31 PM
Hi

two questions:

1. is it possible to use this mod for sending the postings only one-way?

So that users only get the e-mail notification, but can not reply by e-mail

Thanks in advance


Hi

my old question is not answered yet. Is it possible to configure this hack, so that it works only one way?

So without reply by mail.

Only sending all messages which have been posted to the forum immediately to the user? without interruption and without clicking on a link to get the next posting also by mail?

itconsultingnv
04-24-2008, 03:17 PM
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!

Ted Clore
04-27-2008, 02:06 PM
After several frustrating attempts to get this to work with vB 3.6.8, 3.6.9 and 3.7.0, I have given up. I have spent 4-5 hours trying. It is a good idea and if it worked with my site it would be a nice addition. I'll keep checking for further updates that may make this an easy hack to install.

snoopy5
04-28-2008, 11:24 AM
is this mod dead?

Did anybody achieve to get it running? Even if it is only for sending postings out without the reply functionality?

toivo
04-28-2008, 01:02 PM
I can confirm the EI mod reads the messages from the mailbox, posts them and sends them with the reply capability which also works in our test forum. I had to force the language code to 1 (see https://vborg.vbsupport.ru/showthread.php?t=151222&page=55) to make it delete the messages from the mailbox, otherwise the posts were repeated.

I have also tested a small script which reads the forum home page at regular intervals, to boost the traffic and trigger the EI script which depends on the hits which cause the cron tasks to run.

Regards,
toivo

MikeH2911
05-02-2008, 01:07 AM
Hi,

I installed v2.2 of this mod and have since removed it, however there is still a link in forum tools to subscribe to a forum, I'm sure this was from a file edit somewhere but can't find it, can anyone help me out. How do I remove this?

Mike

Crys
05-07-2008, 08:58 PM
Hi,

I'm looking for some assistance regarding the e-mail integration hack. Everything is installed but, for some odd reason, none of the e-mails/replies are being posted on the forum. However, if I posted directly on the forum, I get the e-mail. I set everything up using GMail and followed exactly what was instructed. Am I missing something???????

Please let me know soon because I really need this working for an event happening Friday. Thank you so much for your help!

~ Crys ^^

capsize
05-19-2008, 07:57 PM
There's a bug when Allow Attachments? is set to "No" and Dismiss Attachments? is set to "Yes" in the EI options. In this mode, the attachments are supposed to be discarded and the post is supposed to be made using only the text portion of the email.

In the code for this mode, there's an error that causes the emailed post/reply with the attachment(s) to be left undeleted in the incoming mailbox and causes processing to skip the message entirely with no post made to the forum.

The fix is this:

Comment out the statement in line 515 (assuming v2.6.1beta) of emailintegration.php to allow the post to proceed without the attachments:


else if ($d_message['attachments'] AND $vbulletin->options['ei_allow_attachments'] == 0 AND $vbulletin->options['ei_dismiss_attachments'] == 1)
{
$eilog .= "Attachments dismissed: " . $userinfo['username'] . "\r\n";
$mailmessage .= "\r\n\r\n[Attachments are disabled from email. Non-text portions have been removed.]";
//continue; /**** comment out to fix the bug ****/
}



Thanks a million for adding this mode, Cyricx!

mykkal
05-19-2008, 08:30 PM
This is good information.

Will they submit a new release that has bug fixes?

There's a bug when Allow Attachments? is set to "No" and Dismiss Attachments? is set to "Yes" in the EI options. In this mode, the attachments are supposed to be discarded and the post is supposed to be made using only the text portion of the email.

In the code for this mode, there's an error that causes the emailed post/reply with the attachment(s) to be left undeleted in the incoming mailbox and causes processing to skip the message entirely with no post made to the forum.

The fix is this:

Comment out the statement in line 515 (assuming v2.6.1beta) of emailintegration.php to allow the post to proceed without the attachments:


else if ($d_message['attachments'] AND $vbulletin->options['ei_allow_attachments'] == 0 AND $vbulletin->options['ei_dismiss_attachments'] == 1)
{
$eilog .= "Attachments dismissed: " . $userinfo['username'] . "\r\n";
$mailmessage .= "\r\n\r\n[Attachments are disabled from email. Non-text portions have been removed.]";
//continue; /**** comment out to fix the bug ****/
}



Thanks a million for adding this mode, Cyricx!

capsize
05-21-2008, 07:20 PM
Cyricx has been good about incorporating all the bug fixes reported in this thread into his next releases. I don't have a clue when he might make another release of this mod, though his last post said that he was going to replace the mimedecode.php message parsing with something more robust; i.e., a major change. I'm relying on this mod on my board and have so far not had any problems. I'd definitely like to help make this mod as solid and stable as possible. A major failure of this mod would be devastating to my board. It would be useful to put together a list of open bugs unrelated to the mimedecode attachment parsing for Cyricx to fix in his next release. I'll start it here. Please post any issues you're having with this mod so that they can be addressed. Note that "fixed" below only means that a workaround is known that seems to resolve the problem. There may be a better fix to the problem but this workaround is sufficient for now.

2.6.1beta issue #1:
Email notification for a new thread contains a blank name for the poster
status: fixed
see post #760 in this thread from Ron Wilhelm

2.6.1beta issue #2:
Fatal error: Call to a member function on a non-object in [forumdir]/includes/cron/emailintegration.php on line 1093
status: unknown
When this error occurs, incoming email posts are emailed out multiple times and are not deleted from the mailbox. May be caused by certain incoming email messages containing text or headers that are not handled properly.

2.6.1beta issue #3:
Fatal error: require_once() [function.require]: Failed opening required '[forumdir]/includes/functions_threadprefix.php' (include_path='.:/usr/local/lib/php') in [forumdir]/includes/cron/emailintegration.php on line 41
status: unknown
May be caused by an incorrect configuration or installation of the EI mod.

2.6.1beta issue #4:
PHP Fatal error: Call to a member function set_parsing_language() on a non-object in [forumdir]/includes/cron/emailintegration.php on line 1615
status: fixed
see post #809 in this thread from toivo

2.6.1beta issue #5:
Dismiss attachments mode doesn't work properly
status: fixed
see post #839 in this thread from capsize

ThePiston
05-21-2008, 07:37 PM
can we also start a thread for requested changes?

For example: if you really want this to work like an email list, you need to have the ability to either the "list" or just the person that sent the last post. It's like having "reply" vs "reply all". That's a huge piece of the puzzle missing for me and I sadly I can't use it until that's addressed. Shouldn't be too hard - make the "reply all" go back to the forum like usual, but the "reply" be directed as a PM to that one user.

capsize
05-31-2008, 10:37 PM
I have a tentative fix for issue #2. I believe this fix also resolves another aspect of issue #4. If you have experienced either issue #2 or #4, can you please try making the following changes plus toivo's change for #4 and report back as to whether the issues are fixed?

I believe the cause of #2 and #4 is that a variable is redefined and then unset within a block inside a loop. This causes the remaining code in the loop to now reference the unset variable. The workaround is to use a different name for the variable in the block so that it doesn't conflict with the other usage. The name collision appears to be a case where code was copied and pasted carelessly.

I have made the changes to my installation and have seen no problems with this fix so far.

Here's the fix to 2.6.1beta:


In emailintegration.php, change the variable $plaintext_parser to $plaintext_parser2 in the following four places (lines 1185, 1255, 1256, and 1266). Below are the changes as reported by Unix diff:

1185c1185
< $plaintext_parser =& new vB_BbCodeParser_PlainText($vbulletin, fetch_tag_list());
---
> $plaintext_parser2 =& new vB_BbCodeParser_PlainText($vbulletin, fetch_tag_list());
1255,1256c1255,1256
< $plaintext_parser->set_parsing_language($touser['languageid']);
< $pagetext_cache["$touser[languageid]"] = $plaintext_parser->parse($pagetext_orig, $foruminfo['forumid']);
---
> $plaintext_parser2->set_parsing_language($touser['languageid']);
> $pagetext_cache["$touser[languageid]"] = $plaintext_parser2->parse($pagetext_orig, $foruminfo['forumid']);
1266c1266
< unset($plaintext_parser, $pagetext_cache);
---
> unset($plaintext_parser2, $pagetext_cache);

tekguru
06-01-2008, 08:42 AM
Okay change now in place on my site, we'll see how it goes!

goldendox
06-01-2008, 08:35 PM
I have the beta installed. Did a test by running it in task manager. Seems okay, yet nobody is getting emails (that I know of).

in hostname, is localhost ok, or should it be 'localhost'
it seems that all users are set by default to receive emails from all forums. I have a junior member acct (who i have as an allowed usergroup), and am not receiving any emails other than the admin ones. i set each forum up with different addresses. still have the admin one. that is the one i'm still getting standard email notifications of.

also, how or where can i check to see if those emails are going through?

thanks.

Cyricx
06-01-2008, 09:26 PM
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 :)

Tralala
06-03-2008, 12:09 AM
Hiya Cyricx, long time no chat, thanks for your help with getting this guy installed on my small forum.

I only have one sub-forum set up for important announcements, that's the one that has email integration turned on.

My question is, is it possible to set it so that only one usergroup can post to particular forum, but that those posts are emailed to everyone on the forum (assuming everyone is subscribed?)

If so, would I just set this up in that forum's usergroup permissions?

Cyricx
06-03-2008, 12:44 AM
I believe right now, those two permissions are tied together in the "Please enter the usergroup IDs that can use this feature." setting in the Forum Manager. That controls who can choose to receive the emails as well as who is enabled to receive them.

I'll add this to my list to separate those permissions though.

toivo
06-03-2008, 02:08 AM
I have just re-installed the EI mod to a test forum with the suggested modifications. Messages are read and posted all right to the forum, and they magically started arriving by email, too.

Regards,
toivo

Tralala
06-03-2008, 04:19 PM
I believe right now, those two permissions are tied together in the "Please enter the usergroup IDs that can use this feature." setting in the Forum Manager. That controls who can choose to receive the emails as well as who is enabled to receive them.

I'll add this to my list to separate those permissions though.

Ah, okay, I was thinking I could set this up with the standard forum permissions (ie: restricting postability via the standard admin tools.)

I anxiously await any future updates. This mod makes vBulletin so much better for our needs and I really appreciate your work on it. Thank you!

rcwild
06-04-2008, 09:02 PM
I'm having a problem similar to a previous poster. Scheduled Task Manager error message reads:

Email Integration

Warning: imap_open(): Couldn't open stream {localhost:110/pop3/notls}INBOX in [path]/includes/cron/emailintegration.php on line 98

Failed to connect to the mailbox for forum - News, Videos, Free for All

Warning: imap_open(): Couldn't open stream {localhost:110/pop3/notls}INBOX in [path]/includes/cron/emailintegration.php on line 98

Failed to connect to the mailbox for forum - Technical Canyoneering

Warning: imap_open(): Couldn't open stream {localhost:110/pop3/notls}INBOX in [path]/includes/cron/emailintegration.php on line 98

Failed to connect to the mailbox for forum - Canyon Beta & Partners
Done

It seems to suggest that there is a discrepancy with usernames and/or passwords, but I've checked, double-checked and triple-checked to make sure they match.

I'm stumped.

goldendox
06-04-2008, 09:56 PM
Thanks. Sorry to hear about your wife losing her job. Hang in there. I've disabled this beta till able to get support regarding why it's not working. Thanks.

{QUOTE=Cyricx;1538174]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 :)[/QUOTE]

rcwild
06-04-2008, 09:57 PM
With some help from my host, I moved beyond the mail connection problem above and onto a new problem. :(

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

toivo
06-04-2008, 10:10 PM
I have the beta installed. Did a test by running it in task manager. Seems okay, yet nobody is getting emails (that I know of).

in hostname, is localhost ok, or should it be 'localhost'
it seems that all users are set by default to receive emails from all forums. I have a junior member acct (who i have as an allowed usergroup), and am not receiving any emails other than the admin ones. i set each forum up with different addresses. still have the admin one. that is the one i'm still getting standard email notifications of.

also, how or where can i check to see if those emails are going through?

thanks.

If the email messages you send to the mailbox are read all right by EI mod, then obviously the hostname of your SMTP server is correct. If the mailbox is on a mail server running in the same box as your vBulletin, the hostname should be just localhost, without quotes.

toivo
06-04-2008, 10:22 PM
With some help from my host, I moved beyond the mail connection problem above and onto a new problem. :(

The script /includes/class_dm.php is not part of the EI mod but obviously its methods are being used when posting the email messages.

The 30 second restriction comes from the flood check setting in AdminCP - vBulletin Options - Email Options: "This is the number of seconds that must elapse between emails that a user can send to other members. This is primarily to prevent a user from easily spamming members. Set it to 0 to disable this option."

It would be useful to see what actual error causes the $errors array to have a message. Have you tried to change the 30 second limit to 0?

rcwild
06-05-2008, 12:08 AM
I tried your suggestion. One problem solved and another pops up.

Decided to give up and started to uninstall the mod. Decision on hold for right now. What I like most about this mod is actually the Edit Forum Subscriptions feature in the User CP. Users have always had the ability to subscribe to forums and threads, but few did so because the process was a bit cumbersome. I like the idea of having one page -- /forums/subscribeforums.php -- that I can link to for forum subscriptions.

I also like the Auto Subscriptions feature. Would be nice to change all of our users over to "daily updates by email" on our most popular forums. Giving users the ability to post to threads by replying to an email is not an important feature. In fact, I would rather bring our users over to the site.

So I'm wondering if it's possible to use only these select features with this mod.

1. A simple Edit Forum Subscriptions page.
2. Auto Subscriptions.

Or is there someone out there that could come up with something ??

Lori
06-09-2008, 08:28 PM
I love this hack - but since my board is private the reply email won't work.

so, I'm wondering two things:

1. Is there a way to modify the email to NOT include the option for reply?
and
2.. can it be sent as a daily digest instead of in response to each individual thread/reply?

Thanks!!!
Lori

toivo
06-09-2008, 11:23 PM
I love this hack - but since my board is private the reply email won't work.

so, I'm wondering two things:

1. Is there a way to modify the email to NOT include the option for reply?
and
2.. can it be sent as a daily digest instead of in response to each individual thread/reply?

Thanks!!!
Lori

You should perhaps look at the Instand New Thread Notification mod instead: https://vborg.vbsupport.ru/showthread.php?t=141280

We now have the following options available under UserCP - Edit Options - Messaging & Notifications - Default Thread Subscription Mode:
- Do not subscribe
- No email notification
- Instant email notification
- Daily email notification
- Weekly email notification

Regards,
toivo

Lori
06-09-2008, 11:42 PM
Toivo-
Thanks - I did check into that, but I really need to be able to "auto subscribe" members and not rely on them to subscribe themselves or to post before being subscribed.

If I'm missing something in the one you recommended please let me know.

What it is I'm looking for is a daily digest (or even per post) where people are automatically subscribed and emailed.

Many on my board lurk but don't post, therefore need the digests...

Thanks again for the suggestion

Lori

briang123
06-13-2008, 09:33 PM
IM having an issue where a particular form keeps emailing itself the same 4 messages... Ill clear out the POP3 account, and they reappear. Ive since disabled ei on the forum, but when I do run the job I get the following error. Any ideas?

Fatal error: Call to a member function do_parse() on a non-object in \includes\cron\emailintegration.php on line 1079
PHP Fatal error: Call to a member function do_parse() on a non-object in \includes\cron\emailintegration.php on line 1079

I have several other forums set up and they are all fine.

vBulletin 3.6.8 Patch Level 2

PaperQueen
06-30-2008, 06:15 PM
First and foremost, Cyricx, you rock.

I've combed through posts in this thread for the past half hour, but can't find one that says whether or not you built in the function requested by Tralala (#122) about allowing only new threads to trigger emails...? Like him, my concern is that if members become inundated with too many emails, it will detract from what that particular forum is about (essentially, a 911 service for retailers in search of out of stock product).

From the version history, it doesn't appear to be in yet, but it's something you were excited about early on, so thought it was worth asking.

Thanks tons for all you do!

Cyricx
06-30-2008, 06:26 PM
It's not in yet, but it's coming.

I'm sooo close to being able to jump back on this bugger. I got a little bit of work to do with the online registration code I'm writing for gaea, and then a few small tweaks to some other custom code.

Then I'm on this... the light is showing in the tunnel!!

I'm just sorry it's taken so long to get back to this.. hopefully I can make some huge leaps into the next version and get some beta testers!

My biggest problem so far has been finding people to help beta test, so I end up having to release versions based on the bugs that just I can find :(

PaperQueen
06-30-2008, 06:44 PM
It's not in yet, but it's coming.
I'm just sorry it's taken so long to get back to this...

What? You have a life beyond all of us? Gadzooks! ;)

No complaints here; would love to be a beta tester, but given the facts (a) this would be my first mod of any kind, and (b) I'm too "newbie" to risk it in a live forum, I'm a bit squeemish about volunteering (translated: chicken).

Hang in there!

Cyricx
07-01-2008, 12:34 AM
Mostly what I need from beta testers is to come to my test site and try to break it :)

Break it on my site, and I can find the bugs easier then I can try to find how they happened on someone else's server :)

Dr. Bantham
07-10-2008, 08:10 PM
Anyone had any issues since upgrading to 3.6.9 of vB? For me it still works but HTML format mails come through as pure HTML, not formatting correctly at all.

We've had to switch over to using text only mails.....I have this identical problem.

Cyricx
07-10-2008, 08:23 PM
Need to redo the file edit :)

Dr. Bantham
07-10-2008, 09:12 PM
Need to redo the file edit :)Ah, this was rubbed when I upgraded the site. Silly me! Thanks!

riahiarshia
07-11-2008, 06:11 PM
Is anyone having problems with certain 'replies' not getting deleted from the 'inbox' ? It keeps showing up on the thread and an email is sent out to users; over and over and over again.

I have got to fix this. Please help...
-Alex

AyeCapn
07-11-2008, 06:43 PM
Is anyone having problems with certain 'replies' not getting deleted from the 'inbox' ? It keeps showing up on the thread and an email is sent out to users; over and over and over again.

I have got to fix this. Please help...
-Alex

This happened to one p my users last week. I thought it was an issue with my host. I asked her to stop using the reply feature and it went away.

Juat one user experienced this issue.

We are on 3.7.1 PL1

Cyricx
07-15-2008, 12:42 PM
I think it's tied to multipart vista emails.

I've got some new body decode code I'm working on that I'm hoping to solve that issue.

The decode file that I'm using now is an old pear package that has reports of bugs along those lines. Noone that I know of has been able to get the code to work so I'm again, building from scratch and I'm going to try more of imaps functions with some simple base php decode functions.

When you notice it happen, please verify that it is a multipart email in the header information of the email :)

riahiarshia
07-15-2008, 02:02 PM
Hello,
I can reproduce this. My workaround is to delete the email manually right now. This is happening in testing with just a couple of people sending emails back and fort. I am a little afraid to go to production with it.

Below is the header of one of the messages that had problems.

-Alex


Microsoft Mail Internet Headers Version 2.0
Received: from webaccess.egenera.com ([63.139.209.15]) by bart.corp.egenera.com with Microsoft SMTPSVC(6.0.3790.3959);
Tue, 15 Jul 2008 10:48:19 -0400
Received: from psmtp.com ([64.18.3.101]) by webaccess.egenera.com with Microsoft SMTPSVC(6.0.3790.3959);
Tue, 15 Jul 2008 10:49:03 -0400
Received: from source ([216.235.242.184]) (using TLSv1) by exprod8mx201.postini.com ([64.18.7.10]) with SMTP;
Tue, 15 Jul 2008 09:47:26 CDT
Received: from smithers.egenera.com (localhost.localdomain [127.0.0.1])
by smithers.egenera.com (8.13.1/8.13.1) with ESMTP id m6FElKl4024458
for <xxxxxxx@egenera.com>; Tue, 15 Jul 2008 10:47:20 -0400
Received: (from apache@localhost)
by smithers.egenera.com (8.13.1/8.13.1/Submit) id m6FElKxl024457;
Tue, 15 Jul 2008 10:47:20 -0400
To: xxxxxxx@egenera.com
Subject: RE: [SE FAQ & Tech Talk-t-375] 4 of 5 Dentists Recommend Bob
Date: Tue, 15 Jul 2008 10:47:17 -0400
From: Rhart <xxxxxxx@egenera.com>
Reply-To: XXXXXX@egenera.com
MIME-Version: 1.0
Content-Type: text/plain
Content-Transfer-Encoding: 8bit
Message-Id: <375.640@emailintegration>
References: <375.635@emailintegration>
X-Priority: 3
X-Mailer: vBulletin Mail via PHP
Return-Path: apache@smithers.egenera.com
X-OriginalArrivalTime: 15 Jul 2008 14:49:03.0596 (UTC) FILETIME=[ECB08AC0:01C8E689]
X-EsetId: 58762D24FC8B26310D36

Cyricx
07-15-2008, 03:54 PM
Try turning off strict email checking and let me know please if it still sticks. :)

riahiarshia
07-15-2008, 04:18 PM
Hello,
How do I turn that off ?

riahiarshia
07-15-2008, 04:27 PM
Also,
Would it help if I was able to access bart.corp.egenera.com directly instead of going through webaccess.egenera.com? I am not even sure if IT will allow that but if that is a workaround, I can always ask them.

Thanks,
Alex

kevinh
07-16-2008, 03:38 AM
We just started using this today on a new forum and one of the first responses to a thread by email kept coming through again and again - 15 times before I changed the user's status so they could no longer respond by email and then it stopped.

I'm guessing that the user's mail server did not recognise that the message had been received and just kept re-sending it.

Is there a way to prevent this from happening? (because it's a sure fire way to upset users quickly if they get the same email 15 times!)

We really need a means to detect and block identical posts.

riahiarshia
07-16-2008, 12:46 PM
Kevin,
I believe the reason the Email is being re-sent is that it is not being deleted from the IMAP/POP3 server after it is read. As such, every time the pHp cron activates the module to fetch mail from the IMAP/POP3 server, it fetches the same mail over and over again. In fact, if you look at the thread in the forum portal, you will see the reply is being posted multiple times. Cyricx who developed this module is aware of the problem. I have asked him a couple of questions above to find a quick workaround while he can perhaps rebuild the code.

We cannot use this feature on a large scale right now. It would be an administrative nightmare to troubleshoot.

-Alex

kevinh
07-16-2008, 11:41 PM
Thanks for this Alex. The post was indeed posted multiple time in the web view of the forum. Sadly this makes EI unusable for us until this is resolved, because it has the capacity to upset lots of users very quickly :)

Is it possible to simply disable email replies but retain the email notifications of new posts?

riahiarshia
07-17-2008, 06:55 PM
I set 'Strict Email Checking' to 'NO'.
I am testing now. I will send an update as soon as I have some results.

-Alex

riahiarshia
07-17-2008, 07:23 PM
That did not help.

riahiarshia
07-17-2008, 08:05 PM
I wonder if it would help if I used a different mail server or switch from IMAP to POP3.
Any ideas ?

Will keep you updated...

riahiarshia
07-18-2008, 05:35 PM
It seems to work just fine using a gmail account.

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

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

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

kevinh
07-19-2008, 12:38 AM
In the mean time I am trying to disable posts by email while retaining the notifications.

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

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

toivo
07-19-2008, 12:57 PM
Hi Kevin.

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

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

Regards,
toivo

kevinh
07-20-2008, 05:31 AM
Hi Kevin.

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

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

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

kevin

kevinh
07-20-2008, 08:07 AM
Hi toivo,

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

if (empty($evalemailplain))

however I have this on line 1814;

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

I'm not a coder so I need to very precise instructions :)

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

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

Regards,
Kevin

PS. I am running EI 2.6.1 Beta

Hi,

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

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

Line 1615:

$plaintext_parser->set_parsing_language( 1 );

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

Regards,
toivo

toivo
07-20-2008, 08:21 AM
Hi Kevin,

Quite right, that is the new code.

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

Regards,
Toivo

kevinh
07-20-2008, 08:51 AM
Ho Toivo,

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

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

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

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

Thanks,
Kevin

kevinh
07-20-2008, 08:54 AM
Hi Toivo,

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

Thanks for your help.

Regards,
Kevin

toivo
07-20-2008, 09:31 AM
Hi Kevin,

That is the line.

Cheers,
Toivo

Alfa1
07-20-2008, 01:10 PM
Mostly what I need from beta testers is to come to my test site and try to break it :)

Break it on my site, and I can find the bugs easier then I can try to find how they happened on someone else's server :)
What is the url of your test site? I'll be happy to help you test it. Maybe post the url in the main post of this thread as well.

riahiarshia
07-22-2008, 01:10 AM
In the mean time I am trying to disable posts by email while retaining the notifications.

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

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

Kevin,
The forum has an option to send emails to subscribed users. You do not need EI for that.
-Alex

kevinh
07-22-2008, 06:17 AM
Kevin,
The forum has an option to send emails to subscribed users. You do not need EI for that.
-Alex

Yes, but I want to subscribe people to certain forums by default when they subscribe.

It's academic now anyway because I'm pressing a head with EI after seeing reply #843

kevinh
07-22-2008, 06:43 AM
Would someone please explain how I make this mod to a forum running 3.7.1 (what file to I edit? - I can't find anything called "newthread_post_complete"

Thanks,
Kevin

Thanks for a great plugin. This really elevates vBulletin's usability. I had one problem though - new threads didn't show the posters name in the initial email on "CURRENT MESSAGE FROM:" line for new style emails. I played around with this and fixed it by changing

$poster = $bbuserinfo['username'];

to


$poster = $vbulletin->userinfo[username];

in the newthread_post_complete plugin.

EDIT: I know my profile shows 3.6.7, but this was also on my 3.6.8 PL2 dev board.

kevinh
07-22-2008, 08:04 AM
Another question for the EI experts :)

How long should it take for a reply by email to be posted on the forum?

I just had one take half an hour to come through so it ended up out of sequence with another post on the forum. In fact it was as if the forum post triggered the retrieval of the email reply.

toivo
07-22-2008, 11:01 AM
Hi Kevin,

That is exactly how the 'cron' jobs work, they rely on the forum being accessed. I scheduled a small PHP script on an another box to access the home page every so often to guarantee a reasonable response time to emails.

Regards,
toivo

kevinh
07-22-2008, 12:51 PM
Hi Toivo,

Would you mind explaining how I can do this because most of my users will be migrating from a mail list and I fear that many of them will use email integration and not access the forum very often, at least initially.

Regards,
Kevin

toivo
07-22-2008, 01:34 PM
Hi Kevin,

Here is the code, working under vB 3.6.8. Replace the variables $forum_url and $cron_url.

The script reads the home page, extracts the cron.php with the parameters from the result and then sends a request for cron.php which runs the scheduled task(s).

Check the results from the vB back end to adjust the interval in your crontab or Windows scheduler, depending on which other cron jobs your site has.


<?php
/**
* @forum_read.php
* @20080723 toivo@totaldata.biz
* reads the forum home page and triggers cron jobs to run
* tested on vBulletin 3.6.8.
* requires php >= 4.3.0
*/

$forum_url = 'http://example.com/testvb/index.php';
// cron url from <img src=
$cron_url = 'http://example.com/testvb/cron.php?';

// access forum
$run_status = forum_read($forum_url, $cron_url);
return;

function forum_read($forum_url, $cron_url) {
// read file contents
$page = file_get_contents($forum_url);
if ($page === false) {
$msg = "forum_read.php unable to read ".$forum_url;
error_log($msg);
return false;
}
// find cron.php
$cron_start_pos = strpos($page, $cron_url);

$msg = '';
if ($cron_start_pos === false) {
$msg = "forum_read.php unable to find cron string";
error_log($msg);
return false;
}

// end of url
$cron_end_pos = strpos($page, '"', $cron_start_pos);
if ($cron_end_pos === false) {
$msg = "forum_read.php unable to find end of cron string";
error_log($msg);
return false;
}
// extract full url string with cron.php
$cron_url_length = $cron_end_pos - $cron_start_pos;
$cron_full_url = substr($page, $cron_start_pos, $cron_url_length );
// read cron.php with parameters
$page = file_get_contents($cron_full_url);
if ($page === false) {
$msg = 'forum_read.php '.$cron_full_url." : - PROBLEM?";
error_log($msg);
return false;
}
return true;
}
?>


If you are going to run it from Unix/Linux, a shell script similar to the following can be scheduled to run from a crontab entry:


#!/bin/bash
# load forum home page and read cron.php
php /root/forum_read/forum_read.php
exit 0



In Windows, you can run the script from a command file through the Windows scheduler.

Regards,
toivo

riahiarshia
07-22-2008, 01:55 PM
AHHHH. This all makes sense now. I have been scratching my head to find out why EI is inactive at night. I was starting to think the little men who run around and fetch emails are sleeping. LOL

riahiarshia
07-22-2008, 02:07 PM
I put in the workaround in #843. I have not had any issues so far.

-Alex

riahiarshia
07-22-2008, 05:50 PM
Where is the info to add users to certain forums be default. I realize this is not the correct place to talk about this. I would appreciate if you just point me to the right direction.

-Alex

toivo
07-22-2008, 08:15 PM
You can give a group like Registered users the access rights to the forums, and the users will then have the default access.

kevinh
07-23-2008, 01:11 PM
Where is the info to add users to certain forums be default. I realize this is not the correct place to talk about this. I would appreciate if you just point me to the right direction.

-Alex

I think you might mean this;

in admicp

vBulletin Options > vBulletin Options > Email Intergration - check out the very last option
"User's can choose to not auto subscribe?" set it to "No" and all new users will be subscribed to forums which are enabled for that usergroup.

In the management for each forum under Forum Manager in AdminCP, you need to enter the ID of each forum usergroup which can use EI.

Kevin

kevinh
07-26-2008, 12:51 AM
Toivo,
Many thanks for that php code to run access the forums via a cron job, I have it installed and it seems to work well.

It's a bit like the final piece in the EI puzzle :)

Regards,
Kevin

kevinh
07-26-2008, 01:02 AM
Actually, there is still one piece missing for me.

I worked it out :o

kevinh
07-28-2008, 05:22 AM
Does anyone know why we might be getting some messages repeated with html code in them like this (see below). When I say repeated, the message came through twice - once formatted correctly and once with html at the beginning and end. Only the clean vserion ended up on the forum. This is the beginning of the email wihc went out to subscribers to the forum;

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<style>
<!--
body {
font-family: Verdana, Geneva, Arial, helvetica, sans-serif;
}
table {
margin-top: 1em;
}
td {
font-family: Verdana, Geneva, Arial, helvetica, sans-serif;
font-size: 80%;
}
th {
font-family: Verdana, Geneva, Arial, helvetica, sans-serif;
font-size: 80%;
}
alt2 {
background-color: #FFFFFF;
font-family: Verdana, Geneva, Arial, helvetica, sans-serif;
font-size: 80%;
}
-->
</style>
</head>
<body><div id="ei_reply">
Please type your reply below this line.<br>
<strong>NB:</strong> Your reply will be automatically be posted on the web forum!
-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-






-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
(Please type your reply above this line)

You may increase the space between the above lines as needed.


</div>
<div id="ei_body">
______________________
CURRENT MESSAGE FROM: geo

Vitessebooks (of Aachen, NRW, Germany) have this
at US$ 234.06, and this seems to be the
English-language edition from Copress Sport,
M?nchen (1996) -despite the German description.
To quote "Englischer Text. Nat?rlich 328 Seiten
!" It has the same number of pages as on the
Bentley link, incidentally, it weighs a hefty
1.8kg! Curiously, Copress Sport Verlag only has
Simons' early BMW book (up to 1932) on its own
site.


George

kevinh
08-02-2008, 02:57 AM
Suggestion::

Almost all the users on my site are accustomed to basic mail lists where the From address is that of the poster (with the return address that of the mail list).

I know the reasons why we wouldn't want to do this with vBulletin and EI, but it could be useful to have the from address as "poster username" <forum email address>

This would make it much easier to identify posts from a specific sender.

kevinh
08-12-2008, 02:51 AM
We are now running this on a live forum 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.

riahiarshia
08-19-2008, 07:34 PM
Is there a way to install root certificates for EI? Our IT just implemented this and we can no longer retrieve messages from the exchange server.

-Alex

Cyricx
08-19-2008, 07:43 PM
Is there a way to install root certificates for EI? Our IT just implemented this and we can no longer retrieve messages from the exchange server.

-Alex

Try using one of the connection options of with officially signed certificates or unofficial.

That should change the connection to the correct port.

brettb
08-20-2008, 08:37 PM
We have a fairly small forum implementation with less than 100 users. Our forums are all invite only and access is controlled individually through access masks. We've been using this mod since the start of the forum but have recently been experiencing a few problems.

1) Some users are creeping into the notification list who weren't specifically assigned to the forum. This problem is controllable by looking at the data and weeding them out, but it's still curious how that happens.

2) For the past few weeks we had a situation where people who were note in the notification list received forum emails. I've traced the code and manually run all the queries and I can't find any reason at all this would have been happening. Naturally it doesn't happen consistently, but it has happened more than once. Any theories on what's going on there?

AyeCapn
08-26-2008, 12:07 PM
I suspect this has been brought up before, but couldn't find anything. When a thread is ut into moderation it still generates an email before the moderation is approved or denied. Can the email be delayed until moderation approval is given?

riahiarshia
08-26-2008, 12:52 PM
Try using one of the connection options of with officially signed certificates or unofficial.

That should change the connection to the correct port.

No go!. I had to forward all of the emails to a Gmail account in order to get this to work.

Thanks Anyway !!

Bluefin221
08-26-2008, 07:03 PM
Users on my site can't access the instant notification, admin can just drop the box down and choose to have instant e-mails, it works for them quite clearly as I have also been dropping in e-mails to the site, however users can't even change the settings???

txspaderz
09-04-2008, 02:15 AM
Cyrix,

Long time! Question, I've been using this for quite a while now. I need the option to turn off the Invalid User Emali error. I have one forum set for unregistered users to post in, however the email -> user check you have setup is blocking this from happening...

Any chance of getting this to work?

whardwick
09-09-2008, 12:52 PM
My IT administrator informs me that we only have SMTP authentication for sending and receiving. I tried all authentication methods provided with this mod and none of them seem to work.

Is there a work-around that I can use?

Thanks.

rodneytamblyn
09-15-2008, 03:11 AM
Hi Cyricx,

I see in 2.6 there's a new feature to allow users to opt-out of being auto-subscribed. I have enabled this option in the admin CP, but I cannot for the life of me find where this option should appear in the User CP :)

Can you tell me where it should appear, and secondly, let me know if there is any other place in the admin system (other than Email Integration Settings) where I may have to enable this feature.

Thanks

~ Rodney

toivo
09-16-2008, 01:36 AM
Hi,

If your user community prefers the old email layout but you do not like to see the complete thread in the email, this code limits the included messages to two.

The modification assumes that the following options have been selected:

AdminCP - vBulletin Options - Email Integration Settings:

Use Single From Address
Do you want to use the old layout for emails


You have to fill in these options:

Single From Name
Single From Address


How to modify:

Insert the modification after line 264 in includes/cron/emailintegration.php:

$mailmessage = preg_replace($pattern, $replace, $mailmessage);


Modification:


// 20080916 toivo@totaldata.biz: remove all but last message, leave one delimiter
// ei options set: 'use old email layout', 'use single from: address', 'single from name', 'single from address'
$from_str = 'From: ' . $vbulletin->options['ei_single_from_name'] . ' ';
$from_str .= '[mailto:' .$vbulletin->options['ei_single_from_address'] .']';
// remove text inserted by Outlook, possibly other clients
$original_str = '-----Original Message-----';
$underscore_str = '________________________________';
$first_pos = strpos($mailmessage, $from_str);
if ($first_pos !== false) {
$second_pos = strpos($mailmessage, $from_str, $first_pos + 1);
if ($second_pos !== false) {
$mailmessage = substr($mailmessage, 0, $second_pos);
// remove last '----- Original Message -----'
$first_orig_pos = strpos($mailmessage, $original_str);
if ($first_orig_pos !== false) {
$last_orig_pos = strrpos($mailmessage, $original_str);
if ($last_orig_pos !== false AND $last_orig_pos !== $first_orig_pos) {
$mailmessage = substr_replace($mailmessage, '', $last_orig_pos, strlen($original_str));
}
} else {
$first_us_pos = strpos($mailmessage, $underscore_str);
if ($first_us_pos !== false) {
$last_us_pos = strrpos($mailmessage, $underscore_str);
if ($last_us_pos !== false AND $last_us_pos !== $first_us_pos) {
$mailmessage = substr_replace($mailmessage, '', $last_us_pos, strlen($underscore_str));
}
}
}
}
}
// 20080916 end


Regards,
toivo

TBrewerton
09-16-2008, 11:30 AM
Hi,

Is there an option for a daily digest of the messages rather than all messages, like on yahoo groups??

If not is there a mod for this??

Kindest Regards,

Tim

rconn
09-23-2008, 10:42 AM
I had everything working for several months, then upgraded to vBulletin 3.7.3. Now the posts sent via email aren't appearing in the forum. (They are in the account inboxes, but they're apparently not being picked up.)

I doublechecked everything I could find but don't see any reason why the messages aren't being forwarded. Anybody have an idea what's going on?

Thanks.

Rex Conn

rconn
09-24-2008, 01:22 AM
I had everything working for several months, then upgraded to vBulletin 3.7.3. Now the posts sent via email aren't appearing in the forum. (They are in the account inboxes, but they're apparently not being picked up.)

I doublechecked everything I could find but don't see any reason why the messages aren't being forwarded. Anybody have an idea what's going on?

Thanks.

Rex Conn

I resolved this problem by applying the fix in #839.

I still have one remaining problem after the update -- the emails sent from the forum all have the forum name in the "From" field instead of the user name (as they had previously). I've been poking through the options but haven't found the one that controls that setting.

Rex Conn

toivo
09-24-2008, 01:42 AM
Hi Rex,

You can control it from:

AdminCP - vBulletin Options - Email Integration Settings - Use Single From Address.

I have that option selected, but if you turn it off, I assume it does what you want.

Regards,
Toivo

rconn
09-24-2008, 11:19 PM
Hi Rex,

You can control it from:

AdminCP - vBulletin Options - Email Integration Settings - Use Single From Address.

I have that option selected, but if you turn it off, I assume it does what you want.

Regards,
Toivo

I already have that option turned off. If I turn it on, I get an empty field for the Sender.

Rex

TBrewerton
09-28-2008, 06:07 AM
Hi there,

Ive tried installing the mod.

I can get messages to be sent to Inbox but when replying i get the following error

"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 /home/upload/includes/cron/emailintegration.php on line 52"

You say to make sure IMAP is turned on in php.ini yet i dont have dirrect access, if i know the command to turn it on my host has said i can place the command in a file named php.ini and it will turn the option on, can anyone help me with code to do this as i have no idea.

Im running on a linux server.

Kindest Regards,

Tim

toivo
09-30-2008, 08:28 PM
Hi there,

Ive tried installing the mod.

I can get messages to be sent to Inbox but when replying i get the following error

"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 /home/upload/includes/cron/emailintegration.php on line 52"

You say to make sure IMAP is turned on in php.ini yet i dont have dirrect access, if i know the command to turn it on my host has said i can place the command in a file named php.ini and it will turn the option on, can anyone help me with code to do this as i have no idea.

Im running on a linux server.

Kindest Regards,

Tim

Hi,

That is odd because according to the manual at http://php.net/manual/en/imap.installation.php, only Windows users can add the extension to php.ini. Otherwise PHP needs to have been compiled with the option --with-imap.

Regards,

lbernstein
10-04-2008, 11:40 PM
I'm currently on version 2.3.1 and looking to upgrade to the latest version (2.6.1). Do I need to actually upgrade to version 2.4, then to 2.5 and then the latest version? If so, where do I find the older versions?

Thanks,
LB

mvanlare
10-08-2008, 04:34 PM
Same issue as txspaderz. I am trying to import messages from a mailbox and don't care who the From address is. Can we circumvent the Invalid Email when running the scheduled task to post to a forum with no restrictions on membership?

mvanlare
10-08-2008, 05:17 PM
Would it also be possible to automatically merge threads with same title? The way it is set up, each new email shows as a new thread. Is there any way to lump threads together if they have the same title?

For example, a round of emails go about with the subject RE: Help please! - instead of 17 emails turning into 17 threads, I would like them to show as one thread.

I know there is a merge function, but I would prefer not to have to manage this on a daily basis.

Thanks for the add-on! Good stuff!

JohnNM
10-16-2008, 05:12 PM
Hi Chris,

It has been a while since I installed this excellent mod. Thanks for your earlier help to get some of the minor wrinkles worked out. I have a strange problem that I could use your help with.

I have several hundred users on my forum now. Out of these users, as near as I can tell, only two of us are receiving duplicate emails from every forum post. When you go into the UserCP -> EditOptions -> Format For Email Integration and change from Text to HTML, you then get one email in text and the other in HTML. This is about the only clue I have to go on right now.

The only other information I can think to give you is that I am running 3.68 Patch 2 (yes, I know I need to upgrade - not enough cycles in the day yet), and that one of the users is a RegisteredUser, and I am an Administrator. Any help you might give would be very appreciated.

Brad

JohnNM
10-16-2008, 07:36 PM
Hi Chris

One more thing. I would like to upgrade both vBulletin and Email Integration. Should I upgrade one before the other?

Brad

Abbas
10-19-2008, 03:12 AM
Excellent script- almost exactly what I was looking for- just had one question regarding the possible functionality:

At the moment, I receive news in email that I post to one of the forums which is picked up by my homepage. With this script, I can simply fwd the email that gets posted on the forum and picks up on the home page and its working great. The only functionality I would love is the ability to add Tags to the post on vB by maybe adding a line at the end of the email saying Tags: xxx

Is that a possibility?

Regards

leitel
11-04-2008, 11:31 AM
I suspect this has been brought up before, but couldn't find anything. When a thread is ut into moderation it still generates an email before the moderation is approved or denied. Can the email be delayed until moderation approval is given?
I am having emails of unmoderated posts go out. This is one way to quickly discourage participation from the very groups that are integral to our site. I will go fishing to hack around this but if this has already been addressed that would be great!! :)

Quantnet
11-18-2008, 04:54 PM
Does this work with latest version vb 3.8 beta?

GlamRockTalk
11-20-2008, 06:20 PM
I haven't started to do much research on this mod just yet. But, I was wondering if there was a way to put advertisements automatically into the 'message'? If so, how would it be done?

If I'm going to add this, I need to make sure that my site sponsors are not affected by less folks visiting and only replying via e-mail. If I can edit the 'message' sent with the actual thread/post, then we'll be fine.

pjcnlv
11-24-2008, 09:08 PM
Great mod. I think I can abandon the very unreliable (as of late) Google Groups with this.

I noticed earlier in this thread that you were working on the creation of thumbnails for embedded images. Has this progressed?

I would really like to have the users on the forum/archive see the thumbnail and be able to launch the full size image in the VBulletin environment.

Thanks much!

pjcnlv
11-24-2008, 10:17 PM
Okay, I have this working however, the system is simply sending out the canned messages for new posts to a forum when folks are subscribed to receive same.

The subject line of the emails sent out looks like this

"New Post/Thread Notification: (real forum name)"

The actual message subject line when posted was "TEST @Baja.net".

How can I fix this?

I think this is also preventing me from sending an email back to a thread so that the post becomes properly threaded on the forum.

asiegel
12-02-2008, 02:37 PM
Hi,

I was wondering if there was any progress made around using this addon with forums that are password protected?

Thanks!
a

ArnyVee
12-04-2008, 02:36 AM
So, I've got a question.

I recently installed a mobile style on my forums. I've been asked if there is an option where someone could send a picture from their mobile device to the forums and have it post automatically.

When they asked this, I thought of this mod. But, not sure if it's possible.

Is this something that I can do with this mod? If so, is it difficult to setup?

toivo
12-08-2008, 11:43 AM
Images do not seem to travel well with this mod. I commented out some checks it was doing and still had to recommend to users to rather create the post in the forum with attachments or embedded images than send attachments through email.

Off the topic: Outlook 2003 wraps long urls to the next line when the line exceeds 72 characters. There is a workaround: go to Tools - Options - Mail Format - International Options and deselect 'Auto select encoding for outgoing messages' and then select Western European (ISO) as the 'Preferred encoding for outgoing messages'. No broken URLs after this change.

Regards,

ArnyVee
12-08-2008, 03:01 PM
So, I've got a question.

I recently installed a mobile style on my forums. I've been asked if there is an option where someone could send a picture from their mobile device to the forums and have it post automatically.

When they asked this, I thought of this mod. But, not sure if it's possible.

Is this something that I can do with this mod? If so, is it difficult to setup?

I just did some searching through this mod's pages (sure are a lot of 'em!) and found a couple of instances where folks were referred to PhotoPost for what I'm suggesting above. But, after speaking with the folks at PhotoPost, they no longer support the ability to upload pictures via a mobile device (even though it states it in the features). So, I'm glad that I asked before purchasing it.

Anyone else have any suggestions?

snoopy5
12-11-2008, 10:53 AM
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 use only one e-mail address for the whole vb-board? I want my users to get all postings, no matter which subforum.

3. Is there a daily digest an option in ACP available?

Thanks in advance

ArnyVee
12-11-2008, 10:33 PM
I just did some searching through this mod's pages (sure are a lot of 'em!) and found a couple of instances where folks were referred to PhotoPost for what I'm suggesting above. But, after speaking with the folks at PhotoPost, they no longer support the ability to upload pictures via a mobile device (even though it states it in the features). So, I'm glad that I asked before purchasing it.

Anyone else have any suggestions?

I just noticed that Utterli.com and Flickr.com have the capability to receive pics from mobile devices. And, I think that they can then 'send' them to an e-mail address (as an attachment?). If that's the case, I can use that product to 'receive' the picture and then have it send the pic to my forum using this mod.

Does that make sense? Should it work?

JohnNM
12-22-2008, 08:41 PM
Hi Chris,

It has been a while since I installed this excellent mod. Thanks for your earlier help to get some of the minor wrinkles worked out. I have a strange problem that I could use your help with.

I have several hundred users on my forum now. Out of these users, as near as I can tell, only two of us are receiving duplicate emails from every forum post. When you go into the UserCP -> EditOptions -> Format For Email Integration and change from Text to HTML, you then get one email in text and the other in HTML. This is about the only clue I have to go on right now.

The only other information I can think to give you is that I am running 3.68 Patch 2 (yes, I know I need to upgrade - not enough cycles in the day yet), and that one of the users is a RegisteredUser, and I am an Administrator. Any help you might give would be very appreciated.

Brad

For others - found the problem. The user had registered once with an email address, had forgotten their password and so had registered again using a different user name but the same email address. I deleted the extra user and the duplicate emails stopped.

Brad

moodog
12-30-2008, 06:50 PM
is there away to change the character count?

I get this on large emails.
Fatal error:

* The text that you have entered is too long (15076 characters). Please shorten it to 10000 characters long.

thanks for any help..

Zothos68
01-07-2009, 09:36 PM
Hello.

Will this mod be compatible with the new 3.8 version that's being released soon?

Thank you in advance for your help.

- Zothos68

Fungsten
01-10-2009, 12:14 AM
Hello.

Will this mod be compatible with the new 3.8 version that's being released soon?

Thank you in advance for your help.

- Zothos68

I have 3.8 and can get it to notify me if there is a new post but I cannot get the reply to post. I've changed the settings in but the replies still do not post. TIA.

Fungsten
01-11-2009, 11:01 PM
Question!! Why doesn't the forum that receives the email show there is a new post in that forum until you click on the forum? Also the post count does not increase. TIA.

tommythejoat
01-12-2009, 01:19 AM
I have one bug and one suggestion to report.

Bug: when the mod processes an email with an attachment it computes the attachmentid incorrectly. The one I was just looking at was off by 4. The attachment also does not have the proper thumbnail in the post on the message board. However, if you click on the pseudo-url it does get translated to the actual attachmentid.

Suggestion: In an active discussion, the ability of users to edit a post creates a situation where different material goes out in the email than is on the message board. When a user is composing his email reply he sees the unedited post, but everyone else sees the edited version when the software processes the post and generates the next email.

If possible, the mod should check the time of the post and the board edit time limit then delay sending out the post for that period. Alternatively, it could check the editable status of the post and delay sending the email until the post is no longer editable.

That will cover everything except edits by admins and moderators. I don't see any solution for that without a lot of work to generated another "corrected" email with a suitable format to show that it is a previous one that has been edited. This problem also exists on Yahoo Groups if the list owner edits the on-line archive to remove bad stuff.

I am currently running 3.7.3 pl 1

ThePiston
01-18-2009, 12:56 AM
I downloaded this last year and am a little disappointed it hasn't progressed any further... I thought this mod would be huge. oh well.

asiegel
02-11-2009, 07:13 PM
Hi,

I was wondering if this addon works as expected in v3.8 of vbulletin

Any feedback is appreciated!

Thanks,
a

Fungsten
02-11-2009, 10:00 PM
Hi,

I was wondering if this addon works as expected in v3.8 of vbulletin

Any feedback is appreciated!

Thanks,
a

VB 3.8.1. Works.

paul5
02-20-2009, 06:43 PM
Hello,

I upgraded to vbulletin 3.8.1 last night, and Email Integration stopped working. Now, when I try to access the Forum Settings Help or the Email Integration scheduled task, I get this error:

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

I am not using IMAP, and I never have been, and I don't want to. This server only sends out messages to users, it does not accept replies/incoming messages.

Email Integration was working perfectly before the upgrade. (I was previously running 3.7.3 pl1)

Can someone help me to figure out what is wrong? I do not want to recompile PHP in order to enable a feature that I don't even want.

I am running OpenBSD 4.1, Apache/1.3.39 (Unix) PHP/5.2.4.

Thanks for your help.

toivo
04-06-2009, 11:41 PM
Don't you love it when a user goes on holidays from the forum that the EI Mod runs on? The person has of course set an out-of-office message in his/her native tongue which does not contain a single word that could be trapped by the out-of-office filter in your mail server. You wake up in the morning to find dozens of bounced messages in your mailbox and posts in the forum with a few expletives from frustrated users in different time zones.

This hack works for users of the old message format. It compares the beginning of the new message to the first 100 characters of the user's previous message and, if identical, removes the message from the mailbox.

Find the line 264 in emailintegration.php, version 2.6.1 BETA:
$mailmessage = preg_replace($pattern, $replace, $mailmessage);
Insert the following code after line 264:
if ( $userid ) {
$getlastpost = $vbulletin->db->query_first("
SELECT lastpostid
FROM " . TABLE_PREFIX . "user
WHERE userid = $userid
");
$lastpostid = $getlastpost['lastpostid'];
// lastpostid is not always updated
if ( !$lastpostid ) {
$getlastpost2 = $vbulletin->db->query_first("SELECT postid FROM " . TABLE_PREFIX . "post WHERE userid = $userid ORDER BY dateline DESC, postid DESC LIMIT 1");
$lastpostid = $getlastpost2['postid'];
}
if ( $lastpostid ) {
$gettext = $vbulletin->db->query_first("
SELECT pagetext
FROM " . TABLE_PREFIX . "post
WHERE postid = $lastpostid
");
$pagetext = $gettext['pagetext'];
$pagetext_comp = substr( $pagetext, 0, 100 );
$mailmessage_comp = substr( $mailmessage, 0, 100 );
if ( $pagetext_comp === $mailmessage_comp ) {
imap_delete($mailbox,$msgno);
continue;
}
}
}

Bob Ricci
04-06-2009, 11:53 PM
But does this run on vb 3.8.1?

Bob Ricci
04-06-2009, 11:55 PM
One more thing... I seriously think that this should be a native feature of vB. When we try to sell vB to our clients they say that they can use Yahoo for free AND Yahoo emails them a digest daily, or they can get instant replies. The same with chat. Integrated and native to vB.

toivo
04-07-2009, 12:13 AM
But does this run on vb 3.8.1?
The code to eliminate duplicate email messages has been tested with 3.6.8.

SDonkey
04-07-2009, 05:33 AM
I'm using v3.82 with this v2.6

Once it was working but stopped after few hours.

Re-installed. Working again and stopped.

Any ideas?

SDonkey
04-10-2009, 06:21 AM
After pressing run in the Scheduled Task. (Email Integration).

I got some errors in it.

So I edit in php.ini

Max post is 32mb and max upload is 32mb

Restart server. Now I got all working perfectly.

Each email create no larger than 20mb of storage so you don't get overload in php's memory which is 32mb max. (You may increase php memory but not recommended)

After next 3 days, it still showing new posts.

Great stuff! :)

lbernstein
04-15-2009, 05:38 PM
vB 3.8.2 EI 2.6.1

I'm able to receive posts going from the forum to email, but not the other way. Can anyone help point me to where I might be to fix the reply problem. I have set up individual emails for each forum and am able to receive posts via either POP3 or IMAP.

Thanks for any help.

SDonkey
04-26-2009, 02:01 PM
Just one thing.

Everything seems working perfect on v3.82 using this v2.6 (not beta)

I've adjust the vbulletin to moderate posts. The email integration overrides it.

So be careful for the spam posters sent email into forums still appear published without any moderate posts. Should these posts goes to pending posts where the vbulletin admin panel set to moderate posts for all.

Ta.

ispconnect
04-28-2009, 07:52 AM
We love using Email Integration, but found a little nasty bug in product-emailreplyint.xml on line 1050 which puts the variable $encoding in the headers instead of it's value. Which causes many mailservers to bounce the e-mails sent.
$eiheaders .= 'Content-Transfer-Encoding: $encoding' . $delimiter;

The bug can be fixed by changing the single quotes ( ' ) to double quotes ( " )
$eiheaders .= "Content-Transfer-Encoding: $encoding" . $delimiter;

wmw_meyer
05-12-2009, 02:04 PM
Hello there,

I have an issue with receiving emails in Outlook 2003. Is there an FAQ or any documentation apart from this forum where I could search for a solution. Outlook shows the header information in the email body for both txt and HTML based email, something like this:
--------------------------------------------------------------------
Reply-To: xx@xx
References: <3.15@emailintegration> <3.36@emailintegration>
Message-Id: <20090512143308.6F20148001@xx>
X-Spam-Checker-Version: SpamAssassin 3.2.3 (2007-08-08) * on
xxx.local * at Tue, 12 May 2009 16:31:52 +0200
X-Spam-Status: No, hits=-100.0, required=4.5, autolearn=disabled,
shortcircuit=ham
X-Spam-Report: * -100 USER_IN_WHITELIST From: address is in the user's
white-list
X-OriginalArrivalTime: 12 May 2009 14:31:52.0703 (UTC) FILETIME=[649180F0:01C9D30E]

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
-------------------------------------------------------------------------
I have tried switching round some of the header lines but got a little confused over which ones are used. There are references in the crons/emailintegration.php files and in the product-emailreplyint.xml to script that generates emails. Can somebody explain? Strangely the emails that confirm an error work fine but the automated notification email regarding a new post don't.

Am I also right in thinking that if I need to translate the plugin into German most of the language changes should be carried out in: product-emailreplyint.xml

Is it also correct that the user that has posted a message gets an email reminder as well, Shouldn't the author be excluded from the notification even if he has subscribed to the thread. Have I missed a setting to disable this?

I'm slowly making friends with vBulletin and the plugin but not convinced yet ;)
Many thanks
Nadine

Cyricx
05-12-2009, 02:21 PM
We love using Email Integration, but found a little nasty bug in product-emailreplyint.xml on line 1050 which puts the variable $encoding in the headers instead of it's value. Which causes many mailservers to bounce the e-mails sent.
$eiheaders .= 'Content-Transfer-Encoding: $encoding' . $delimiter;

The bug can be fixed by changing the single quotes ( ' ) to double quotes ( " )
$eiheaders .= "Content-Transfer-Encoding: $encoding" . $delimiter;

Will include in the next version when I get time to start working on it.. soon I hope :P


Hello there,

I have an issue with receiving emails in Outlook 2003. Is there an FAQ or any documentation apart from this forum where I could search for a solution. Outlook shows the header information in the email body for both txt and HTML based email, something like this:
--------------------------------------------------------------------
Reply-To: xx@xx
References: <3.15@emailintegration> <3.36@emailintegration>
Message-Id: <20090512143308.6F20148001@xx>
X-Spam-Checker-Version: SpamAssassin 3.2.3 (2007-08-08) * on
xxx.local * at Tue, 12 May 2009 16:31:52 +0200
X-Spam-Status: No, hits=-100.0, required=4.5, autolearn=disabled,
shortcircuit=ham
X-Spam-Report: * -100 USER_IN_WHITELIST From: address is in the user's
white-list
X-OriginalArrivalTime: 12 May 2009 14:31:52.0703 (UTC) FILETIME=[649180F0:01C9D30E]

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
-------------------------------------------------------------------------
I have tried switching round some of the header lines but got a little confused over which ones are used. There are references in the crons/emailintegration.php files and in the product-emailreplyint.xml to script that generates emails. Can somebody explain? Strangely the emails that confirm an error work fine but the automated notification email regarding a new post don't.

Am I also right in thinking that if I need to translate the plugin into German most of the language changes should be carried out in: product-emailreplyint.xml

Is it also correct that the user that has posted a message gets an email reminder as well, Shouldn't the author be excluded from the notification even if he has subscribed to the thread. Have I missed a setting to disable this?

I'm slowly making friends with vBulletin and the plugin but not convinced yet ;)
Many thanks
Nadine
I haven't experienced the outlook 2003 bug, but will try to replicate it.

You will need to translate it to german yes. But this should be done through your language manager. Then it will carry over for new versions too, otherwise you will have to redo the edits each time I send out a new version... well.. which should be happening more frequently soon... I hope :)

The user should be receiving an email too, this is the same as occurs with yahoo groups. There is an option, in the user's edit options to disable this. From my experience, very few turn this off as most want to be sure the message went through and are able to best do that by receiving their own post in an email. Otherwise, they aren't sure if it ever goes through.

toivo
05-12-2009, 10:36 PM
Is anyone planning to use this add-on with moderated forums?

I have to migrate an email list to a moderated forum, and we have one unmoderated forum already in live production mode. So far I have managed to skip the sending of emails in emailintegration.php and send them through a custom hook and a cloned plugin in moderate.php instead. I am now working on a similar plugin for the inline moderation.

wmw_meyer
05-27-2009, 12:49 PM
I am trying to find a good way of allowing users to sign up for an instant email message threads only, what would we the best way to do it:
Currently this is the case:
If a user is only subscribed to the thread, they get vbulletins default thread email.

Tweeterest
05-30-2009, 06:19 PM
One more thing... I seriously think that this should be a native feature of vB. When we try to sell vB to our clients they say that they can use Yahoo for free AND Yahoo emails them a digest daily, or they can get instant replies. The same with chat. Integrated and native to vB.

Diddo! BIIIIIIIG DIDDO! Waiting very anxiously for a 3.8.x version of EI... :up:

bellsh83
06-08-2009, 06:41 AM
I got a problem . After install it to version 3.8.2 no new user can sign up. it shows database error.

Is the plugin suitable to version 3.8.2 ?

If you kindly told me where i have to check the error in you plugin so that i can help you to fix the bug:)

Cyricx
06-08-2009, 05:32 PM
None of the plugins, intereact at all with the registration system.

I'd suspect this problem would have more to do with issues with other plugins you might have installed.

The best way to test this is to disable the prodcut and see if the bug still occurs.

Or post up the database error you are getting.

bellsh83
06-14-2009, 08:56 PM
the new thread email notification is not sending. i tried both mail() and vb mail function. I am using the version 3.8.3 . The email is attached below. Can you kindly tell me why the error occur.

saif.live@yahoo.com
[Main Forum-t-621] ech p ech p ech p ech p ech p ech p
(Please type your reply below this line!!) -=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=- -=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=- (Please type your reply above this line!!) You may increase the space between the above lines as needed. ______________________ CURRENT MESSAGE FROM: ech p ech p ech p ech p ech p ech p ech p ech p ech p ech p ech p ech p ech p ech p ech p ech p ______________________ This thread is located at: http://ambersight.com/forumstest2/showthread.php?t=621 To unsubscribe from this forum, please visit this page: http://ambersight.com/forumstest2/subscription.php?do=addsubscription&f=2 You may reply to this email to post a reply to the forum. You can also begin a new thread by sending an email to saif.live@gmail.com
Date: Sun, 14 Jun 2009 17:41:36 -0400 From: saif Reply-To: saif.live@gmail.com MIME-Version: 1.0 Content-Type: text/plain Content-Transfer-Encoding: $encoding Message-Id: <621.1860@emailintegration> X-Priority: 3 X-Mailer: vBulletin Mail via PHP

bellsh83
06-14-2009, 08:57 PM
In my database there is a fourm id missing so it shows error.

bellsh83
06-14-2009, 08:58 PM
None of the plugins, intereact at all with the registration system.

I'd suspect this problem would have more to do with issues with other plugins you might have installed.

The best way to test this is to disable the prodcut and see if the bug still occurs.

Or post up the database error you are getting.

In my database a forum id was missing show it showed error.

lbernstein
06-16-2009, 08:23 PM
Is there a way of increasing the number of forumids that can be added to the "Email Reply Integration Settings" from within the Usergroup Manager? I seem to be able to add only 100 characters (which include commas and spaces).

I am also wondering when configuring the settings within the Forum Manager, whether the "Hostname of the above email" should be pop.ambersight.com or smtp.ambersight.com?

Thanks

mjname
06-17-2009, 01:22 AM
I'm being told by my host provider that IMAP is not available for PHP5. does anyone have a clue what I can do? I'm a little lost in what to do next. I would really like to have the ability to email some of my forums.

mykkal
06-18-2009, 12:29 PM
None of the plugins, intereact at all with the registration system.

I'd suspect this problem would have more to do with issues with other plugins you might have installed.

The best way to test this is to disable the prodcut and see if the bug still occurs.

Or post up the database error you are getting.

can i get some help please? I've asked a million times.

lbernstein
06-18-2009, 05:38 PM
Is anyone interested in a quick consulting job to help me fix my Email Integration problems? Please PM me if you are.

joyfulmiller
07-08-2009, 05:39 PM
I have vBulletin installed in a folder that is protected with aMember. Will this mod work with my 3.8.3 vBulletin since it's located in a protected directory? I imagine the emails will send okay, but will the replies by email work?

Cyricx
07-08-2009, 07:17 PM
I'm being told by my host provider that IMAP is not available for PHP5. does anyone have a clue what I can do? I'm a little lost in what to do next. I would really like to have the ability to email some of my forums.
I suspect your host is blowing smoke.. I'm running PHP 5.2.6, MYSQL 5.0.27 and IMAP Server 1.0 with no issues at all.

You don't have to use IMAP though. You can connect with pop3 as well.



Is there a way of increasing the number of forumids that can be added to the "Email Reply Integration Settings" from within the Usergroup Manager? I seem to be able to add only 100 characters (which include commas and spaces).

I am also wondering when configuring the settings within the Forum Manager, whether the "Hostname of the above email" should be pop.ambersight.com or smtp.ambersight.com?

Thanks
Database field overlook. Use phpmyadmin or something similar to go into your database, go into the usergroup table and edit the ei_forumid field to set the character limit to 250. This will be fixed in the next version, or I'll have an alternate way for the system to handle this. Not too happy with how it does it now with typing in IDs. *shrug*

As for the hostname, try both. It depends on what you need to use to connect to the box. You can always use the Email Intergration -> Forum Settings Help to test your suspected settings.


I have vBulletin installed in a folder that is protected with aMember. Will this mod work with my 3.8.3 vBulletin since it's located in a protected directory? I imagine the emails will send okay, but will the replies by email work?
That shouldn't affect things at all. It should work just fine.

Worst case scenario.. fire up a test board and try it out. I always strongly suggest testing new mods on a test board before using them on a live board anyway.

Cyricx
07-08-2009, 08:28 PM
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
07-08-2009, 09:25 PM
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..



I still need the same help I need 4 months ago and have been begging for.

Cyrix reinstalling did not work. Will you ever help me?

If not... just let me know and I will stop asking completely.

Cyricx
07-08-2009, 09:48 PM
You'll have to repeat your problem.

The biggest problem people have had is not redoing the file edits after they upgrade vbulletin *sigh*

mykkal
07-08-2009, 09:55 PM
You'll have to repeat your problem.

The biggest problem people have had is not redoing the file edits after they upgrade vbulletin *sigh*

The problem is where we left it in private messaging. I have reinstalled and followed the upgrade instructions. No matter what I get this error. Can you help me resolve it? A lot of my traffic was based on the email intergration mod and my revenue, etc... is way down now. I'm using php5 and MYSQL 5. The user for SQL has complete access to the database on a dedicated server.

It worked before I attempted this upgrade. Not since tho...

Database error in vBulletin 3.8.1:

Invalid SQL:
UPDATE vb_forum SET
title_clean = 'Modeling &amp; Acting Auditions (Metro Miami/Ft. Lauderdale &amp; Florida!)',
title = 'Modeling &amp; Acting Auditions (Metro Miami/Ft. Lauderdale &amp; Florida!)',
description_clean = 'Castings in Metro Miami , Orlando, Tampa, and the rest of Florida.',
description = 'Castings in Metro Miami , Orlando, Tampa, and the rest of Florida.',
link = '',
displayorder = 60,
parentid = 3,
daysprune = -1,
defaultsortfield = 'lastpost',
defaultsortorder = 'desc',
showprivate = 0,
newpostemail = '',
newthreademail = '',
### Bitfield: vb_forum.options ###
options = IF(options & 8, options - 8, options),
options = IF(options & 16, options - 16, options),
options = IF(options & 32, options - 32, options),
options = IF(options & 32768, options - 32768, options),
options = IF(options & 8192, options - 8192, options),
options = IF(options & 4, options, options + 4),
options = IF(options & 1, options, options + 1),
options = IF(options & 2, options, options + 2),
options = IF(options & 16384, options, options + 16384),
options = IF(options & 256, options, options + 256),
options = IF(options & 64, options, options + 64),
options = IF(options & 128, options, options + 128),
options = IF(options & 512, options, options + 512),
options = IF(options & 1024, options, options + 1024),
options = IF(options & 2048, options, options + 2048),
options = IF(options & 4096, options, options + 4096),
options = IF(options & 65536, options, options + 65536),
options = IF(options & 131072, options - 131072, options),
styleid = 0,
imageprefix = '',
password = '',
vbseo_moderatepingbacks = 0,
vbseo_moderatetrackbacks = 0,
vbseo_moderaterefbacks = 0,
chiefpost = 1,
ei_replyaddress = 'atlanta@jobs.mymodeltalk.com',
ei_hostname = 'mail.mymodeltalk.com',
ei_username = 'atlanta@jobs.mymodeltalk.com',
ei_password = 'getmoney',
ei_folder = 'INBOX',
ei_connectiontype = '0',
ei_usergroups = '2',
ada_forum = 1,
ada_style = 3
WHERE forumid = 17;

MySQL Error : Unknown column 'ei_replyaddress' in 'field list'
Error Number : 1054
Request Date : Wednesday, May 27th 2009 @ 10:14:41 AM
Error Date : Wednesday, May 27th 2009 @ 10:14:41 AM
Script : http://www.mymodeltalk.com/jobs/admi....php?do=update
Referrer : http://www.mymodeltalk.com/jobs/admi...o=edit&f=17&s=
IP Address : 76.97.227.84
Username : mykkal
Classname : vB_Database
MySQL Version : 5.0.77-community

Database error in vBulletin 3.8.1
Invalid SQL:

SELECT ei_usergroups, title_clean, ei_active
FROM vb_forum
WHERE forumid = 57;

MySQL Error : Unknown column 'ei_usergroups' in 'field list'
Error Number : 1054
Request Date : Wednesday, May 27th 2009 @ 10:24:10 AM
Error Date : Wednesday, May 27th 2009 @ 10:24:11 AM
Script : http://www.mymodeltalk.com/jobs/admincp/usergroup.php?do=update
Referrer : http://www.mymodeltalk.com/jobs/admincp/usergroup.php?do=edit&usergroupid=2
IP Address : 76.97.227.84
Username : mykkal
Classname : vB_Database
MySQL Version : 5.0.77-community

Cyricx
07-08-2009, 10:38 PM
The tone of voice isn't very encouraging for making me want to help, but whatever.

Your missing some fields in your database. I'll run a test of this on the test board and try to duplicate it. The two fields your missing are from version 1.0 and version 2.2, so it makes me think your missing more then just those two.

What version of vbulletin are you running?

mykkal
07-08-2009, 11:30 PM
The tone of voice isn't very encouraging for making me want to help, but whatever.


What exactly should I sound like after ASKING and WAITING more then 4 months for help when others get it same day?

Especially after I've supported you for more then 3 years.
One second... Did you really say that?

I am running vbulletin version 3.8.

Cyricx
07-09-2009, 01:34 PM
I'm completely stumped. I've uninstalled and reinstalled on 3.8.3 and all of the fields are created. Do you use a table prefix?

lbernstein
07-09-2009, 04:11 PM
Database field overlook. Use phpmyadmin or something similar to go into your database, go into the usergroup table and edit the ei_forumid field to set the character limit to 250. This will be fixed in the next version, or I'll have an alternate way for the system to handle this. Not too happy with how it does it now with typing in IDs. *shrug*


That's great that I can expand it. Do I edit the "char" or the "varchar" variable to expand the character limit to 250?

Thanks again.

Cyricx
07-09-2009, 04:21 PM
Nope, varchar type field allows for 250 character limit.

So just edit the number 100 to 250 and that's it.

Fungsten
07-09-2009, 06:09 PM
Nope, varchar type field allows for 250 character limit.

So just edit the number 100 to 250 and that's it.

Here's what I have for the "ei_forumid":

varchar(100) A pull down menu and a blank line. Where should it be changed?

Cyricx
07-09-2009, 06:13 PM
Can you provide a screenshot? I'm unable to determine how to assist you from what you've typed there. It largely depends upon what program your using to interface with your database and the version of that program. Ultimately, you need to edit the field to change the 100 to 250.

Fungsten
07-09-2009, 06:23 PM
Can you provide a screenshot? I'm unable to determine how to assist you from what you've typed there. It largely depends upon what program your using to interface with your database and the version of that program. Ultimately, you need to edit the field to change the 100 to 250.

This is in phpMyAdmin:

101761

Cyricx
07-09-2009, 06:35 PM
Your editting the data in the row, not the field itself.

On the left hand dropdown of tables, select "Usergroup", and then click "Structure" in the main screen along the top bar.

Now scroll down and put a checkmark next to ei_forumid and then click the pencil on the bottom.

Attached is a screenshot of the last step.

From there it'll open up to where you can easily change the char limit to 250.

Fungsten
07-09-2009, 06:58 PM
Your editting the data in the row, not the field itself.

On the left hand dropdown of tables, select "Usergroup", and then click "Structure" in the main screen along the top bar.

Now scroll down and put a checkmark next to ei_forumid and then click the pencil on the bottom.

Attached is a screenshot of the last step.

From there it'll open up to where you can easily change the char limit to 250.

Still doesn't work. :(

On Edit:

It was received. However it doesn't take out the Email address where it came form.

Cyricx
07-09-2009, 08:40 PM
I was under the understanding the issue you had was not being able to add enough forumids in the usergroup manager to the autosubscribe option.

Issues with the preg_match, things needing to be removed from the text of emails prior to posting or oddities in characters like %20 etc, will be resolved in the next version for 3.8 . I'll be going a new route of requiring the pear package for mimedecoding to be installed. I spent way too much time trying to work on the decoder. I'm going to focus on the integration for the next version. Please be patient on preg_match issues and worry not.. pear packages are extremely easy to install :)

mykkal
07-10-2009, 10:07 PM
I'm completely stumped. I've uninstalled and reinstalled on 3.8.3 and all of the fields are created. Do you use a table prefix?

Yes actually... becuase the site is integrated phpfox the vbulletin tables and phpfox tables have been merged into one database.

But that is common with integrations. Can the software not handle this?

I do remember that email integration was installed before we merged the phpfox (a social network) & vbulletin into one huge DB. It was working until we upgraded. I'll also add that since the integration we haven't had to make any special steps installing plugins.

Do you want to take a look? It must be something small. This is the first pluggin i've had trouble installing since we integrated. I'm not sure that has anything to do with it. There's over 5 complicated pluggins working on our installation 3.8.1.

joyfulmiller
07-12-2009, 02:06 AM
This is likely a stupid question (but I'm such a newbie at this I freely admit I really have no clue), but I'm assuming that with this mod installed, the option "instant email notification" should show up in the drop down menu that loads when you click Subscribe under Forum Tools. Am I right?

I'm asking because I just installed this mod on my 3.8.3, and I've gotten no error anywhere, but I've also not seen ANY changes at all. I still only have the daily and weekly options for subscribing to forums.

Any ideas what I'm doing wrong?

Fungsten
07-12-2009, 09:01 PM
I was under the understanding the issue you had was not being able to add enough forumids in the usergroup manager to the autosubscribe option.

Issues with the preg_match, things needing to be removed from the text of emails prior to posting or oddities in characters like %20 etc, will be resolved in the next version for 3.8 . I'll be going a new route of requiring the pear package for mimedecoding to be installed. I spent way too much time trying to work on the decoder. I'm going to focus on the integration for the next version. Please be patient on preg_match issues and worry not.. pear packages are extremely easy to install :)

I'll be waiting. Thanks because I love this MOD. I'll give you a few $$$ after it's updated!

Cyricx
07-13-2009, 12:11 PM
Yes actually... becuase the site is integrated phpfox the vbulletin tables and phpfox tables have been merged into one database.

But that is common with integrations. Can the software not handle this?

I do remember that email integration was installed before we merged the phpfox (a social network) & vbulletin into one huge DB. It was working until we upgraded. I'll also add that since the integration we haven't had to make any special steps installing plugins.

Do you want to take a look? It must be something small. This is the first pluggin i've had trouble installing since we integrated. I'm not sure that has anything to do with it. There's over 5 complicated pluggins working on our installation 3.8.1.

I'd love to take a peek. I can manually add the fields in if needed. But I'd rather try to figure out why it's not installing right.


This is likely a stupid question (but I'm such a newbie at this I freely admit I really have no clue), but I'm assuming that with this mod installed, the option "instant email notification" should show up in the drop down menu that loads when you click Subscribe under Forum Tools. Am I right?

I'm asking because I just installed this mod on my 3.8.3, and I've gotten no error anywhere, but I've also not seen ANY changes at all. I still only have the daily and weekly options for subscribing to forums.

Any ideas what I'm doing wrong?
Missed the template edits in the install.txt file. You should also ensure that you did the file edit as well, else you will have other larger problems as well.


I'll be waiting. Thanks because I love this MOD. I'll give you a few $$$ after it's updated!
It's comin soon! :) I just finished redoing the layout for campgaea.org which was the only priority higher then this one :)

joyfulmiller
07-13-2009, 08:02 PM
You should also ensure that you did the file edit as well, else you will have other larger problems as well.

I'll double check that I didn't miss anything, but I was really carefully to do everything exactly as described for the install. Everything seemed to go smoothly with no errors. I remember doing the template edit, but I guess I didn't do it right?

Can you be more specific about the "file edit"? I'm not sure if I know which "file edit" you're referring to.

Cyricx
07-13-2009, 08:37 PM
I'll double check that I didn't miss anything, but I was really carefully to do everything exactly as described for the install. Everything seemed to go smoothly with no errors. I remember doing the template edit, but I guess I didn't do it right?

Can you be more specific about the "file edit"? I'm not sure if I know which "file edit" you're referring to.

Step 4 of the install.txt file states:


4. FILE EDIT
In:
/includes/class_mail.php
**************
FIND:
**************
$headers .= preg_replace("#(\r\n|\r|\n)#s", $delimiter, $uheaders);
unset($uheaders);

**************
AND ADD ABOVE IT:
**************
// ##### START MOD - Email Integration #####
if (preg_match("/(.*)emailintegration(.*)/", $uheaders, $uheaderparts))
{
$eiheaders = $uheaders;
}
// ##### END MOD - Email Integration #####

**************
SAVE AND UPLOAD!
**************

mykkal
07-15-2009, 02:05 AM
I'd love to take a peek. I can manually add the fields in if needed. But I'd rather try to figure out why it's not installing right.

ok what is the nest step?

Cyricx
07-15-2009, 03:07 AM
ok what is the nest step?

Send me some login details via PM.

I emptied out my PM box so I can actually see what I'm getting again heh.