vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 4.x Add-ons (https://vborg.vbsupport.ru/forumdisplay.php?f=245)
-   -   Mini Mods - Contact Us Enhancements (updated) (https://vborg.vbsupport.ru/showthread.php?t=292677)

borbole 12-04-2012 11:00 PM

Contact Us Enhancements (updated)
 
1 Attachment(s)
This is a small mod I coded for a client of mine and thought to share it here as well for all those that might have a need for it too.

This mod will send automatically a pm to users whenever they will submit a contact form. You can also choose if you want the contact form to be posted as a thread automatically at a forum of your choosing. This can be handy if you want the other members of your staff to view the contact forms submissions. You can also choose to increase the post count of the user or not when the contact thread is automatically created.

After installation go to Options->Site Name / URL / Contact Details and all the way down you will see 6 new options. Configure the options to your needs/likings.

For more info, please have a look at the attached screenshots.

borbole 12-05-2012 09:32 PM

Reserved.

Skyrider 12-05-2012 10:01 PM

Installed, this does sound handy-dandy!

borbole 12-05-2012 10:15 PM

Quote:

Originally Posted by FF|Skyrider (Post 2388774)
Installed, this does sound handy-dandy!

Indeed, it is a handy addition to have if I may say so myself as well. The guy I originally coded it for, had a great use for it.

Anyway, I had forgotten to update the xml file here with the new mod. Please re-download it again.

Skyrider 12-05-2012 10:37 PM

What's new? I've tried it and I'm loving it. Though the new thread that gets created doesn't display the users email, ip, etc information that you do by mail. Especially for unregistered users (guest threads)

borbole 12-06-2012 10:06 AM

Quote:

Originally Posted by FF|Skyrider (Post 2388783)
What's new? I've tried it and I'm loving it. Though the new thread that gets created doesn't display the users email, ip, etc information that you do by mail. Especially for unregistered users (guest threads)

The first version of the mod had the pm option only then I expanded it by including the automated thread creation as well.

The ip is being displayed for guests and members alike whereas for the rest of the guests info I did not look much into that as my client does not allow them to use the contact form.

smirkley 12-06-2012 06:45 PM

Is there a hope for a selection in acp to prevent emails from being sent if you are having a thread made?

borbole 12-06-2012 09:32 PM

Quote:

Originally Posted by smirkley (Post 2388959)
Is there a hope for a selection in acp to prevent emails from being sent if you are having a thread made?

Simply leave the Webmaster's Email and Contact Us Email fields blank and you will not receive emails from the contact form but instead it will be posted automatically as a thread.

Skyrider 12-07-2012 01:04 PM

A guest has left a message, I could only see his contact message what he filled in, IP, email, etc is being left out. Would be great if the thread also display:

Quote:

Referring Page:
IP Address: xxxx
Email: xxxx@xxx.com
Or better yet, that it only creates a thread when a normal registered member uses the contact form, and when a guest leaves a message it won't create any thread and thus only leaves an email.

smirkley 12-07-2012 05:29 PM

Quote:

Originally Posted by borbole (Post 2388986)
Simply leave the Webmaster's Email and Contact Us Email fields blank and you will not receive emails from the contact form but instead it will be posted automatically as a thread.

Thank you.

BTW, just noticed while doing tests, either as a member or a guest, that this doesnt always post to a thread. I am still testing this, but out of ten contact messages sent, three havent been made into threads.


All times are GMT. The time now is 08:11 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.01052 seconds
  • Memory Usage 1,738KB
  • 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
  • (5)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