Kritikdevelopment Posted February 1, 2010 Report Share Posted February 1, 2010 [move]New version being released this weekend on: 02-13-2010[/move] Current Un-stable Version: V.0.1 Latest Commit: 014 as of 02-04-2010 Nightly build: Click here Stable download: Click here Feature list: -add, edit, remove types -add, edit, remove shops -add, edit, remove products -full featured admin module -user side plugin -buy and list products -and more! Requested features: -associate downloads [ added ] -e-commerce -edit, remove purchases -sell products from user to user -simplified interface and functionality [ preview for the user side here] Do you have a bug? Well then, report that sucker to me at kritikdevelopment@gmail.com! Do you have a feature request? Well then do the same! If you would like to fork off the main branch for the PilotShop addon feel free to do so! I welcome the continued development of this new addon, simply visit http://github.com/KritikDev/PilotShop/ for more information! Link to comment Share on other sites More sharing options...
Thomas Posted February 1, 2010 Report Share Posted February 1, 2010 Hi Jacob!!! Couple of things ive noticed, 1. Get 2 errors... Warning: call_user_func_array() [function.call-user-func-array]: First argument is expected to be a valid callback, 'ShopAdmin::help' was given in /home/pulseair/public_html/members/core/classes/MainController.class.php on line 292 Warning: call_user_func_array() [function.call-user-func-array]: First argument is expected to be a valid callback, 'ShopAdmin::about' was given in /home/pulseair/public_html/members/core/classes/MainController.class.php on line 292 2. just a little thing... Is there meant to be an image next to ShopAdmin in the admin panel? 3. This is more advice, When adding the databases i had to split them up into 3 parts, so I basically Query'd it 3 times. Nice work, Glad to see its released. -Thomas. Link to comment Share on other sites More sharing options...
M-Queiroz Posted February 2, 2010 Report Share Posted February 2, 2010 ;D Help 100% -- phpMyAdmin SQL Dump -- version 3.2.0.1 -- http://www.phpmyadmin.net -- -- Servidor: localhost -- Tempo de Geração: Fev 01, 2010 as 11:45 PM -- Versão do Servidor: 5.1.36 -- Versão do PHP: 5.3.0 SET SQL_MODE="NO_AUTO_VALUE_ON_ZERO"; -- -- Banco de Dados: `v8` -- -- -------------------------------------------------------- -- -- Estrutura da tabela `phpvms_pilotshop` -- CREATE TABLE `phpvms_pilotshop` ( `id` INT( 15 ) NOT NULL AUTO_INCREMENT PRIMARY KEY , `pid` INT( 15 ) NULL , `name` VARCHAR( 100 ) NULL , `shop_type` INT( 15 ) NULL , `product_type` INT( 15 ) NULL , `image_link` TEXT NULL , `description` TEXT NULL , `price` FLOAT NULL ); -- -- Extraindo dados da tabela `phpvms_pilotshop` -- -- -- Estrutura da tabela `phpvms_pilotshop_types` -- CREATE TABLE `phpvms_pilotshop_types` ( `id` INT( 15 ) NOT NULL AUTO_INCREMENT PRIMARY KEY , `type` INT( 1 ) NULL , `name` VARCHAR( 100 ) NULL , `description` TEXT NULL ); -- -- Extraindo dados da tabela `phpvms_pilotshop_types` -- -- -- Estrutura da tabela `phpvms_pilotshop_bought` -- CREATE TABLE `phpvms_pilotshop_bought` ( `id` INT( 11 ) NOT NULL AUTO_INCREMENT PRIMARY KEY , `pilot_id` INT( 11 ) NULL , `product_id` INT( 11 ) NULL ); -- -- Extraindo dados da tabela `phpvms_pilotshop_bought` -- Link to comment Share on other sites More sharing options...
Kritikdevelopment Posted February 2, 2010 Author Report Share Posted February 2, 2010 I apologize for the mishap. This addon was tested and re-tested on the latest stable release by me and another party and I have yet to get an error. What version are you running and what page are you seeing the error on? Also the image is supposed to be there and that was a fluke on my part, this addon will be tweaked and edited all this week so I can get it stable. Expect the next release on Friday or Saturday on the GitHub. And in regards to the query, I am aware that they are separate and that is to avoid confusion upon adding them. In a later more detailed version ( Late February early March ) expect an installer... Link to comment Share on other sites More sharing options...
M-Queiroz Posted February 2, 2010 Report Share Posted February 2, 2010 en as how to create menus for pilots br como como criar os menus para os pilotos Link to comment Share on other sites More sharing options...
Thomas Posted February 2, 2010 Report Share Posted February 2, 2010 Ok Jacob, Thanks for reply. Great addon aswell! Just them few things i thought would need bringing up. -thomas. Link to comment Share on other sites More sharing options...
souljony Posted February 2, 2010 Report Share Posted February 2, 2010 en as how to create menus for pilots br como como criar os menus para os pilotos Tem que criar o link para o modulo PilotShop Exemplo: www.link.com/index.php/PilotShop/ You have to create the link for the module PilotShop Example: www.link.com/index.php/PilotShop/ Thanks for your SQL, it helps for me Link to comment Share on other sites More sharing options...
TAV1702 Posted February 3, 2010 Report Share Posted February 3, 2010 Hi Jacob. this addon sounds great. Do you have it on a dev site or live? If on a dev only, do you have a test account setup? demo of this addon would be great. Just curious is all. Was thinking of checking this thing out for sure. I will most likely install it on my dev site for now until it is 1000% good to go. It does sound pretty cool so far. Link to comment Share on other sites More sharing options...
RogerB Posted February 3, 2010 Report Share Posted February 3, 2010 Yeah, this is the release forum, and I don't see a download anywhere?????? Link to comment Share on other sites More sharing options...
Kritikdevelopment Posted February 3, 2010 Author Report Share Posted February 3, 2010 Rodger- Try clicking on the installation link bud ;D . This addon is quite extensive and I did not want to post a zip and leave it at that because this thread would be filled with questions towards how to install it. Tav- The github ( click on the install link ) provides you a live look at the code as well as a download link to the .zip/.tar version. And this is a full release peeps, read my post and the install guide to avoid any further confusion Have fun! -Jacob Krustchinsky Link to comment Share on other sites More sharing options...
flyalaska Posted February 3, 2010 Report Share Posted February 3, 2010 I been testing this on a test server and come up with the following error. Warning: Invalid argument supplied for foreach() in /home/flyakaco/public_html/flyaka.net/core/templates/PilotShop/list_products.tpl on line 22 Link to comment Share on other sites More sharing options...
Kritikdevelopment Posted February 3, 2010 Author Report Share Posted February 3, 2010 Error added and fixed.. new commit will be available tonight Link to comment Share on other sites More sharing options...
RogerB Posted February 4, 2010 Report Share Posted February 4, 2010 Got you jake. I will try now..LOL Link to comment Share on other sites More sharing options...
RogerB Posted February 4, 2010 Report Share Posted February 4, 2010 Getting same error Link to comment Share on other sites More sharing options...
Kritikdevelopment Posted February 5, 2010 Author Report Share Posted February 5, 2010 Are you running a beta version or something besides the 2.0.854? If so give the version number and the exact error. Much thanks, Jacob Krustchinsky Link to comment Share on other sites More sharing options...
Flightguy123 Posted February 5, 2010 Report Share Posted February 5, 2010 Invalid argument supplied for foreach() in /home/aavirtua/public_html/core/pages/pilotshop.htm on line 4 I keep getting that error, my code is <p></p> <span class="green-text-box">These are all the products associated with <?php foreach($shopdata as $shop) { echo '<b>'. $shop->name . '</b>'; } ?> </span> <p></p> <table class="table-monster"> <thead> <tr> <th align="left">Name</th> <th align="left">Price</th> <th align="left">Image</th> <th align="left">Options</th> </tr> </thead> <tbody> <?php if(!$products) { Template::Set('message', 'No products have been added!'); Template::Show('core_error.tpl'); } else { foreach($products as $product) { ?> <tr> <td align=""><?php echo $product->name; ?></td> <td align=""><?php echo FinanceData::FormatMoney($product->price); ?></td> <td align=""><img src="<?php echo $product->image_link; ?>"/></td> <td align="" width="1%" nowrap> <a href="<?php echo SITE_URL?>/index.php/PilotShop/buyProduct?id=<?php echo $product->id; ?>">Buy</a> </td> </tr> <?php } } ?> </tbody> </table> Link to comment Share on other sites More sharing options...
Kritikdevelopment Posted February 5, 2010 Author Report Share Posted February 5, 2010 I am un-sure as to why that would be located in a page of yours. Use the standard template... path to index.php/PilotShop to view the interface. A new commit was already added to prevent that error... download the latest version and overwrite your existing list_products.tpl in your core/templates/PilotShop folder with he new one from the download to prevent the invalid arguement. Link to comment Share on other sites More sharing options...
RogerB Posted February 5, 2010 Report Share Posted February 5, 2010 I figured out what happened. Are you going to make this so we can drop the template files in our skin? Link to comment Share on other sites More sharing options...
Kritikdevelopment Posted February 5, 2010 Author Report Share Posted February 5, 2010 You can as it stands. Just create a directory called PilotShop in your skin and put the .tpls in there and I swear I have a bug following me around lowering my karma xD what did I do guys? Link to comment Share on other sites More sharing options...
RogerB Posted February 5, 2010 Report Share Posted February 5, 2010 Few things. In the other pages for pilots, you need to have links to go back and visit the other pages within pilot shop. As to how this works there is not documentation, I find it confusing as hell to be honest. Everything on the back end appears to work good. Can we be sure that further updates to phpvms won't mess up a pilots pay or re-add it down the road? Link to comment Share on other sites More sharing options...
Kritikdevelopment Posted February 6, 2010 Author Report Share Posted February 6, 2010 Do you find the admin side confusing or the user side? Regardless I'm going to make some tutorial videos this weekend. And I dont think the updates touch the pilots pay. Link to comment Share on other sites More sharing options...
RogerB Posted February 6, 2010 Report Share Posted February 6, 2010 yeah on the admin side. the product, type and shop... Link to comment Share on other sites More sharing options...
Kritikdevelopment Posted February 6, 2010 Author Report Share Posted February 6, 2010 Well, just understand the flow basically follows this.. -A product has a type -A shop has a type -No shop can be created without a shop type -No product can be created without a product type But as I said a video will be released for both the install, usage and upcoming features of PilotShop by the end of this weekend. Hopefully that will help you out abit roder! -Jacob Krustchinsky Link to comment Share on other sites More sharing options...
RogerB Posted February 6, 2010 Report Share Posted February 6, 2010 I helped your karma jacob! LOL Link to comment Share on other sites More sharing options...
RogerB Posted February 6, 2010 Report Share Posted February 6, 2010 I was just messing with this again and I must say, you made this way to confusing and complicated. I would deff..simplify this... Link to comment Share on other sites More sharing options...
Moderators joeri Posted February 6, 2010 Moderators Report Share Posted February 6, 2010 thats also the only thing i can say aboud it its wat to confusing. the whol type,shop,product thing i am no coder but is woult be way easyer just to create 1 page where you can enter a type.example electronics,cars,suits than just enter the part you want example cars:ford mustang,dodge charger,electronics:tv 100cm,tv120 cm,blueray player.something like this. just my to cents gr joeri Link to comment Share on other sites More sharing options...
Kritikdevelopment Posted February 6, 2010 Author Report Share Posted February 6, 2010 The purpose of separating the types was to allow for re-usage. By creating a Trophy Store shop type I can have multiple Trophy Stores that have multiple products of varying and maybe even the same type. I will look over how I can simplify it without losing the functionality. Link to comment Share on other sites More sharing options...
markusr Posted February 7, 2010 Report Share Posted February 7, 2010 Hi, i have just installed the pilot shop on my test instance. I can buy products but when i reload the shop and i cklick on pilothome, its says No products have been bought! The amount of the money was descreased foir the pilot who bought an item. Any idea? Link to comment Share on other sites More sharing options...
DafXF95 Posted February 12, 2010 Report Share Posted February 12, 2010 Hello I have installed the Pilotshop on our Testinstance Its in the Adminpanel and i can add Shop and Types and Product but when i go in the Main Page and will see the Result i become a Message "no Shops have been added" but i have created a shop here is the Link to the Site http://site.dresden-air.de Link to comment Share on other sites More sharing options...
selwynorren Posted February 26, 2010 Report Share Posted February 26, 2010 Well this was sad!! So I installed the Pilot shop, was a little confused but managed it ok and setup a few shops. a new release of phpVMS beta was made available and I always run the beta stuff on my site, just logged in now to work on the shop again, and guess what! It gone :D Does phpVMS offer admin template skins like the site normally does? Or will I have to install the Admin section each time there is an upgrade. By the way, really cool add on!!!! but is it really necessary to be so complicated? Link to comment Share on other sites More sharing options...
Recommended Posts