The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#1
|
||||
|
||||
![]()
Hii..
With 3.8.0, the Human verification options have been changed to checkboxes from option buttons, as in the attached pic. Earlier, to check if register option was enabled I simply used $vbulletin->options['hvcheck_registration'], but this variable isn't available anymore. There is just one variable for the whole setting which is $vbulletin->options['hvcheck']. So, how do I check if register option is check marked. Thanks |
#2
|
||||
|
||||
![]()
It's now a bitfield. There is a nice function which you can use to check. It is fetch_require_hvcheck() (find it in functions.php).
|
#3
|
||||
|
||||
![]()
So how do I deal with bitfields? Here is the function:
** Too many lines of vBulletin code ** Earlier, I just used the following to check if register option is checked or not: PHP Code:
How do I achieve similar using bitfield now? Thank you |
#4
|
|||
|
|||
![]()
<a href="https://vborg.vbsupport.ru/showthread.php?t=166940&highlight=bitfields" target="_blank">https://vborg.vbsupport.ru/showt...ight=bitfields</a>
|
#5
|
||||
|
||||
![]()
I have seen that already, but i have no idea how to get it started.
I just need to know how do I check if register option is checked or not in $vbulletin->options['hvcheck'] Thanks |
#6
|
||||
|
||||
![]()
It's as easy as before...
PHP Code:
|
![]() |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|