vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 3.6 Add-ons (https://vborg.vbsupport.ru/forumdisplay.php?f=194)
-   -   Miscellaneous Hacks - sendmessage creates new thread and mail forwards (https://vborg.vbsupport.ru/showthread.php?t=136664)

Acers 01-15-2007 10:00 PM

sendmessage creates new thread and mail forwards
 
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!

Veer 01-16-2007 03:44 PM

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

Quote:

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.. :)

Quote:

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


All times are GMT. The time now is 01:57 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
  • Page Generation 0.00994 seconds
  • Memory Usage 1,729KB
  • Queries Executed 10 (?)
More Information
Template Usage:
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (2)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (2)pagenav_pagelink
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (10)printthreadbit
  • (1)spacer_close
  • (1)spacer_open 

Phrase Groups Available:
  • global
  • postbit
  • showthread
Included Files:
  • ./printthread.php
  • ./global.php
  • ./includes/init.php
  • ./includes/class_core.php
  • ./includes/config.php
  • ./includes/functions.php
  • ./includes/class_hook.php
  • ./includes/modsystem_functions.php
  • ./includes/class_bbcode_alt.php
  • ./includes/class_bbcode.php
  • ./includes/functions_bigthree.php 

Hooks Called:
  • init_startup
  • init_startup_session_setup_start
  • init_startup_session_setup_complete
  • cache_permissions
  • fetch_threadinfo_query
  • fetch_threadinfo
  • fetch_foruminfo
  • style_fetch
  • cache_templates
  • global_start
  • parse_templates
  • global_setup_complete
  • printthread_start
  • pagenav_page
  • pagenav_complete
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete