The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
Email Integration (New threads/replies by email) Details »» | |||||||||||||||||||||||||||
Email Integration (New threads/replies by email)
Developer Last Online: Dec 2011
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:
These are the items that are not currently supported:
(See the file in the zip for a complete history!)
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
|
Comments |
#252
|
|||
|
|||
Quote:
|
#253
|
|||
|
|||
Like so
Code:
// this grabs an overview of all the messages in the mailbox and creates an array we can read $letters = imap_fetch_overview($mailbox,"1:$amountmessages",0); //then later in the cron file it checks the array we made above and determines the sender and host to determine the email address. $fromaddress = $letter->sender[0]->mailbox ."@".$letter->sender[0]->host; // then later it does this query to find a user that has that email address $userinfo = $vbulletin->db->query_first(" SELECT user.*, usertextfield.* FROM " . TABLE_PREFIX . "user AS user LEFT JOIN " . TABLE_PREFIX . "usertextfield AS usertextfield ON (usertextfield.userid = user.userid) WHERE email = '".addslashes(htmlspecialchars($fromaddress))."' "); // finally in the cron file it does this which is where if there is not a user found in the above query, it sends the person an error message. // If Email Address belongs to a user if (!$userid) { $userinfo['username'] = "Unregistered User"; $userinfo['languageid'] = 0; eval(fetch_email_phrases('ei_error_nouser', $userinfo['languageid'])); vbmail($fromaddress, $subject, $message); imap_delete($mailbox,$msgno); continue; } I think I've mentioned this a few times in this thread how it determines the user that is posting |
#254
|
||||
|
||||
Cyricx, just wanted to give you a hearty pat on the back... your hack is looking most excellent and the support you're providing in this community is very much appreciated.
|
#255
|
||||
|
||||
Quote:
|
#256
|
|||
|
|||
Perhaps using this hack to create that first post would be better?
https://vborg.vbsupport.ru/showthrea...highlight=form Then you would be able to take your existing form, send an email to someone if you needed and also have it create the new thread in the forum in question, which you could then utilize my hack to reply to Hypothetically speaking of course O and as far as the regex filter, basically your saying that M2F lets you setup that if XXX is in the email address, it has to be moderated? |
#257
|
||||
|
||||
Quote:
anyways, I was hoping for one mod, but I'll go for two. Yes it does do two kinds of regex things, one to strip out and/or replace things like the yahoo/AOL mail signature, and also block spam. |
#258
|
|||
|
|||
Ah, yes what they do with their "regex" stuff I do alot of. I hadn't figured out how to get the yahoo and aol stuff out of the sig, but I'll check that out.
This mod definately blocks spam like M2F does from how you've described the features to me I'll check out M2Fs pregs and see if it'll help spur ideas on how I can do that in my code Thanks!! |
#259
|
||||
|
||||
sure, thanks. I'll let you know how it compares.
It is already set to block the following: Block emails with "failure notice" in Subject Block emails with "Undelivered Mail Returned to Sender" in Subject Block emails with "Autoreply" in Subject Block emails with "Mail delivery failed: returning message to sender" in Subject Block emails with "Your email requires verification" in Subject |
#260
|
|||
|
|||
O awesome.
Those are easy to code. I'll add those to the error codes for the next version I fire out Thanks!!!! |
#261
|
|||
|
|||
Thanks bro!
|
Thread Tools | |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|