Go Back   vb.org Archive > vBulletin Modifications > Archive > vB.org Archives > vBulletin 3.6 > vBulletin 3.6 Add-ons
FAQ Community Calendar Today's Posts Search

Reply
 
Thread Tools
Email Integration (New threads/replies by email) Details »»
Email Integration (New threads/replies by email)
Version: 2.6, by Cyricx Cyricx is offline
Developer Last Online: Dec 2011 Show Printable Version Email this Page

Category: Major Additions - Version: 3.6.8 Rating:
Released: 07-01-2007 Last Update: 02-28-2008 Installs: 192
DB Changes Uses Plugins Template Edits Auto-Templates
Code Changes Additional Files  
No support by the author.

This mod is based off of the Mail Reply modification by Colin F to which I have obtained permission to rewrite and release.

This modification allows you to mimic email lists such as yahoo groups through your forums!

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.

Just like how there is a separate email address for each yahoo group.

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

Any posts in that forum, will be sent to them via email. (Example email attached below). The users can then reply to that email (which will then be processed and posted to the forums through the cron job that runs every 10 minutes), or they can send a new email to the email address and a brand new thread will be created!

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


BUGS!
These are the known bugs to date:
  • Confirmed bug that email processing does not handle Japanese characters.
Unsupported Items
These are the items that are not currently supported:
  • Some custom bbcode modifications will not display like they do on the forums in the html emails. Like glow, and the table mod.
TO UPGRADE
  • Please see the file in the zip for upgrading!! If your upgrading from version 2.3.X you will need to reverse some file edits that are no longer nessecary!
NEW INSTALL
  • See instructions in the zip file.
VERSION HISTORY!
(See the file in the zip for a complete history!)
  • 2.6 Release
    • Bug Fixes
      • Joining an unmoderated public group will now auto subscribe you per the usergroup settings.
      • NO CONFLICTS with Instant Thread Subscription! See details in below post.
    • New Stuff
      • User Option Allow Auto Subscribe - This is an admin allowable, user option that let's the user choose to not be auto subscribed.
      • User Option not receive own posts - A new user option that lets them select to NOT receive their own posts via email.
      • Editted the phrase for the Auto Subscription script to tell people what to do if there are no listings.
      • Added error checks when saving a usergroup for if auto subscriptioin is entered with a forumid for a forum that does not have email integration enabled and also checks that the usergroup you are saing is entered in the forum manager as allowed to use email integration.
  • 2.6.1 Release (BETA VERSION)
    • Hot Fix
      • It appears I was unseting a variable too soon. I've corrected this and it has resolved the issue with multiple posted replies on my test server.
Most of these will be slow to make it in til I know I've got the code to handle just about every type of email we could receive But in anycase, here are the ideas for future versions!
  • End User Option to subscribe to just receive new thread emails, or receive all new thread & reply emails (current version does all new threads & replies).
Thanks to RedTyger, Bob Denny, Ed Kohwley and Chris McKeever for their additions and assistance with portions of this code.

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

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

You guys rock!

Please feel free to donate to my continued work on this modification!! It let's me spend more time on it!
Make a Donation!


Version 2.6 will work with both 3.6.8 and 3.7!


The #.X versions are the solid tested versions.

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

Thank you!!

~ Cyricx

Supporters / CoAuthors

Show Your Support

  • This modification may not be copied, reproduced or published elsewhere without author's permission.

Comments
  #472  
Old 11-07-2007, 05:05 PM
Cyricx Cyricx is offline
 
Join Date: Aug 2002
Location: Missouri
Posts: 1,144
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

*shrug*

Personally, I think replying within 1 week is doing pretty damn good
Reply With Quote
  #473  
Old 11-10-2007, 01:06 AM
GlitterKill GlitterKill is offline
 
Join Date: Jul 2002
Location: Nashville
Posts: 139
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Does anyone know if this plays nice with VBSEO?
Reply With Quote
  #474  
Old 11-10-2007, 01:36 AM
ChurchMedia's Avatar
ChurchMedia ChurchMedia is offline
 
Join Date: Dec 2002
Location: Las Cruces, NM
Posts: 473
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Cyricx View Post
*shrug*

Personally, I think replying within 1 week is doing pretty damn good
Hey, I'm glad to field a few questions. That's what "community" is all about!

