vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vB3 Programming Discussions (https://vborg.vbsupport.ru/forumdisplay.php?f=15)
-   -   Creating a form, having it submit through vB (https://vborg.vbsupport.ru/showthread.php?t=193951)

Chimpie 10-18-2008 04:28 PM

Creating a form, having it submit through vB
 
I want to create a form in a module asking for people's information and having it sent through vB to the admin's email address.

Has anyone ever taken on this type of task?

Chimpie 10-19-2008 08:17 PM

Let me provide more information, hoping someone can help me with this...

I'd like to create a form where visitors (non-registered users) can submit their information (name, address, city, state, etc) and have it sent to the a specified address or the admin of the board.

Thoughts?

Lynne 10-19-2008 08:20 PM

Why not use the Contact Us link and have it go to the admin? You can specify different email addy's for the different options to go to. So, perhaps you have a selection for "Forum Submission" and you have it set in the Contact Us Options as "{siteadmin@yoursite.com} Forum Submission" Then anytime someone selects Forum Submission, it will go to that email addy.

Chimpie 10-19-2008 08:41 PM

Because I want to make a complete custom page for a specific purpose.

Lynne 10-19-2008 09:14 PM

Well then, all you really have to do is make a basic form to submit the info. There is tons of stuff out on google on how to make a form that just emails the results to an email addy. Since you are wanting to do it with unregistered users, you don't need to include any vbulletin code at all.

Guest190829 10-20-2008 12:14 AM

This should help:

https://vborg.vbsupport.ru/showthread.php?t=98009


All times are GMT. The time now is 02:44 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.01023 seconds
  • Memory Usage 1,714KB
  • 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
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (6)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
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete