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 |
#372
|
|||
|
|||
I'll have to check into the code. I'll check it out when I start on the vbmail handling for the cron job.
|
#373
|
|||
|
|||
Thanks -- side note.....
in the cron script, you may want to change: $fromaddress = $letter->sender[0]->mailbox ."@".$letter->sender[0]->host; to: $fromaddress = $letter->reply_to[0]->mailbox ."@".$letter->reply_to[0]->host; if(strlen($fromaddress) == 0) $letter->sender[0]->mailbox ."@".$letter->sender[0]->host; the script fails for gmail sent as another user ... such as when I send from my company profile in gmail, the script still sees me as host=gmail.com |
#374
|
|||
|
|||
Quote:
That's what keeps people from pretending they are someone else If I didn't have that check in there, you could set your reply to address in gmail or yahoo as the admins email address and you would show to the forums as posting as the admin To avoid that security loop hole, it checks who the actual domain is that is sending the email Just use your true gmail address for your account and you will be fine. |
#375
|
|||
|
|||
Quote:
The only issue is, that if I really want to post as the ADMIN, I could just set up a whole profile in thunderbird or outlook and truly send as that person. Then the script will still pass the tests and post as a fake author. So, putting that test in limits people who use services like gmail but have multiple profiles. |
#376
|
|||
|
|||
Quote:
With yahoo I can go to the options, type whatever email name I want, and that would show up as me. I wouldn't need any passwords. With outlook and thunderbird you have to have the password. This is also why the error email that gets sent to you for the incorrect email address shows you the address that the modification sees you as having and has a link to update your email address Your solution, doesn't require that people have a password or any access to the mailbox. I'm not saying the method I'm using is perfect security... but it at least requires that you are on sending from the same domain as the email your trying to fabricate. I'm sorry but I will not remove this feature for anything less then a more secure method. Removing the prime security feature to me, is just not wise even if it's not the perfect method. |
#377
|
|||
|
|||
Quote:
That is why I am saying it is not a security feature, it is reducing the usability actually more so than any security feature. |
#378
|
|||
|
|||
If you add this code (in all spots cron and product xml) right after text_subject is defined, the EmailIntegration script will handle the custom prefixes _and_ use a default one if none is found - it seemed to already take into account the original prefixing anyhow [\$foruminfo[title_clean]-t-\$threadinfo[threadid]]:
Code:
// prefix code - cgmckeever // use default if (strlen($threadinfo[threadprefix]) == 0){ $prefixes = explode("\r\n", trim($foruminfo['threadprefix'])); $threadinfo[threadprefix] = $prefixes[0]; } // wrap the prefix if (strlen($threadinfo[threadprefix]) != 0){ $threadinfo[threadprefix] = str_replace('{1}',$threadinfo[threadprefix],$vbulletin->options['prefixmarkupalt']); $threadinfo[threadprefix] = str_replace(' ',' ',$threadinfo[threadprefix]); // get rid of built in prefix $text_subject = trim(str_replace("[\$foruminfo[title_clean]-t-\$threadinfo[threadid]]",'',$text_subject)); $text_subject = trim("\$threadinfo[threadprefix] " . $text_subject); } // end prefix code - cgmckeever |
#379
|
|||
|
|||
Quote:
Good luck! Quote:
I'll get this into the next live version! Thank you! |
#380
|
|||
|
|||
Remember all, I am looking for beta testers!! be sure to PM me if you would like to help test the next version because I'll be rewriting the regexs in the upcoming version!
|
#381
|
|||
|
|||
OK - although the THREAD PREFIX script has its place, I didn't like the need for it to be installed to get the EI prefix to work.
You need to add a DB field ei_prefix: Code:
ALTER TABLE forum ADD ei_prefix VARCHAR( 50 ) NULL; The below snippet needs to be added to the EI cron and product files right after: Code:
$text_subject = replace_template_variables($text_subject); Code:
// prefix code - cgmckeever // check for ei_prefix defined if (strlen($foruminfo[ei_prefix]) != 0){ // get rid of built in prefix $text_subject = trim(str_replace("[\$foruminfo[title_clean]-t-\$threadinfo[threadid]]",'',$text_subject)); $text_subject = trim("\$foruminfo[ei_prefix] " . $text_subject); } // end prefix code - cgmckeever |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|