View Full Version : Miscellaneous Hacks - sendmessage creates new thread and mail forwards
Acers
01-15-2007, 10:00 PM
Forum Contact Us extra features
Create new thread in a specified forum with message contents.
Forward the mail content to multiple email ids
What does the modification do?
If you are the type that likes to read the mails that members on your forum send via contact us form on the forums, then this hack might be for you. I had coded this hack a year back as one of my site has two admin's and we prefer to track the mails we get via new threads on forum that is admin only. Usually if the mail is about advertising or a complaint against some members(both the scenarios are very common) then we prefer to discuss them on forums. A friend of mine wanted similar functionality so am releasing it here :)
This hack will create an option to duplicate the content of the message that a person sends via contact-us in a new thread in a forum of your choice.
Apart from this it also optionally adds an option to send the mails to multiple email ids apart from the main Webmaster's Email specified in admincp. This can be useful again in a multiple admin scenario or if you want to track forum sendmessage mails in a new account.
How to Install
Import the product file attached.
Go to vbulletin->options->Site Name / URL / Contact Details
Scroll down and see below "Webmaster's Email"
you will see two new options "ContactUs Forum" and "ContactUs Mail Forwards" (In the former enter the forumid where you want new threads to be created, in the latter enter email ids to forward mails to separated by newlines.)
You might want to set a new forum for the mail that is restricted to staff alone.
Enjoy! :)
trancetopia
01-16-2007, 02:10 PM
Now this will be very usefull - thanks!
Very Good :)
Thanks for sharing..!!
Qwest
01-16-2007, 05:53 PM
Awesome.
Any chance of adding a way to reply back to the sender when a reply is posted in the thread? :D
SCRIPT3R
01-16-2007, 06:02 PM
did you write this or port this?
Acers
01-16-2007, 06:16 PM
Any chance of adding a way to reply back to the sender when a reply is posted in the thread?
actually that part in itself is easy, its the reply that would pose a problem. eg i would reply to the thread and message goes, but if that guy replies back, you need a "catch all" email to catch the exact mail(ofcourse if the subject is preserved(much like colin's hack for vb3.0X)) and then post it. hmmm.. :)
did you write this or port this?
well i wrote it for my forum pretty long back. If someone has released it for previous version. i am unaware :)
SCRIPT3R
01-16-2007, 06:18 PM
that is weird because i've been using this since late 2005. no big deal though, i guess.
tankaya61
01-16-2007, 06:21 PM
thank you
Mudvayne
01-17-2007, 06:33 AM
Installed :D. Nice hack.
Delphiprogrammi
01-17-2007, 05:41 PM
hi people,
Verry nice idea i will be installing
Hornstar
01-18-2007, 11:08 AM
This will be perfect for when I go away for a couple of weeks, my other admins will be able to read the mail while im gone, and fix any problems that members may have.
Thanks for sharing.
actually that part in itself is easy, its the reply that would pose a problem. eg i would reply to the thread and message goes, but if that guy replies back, you need a "catch all" email to catch the exact mail(ofcourse if the subject is preserved(much like colin's hack for vb3.0X)) and then post it. hmmm.. :)
Just like "Report Post", would'nt it be possible to have a "Create as User" on the incoming email? Perhaps with a popup for the user name, or just using the mailbox part of the email? and then send the user login info to this user?
And couldn't this user be made to subscribe to excatly that thread, so that when someone replies to the thread, all correspondance will take place via the forum tools from that point on?
I really like the potential in this mod :up:
Sadie Frost
02-18-2007, 08:10 AM
I love the idea of this as well :) One suggestion, if I may, would be for there to be an option to not send the email at all and just post it on the forum instead of "doubling up" so to speak :)
Ulf T
07-19-2007, 11:36 AM
I like this mod. :) But i notice that the refering url gets lost somehow. That happens not only to me. I see it also in the screenshot of a post in this thread (https://vborg.vbsupport.ru/attachment.php?attachmentid=59158&d=1168962107). But i can see the refering url in the mail i get. In both the mail and in the post, the refering url is fetched from "$url". I suspect that this variable doesn't contain anything at the moment the post is made. Anyway, the refering url can give some clues at times people contact us about technical problems, so it would be really nice if it were possible to get that information. Anyway, thanks for this mod. :)
meissenation
07-29-2007, 08:24 PM
Exactly what I wanted. Thanks! *clicks Install*
Dannyloski
07-29-2007, 08:50 PM
Awesome job on this, I love t, will install later today :up:
COBRAws
09-10-2007, 06:18 AM
I have a technical problem, something similar to post #14 (https://vborg.vbsupport.ru/showpost.php?p=1295604&postcount=14), I want my threads to parse the Email of the visitor. If a logged in member sends a comment, the email is parsed in the created thread, but if he is a Visitor/Guest, the email is not posted.
Can someone help me with this? Thanks!
BadgerDog
09-10-2007, 10:18 AM
Installed.... :)
Seems to work fine ... :up:
Thanks, this will help when I'm away and I need other mods to deal with issues that come into the site this way.
Regards,
Badger
AzaDiyaR
10-16-2007, 08:15 PM
waow thanks man this working
cool man :D
Ignicoccus
05-06-2008, 05:56 PM
Any chance of getting this to work on 3.7 ?
koolfire
05-24-2008, 05:01 PM
Pressed install but will install later..
baktabul
06-04-2008, 03:54 PM
Thank you
TalkPhotography
06-20-2008, 09:06 AM
Any chance of getting this to work on 3.7 ?
It works fine on 3.7
Dude, please expand this mod to post in different forums for different options selected.
(If user selects registration problem, it goes to email. If he selects Feedback, post goes to forum 1. If he selects X, it posts to X forum and so on)
(I just donated to you)
Thanks, NOCR!
oh, and a "no email" option or don't post email address to forums ;)
Acers
09-13-2008, 01:33 AM
Right.. I will release an update for this soon. :)
I'll have another donation for ya! ;)
Peejay
11-23-2008, 09:12 AM
Just what I've been looking for. Cheers.
Taragon
10-11-2009, 07:43 PM
Changing the phrase from
--------------------------------
$message
--------------------------------
to
[q uote]$message[/q uote]
causes this error
Parse error: syntax error, unexpected '/', expecting T_STRING or T_VARIABLE or T_NUM_STRING in /home/vampinet/public_html/sendmessage.php(308) : eval()'d code(8) : eval()'d code on line 3
even though it's just a minor visual aspect, does someone know perhaps a solution for this?
ffaat
10-05-2011, 07:52 PM
Is there a similar mode for vb4?
-Rob A>
vBulletin® v3.8.12 by vBS, Copyright ©2000-2025, vBulletin Solutions Inc.