Forum Activity for @michael

michael
@michael
04/17/14 08:08:25PM
7,832 posts

select and chained select


Installation and Configuration

'best way' is such a subjective term.

If it was me, i would create a smarty function to build the menu list
function smarty_function_xxMymodule_menu($params, &$smarty)
{ //do a search for menu items //group menu items into nested array //return nested array OR send the nested array to a template for formatting, then return the html }

and call it from where you want to put it in your templates with this command:
{xxMymodule_menu}

if you want to pass in any parameters, just do it
{xxMymodule_menu active_tab="Fender"}

and that will show up in your $params array. you can use it
If it was me, i would create a smarty function to build the menu list
function smarty_function_xxMymodule_menu($params, &$smarty)
{ switch($params['active_tab']){ case'Fender': // do something break; } }
michael
@michael
04/17/14 08:01:00PM
7,832 posts

Admins Need to upload files of up to 250mb


Installation and Configuration

brian:
One thing it could be is max input time - how long does it take for your file to upload before it fails?

I uploaded from here, so it was quick. about 15 sec to get up. It got to 100% and I expected it to work.

Pretty sure the issue is happening when the temp file is trying to be copied to its new location. Know of any limits placed on copying files?

The response is coming from server.php in the handleUpload() function right after not being able to go into:
if ($this->file->save($fname)) {
//didnt get into here....
}
//so this fires
return array('error'=> 'Could not save uploaded file - upload was cancelled or server error encountered');

and the ajax comes back 500 error.
michael
@michael
04/17/14 07:50:07PM
7,832 posts

Verifying transaction amounts


Using Jamroom

You have to be logged in as the admin. ACP = (Admin Control Panel )

the url would be:
YOUR-SITE.com/foxycart/admin/tools
michael
@michael
04/17/14 07:46:07PM
7,832 posts

Downloading purchases


Using Jamroom

or they can download it once and share it via P2P, or .... or .... or .....

You could make a module that listens for purchased downloads and counts them then limits them.

Wouldn't be so difficult to do if you required that functionality.
michael
@michael
04/17/14 07:43:13PM
7,832 posts

Separating pending payout money and store profits and reconciliation


Using Jamroom

Foxycart is free while in development mode. Run some test sales through to see how it works.

If you want to build a diagram after that it would be welcomed.

There is no diagram that currently exists.
michael
@michael
04/17/14 07:36:52PM
7,832 posts

Custom cart module


Jamroom Developers

andersda:
I have 2 questions:

1. What is the benefit of using Foxycart? I can see from the JR perspective it gives Jamroom operators the ability to plug into multiple payment processors. However, if I just intend to use paypal, why wouldn't I just create my own cart, page and checkout with paypal? What is the additional value Foxycart provides?

Do that. The community is waiting for someone to step up.

The biggest benefit of foxycart is we don’t have to build and maintain integrations with multiple processors. It extends usability reach to more locations than we could ever support payment processors for.

andersda:
2. Are there additional difficulties that we might encounter? Are there other considerations in the workflow that are difficult to do from scratch? It seems like JR is handling the secure download in the 'my items' pages. We just need to create our own tables to track sales, create reports, and do payouts. We don't plan on using subscriptions. Is there anything else the foxycart MODULE provides?


If you don't plan on using subscriptions and do plan on using paypal, why not use the existing paypal module?
https://www.jamroom.net/the-jamroom-network/networkmarket/104/paypal-buy-it-now
michael
@michael
04/17/14 07:30:43PM
7,832 posts

variables in jrCore_list search


Using Jamroom

then you should be able to use it:

same code as brian pasted above:
{jrCore_list module="jrFile" search1="file_approved != on" search2="profile_salesperson = `$rep`" order_by="file_display_order numerical_asc" pagebreak="10" page=$_post.p pager=true}

if thats not working, then it could be $rep thats wrong, try with the actual name
{jrCore_list module="jrFile" search1="file_approved != on" search2="profile_salesperson = Some Name" order_by="file_display_order numerical_asc" pagebreak="10" page=$_post.p pager=true}
michael
@michael
04/16/14 08:53:56PM
7,832 posts

Admins Need to upload files of up to 250mb


Installation and Configuration

These are the errors I see when trying to upload to your server:

and as an ajax response:
Quote: "Could not save uploaded file - upload was cancelled or server error encountered"

Looking into why that happens, it seams to happen when the file is trying to be saved.
Tried to replicate the malfunction on my server, but it doesn't fail. I cant try bigger because my server doesn't have that much resources.

Best guess is a permissions problem, but that doesnt really fit because smaller files can be uploaded. Next best guess is out of diskspace, but that doesnt really fit because other files can be uploaded.
michael
@michael
04/16/14 08:05:11PM
7,832 posts

sychronizing 2 servers


Using Jamroom

That errors not the issue since it reads 'smarty_internal_parsetree.php on line 395' but smarty_internal_parsetree.php only has 394 lines in it.

Look for something you've added to a template that is breaking it. Perhaps a missing } or "
  708