View Full Version : Is there a list of the $vbulletin->options[] that are available?
mccollin
06-01-2007, 06:24 PM
I am trying to manipulate some things via $vbulletin->options['variable']='value';
How do I find out what all the options variables are to change? The guessing approach is getting old. :)
harmor19
06-01-2007, 06:40 PM
Hover over the area you'd type in on the vBulletin Options pages. A small message will appear next to your cursor with something like "options['var']".Whatever "var" is will be the text you put into $vbulletin->options['var_here']
plexi
06-02-2007, 07:32 PM
Sometimes its helpful to see the whole list! Try printing out the entire $vbulletin variable, something like:
echo htmlspecialchars(print_r($vbulletin, true));
You can also drill down, lets say you want to see all the userinfo variables, just use $vbulletin->userinfo.
vBulletin® v3.8.12 by vBS, Copyright ©2000-2025, vBulletin Solutions Inc.