John Magnolia
John Magnolia

Reputation: 16793

Opencart check the vqmod version installed

Is there any way to check the version of vqmod which is installed from within the extension of opencart?

I am having far too many users send me support emails and the majority of the time its because they need to upgrade vqmod. I want to add a warning message saying they need to upgrade vqmod.

Upvotes: 4

Views: 5093

Answers (2)

Elliot
Elliot

Reputation: 111

To check which version of VQMOD you are running open the file.. /vqmod/vqmod.php look on line 7 for... private $_vqversion = '2.3.2';

Upvotes: 10

Jay Gilford
Jay Gilford

Reputation: 15151

vQmod's version number is private and only there for the purposes of letting a user know the version. I guess you could load the file and use a regex to find the version number. My concern is just what you're using that is incompatible. vQmod is backward compatible right back to 1.0 from the latest version. The simplest answer is to make it clear on your extension that version X is required or later of vQmod for your extension to be compatible. I sell over 40 mods, the majority of which are vQmodded in some way or another and I've not come across this with my customers

Upvotes: 2

Related Questions