The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
|
#1
|
||||
|
||||
![]() Quote:
![]() If you want to make the number of poll colors changeable, you'd either have to add some code to count the number of poll colors available in the images/poll directory, or add an ACP option, and change that line I gave you to: Code:
$option['graphicnumber'] = $option['number'] % $vbulletin->options['poll_colors'] + 1; https://vborg.vbsupport.ru/showthread.php?t=121792 It's all just point and click stuff. Create a new product with the APM, add a Setting Group and a Setting Option for poll_colors, add a plugin ... done. Creating the plugin is as easy as just selecting the hook name I gave you and pasting that one line of code. But if you really don't feel up to it, I'd be happy to create it for you in exchange for some graphics work next time I need it. -- hugh |
![]() |
Thread Tools | |
Display Modes | |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|