Register Members List Search Today's Posts Mark Forums Read

Reply
 
Mod Options
vB Mail Reply Details »
vB Mail Reply
Mod Version: 0.7Beta, by Colin F (Member) Colin F is offline
Developer Last Online: Apr 2014 I like it Show Printable Version Email this Page

This modification is in the archives.
vB Version: 3.0.3 Rating: (0 vote - 0 average) Installs: 37
Released: 08 Aug 2004 Last Update: 03 Nov 2004 Downloads: 49
Not Supported Re-usable Code Translations Is in Beta Stage  

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: http://www.vbulletin.org/forum/showt...threadid=40595

Instructions:
  • Backup all your files as well as your database.
    For help backing up your database, look here: http://www.vbulletin.com/docs/html/m...atabase_backup
  • Upload vbmailreply.php to your /includes/cron/ folder
  • Upload mimeDecode.php to your /includes/ folder
  • Open the file /includes/functions_newpost.php in your favourite PHP editing program.

  • Block Disabled:      (Update License Status)  
    Suspended or Unlicensed Members Cannot View Code.

  • Add the following as a translation of the phrase notify:

    Block Disabled:      (Update License Status)  
    Suspended or Unlicensed Members Cannot View Code.

  • Upload the file vbmailreply_install.php to your admincp folder
  • Be sure to either have a POP3 or IMAP email account ready before running the installation. The data will need to be entered.
  • Open your browser and go to http://www.yourforums.com/admincp/vb...ly_install.php and follow the instructions.
  • Delete the vbmailreply_install.php file from your webserver.
Donations:
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.

Download Now

Only licensed members can download files, Click Here for more information.

Show Your Support

  • To receive notifications regarding updates -> Click to Mark as Installed.
  • This modification may not be copied, reproduced or published elsewhere without author's permission.
  #46  
Old 02 Sep 2004, 19:14
Seinfeld Seinfeld is offline
 
Join Date: Aug 2003
I have this Error

<<<
Warning: imap_open(): Couldn't open stream {pop3.domain.de:110/pop3/notls}INBOX in /forum.path/includes/cron/vbemailreply.php on line 55

Warning: imap_headers(): supplied argument is not a valid imap resource in /forum.path/includes/includes/cron/vbemailreply.php on line 56

Warning: imap_close(): supplied argument is not a valid imap resource in /forum.path/includes/includes/cron/vbemailreply.php on line 277
>>>
Greetings
Reply With Quote
  #47  
Old 03 Sep 2004, 19:02
Colin F's Avatar
Colin F Colin F is offline
 
Join Date: Jul 2004
Location: Switzerland
Did you change the settings to point to your pop3 server?
Can you reach the server with Outlook?
__________________
Reply With Quote
  #48  
Old 03 Sep 2004, 19:15
Seinfeld Seinfeld is offline
 
Join Date: Aug 2003
Yes. I have change to my pop3 Server and imap. but with imap or mit a another email addy is the same problem (can call mails mit outlook).

Edit: hmmm ... i need smtp authenfication first. can this script?

Greetings
Seinfeld
Reply With Quote
  #49  
Old 03 Sep 2004, 19:25
Colin F's Avatar
Colin F Colin F is offline
 
Join Date: Jul 2004
Location: Switzerland
Das hat nichts mit SMTP zu tun.

Kannst du mir bitte mal Zugangsdaten zu deinem Board senden per PN damit ich es mir anschauen kann? Danke
__________________
Reply With Quote
  #50  
Old 05 Sep 2004, 10:29
Seinfeld Seinfeld is offline
 
Join Date: Aug 2003
Ich habe es nun.
Allerdings krieg ich nun imme

The error that occurred was:
No permission: you do not have permission to post in this forum.
Reply With Quote
  #51  
Old 06 Sep 2004, 02:08
-=Sniper=-'s Avatar
-=Sniper=- -=Sniper=- is offline
 
Join Date: May 2002
I know its in the thread about creating a new thread using a email! but maybe you could make it more clear?

this would be great for posting news in my news forums, as I get news emails!

thx
Reply With Quote
  #52  
Old 06 Sep 2004, 10:00
venomx's Avatar
venomx venomx is offline
 
Join Date: Apr 2002
I am going to wait for an RC release to install this but I have a few questions.
Will the emails we send back increase our post counts?
Will the forumhome Last Post stuff update?

