Post by araminho » Mon Sep 12, 2011 8:26 pm

Hello!
Has anyone met an XML module generator for vQmod, in order not to write the difference of comparisons manually?
Thanks!

Newbie

Posts

Joined
Mon Sep 12, 2011 8:16 pm

User avatar
Active Member

Posts

Joined
Thu Nov 11, 2010 6:11 pm
Location - New Zealand (Tokomaru, Palmerston North)

Post by takahashi1973 » Sun Oct 30, 2011 11:27 pm

Page moved? I got a 404..but very interested!!!

Active Member

Posts

Joined
Thu Oct 13, 2011 11:41 pm

Post by Xsecrets » Mon Oct 31, 2011 12:31 am

yeah not sure why he took it down, but he says he's going to release it as a free download, so you can put it on your server or development environment.

OpenCart commercial mods and development http://spotonsolutions.net
Layered Navigation
Shipment Tracking
Vehicle Year/Make/Model Filter


Guru Member

Posts

Joined
Sun Oct 25, 2009 3:51 am
Location - FL US

User avatar
Active Member

Posts

Joined
Thu Nov 11, 2010 6:11 pm
Location - New Zealand (Tokomaru, Palmerston North)

User avatar
Active Member

Posts

Joined
Thu Nov 11, 2010 6:11 pm
Location - New Zealand (Tokomaru, Palmerston North)

Post by Xsecrets » Mon Oct 31, 2011 12:02 pm

ok just out of curiosity how did you get ahold of his script?

OpenCart commercial mods and development http://spotonsolutions.net
Layered Navigation
Shipment Tracking
Vehicle Year/Make/Model Filter


Guru Member

Posts

Joined
Sun Oct 25, 2009 3:51 am
Location - FL US

Post by Jeremy Fisk » Mon Oct 31, 2011 2:27 pm

Hiya...

I got this version of the script from UKSITEBUILDER...

He sent me through the php files as I wanted to create a binary desktop application to do this... and I was feeling lazy so instead of creating from scratch, i got ideas from his php file...

I uploaded the php files from UKSITEBUILDER (changed a bit in design) to my website for using while I was creating the app... And i never really got arround to removing it...

I have since also created a OpenCart admin module for this, which i also use now... it allows you once loged in to admin, to go to a page (like settings for example) and create new vQmods, and then when save is clicked it saves the file to a .xml file in the vqmod/xml/ folder in my store root... also, now merged in a few features that are used in the vQmod Mangaer extension... this now allows me to create and control my vQmods...

