The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#1
|
|||
|
|||
![]()
Hello everyone, I have been trying to figure those out on my own for the whole weekend with no avail, I hope someone has some ideas as to what I can do to solve my concern.
I just created my first option for my custom script (first one! ![]() ![]() Best Regards, Equinox Hope everyone had a great weekend. |
#2
|
||||
|
||||
![]()
All variables which you defined in the settings are available through
PHP Code:
PHP Code:
PHP Code:
Also make sure to position this code after global.php inclusion. |
#3
|
|||
|
|||
![]()
Thank you so much for the fast reply Disasterpiece. Works perfect, now I understand so much better how those options work. Opens up a whole world of possibilities.
![]() Just to see if I have it clear. I'll use the first if condition if I only want ot allow one usegroup per the options and the second if it's more that one? --------------- Added [DATE]1310996257[/DATE] at [TIME]1310996257[/TIME] --------------- Funny thing I tried to add another usegroup to this option like usergroups allowed: 6, 1 for example and I press save it loads returns to that same page but the value still remains 6 and not 6,1 like I had put?? Any ideas what I could be doing wrong? |
#4
|
|||
|
|||
![]()
What did you select for "Data Validation Type"? If you want to be able to enter a comma-separated list you need to select "free".
|
#5
|
|||
|
|||
![]() Quote:
Ahhhh perfect now using Free.! Thanks khn99 ![]() |
#6
|
||||
|
||||
![]()
6, 1 could make problems when you don't make the code more foolproof, but when you consistently stick to 1,2,3 instead of 1, 2, 3 then there are no problems
![]() |
#7
|
|||
|
|||
![]() Quote:
![]() |
![]() |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|