vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vB3 General Discussions (https://vborg.vbsupport.ru/forumdisplay.php?f=111)
-   -   Form fields in regular (non-AdminCP) pages (https://vborg.vbsupport.ru/showthread.php?t=192871)

DragonBlade 10-06-2008 05:23 PM

Form fields in regular (non-AdminCP) pages
 
Dear vBulletin gurus,

I've gotten down pat how to use the table/form construction functions (print_input_row(), print_input_select_row(), etc.). However, those seem to be for Admin pages only. As I would like to offer a clean, neat form for my users on a regular page, is there functions that can accomplish the same goal, or is that pretty much a "you write the HTML on your own" type of thing?

--Sarteck

Lynne 10-06-2008 08:07 PM

You can always copy the functions into your own page.

DragonBlade 10-07-2008 02:07 AM

Thanks, Lynne--that's kind of the answer I was looking for. I just wanted to make sure that I was not going about making the forms the wrong way (that there wasn't a vBulliten way of doing things I wasn't aware of).

Lynne 10-07-2008 02:27 AM

Well, they are done that way in the admin cp area to avoid the template system, I believe (so if you have ruined a template, you can still get into the admin cp). The rest of the forum uses templates to spit out lines of code. Look at all the threads listed as a result of a New Posts search... those aren't spit out using a print_row function, the template is evaled in a while statement. So, in the main forums, a template is used as a kinda print_row function.

DragonBlade 10-07-2008 04:41 PM

Makes sense... Thanks! A lot, I mean. It's all falling into place a lot easier now.


All times are GMT. The time now is 05:01 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.01112 seconds
  • Memory Usage 1,708KB
  • 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
  • (5)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