The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
vB Mail Reply Details »» | |||||||||||||||||||||||||
vB Email Reply 0.7BETA
What it does: This allows your members (and you of course) to reply to threads by email. All they have to do is wirte to a specific email address (that you specify) and include a special code in the email subject. How it works: A script (vbemailreply.php) is run using the vB3 Cronsystem every minute. This checks a pop3 or imap account for emails and then processes these emails, inserting the data into the database. Then a reply is sent to the sender, stating that either the post/thread got entered correctly or that there was some kind of error. Is it complicated? Actually no. There is an install script that does most of the work as well as two small file changes. If you do have problems installing it, contact me for help. Changes: New files (2): /includes/cron/vbmailreply.php /includes/mimeDecode.php Changed files(1): /includes/functions_newpost.php New database fields/tables(1): New userfield added by installscript New templates(0): Changed templates(0): New phrases(3): emailreplyerror emailreplydone emailnewthreaddone Changed phrases(1): notify Screenshots: none Credits: The idea and small parts of the script are based on Chen 'FireFly' Avinadav's Email posts into forum hack, found here: https://vborg.vbsupport.ru/showthrea...threadid=40595 Instructions:
This hack will always be free, however your donations are kindly accepted and will help towards further development. If you donate, please leave me some info (either your forum site or username at vB.org) so that I can thank you. Install: Don't feel like donating, but still want to thank me for my work? Click the install button to show your appreciation. As a great side effect, you'll get an email update once there is a bigger update or important security fix! Updates: 09.08.2004 - I've updated the vbemailreply_install.php file, as there was an wrong value while entering the settings. Also added support for SSL (untested)Fixed the whole install routine. 03.11.2004 - Updated the installation as well as the vbemailreply.php file. Show Your Support
|
Comments |
#22
|
||||
|
||||
There is a codeblock that has to be in the subject title of your email. This (should be) is in your notification email. Unless that doesn't get updated right...
It's in the format of: [post-3-test], that being: [1-2-3] 1: "post" or "thread", indicating if this is a reply to a specific post or to the thread itself 2: the post- or threadid. whatever you indicated in 1 3: your email password. The rest of the subject line (the code is parsed out) will be the subject of your post. The whole message will be the content of your post. bbcode, [img] and smilies work. There's another option on 1, "newthread", and 2 being the forumid. But this isn't tested much... |
#23
|
||||
|
||||
I think that there's a bug in the install script. For example, for pharse 'emailreplyerror', it appears as follows on my board
HTML Code:
Dear, We're sorry, but for the reason stated below we could not process your e-mailed reply. The error that occurred was: Below is your reply as received at our server: Sorry, Team The same problem is also happening to all my other vb mail reply pharses. I've since updated all of them manually. The 'notify' phrase poses a greater problem. In vb3, there is a notify under the phrase type 'Email body text', and one for 'Email subject text'. Adding a 'notify' phrase to the custom phrase doesn't seem to work. I'm still getting the phrase from the default body and subject phrases. I tried to edit those but they cannot be edited. Tried to add a translation to the default phrases and the result is just blank e-mail notifications. |
#24
|
||||
|
||||
hmmm ok, thanks.
I guess that means adding some \\\'s to the vars... I'll also check into the notify thing, as soon as I have time. |
#25
|
||||
|
||||
how do you enable the notifications
i cant find a option anywhere im not getting any notifications except the normal thread reply notification ..... |
#26
|
||||
|
||||
There are some problems with this hack. For example, when the board sends an e-mail notification with the password, the password should be that of the user receiving the notification. Instead, the board sends the password of the user who last posted.
In addition, some variables in the phrases do not work. I don't think vb can process variables within variables for phrases. I've managed to brute force my way through everything by changing the variables accordingly, hard coding some stuff, and changing database data directly. It works now. I'll see if I can consolidate what I've done and post a little something some time next week as I'm really busy this week. Just off my mind now: 1) Change notify in phrase directly on your mysql database 2) Change the 'post' in the subject to 'thread' 3) Edit the variable within the variable. Hardcode it to $varname[field9] for example, instead of $varname[field$var2] 4) Add the other templates manually into the mysql database etc... |
#27
|
||||
|
||||
OK, I took a look at most of this stuff. I've changed the install routine so that all the templates work.
I don't understand why you want to do 2) and 3) though, Ming Keong. |
#28
|
||||
|
||||
Quote:
|
#29
|
||||
|
||||
OK, I'm updating the vbemailreply_install.php file now. For those that already have it installed, just uninstall and install again.
This should fix: -templates (expecially notify) not getting updated or getting updated with wrong values -wrong userpassword in subjectcode Any more problems anyone? |
#30
|
||||
|
||||
Quote:
are you sure the changes listed in your first post are all thats needed....? when i installed before and posted a new thread with email notify ... then i tried to post a reply from another account and get a white page once i clicked submit ....... |
#31
|
||||
|
||||
Quote:
The post variable wasn't working so I added one for the thread. That was why I had to change post to thread. 3) wasn't working on my phrases either so I hardcoded it in instead. |
Thread Tools | |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|