Forum Activity for @nate

nate
@nate
12/17/15 04:08:35PM
917 posts

API Tab


Suggestions

A tab on the modules that lists available functions.
updated by @nate: 03/17/16 06:40:13AM
nate
@nate
12/13/15 08:20:20AM
917 posts

icon_color


Jamroom Developers

How do a change the icon_color to #555555? Or 0x555555 or grey?

Or is it only black and white?
updated by @nate: 03/14/16 08:32:56PM
nate
@nate
11/28/15 07:23:41AM
917 posts

Add to cart


Jamroom Developers

michael:From a template, the function your probably looking for is {jrFoxyCart_add_url}

its smarty_function_jrFoxyCart_add_url() at /modules/jrFoxyCart/include.php around line 1500 ish.

Something like this:
{jrFoxyCart_add_url module="jrAudio" item=$item field="audio_file"}

Might be easier to setup a module to handle the getting of the $item inside a module function then get call a url to fire that function via ajax to get back the info you need perhaps json formatted.

So your flash player executes an ajax call to a defined url
site.com/your-module/get_url/audio_file/1

and the modules function view_n8YourModule_get_url() function fires that jrFoxyCart_add_url() function and returns back the URL your after.

The js file was the plan. Thanks.
nate
@nate
11/27/15 11:14:58AM
917 posts

Add to cart


Jamroom Developers

I need to make a js function to add an audio file to the shopping cart. This will be called from a flash player. I've looked for code to try to copy but haven't seen what I'm looking for.
updated by @nate: 02/25/16 12:06:49AM
nate
@nate
11/12/15 04:12:34PM
917 posts

Invalid App ID


Installation and Configuration

I don't have that kind of access. Thanks. I'll recommend the free hosting.
nate
@nate
11/12/15 04:06:14PM
917 posts

Invalid App ID


Installation and Configuration

Quote:(2015-11-13T00:01:45+00:00.0.64460900 : 0)-(mem: 23592960)-(pid: 11670)-(ip: 24.217.237.252)-(uri: www.kideso.co.uk/media/api/user?password=qqqqqq&user_email=nate@demo.com)
Array (
[PATH] => /usr/local/bin:/usr/bin:/bin
[REDIRECT_STATUS] => 200 [UNIQUE_ID] => VkUoaX8AAAEAABd7pSIAAAAH
[SCRIPT_URL] => /media/api/user
[SCRIPT_URI] => http://www.kideso.co.uk/media/api/user
[CONTENT_LENGTH] => 0
[HTTP_HOST] => www.kideso.co.uk
[HTTP_USER_AGENT] => AndroidAgent
[HTTP_CONNECTION] => close
[SERVER_SIGNATURE] => Apache/2.4.16 (Unix) Server at www.kideso.co.uk Port 80
[SERVER_SOFTWARE] => Apache/2.4.16 (Unix)
[SERVER_NAME] => www.kideso.co.uk
[SERVER_ADDR] => 10.0.187.65
[SERVER_PORT] => 80
[REMOTE_ADDR] => 24.217.237.252
[DOCUMENT_ROOT] => /home/sites/kideso.co.uk/public_html
[REQUEST_SCHEME] => http
[CONTEXT_PREFIX] =>
[CONTEXT_DOCUMENT_ROOT] => /home/sites/kideso.co.uk/public_html
[SERVER_ADMIN] => root@localhost
[SCRIPT_FILENAME] => /home/sites/kideso.co.uk/public_html/media/modules/jrCore/router.php
[REMOTE_PORT] => 39488
[REDIRECT_QUERY_STRING] => _uri=api/user
[REDIRECT_URL] => /media/api/user
[GATEWAY_INTERFACE] => CGI/1.1
[SERVER_PROTOCOL] => HTTP/1.1
[REQUEST_METHOD] => POST
[QUERY_STRING] => _uri=api/user
[REQUEST_URI] => /media/api/user?password=qqqqqq&user_email=nate@demo.com
[SCRIPT_NAME] => /media/modules/jrCore/router.php
[PHP_SELF] => /media/modules/jrCore/router.php
[REQUEST_TIME] => 1447372905 [jr_is_ajax_request] => 1 )
nate
@nate
11/12/15 03:59:36PM
917 posts

Invalid App ID


Installation and Configuration

brian:try doing:

fdebug($_SERVER)

See if it is anywhere in the keys.

I'll try that.
nate
@nate
11/12/15 03:59:15PM
917 posts

Invalid App ID


Installation and Configuration

Since it does authenticate everywhere else I install this, I have to conclude it's a server issue.
nate
@nate
11/12/15 03:47:16PM
917 posts

Invalid App ID


Installation and Configuration

Both empty.
Quote:(2015-11-12T23:46:39+00:00.0.93799700 : 0)-(mem: 23592960)-(pid: 2679)-(ip: 24.217.237.252)-(uri: www.kideso.co.uk/media/api/user?password=qqqqqq&user_email=nate@demo.com) |user: |

(2015-11-12T23:46:39+00:00.0.94174600 : 0.004)-(mem: 23592960)-(pid: 2679)-(ip: 24.217.237.252)-(uri: www.kideso.co.uk/media/api/user?password=qqqqqq&user_email=nate@demo.com) |pw: |

updated by @nate: 11/12/15 03:51:57PM
nate
@nate
11/12/15 03:32:50PM
917 posts

Invalid App ID


Installation and Configuration

ok I'll try that.
  60