vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vB5 Programming Discussions (https://vborg.vbsupport.ru/forumdisplay.php?f=263)
-   -   How to Add a Custom Field to a New Thread (https://vborg.vbsupport.ru/showthread.php?t=325063)

arlarson 05-10-2017 09:02 PM

How to Add a Custom Field to a New Thread
 
1 Attachment(s)
Is there a way to add a new field for members to complete when posting a new thread, in addition to the title and thread content? For example, adding a field or drop-down menu for members to identify the state in which they are located.

The default new content / new thread form:

https://vborg.vbsupport.ru/attachmen...3&d=1494456989

How the form might look with an additional field:

https://vborg.vbsupport.ru/attachmen...4&d=1494457089

The idea is to collect specific information when a person is posting a thread, and either include it in the body of the text they post or as a separate field.

I have searched extensively for discussion of this type of mod, but I haven't found anything.

noypiscripter 05-10-2017 11:50 PM

Does it need to be in a thread? Why not just make a custom profile field for State? That way, they will only enter once as oppose to entering every time they start a new topic which may be annoying to the user.

arlarson 05-11-2017 09:16 AM

The need is to get an additional piece of information specific to the thread. It's information that could change from post-to-post, so a profile field isn't sufficient. The state is just an example.

marengo 11-22-2018 07:09 AM

I need the same: add a custom fields (text and URL) to this form. Any solution?


All times are GMT. The time now is 11:04 PM.

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.00996 seconds
  • Memory Usage 1,710KB
  • 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
  • (4)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