vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 3.0 Full Releases (https://vborg.vbsupport.ru/forumdisplay.php?f=33)
-   -   FORM to THREAD/ FORUM/ POLL/ PM/ EMAIL - CUSTOMIZABLE FORMS - Mod Apps, Orders, News. (https://vborg.vbsupport.ru/showthread.php?t=66082)

pjdaley 06-15-2004 01:45 AM

Quote:

Originally Posted by Erwin
Sure - in the PHP file, look for the query that inserts the new thread, and change the threat title being inserted from $formtitle to whichever variable you want.

i understand, but like i want this form for unregistered, so it shows... Unregistered $formtitle.... i would rather just put like... Guest Submitted new Joke! or something

Erwin 06-15-2004 02:18 AM

Quote:

Originally Posted by pjdaley
i understand, but like i want this form for unregistered, so it shows... Unregistered $formtitle.... i would rather just put like... Guest Submitted new Joke! or something

You can put whatever you wish by modifying the php file.

Boofo 06-15-2004 03:45 AM

Quote:

Originally Posted by Erwin
What you suggest is simple and only requires a template mod - just a drop down menu in HTML with a list of forumids - all you need is to make sure the forumid variable is added to the POST list at the top of html.php.

Can you show us what we would need to do for that, sir? ;)

pjdaley 06-15-2004 04:03 AM

Quote:

Originally Posted by Erwin
You can put whatever you wish by modifying the php file.

not really a coder though :ermm:

Zephanor 06-17-2004 03:12 AM

Nice work! I've setup an application form that works quite well and it was easy to figure out.

Is there a way to set it up so that it will require all fields to be answered in order for the form to be sumbitted?

bonken 06-17-2004 11:04 AM

rocks
!!

HakkieDEV 06-17-2004 01:40 PM

Thank you sir for this extremely good hack!

Zephanor 06-18-2004 05:30 AM

Anyone have any thoughts on requiring all fields to be completed before submitting the form? Or maybe a direction I can look or fiddle with?

Any help is appreciated and this is an awesome hack, I love it.

:D

Erwin 06-18-2004 05:37 AM

Quote:

Originally Posted by Zephanor
Anyone have any thoughts on requiring all fields to be completed before submitting the form? Or maybe a direction I can look or fiddle with?

Any help is appreciated and this is an awesome hack, I love it.

:D

You can do that by adding some javascript to the top of the template to check the fields before submitting. I can also code it into the PHP file, but I'm trying to make this hack as generic as possible, so any customization will have to be done by the installer, as each site requires different things.

Boofo 06-18-2004 05:46 AM

Quote:

Originally Posted by Erwin
You can do that by adding some javascript to the top of the template to check the fields before submitting. I can also code it into the PHP file, but I'm trying to make this hack as generic as possible, so any customization will have to be done by the installer, as each site requires different things.

Couldn't you code it in PHP and make a variable option at the top to turn it off or on? I think it would be a great addition. ;)


All times are GMT. The time now is 01:43 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.01943 seconds
  • Memory Usage 1,736KB
  • 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
  • (6)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)pagenav_pagelink
  • (1)pagenav_pagelinkrel
  • (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