On the plus side the scripts dont need to be updated, just improving the main class but the end result remains transparentJNeuhoff wrote:Hard to keep up with all the changes.
Have created more than 50 <modification>s for my system and modules over the past few days.
I've got http://www.vQmod.com up now.
Im going to try to set up a script repository for people to be able to share their free scripts with others. It will have more use as more projects get setup to work with vQmod.
Still working on the xml generator form as well and ill put that up on the site too
Im going to try to set up a script repository for people to be able to share their free scripts with others. It will have more use as more projects get setup to work with vQmod.
Still working on the xml generator form as well and ill put that up on the site too
Thanks for your hard work and for creating this essential solution for opencart. Luckily I am setting up a new opencart store, so I will use VQMod to begin with which will save me work later.Still working on the xml generator form as well and ill put that up on the site too
I am waiting patiently for the xml generator which will really help light developers such as myself. Please post when you have it up and running
I do hope that mod developers will start to either provide a vqmod xml files with their extensions which will make installations a plug-n-play thing, or that at least they save us some time comparing files and tell us which lines to add/change/replace in the core files instead of just providing the modified core files.
Do you recommend creating a vqmod_extension_name.xml for each module and placing it inside /public_html/vqmod or having all the xml in one file (vqmod_opencart.xml). Will the vqmod scan /vqmod/ for xml files, or do I need to tell it specific file names?
just the thoughts/questions of a newcomer,
Tom
Never edit existing xml files that you didn't author.. always keep separate mods in separate files, but keep the entire individual mod together in one file. This way you always know that fileA handles one mod and fileB handles another mod. There is no limit. Any files in the folder will automatically be scanned.tommyz wrote: Do you recommend creating a vqmod_extension_name.xml for each module and placing it inside /public_html/vqmod or having all the xml in one file (vqmod_opencart.xml). Will the vqmod scan /vqmod/ for xml files, or do I need to tell it specific file names?
Q. Well done creating this VQMod so quickly - I can see where the inspiration for your animated logo came from now :-)
I have been trying to keep up with all the changes (using 1.4.9.3 btw with VirtualQMod_1.0.7 ) and think it certainly speeds up testing mods and doing changes.
Whilst testing I found that the logfile actually gets created as both [store_folder]/vqmod/vqmod.log and [store_folder]/admin/vqmod/vqmod.log depending on whether you start with [store_folder]/index.php (i.e. storefront) or [store_folder]/admin/index.php (i.e. admin)
I find this a little confusing as the log does actually contain all the info for both admin and shop changes so I thought it would be better if the same single file was always used (which may have been your intention anyway?)
It seems to be to use of a relative rather than an absolute file path for the log (which you have used elsewhere for vqcache and vqprotect.txt).
I simply changed one line (although I believe it could be simplified further by defining the original class variables for $logfilepath, $vqCachePath and $protectedFilelist without their prefix of './' but that is up to you if you agree. I just think it may be more technically 'correct' )
In Init function in vqmod.php about line
FIND line 237
And put this BEFORE it
I noticed that you did originally have a similar line but have commented it out? Perhaps in the speed this has been changing?
Sorry this post is a bit long winded...
I have been trying to keep up with all the changes (using 1.4.9.3 btw with VirtualQMod_1.0.7 ) and think it certainly speeds up testing mods and doing changes.
Whilst testing I found that the logfile actually gets created as both [store_folder]/vqmod/vqmod.log and [store_folder]/admin/vqmod/vqmod.log depending on whether you start with [store_folder]/index.php (i.e. storefront) or [store_folder]/admin/index.php (i.e. admin)
I find this a little confusing as the log does actually contain all the info for both admin and shop changes so I thought it would be better if the same single file was always used (which may have been your intention anyway?)
It seems to be to use of a relative rather than an absolute file path for the log (which you have used elsewhere for vqcache and vqprotect.txt).
I simply changed one line (although I believe it could be simplified further by defining the original class variables for $logfilepath, $vqCachePath and $protectedFilelist without their prefix of './' but that is up to you if you agree. I just think it may be more technically 'correct' )
In Init function in vqmod.php about line
FIND line 237
Code: Select all
if (file_exists($this->logFilePath)) {
Code: Select all
$this->logFilePath = $this->cwd . '/' . str_replace("./", "", $this->logFilePath);
I noticed that you did originally have a similar line but have commented it out? Perhaps in the speed this has been changing?
Sorry this post is a bit long winded...
yep that is a bug.. I was supposed to add that line back in. The vqmod.log should only be in one place. Thanks for the heads upkeithb wrote:Q. Well done creating this VQMod so quickly - I can see where the inspiration for your animated logo came from now :-)
I have been trying to keep up with all the changes (using 1.4.9.3 btw with VirtualQMod_1.0.7 ) and think it certainly speeds up testing mods and doing changes.
Whilst testing I found that the logfile actually gets created as both [store_folder]/vqmod/vqmod.log and [store_folder]/admin/vqmod/vqmod.log depending on whether you start with [store_folder]/index.php (i.e. storefront) or [store_folder]/admin/index.php (i.e. admin)
I find this a little confusing as the log does actually contain all the info for both admin and shop changes so I thought it would be better if the same single file was always used (which may have been your intention anyway?)
It seems to be to use of a relative rather than an absolute file path for the log (which you have used elsewhere for vqcache and vqprotect.txt).
I simply changed one line (although I believe it could be simplified further by defining the original class variables for $logfilepath, $vqCachePath and $protectedFilelist without their prefix of './' but that is up to you if you agree. I just think it may be more technically 'correct' )
In Init function in vqmod.php about line
FIND line 237And put this BEFORE itCode: Select all
if (file_exists($this->logFilePath)) {
Code: Select all
$this->logFilePath = $this->cwd . '/' . str_replace("./", "", $this->logFilePath);
I noticed that you did originally have a similar line but have commented it out? Perhaps in the speed this has been changing?
Hey Q!
I uploaded 1.0.7 and I get the following message when trying to enter Admin:
"VQMOD: Could not create ./vqmod directory. Ensure the root is writable or create manually".
The following folders have 777 permissions: vqmod, vqcache, xml and root. "vqmod.php" also has 777.
What can I check?
I uploaded 1.0.7 and I get the following message when trying to enter Admin:
"VQMOD: Could not create ./vqmod directory. Ensure the root is writable or create manually".
The following folders have 777 permissions: vqmod, vqcache, xml and root. "vqmod.php" also has 777.
What can I check?
I'm using Open Cart 1.5.4.1 on http://www.importpieseauto.ro
Hi,
Can you maybe help me with installing this script, I really like to have the possibility to randomly show the latest product and I understood that your script is doing that. Unfortunately after a good read I still do not understand what to do, because I am not an expert I do not want to do things what can interupt my shop. I see two files with text about the script, can you tell me wich one I have to follow and what the simple steps are. Do I install the vqmod folder in the root or somewhere else, where do I upload the xml files, etc. I hope you can help me.
Thx
Can you maybe help me with installing this script, I really like to have the possibility to randomly show the latest product and I understood that your script is doing that. Unfortunately after a good read I still do not understand what to do, because I am not an expert I do not want to do things what can interupt my shop. I see two files with text about the script, can you tell me wich one I have to follow and what the simple steps are. Do I install the vqmod folder in the root or somewhere else, where do I upload the xml files, etc. I hope you can help me.
Thx
You basically upload the 'vqmod' folder to your Opencart server's root directory. And then edit the following 2 files:timmieboy wrote:Hi,
Can you maybe help me with installing this script, I really like to have the possibility to randomly show the latest product and I understood that your script is doing that. Unfortunately after a good read I still do not understand what to do, because I am not an expert I do not want to do things what can interupt my shop. I see two files with text about the script, can you tell me wich one I have to follow and what the simple steps are. Do I install the vqmod folder in the root or somewhere else, where do I upload the xml files, etc. I hope you can help me.
Thx
- index.php
/admin/index.php
Export/Import Tool * SpamBot Buster * Unused Images Manager * Instant Option Price Calculator * Number Option * Google Tag Manager * Survey Plus * OpenTwig
Q,
When viewing vqmod.log in Komodo, there are a bunch of lines that are underlined with green squiggles. According to ActiveState, this is due to having multiple types of line endings in a file. I guess some IDE's are more sensitive than others.
I went through vqmod.php and replaced all occurrences of \r\n with \n and that solved it. Just thought you might like to know in case you wanted to make the change for v1.0.9.
Marc
When viewing vqmod.log in Komodo, there are a bunch of lines that are underlined with green squiggles. According to ActiveState, this is due to having multiple types of line endings in a file. I guess some IDE's are more sensitive than others.
I went through vqmod.php and replaced all occurrences of \r\n with \n and that solved it. Just thought you might like to know in case you wanted to make the change for v1.0.9.
Marc
OpenCart v1.4.9.4
VQMod | Categories Home | Cleaner By Default - 2 Column | Speak Good English
From what I understand, it is good practice to use \r\n because \r is for linux users, and \n is for windows users. I think if you remove all \r then you can't view it properly in linux.
Now i could probably check the OS before logging but \r\n typically doesn't cause any errors in most editors.. i think komodo is a good editor but perhaps being a bit too sensitive.. notepad++, ultraedit, notepad etc never complain about both.
Now i could probably check the OS before logging but \r\n typically doesn't cause any errors in most editors.. i think komodo is a good editor but perhaps being a bit too sensitive.. notepad++, ultraedit, notepad etc never complain about both.
Could you force all lines in the log to be \r\n? That would eliminate the problem in Komodo.Qphoria wrote:Now i could probably check the OS before logging but \r\n typically doesn't cause any errors in most editors..
OpenCart v1.4.9.4
VQMod | Categories Home | Cleaner By Default - 2 Column | Speak Good English
They're not on my setup. My log has a mixture of LF and CRLF.Qphoria wrote:All lines should be \r\n already
OpenCart v1.4.9.4
VQMod | Categories Home | Cleaner By Default - 2 Column | Speak Good English
Who is online
Users browsing this forum: No registered users and 4 guests