Quote:
Originally Posted by GlitterKill View Post
Does anyone know if this plays nice with VBSEO?
I'm running VBSEO. No problems.
Reply With Quote
  #475  
Old 11-12-2007, 04:08 PM
bchertov's Avatar
bchertov bchertov is offline
 
Join Date: Dec 2004
Location: Sonoma County, CA
Posts: 259
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Cyricx View Post
I we just went through the Samhain (halloween) holiday. For most people it may not be a big deal.. but for my personal religion it's our new years holiday
Blessed Be!

My forum has evolved out of a Yahoogroups and this sounds like it will let people post via email which many of my members miss!

Do you think this mod is ready for prime time? Should I wait for the next version?

Thanks for your answer to this and for all your good work that you have shared with us!

Barry
Reply With Quote
  #476  
Old 11-12-2007, 11:01 PM
Cyricx Cyricx is offline
 
Join Date: Aug 2002
Location: Missouri
Posts: 1,144
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Glitterkill -
I had vbseo running side by side with one of the earlier versions and didn't notice any side effect issues at all

Bchertov -
As to if this mod is ready for prime time... that's hard to say. Some are experiencing odd issues with it. Others are having no problems at all! I'm definately working to try to fix those problems as time allows.. but truthfully, I can't give a definitive date on when the next version will be out.

I just discovered that vbmail doesn't like to run from a cron job as an html email when a & is involved.. yeah.. that's gonna be a doozy to fix heh.

But yeah, evolving from yahoogroups was the entire purpose for this modification


ChurchMedia - You Rock!!!
Reply With Quote
  #477  
Old 11-13-2007, 04:24 AM
unitedpunjab unitedpunjab is offline
 
Join Date: Feb 2006
Location: Scotland
Posts: 286
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Hey MOD start working now. And my forum sending mail to every one i forced to subscribe.

But now there is a little bit problem

My forum has around 20,500 + members. And a typical subsection of my forum receive around 5-6 replies every minute. More high in certain hours.

So now when i put that sub forum on e-mail subscription list to all the registered users. It starts sending email on every post that has been made in any thread across that sub forum.

I want a tweak here so that i can set the option to SEND EMAIL ON NEW THREAD ONLY.

Where when some body start a new thread only at that time email system shoot a mail.

Couz u can imagine sending 20,500+ mails every half a minute will take my server down.
Reply With Quote
  #478  
Old 11-13-2007, 12:26 PM
StuartDH StuartDH is offline
 
Join Date: Oct 2005
Posts: 9
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by doubleclick View Post
ok. got past the imap error. Turns out this error message isn't just about which of the 6 connection type settings to use.
Could you post more info to tell us how you sorted it out

Thanks
Reply With Quote
  #479  
Old 11-16-2007, 08:26 AM
justchecking justchecking is offline
 
Join Date: May 2006
Posts: 17
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Great mod. Really appreciate all the effort. Will contribute soon. I was able to install and also got email when someone replied. Then when I replied, i was expecting the email to show up as a reply in the thread after 10 minutes. But I have not seen it yet. My question -
Did I screw up something during installation ? I am not still not sure where I enabled the cron job. Does the script have the cron functionality or do I have to enable it in the c-panel of my site.

Does the script only verify with the email address or name also. Because in this case names do not match between vbulletin forum site and yahoo account, but emails match and hence i got the email.

Oh one more thing, in the email I received when someone replied, i see in the brackets - [forumname-t-321] ....is that normal.

thanks.
jc
Reply With Quote
  #480  
Old 11-16-2007, 12:51 PM
Cyricx Cyricx is offline
 
Join Date: Aug 2002
Location: Missouri
Posts: 1,144
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by unitedpunjab View Post
I want a tweak here so that i can set the option to SEND EMAIL ON NEW THREAD ONLY.
This is something planned for down the line.


Quote:
Originally Posted by StuartDH View Post
Could you post more info to tell us how you sorted it out

Thanks
For your host name try, localhost, mail.yourdomain.com, yourdomain.com or your IP address for your server. I really want to create a script that will have you input a few of these different variables and then it'll run through a list and try to determine your settings for you. But that is also.. on my to-do list



Quote:
Originally Posted by justchecking View Post
Great mod. Really appreciate all the effort. Will contribute soon. I was able to install and also got email when someone replied. Then when I replied, i was expecting the email to show up as a reply in the thread after 10 minutes. But I have not seen it yet. My question -
Did I screw up something during installation ? I am not still not sure where I enabled the cron job. Does the script have the cron functionality or do I have to enable it in the c-panel of my site.

