Lampwrights Forum > Other Stuff > vBulletin Talk
Register Community Today's Posts Search

Reply
 
Thread Tools
06-27-2011, 10:39 AM   #1
Jeff
Administrator
 
Jeff's Avatar
 
Join Date: Jul 2010
Posts: 402
Rep Power: 10
Jeff is getting browny points
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
Jeff is offline   Reply With Quote

Reply

Tags

vbulletin code

,

vbulletin other

,

vbulletin plugins



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Problem when save options fastuning vBulletin Wordpress Bridge 5 02-18-2011 05:16 PM


All times are GMT -4. The time now is 10:40 PM.


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