Lampwrights Forum

Lampwrights Forum (http://www.lampwrights.com/index.php)
-   vBulletin Talk (http://www.lampwrights.com/forumdisplay.php?f=12)
-   -   Custom Selects In Vbulletin Options (http://www.lampwrights.com/showthread.php?t=170)

Jeff 06-27-2011 10:39 AM

Custom Selects In Vbulletin Options
 
When creating custom vbulletin options there is a built in feature that allows you create custom select dropdowns. All you have to do is populate an array called $options and the key/value pair will be used. Here is an example on how to show a select list of your available forums, just add this for the option code:

PHP Code:

select:eval
foreach (
$vbulletin->forumcache as $key => $value)
{
    
$options[$key] = $value[title_clean];


I could not find any documentation on this


All times are GMT -4. The time now is 08:41 AM.

Powered by vBulletin® Version 3.8.8 Beta 4
Copyright ©2000 - 2020, vBulletin Solutions, Inc.