PDA

View Full Version : admin cp options for users, where to find Vars


8472
03-30-2004, 08:56 AM
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
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