I just remembered I am not sure Ill be able to install this because I have the uShop hack installed and it gives points for new threads/posts....
__________________
TopDollarMall
Reply With Quote
  #53  
Old 06 Sep 2004, 10:42
Colin F's Avatar
Colin F Colin F is offline
 
Join Date: Jul 2004
Location: Switzerland
Originally Posted by venomx
I am going to wait for an RC release to install this but I have a few questions.
Will the emails we send back increase our post counts?
Will the forumhome Last Post stuff update?

I just remembered I am not sure Ill be able to install this because I have the uShop hack installed and it gives points for new threads/posts....
Yes, Emails you send into the forum will increase the postcount. The forumhome stuff should also update.
The whole part where it inserts the post is done by the same function that entering a normal post uses.

I haven't tested it with the uShop hack, but I don't think there should be any conflicts...
__________________
Reply With Quote
  #54  
Old 06 Sep 2004, 11:25
venomx's Avatar
venomx venomx is offline
 
Join Date: Apr 2002
Ok I just asked because I added Article Bot and it posts news from a RSS feed... well when it posts it posts a few threads each time (3 posts every 7 hours) but the forum home always shows the first thread it made that time as the newest.
And it was not getting uShop points for the posts but does for any replies.
__________________
TopDollarMall
Reply With Quote
  #55  
Old 10 Sep 2004, 13:28
breathwork's Avatar
breathwork breathwork is offline
 
Join Date: Jun 2004
Cool

I have it working with the help of the amazing colin..... thanks and it is a truly great hack... :banana:
__________________
http://www.BreathWork.be
Reply With Quote
  #56  
Old 28 Sep 2004, 18:40
Bergman Bergman is offline
 
Join Date: Aug 2002
It seems to be a great hack and i probably will install it later if i got my email settings clear before.
Reply With Quote
  #57  
Old 14 Oct 2004, 09:02
Beermonster Beermonster is offline
 
Join Date: Dec 2003
Real name: John
I've tried installing this and I get

Step 4) Obtain Mailserver Data


Fatal error: Call to undefined function: print_form_header() in /home/vsites/xxx/htdocs/forums/vbemailreply_install.php on line 360


If I try to uninstall I get

Step 10) Removing Profilefield

error

Looks like a great hack, just can't install it
__________________
Reply With Quote
  #58  
Old 19 Oct 2004, 14:24
Seinfeld Seinfeld is offline
 
Join Date: Aug 2003
So more time but when i send a mail i have ...

The error that occurred was:
No permission: you do not have permission to post in this forum.

what is wrong?
Reply With Quote
  #59  
Old 19 Oct 2004, 15:04
sfowler39's Avatar
sfowler39 sfowler39 is offline
 
Join Date: Jul 2004
Real name: Sam
help

I get this error, what should I do to fix this?

Process vB Email Replies


Fatal error: Call to undefined function: imap_open() in c:\inetpub\wwwroot\vb\includes\cron\vbemailreply.php on line 55
Reply With Quote
  #60  
Old 20 Oct 2004, 13:15
sfowler39's Avatar
sfowler39 sfowler39 is offline
 
Join Date: Jul 2004
Real name: Sam
Now i am getting this

it was working fine, but now its stopped and I tried to uninstall it to do a reinstall and this is what I get.
Database error in vBulletin 3.0.3:

Invalid SQL: INSERT INTO phrase (phraseid, languageid, varname, text, phrasetypeid) VALUES (NULL, '0', 'setting_mailserver_profilefieldid_title', 'Email Reply Password Profile Field', '5000')
mysql error: Duplicate entry 'setting_mailserver_profilefieldid_title-0-5000' for key 2

mysql error number: 1062

Date: Wednesday 20th of October 2004 08:02:19 AM
Script: http://hrc/vb/admincp/vbemailreply_install.php?step=2
Referer:
Username: sfowler
IP Address: 140.95.51.235
Also if I go to the control panel there are lots of email password fields that have now appeared.

picture attached will show you what I mean, HOW CAN I FIX THIS PLEASE.
Attached Images
File Type: jpg many.JPG (76.6 KB, 29 views)

Last edited by sfowler39; 20 Oct 2004 at 13:32.
Reply With Quote
Reply


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Mod Options

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


New To Site? Need Help?

All times are GMT. The time now is 15:40.

Layout Options | Width: Wide Color: