PDA

View Full Version : [How-To]Using Array conditionals with $vboptions


Deaths
26 Mar 2005, 15:51
I've seen a couple of people making this mistake (including me a couple of months ago), so I though I'd make a How-To.

Here we go:

Add a new setting (and optionally a new settinggroup).
You may choose which settings you use, aslong as you remember the variable you use. (In this case we're using $pmembergroups).

After you're added the setting, you can add this code as your conditional:



Code:
---------------
Code is only visible to licensed users, and only when logged into the forums.
---------------



That's it!

EDIT: If you want a guide on how to add a setting, just ask.

Muellmann
29 Sep 2006, 20:34
Yes, this is what I search for: How to add a Custom Settinggroup and a Setting
Could you please make such Howto?

If you want a guide on how to add a setting, just ask.

Delphiprogrammi
29 Sep 2006, 21:44
Yes, this is what I search for: How to add a Custom Settinggroup and a Setting
Could you please make such Howto?

that's easy but you only see that options if debug mode is enabled.To enable debug mode edit /includes/config.php



Code:
---------------
Code is only visible to licensed users, and only when logged into the forums.
---------------



right after the <?php

then goto admincp vbulletin options and there will be a link to add a new settingsgroup each with it's own settings if so desired

TCattitude
20 Mar 2008, 00:48
Thanks... really.