I will be taking down from my server soon... Thanks for remining me as I have a habit of just leaving stuff on there clutering the folder up (and about 3 months down the track I go to the folder and can't workout what 96.728% of the files are even there for)... I'm hopeless... SIGH...

Hope all is well..

Jem

Hand Dryers

Bookstore Mod
QuickShop Module
Restricted Access - Compulsory Login
Template Override - Category Specific (vQmod)
Template Override - Brand Specific (vQmod)
How did you find out about us register question mod
Compulsory Login vQmod
Brands In Top Menu
zoom - Product Image - Auto on hover


User avatar
Active Member

Posts

Joined
Thu Nov 11, 2010 6:11 pm
Location - New Zealand (Tokomaru, Palmerston North)

Post by takahashi1973 » Mon Oct 31, 2011 4:18 pm

Looks promising.
I do not see the "compare two files" and generate vQMod for all changes but I see that can be a pretty difficult task to automate.

Active Member

Posts

Joined
Thu Oct 13, 2011 11:41 pm

Post by Jeremy Fisk » Mon Oct 31, 2011 4:31 pm

Dunno bout in php... but my binary app has coppied abit of source code from an opensource file comparer... and this works fine... I dunno about doing it in php though...

Please note that this vqmod generator will be taken down from my server soon... as I believe if UKSITEBUILDER has taken his down... then i should also take this version down... as 99.99% of this php code came from him...

I believe he is releasing it soon for others to upload themselves...

Chears

Jem

Hand Dryers

Bookstore Mod
QuickShop Module
Restricted Access - Compulsory Login
Template Override - Category Specific (vQmod)
Template Override - Brand Specific (vQmod)
How did you find out about us register question mod
Compulsory Login vQmod
Brands In Top Menu
zoom - Product Image - Auto on hover


User avatar
Active Member

Posts

Joined
Thu Nov 11, 2010 6:11 pm
Location - New Zealand (Tokomaru, Palmerston North)

Post by takahashi1973 » Mon Oct 31, 2011 5:15 pm

Are you going to release the binary app you are talking about?

Active Member

Posts

Joined
Thu Oct 13, 2011 11:41 pm

Post by Xsecrets » Mon Oct 31, 2011 9:02 pm

It would be nice to have one where you can just pop in two files and generate a vqmod, but I think this would be very difficult since vqmod is not a diff format it's a search and replace format. I mean what do you do if what you want to replace is between

}

} else {

searching either before or after will not produce a unique string, so you have to start using indexes and such. I can see that being a nightmare to try to code up.

OpenCart commercial mods and development http://spotonsolutions.net
Layered Navigation
Shipment Tracking
Vehicle Year/Make/Model Filter


Guru Member

Posts

Joined
Sun Oct 25, 2009 3:51 am
Location - FL US

Post by takahashi1973 » Mon Oct 31, 2011 10:04 pm

Yeah I can imagine that will be difficult.

Active Member

Posts

Joined
Thu Oct 13, 2011 11:41 pm

Post by Jeremy Fisk » Tue Nov 01, 2011 3:03 am

Yes, in php it is very hard... (for me anyway)...

But as i have had more experiance at C++ I found it posible to just click to add the two files (obviously the original file as well as the modified file)... and then with another cick it will generate me a vqmod for the difference... easy as that...

But as someone else has already said... one done like this in php would be great... but a little bit over my head... I might have a look into it at some stage though...

In answer to the question of releasing the binary app, yes I will love to... but the probelm is that it is coded into a few custom runtimes that i have on this computer... but i will have a look and see if i can port it across at somestage...


Chears

Jem

Hand Dryers

Bookstore Mod
QuickShop Module
Restricted Access - Compulsory Login
Template Override - Category Specific (vQmod)
Template Override - Brand Specific (vQmod)
How did you find out about us register question mod
Compulsory Login vQmod
Brands In Top Menu
zoom - Product Image - Auto on hover


User avatar
Active Member

Posts

Joined
Thu Nov 11, 2010 6:11 pm
Location - New Zealand (Tokomaru, Palmerston North)

Post by Xsecrets » Tue Nov 01, 2011 3:53 am

just out of curiosity how did you get around the cases where you have no definitive search terms before or after the added text? I mean getting a diff is pretty simple even in php, but trying to figure out how to apply the search terms indexes and offsets seems like a nightmare.

OpenCart commercial mods and development http://spotonsolutions.net
Layered Navigation
Shipment Tracking
Vehicle Year/Make/Model Filter


Guru Member

Posts

Joined
Sun Oct 25, 2009 3:51 am
Location - FL US

Post by quocbinhvip » Fri Nov 18, 2011 11:01 am

Jeremy Fisk wrote:Try this

http://www.qualchem.co.nz/vqgen.php

Please tell me what you think?

Chears

Jem
Your site is helpful. I love it.
I hope you share the code of the page so I can work conveniently on localhost. sincerely thank

https://quocbinhvip.blogspot.com
https://sites.google.com/site/qbinh68/
https://sites.google.com/site/qbinh68/t ... t/opencart


New member

Posts

Joined
Sun Mar 20, 2011 3:58 pm

Post by greymatters » Fri Nov 18, 2011 5:18 pm

Amazing idea.. it will be helpful if you can provide it as module like vQmod Manager.

Image
( support@hostingmatters.in )


User avatar
New member

Posts

Joined
Mon Nov 16, 2009 12:28 am


Post by Qphoria » Fri Nov 18, 2011 9:00 pm

I don't really think it needs to be a module.. You don't necessarily use opencart to create vQmod files. It is just a standalone form. I will be hosting one on the main vQmod site and linking all the others as well to keep them all easy to find in one place

Image


User avatar
Administrator

Posts

Joined
Tue Jul 22, 2008 3:02 am

Post by uksitebuilder » Sun Dec 04, 2011 3:41 am

Just to let you guys know I have been tinkering with the vqmod generator to improve on it a little and it is now live again

vQmod Generator -> http://www.opencart-extensions.co.uk/vqgen/

You can now edit vqmod files previously generated
I will upload a zip file soon so that you can add it to your site should you want it.

In the version above, interaction with files is all done in a temp directory, however the zip version will allow you to interact with files in your vqmod/xml folder.

It also has a mini file manager for easy enabling/disabling of vqmod files. (not as good as rph's vQmod manager, but ample for this tool.

User avatar
Guru Member

Posts

Joined
Thu Jun 09, 2011 11:37 pm
Location - United Kindgom

Post by Xsecrets » Sun Dec 04, 2011 7:12 am

uksitebuilder wrote:Just to let you guys know I have been tinkering with the vqmod generator to improve on it a little and it is now live again

vQmod Generator -> http://www.opencart-extensions.co.uk/vqgen/

You can now edit vqmod files previously generated
I will upload a zip file soon so that you can add it to your site should you want it.

In the version above, interaction with files is all done in a temp directory, however the zip version will allow you to interact with files in your vqmod/xml folder.

It also has a mini file manager for easy enabling/disabling of vqmod files. (not as good as rph's vQmod manager, but ample for this tool.
this is not a good idea. I already see some of my commercial vqmod files up there. Could you please remove them? maybe set a timeout or something. The particular ones up there really don't matter too much because they don't do you a lot of good without the rest of the files, but I can see basically every commercial vqmod getting uploaded to this, and some of the commercial contributions are nothing but vqmod files.

OpenCart commercial mods and development http://spotonsolutions.net
Layered Navigation
Shipment Tracking
Vehicle Year/Make/Model Filter


Guru Member

Posts

Joined
Sun Oct 25, 2009 3:51 am
Location - FL US
Who is online

Users browsing this forum: No registered users and 38 guests