yea if I could go back and change the name I mightqahar wrote:(i don't like the sound of vQmod Mods )
I usually call them "vQmod scripts"
OpenCart v1.4.9.4
VQMod | Categories Home | Cleaner By Default - 2 Column | Speak Good English
You're right, but it's early enough in it's existence that, if you're going to do it, now is the time. If you wait until everyone finds out about it, Oy!Qphoria wrote:but that will of course break the current setup so I've refrained from doing so
OpenCart v1.4.9.4
VQMod | Categories Home | Cleaner By Default - 2 Column | Speak Good English
Code: Select all
/vqmod
/vqcache/
/vqlog/
/*.xml
Code: Select all
public $logFilePath = './vqmod.log';
Code: Select all
public $logFilePath = './vqmod/vqlog/vqmod.log';
Code: Select all
private $vqCacheDir = 'vqcache';
Code: Select all
private $vqCacheDir = 'vqmod/vqcache';
Code: Select all
public $protectedFilelist = 'vqprotect.txt';
Code: Select all
public $protectedFilelist = 'vqmod/vqprotect.txt';
Code: Select all
/vqmod
/vqcache/
/vqlog/vqmod.log
/*.xml
/vqmod.php
/vqprotect.txt
OpenCart v1.4.9.4
VQMod | Categories Home | Cleaner By Default - 2 Column | Speak Good English
I'm using Open Cart 1.5.4.1 on http://www.importpieseauto.ro
I'm using Open Cart 1.5.4.1 on http://www.importpieseauto.ro
OpenCart commercial mods and development http://spotonsolutions.net
Layered Navigation
Shipment Tracking
Vehicle Year/Make/Model Filter
Yea.. it was actually a request from Lao that I added it. just leave the search tags empty and set position="all"Xsecrets wrote:please we are already getting people trying to use it. PLEASE PLEASE PLEASE only use all as a last resort if you absolutely need to replace everything in a file. if everyone replaces the entire file everytime having more than one mod modifying the same file is going to become increasingly difficult, not to mention that if you are simply overwriting the file 10 times during load that can't be too good.
930sc ... because it is fun!
only if you turn caching on, but more than that if people just go erasing files and replacing them with whatever they feel like it then it is quite likely that any other mods will not work not to mention that if a mod that does it correctly gets applied first then someone comes along and does a replace all they will have just completely wiped out the other mod with no errors to show for it.SapporoGuy wrote:huh?
I thought this was a write once and then use that file from cache or whatever?
OpenCart commercial mods and development http://spotonsolutions.net
Layered Navigation
Shipment Tracking
Vehicle Year/Make/Model Filter
So, I was wondering if vqm is being loaded per mod per page load ...if you are simply overwriting the file 10 times during load that can't be too good.
930sc ... because it is fun!
Is there any "sort order" for vQmod file that modificating the same file ?Xsecrets wrote:but more than that if people just go erasing files and replacing them with whatever they feel like it then it is quite likely that any other mods will not work not to mention that if a mod that does it correctly gets applied first then someone comes along and does a replace all they will have just completely wiped out the other mod with no errors to show for it.
If SapporoGuy misunderstood these, what you think the other (i.e: me ).Qphoria wrote:Looks like you gots some reading to doSapporoGuy wrote: So, I was wondering if vqm is being loaded per mod per page load ...
TODO:qahar wrote: Is there any "sort order" for vQmod file that modificating the same file ?
It does normally. I just added the option to replace "all" for specific moments. I don't recommend using it unless you know what you are doing. In this case, the initial request was for the footer.tpl file. While he should have just replaced or overwrote that file, he wanted to try just swapping the contents on his own personal site. But I agree, this is not something developers who are pushing these out to others should ever use.qahar wrote: And I think it will better if vQmod able to duplicate the file, make a new pseudo-file, search and replace. Rather than "replace all".
thank you for leaving out eval() that certainly would have opened up all kinds of security issues.Qphoria wrote:TODO:qahar wrote: Is there any "sort order" for vQmod file that modificating the same file ?
============
Add sortability based on filename (or master sort control list file)
It does normally. I just added the option to replace "all" for specific moments. I don't recommend using it unless you know what you are doing. In this case, the initial request was for the footer.tpl file. While he should have just replaced or overwrote that file, he wanted to try just swapping the contents on his own personal site. But I agree, this is not something developers who are pushing these out to others should ever use.qahar wrote: And I think it will better if vQmod able to duplicate the file, make a new pseudo-file, search and replace. Rather than "replace all".
I had the idea to add the option to support eval() from the modfile so that depending on certain conditions, the <add> code could change. But I only see that as a major security hole and a nightmare so I'm going to leave it out.
OpenCart commercial mods and development http://spotonsolutions.net
Layered Navigation
Shipment Tracking
Vehicle Year/Make/Model Filter
Yes, it does each operation individually and passes the newly changed data into the subsequent operationsXsecrets wrote: Though that does bring up another question what happens if you do two bottom or two top additions on the same file in the same mod? Say for instance you did a bottom with "-->" then another bottom with "my crap here" would it add them both in the order that you put them in?
Code: Select all
...........
...existing stuff...
-->
my new code
Ok I cleaned up the first post to make it easier to understand (i hope):qahar wrote: If SapporoGuy misunderstood these, what you think the other (i.e: me ).
You need to make Quick Explanation and put it on first post. I will add it on file collection.
Users browsing this forum: No registered users and 89 guests