Jump to content

Do you have thePilotShop addon working A OK?  

80 members have voted

  1. 1. Do you have thePilotShop addon working A OK?

    • Yes
      31
    • No
      48


Recommended Posts

Posted

[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!

Posted

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.

Posted

;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`
--

Posted

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...

Posted

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 :)

Posted

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.

Posted

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

Posted

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

Posted

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>

Posted

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.

Posted

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?

Posted

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

  • Moderators
Posted

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

Posted

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.

Posted

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?

Posted

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

  • 2 weeks later...
Posted

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 :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? ;)

Guest
This topic is now closed to further replies.
×
×
  • Create New...