vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vB3 General Discussions (https://vborg.vbsupport.ru/forumdisplay.php?f=111)
-   -   What's with the ALL_CAPS in vb3? What does HTML_SELECTED do? (https://vborg.vbsupport.ru/showthread.php?t=75178)

dwh 01-26-2005 06:17 PM

What's with the ALL_CAPS in vb3? What does HTML_SELECTED do?
 
I'm seeing words in all CAPS treated as variables. Sorta kinda. What does it do?

If you set HTML_SELECTED somewhere, even in the evaluation side of theequation, can it be used again. This is another one of those things invb3 that confuses the hell out of me.

Andreas 01-26-2005 06:20 PM

Those are not variables but constants.

HTML_SELECTED is selected="selected", or TABLE_PREFIX is your table prefix (as defined in config.php), TIMENOW is the time the script was started, and so on.

dwh 01-26-2005 10:23 PM

Is there one place where all constants are defined? (I guess not since I don't remember too many things defined there.)

Andreas 01-26-2005 10:27 PM

No. There are constants in many files.

Marco van Herwaarden 01-27-2005 03:23 AM

And don't even search all files for the definition of some constants. Bitmask permission constants for example are generated dynamic in the init phase of all scripts.


All times are GMT. The time now is 08:21 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.01956 seconds
  • Memory Usage 1,705KB
  • 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