![]() |
I've decided to try and construct this hack but would like some input first if possible :)
From other threads and my own ideas, here is how I think it should work: User subscribes to the forum(s) that he/she would like to participate in via email. They then receive emails on every new thread and post in that forum. To reply, they simply hit reply in the email client. The userid and encrypted password would be stored in the subject line of the email (hence would still be there after reply). These would then be matched to the user's email address when the mail reaches vB. To start a new thread I am not sure of yet, we either have: -there is a link in all mails "start a new thread in this forum" -an initial email when joining contains links to start threads in all of the forums -send mail to "generalchat@vbulletin.com" for example. On the vB side, mail would go to a POP mailbox on the server. This would be checked every x minutes through a cron job - if anyone has any better ideas as to how to do that please let me know - I'd rather avoid cron if possible but can't see any other way. |
I'm not sure I understand. So, a member would actually be able to post to the Forums via an e-mail? If this is the case, this is a very cool idea!!!
|
Yes that is true - there have been a couple of discussions on this in the past.
Many users prefer the newsgroup style stuff (ie email) rather than web-based forum access so I have decided to give this hack a go. |
Sounds good to me. I'd definitely be interested in this hack as it would definitely prove beneficial to those people that are still (in this day and age) afraid of "the web" but not too afraid to use an e-mail client.
|
It is not that people are afraid. TO many, email is easier to use than a web-based solution.
|
I know this would be EXTREMELY popular on our board as long as they can subscribe to certain forums. With over 5000 posts a day, that's a lot of email!
|
I agree with Me2Be
I would never use that feature, bacuase say there was 10 posts a day in the forum, and thats small, it would still annoy me having all that email I would read every one at first, but get tired of it and start deleting without reading. Imagine there was 1 post with 100 replies I would not want 100 emails in my inbox about one thing.... My normal email would get lost in it. The only solution would be to get an email only for this But then I could just go to the forums instead and read all posts with their replies together So...... I don't see much point in it, and wouldn't use it ever..... But thats just my 2 cents Peace out |
i believe that that would be the best way to go aobut it. Connect to the pop3 bobx and check for new mails. it is much better than piping all the email throught a script.
is there any way that it can be done like $subject=Email posting $body=i like this email posting stuff. but that might be to complicated. are you going to do it so that the subject line tells where the post should go? or the email adress says where to go. i don't think that the user will get every email posted in a particular forum. i think that the user should be able to post from his/her email. and when someone replies to his/her email they will get the replies. and instaed of having to go to the forum the user should be able to reply to the email instead of having to go the forums to post. i don't think that it should be an email discussion list, but a way for users to post/reply via email. |
In the past there have been requests for a full discussion list by email so I will do both :)
I think the Subject has to determine where the post goes - it could also go at the bottom of the mail under a seperator of some sort but the subject is easier. |
I just wanted to add I think this is a great idea.... I would certainly use a hack like this.
|
The only problem is moderating the pop3 account. I am looking into a similar solution that would use a daemon to monitor incoming email. However since we use qmail, it would not be necessarily portable to other systems.
This daemon would call a PHP script everytime a new message arrives and feed it the message. This would then put the message in the database properly. Using a CRON job can cause your messages to get out of sync and create confusing threads. The best way to do it automatically is through a daemon. There would be no reason to send the userid with the message because you will have the email address in the "Sender" field of the email. If it isn't an address from a valid vBulletin user you simply send back a auto-response saying that the message wasn't allowed and send it to /dev/null. This is the same way YahooGroups (formerly eGroups) works. Basically I see a clean header looking like: #XXXXXXX This is the thread Subject Where the XXXXXX represents the Threadid. There is really no reason for anything else to be included. With the Threadid you can put it where it belongs and with the email address in the "Sender" field you can match it with the user. |
If only the senders email is checked users can easily fake someone else's ID; Just configure their email-address in you mail program as your email adress...
|
Quote:
|
Another point to consider: You could do something similar to Yahoo! Groups / eGroups where the to field determines where it goes. e.g. This forum is called vBulletin Code Hacks. To send a post via email to it, address the email to vbulletin_code_hacks@vbulletin.com and that would help sort them on the way in. For a site with hundreds of forums (ascifi.com comes to mind), that could either be a help (pre-sorting makes it a little more efficient) or a hinderance (too many addresses to keep track of), but for a site like this or like SPF, it wouldn't be too bad.
|
Quote:
|
Really we don't need to think about Forums on a reply. The forumid simply doesn't matter since the post is attached to a created thread so for 90% of incoming mails this is irrelevant.
Using a full-featured email program, you can direct them to a "Catch-All account" that will be watched to and have emails pulled from it. AS far as the email and password thing, eGroups doesn't require this and is able to catch it so there must be a way to do it. Granted they handle it in the email daemon because most scripts would be too "stupid" and could be fooled. How does MajorDomo handle these things? Anyone pull it apart yet? |
Having email participation is interesting, but it should be configurable by forum.
I have forums where I want to send email to subscribers containing the contents of messages posted, however I want them to have to come back to the site to participate in the discussion. I also have forums where participation by email would be great in both directions, and the forum would act principally as an archive. I bought vBulletin in the first place because I did not want to just run MailMan mailing lists and MHonArc list archives on my site. I could have done that without spending a dime on vBulletin... |
This hack is definately a "thumbs up"...
I would use this feature to include our Email mailing lists with the web-based forums. It's also a very good way to archive email mailing lists and digestified formats. We currently have two mediums and I'd like to integrate them both seamlessly. This is a perfect hack for that. -- Mike |
I, too, would be able to make great use of this. I actually have a user that has worked up his own script that will post to the forum although it's not easily expandable. Some type of integrated solution would be great!
Let us know if there's any progress on this . . . |
I'm going to give this a shot during the school holidays (week after next), so watch out for a release in a few weeks :)
|
Quote:
|
Yup :)
|
Easter is coming up!
IS this still a go? |
add restrictions so only like 100 e-mails per day to one user.
|
Yes I still plan to do it but I doubt it will be done any time particularly soon - it is a major hack to make.
|
this could double the size of my board!
|
The ability to receive a digest goes hand and hand with this I think. dcs
|
i did start this a while ago, and got somewhere but not very far. Just in case this is any use to James:
PHP Code:
|
Thanks Chris - much appreciated :)
I will go through it properly a little later on :) |
JamesUS-
Did you ever write the hack? I'm looking into setting up a bulletin board but am desperate to have your email support as a feature. Please let me know if it is finished, will be finished soon, or if someone else has already done so. |
I think most people read message board only once a day.
They would like to receive the daily report of all new messages from the selected threads or forums for the appropriate time. That wouldn't get much resources from the server. Also, don't forget about undelivered mail when user's e-mail account isn't working anymore. The script must gather statistics about all mail returning back and automatically remove subscriptions from those accounts that don't reply for the selected period of time. |
Here's an idea.....would it be possible to use tubedogg's Community Bulletin Generator hack as a base....add in the option to allow the user to choose either a daily, weekly or monthly receipt and tie it into a cron job? :D :D
|
sending emails is the easiest bit, it is allowing for replies that is the hardest. All the work i had done was on sorting out replies. I am currently working on this pop3 class for another project and there is a chance i will have a go at it again when that is finished.
The community bulletin generator can be run as cron (if php is stored in apache you need to run it throuh a lynx command (thanks sitepointforums.com !). |
The board could send an e-mail with
nicely formatted html-attachment, maybe zipped. html page could consist of tables for every thread with colors but without graphical elements. And three or more links at the bottom of every table: post message, post thread, remove subscription like <a href="mailto:forum@forum.com?subject=act=pm|||user id=1|||userpassword=777777|||threadid=1">post message</a> A user could download this e-mail and then write his answers offline. That would reduce his Internet access costs and attract more dialup users to the forum. |
By the way, why do you need pop3 module?
You can simply add the new entry in aliases file for sendmail like: forum: "|/home/forum/emailarrive.sh" When the new e-mail arrives it's piped to the shell program that can parse it. |
Quote:
|
bump/subscribe ;)
DiscusPro has this feature, which is very handy. You can subscribe by "forum" to receive each post in your mailbox. Very handy, especially if you have a spare POP box. |
Hi James,
Just wondering if you ever managed to achieve this? It is a massive job - looks like you were interested in doing it almost a year ago now, but was wondering if you followed it up. I wish vBulletin would integrate this kind of functionality as an option - it would boost it to a position that could not be contended by any other forum software. Some people get confused about email notification and do try replying via email - it is much easier and quicker than logging into the web and should increase the number of posts dramatically. |
I would be really interested in this hack as well. Is there hope of an eventual release?
|
I would absolutely love to do something like this...but I just haven't had the time this last year. I will see what I can come up with in the next few weeks, as it should be a tad easier than it would have been last year when it would have been based on vB 1.1.x.
Though I'm still slightly reluctant to do any major hacks before v3 is at least in private beta, as the whole vB backend is changing around with the new release. |
All times are GMT. The time now is 01:50 AM. |
Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|