vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vB3 General Discussions (https://vborg.vbsupport.ru/forumdisplay.php?f=111)
-   -   admin cp options for users, where to find Vars (https://vborg.vbsupport.ru/showthread.php?t=63182)

8472 03-30-2004 08:56 AM

admin cp options for users, where to find Vars
 
as explained over at vb.com it's rather easy to make options like postbit and postbit_legacy a user option.

now i don't want postbit being the only thing my users can choose. what are the variables for the other options ? where can i find them ?

NTLDR 03-30-2004 09:40 AM

Quote:

Originally Posted by 8472
as explained over at vb.com it's rather easy to make options like postbit and postbit_legacy a user option.

now i don't want postbit being the only thing my users can choose. what are the variables for the other options ? where can i find them ?

Hover over the option and some part of it should give a tool tip with the name (the name of the array for the variable maybe wrong, they all follow $vboptions['optionname']). Theres also a hack here to place the variable name of the option in the title bar for it.

8472 03-30-2004 10:38 AM

wow thanks a lot .. took a moment to figure out that for $vboptions['yestoday'] it's -1, 0, 1 and not 0, 1, 2 but now i got it and everyone's happy .. thanks alot

Zachery 03-30-2004 11:31 AM

Ive already released this at vBT :)

www.vbulletintemplates.com


All times are GMT. The time now is 10:59 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.01427 seconds
  • Memory Usage 1,713KB
  • 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)bbcode_quote_printable
  • (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