The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#1
|
|||
|
|||
Detecting if a product is installed and enabled?
You can see if another product is installed by looking at
PHP Code:
|
#2
|
||||
|
||||
[sql]SELECT * FROM product WHERE productid='foobar' AND active=1[/sql]
Or, to avoid Queries and to be sure that not just the Product is enabled but also the Plugin(s): Set a Flag with the Plugin(s) and check that. |
#3
|
|||
|
|||
the value of $vbulletin->products['ProductID'] should be 0 for not active, or 1 for active. Enabling/disabling a product however is not updating the datastore. This is a bug that is solved in RC3: Enable/disable product don't update products datastore
|
#4
|
|||
|
|||
**groan** Does that mean we have to reinstall all the products/plugins?
|
#5
|
|||
|
|||
That i can not answer, but solving the bug itself will not need a new install of the products.
|
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|