The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#1
|
||||
|
||||
![]()
Is there a built in vb function to detect if a specific plugin or product is installed?
|
#2
|
||||
|
||||
![]()
Not that I know of, though all you would need to do is a simple query to check if something exists.
|
#3
|
||||
|
||||
![]()
Ah, look what I found.
![]() PHP Code:
|
#4
|
|||
|
|||
![]()
All loaded (ie. installed & Active) plugins are in the $vbulletin object. Think $vbulletin->product(s) or $vbulletin->plugin(s).
Too lazy to go check now which one Edit: it is $vbulletin->products['product_id'] |
#5
|
||||
|
||||
![]()
That's even better since I will know the product id. Thanks
Of course, if it's turned off... |
#6
|
||||
|
||||
![]() Quote:
![]() |
#7
|
|||
|
|||
![]()
I think that it will not be in the array if it is turned off (if you look at it from a functional POV, then turned off is the same as not installed).
But i already suggested sometime ago at vb.com, to always include in the array, but add a flag if it is active or not. |
#8
|
||||
|
||||
![]()
They could just do it this way.
PHP Code:
|
![]() |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|