Does the script only verify with the email address or name also. Because in this case names do not match between vbulletin forum site and yahoo account, but emails match and hence i got the email.

Oh one more thing, in the email I received when someone replied, i see in the brackets - [forumname-t-321] ....is that normal.

thanks.
jc
It only checks the email address. And then matches that up to your user's email address. So they have to send the email from the same email address that they have associated with their username on your forums.

The 10 minutes thing is based on activity. Vbulletin only runs cron jobs when the forum is active. This is because the variable to run the cron jobs is actually located in the footer template. So if noone is visiting your forums.. the cron jobs.. and the email integration won't run.

Basically.. it'll run a maximum of 10 minutes if your board is constantly active. Otherwise it will wait to run til the next time someone is visiting. The best way to understand this is to open up two windows. One is to your forums. and the other is the admincp, scheduled tasks.

Do this after the board has been quiet for a few hours. What you will see when you first login is a bunck of tasks that are past the time they were supposed to run. Each time you click on a different page on the site, one of the tasks will run that are waiting to run.
Reply With Quote
  #481  
Old 11-16-2007, 03:57 PM
justchecking justchecking is offline
 
Join Date: May 2006
Posts: 17
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

thanks Chris. I finally found that we need to run the cron job manually first time through scheduled tasks manager in admincp. My problem is that when I do that, I get an error
- unable to open the stream. So basically cron script has trouble logging into the mail system and downloading the emails. I tried all 6 settings but no luck.

-thanks.
dslv

Email Integration

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

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

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

Done
Reply With Quote
Reply


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT. The time now is 07:48 PM.


Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2024, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.05541 seconds
  • Memory Usage 2,339KB
  • Queries Executed 26 (?)
More Information
Template Usage:
  • (1)SHOWTHREAD
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (1)ad_showthread_beforeqr
  • (7)bbcode_quote
  • (1)footer
  • (1)forumjump
  • (1)forumrules
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (1)modsystem_post
  • (1)navbar
  • (6)navbar_link
  • (120)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)pagenav_pagelink
  • (3)pagenav_pagelinkrel
  • (11)post_thanks_box
  • (11)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (11)post_thanks_postbit_info
  • (10)postbit
  • (11)postbit_onlinestatus
  • (11)postbit_wrapper
  • (1)spacer_close
  • (1)spacer_open
  • (1)tagbit_wrapper 

Phrase Groups Available:
  • global
  • inlinemod
  • postbit
  • posting
  • reputationlevel
  • showthread
Included Files:
  • ./showthread.php
  • ./global.php
  • ./includes/init.php
  • ./includes/class_core.php
  • ./includes/config.php
  • ./includes/functions.php
  • ./includes/class_hook.php
  • ./includes/modsystem_functions.php
  • ./includes/functions_bigthree.php
  • ./includes/class_postbit.php
  • ./includes/class_bbcode.php
  • ./includes/functions_reputation.php
  • ./includes/functions_post_thanks.php 

Hooks Called:
  • init_startup
  • init_startup_session_setup_start
  • init_startup_session_setup_complete
  • cache_permissions
  • fetch_threadinfo_query
  • fetch_threadinfo
  • fetch_foruminfo
  • style_fetch
  • cache_templates
  • global_start
  • parse_templates
  • global_setup_complete
  • showthread_start
  • showthread_getinfo
  • forumjump
  • showthread_post_start
  • showthread_query_postids
  • showthread_query
  • bbcode_fetch_tags
  • bbcode_create
  • showthread_postbit_create
  • postbit_factory
  • postbit_display_start
  • post_thanks_function_post_thanks_off_start
  • post_thanks_function_post_thanks_off_end
  • post_thanks_function_fetch_thanks_start
  • post_thanks_function_fetch_thanks_end
  • post_thanks_function_thanked_already_start
  • post_thanks_function_thanked_already_end
  • fetch_musername
  • postbit_imicons
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • postbit_display_complete
  • post_thanks_function_can_thank_this_post_start
  • pagenav_page
  • pagenav_complete
  • tag_fetchbit_complete
  • forumrules
  • navbits
  • navbits_complete
  • showthread_complete