Forum Activity for @michael

michael
@michael
07/07/14 10:30:21PM
7,839 posts

Media file size


Using Jamroom

try using M rather than G.

I see in the manual that its reads:
Quote:The available options are K (for Kilobytes), M (for Megabytes) and G (for Gigabytes; available since PHP 5.1.0), these are case insensitive.
http://www.php.net/manual/en/faq.using.php#faq.using.shorthandbytes

But give it a go as

upload_max_filesize = 1024M
memory_limit = 1024M
post_max_size = 1024M

And also make sure that the php.ini that you are editing is the one that is in use by the server. Sometimes servers that use control panels have alternative php.ini files.

You can check that your changes are taking effect by putting this in a php file and view it in a browser:
<?php
phpinfo();
michael
@michael
07/07/14 09:56:18PM
7,839 posts

Media file size


Using Jamroom

Post your php.ini file here inside a [ code ] [ /code ] block.
michael
@michael
07/07/14 07:32:02PM
7,839 posts

Help with Foxycart Setup


Installation and Configuration

The steps on the setup page are all that is needed. If you do more, it is possible to screw it up.

I'll get screenshots of all the settings pages up onto:
https://www.jamroom.net/the-jamroom-network/documentation/modules/2/setting-up-foxycart-jrfoxycart

You do not have to add the downloadable product to foxycart system. All the downloads are handled on jamrooms side.

Try not to over-think it and if your still stuck, give me a bit to get the other screenshots up.

--edit--
Ok, all the screenshots are up now. So now there are screenshots of what to change in the first section of that documentation, then screenshots of all the other pages for reference.

You shouldn't need to change the other pages, but it is good to have screenshots of them for reference to make sure your site is the same as them.

Thanks.
updated by @michael: 07/07/14 08:27:07PM
michael
@michael
07/07/14 07:25:44PM
7,839 posts

About Intergration script into jamroom


Using Jamroom

nope. It was just an idea. I haven't built the module.

The valid_til would just be a date. Check that that date is not in the past and approve/deny on that.
michael
@michael
07/07/14 07:20:02PM
7,839 posts

Play count


Using Jamroom

If your talking about saving items to the datastore, take a look in the:
/modules/jrCore/lib/datastore.php

file to see all of the functions available for dealing with datastores.

You will see functions like:
* jrCore_db_create_item()
* jrCore_db_update_item()
* jrCore_db_get_item()
* jrCore_db_search_items()

and each of them will have documentation about what the function is for. eg:
/**
 * Search a module DataStore and return matching items
 *
 * $_params is an array that contains all the function parameters - i.e.:
 *
 * <code>
 * $_params = array(
 *     'search' => array(
 *         'user_name = brian',
 *         'user_height > 72'
 *     ),
 *     'order_by' => array(
 *         'user_name' => 'asc',
 *         'user_height' => 'desc'
 *     ),
 *     'group_by' => '_user_id',
 *     'return_keys' => array(
 *         'user_email',
 *         'username'
 *      ),
 *     'return_count' => true|false,
 *     'limit' => 50
 * );
 *
 * wildcard searches use a % in the key name:
 * 'search' => array(
 *     'user_% = brian',
 *     '% like brian%'
 * );
 * </code>
 *
 * "no_cache" - by default search results are cached - this will disable caching if set to true
 *
 * "cache_seconds" - set length of time result set is cached
 *
 * "return_keys" - only return the matching keys
 *
 * "return_count" - If the "return_count" parameter is set to TRUE, then only the COUNT of matching
 * entries will be returned.
 *
 * "privacy_check" - by default only items that are viewable to the calling user will be returned -
 * set "privacy_check" to FALSE to disable privacy settings checking.
 *
 * "ignore_pending" - by default only items that are NOT pending are shown - set ignore_pending to
 * TRUE to skip the pending item check
 *
 * "exclude_(module)_keys" - some modules (such as jrUser and jrProfile) add extra keys into the returned
 * results - you can skip adding these extra keys in by disable the module(s) you do not want keys for.
 *
 * Valid Search conditions are:
 * <code>
 *  =        - "equals"
 *  !=       - "not equals"
 *  >        - greater than
 *  >=       - greater than or equal to
 *  <        - less than
 *  <=       - less than or equal to
 *  like     - wildcard text search - i.e. "user_name like %ob%" would find "robert" and "bob". % is wildcard character.
 *  not_like - wildcard text negated search - same format as "like"
 *  in       - "in list" of values - i.e. "user_name in brian,douglas,paul,michael" would find all 4 matches
 *  not_in   - negated "in least" search - same format as "in"
 * </code>
 * @param string $module Module the DataStore belongs to
 * @param array $_params Search Parameters
 * @return mixed Array on success, Bool on error
 */
function jrCore_db_search_items($module, $_params)

If your using an IDE for development, then you will see that documentation inside your IDE wherever that function is used.

Take a look at the existing modules for other examples of how they are used.
michael
@michael
07/07/14 07:10:52PM
7,839 posts

Media file size


Using Jamroom

"How do I increase PHPs upload limit"
http://www.jamroom.net/the-jamroom-network/documentation/problems/748/how-do-i-increase-phps-upload-limit

* upload_max_filesize
* memory_limit
* post_max_size

Did you get all 3 changed before you restarted the webserver?
michael
@michael
07/04/14 10:38:10PM
7,839 posts

profile_option.tpl


Jamroom Developers

That inline style is just the style that that skin has decided to use. In a different skin, the different skin creator could choose to use a class.

The template is:
/skins/jrElastic/profile_option.tpl

So ....... ah, I see what you mean. You could define a class over-ride in your modules CSS file to over-ride the skins settings. Yeah a class would be better. More options.
michael
@michael
07/04/14 08:29:14PM
7,839 posts

Arvixe


Jamroom Hosting

Is it really though? Does it feel slugish or is it just the data readings.

Brian said something about that on a thread talking with arvixe:
brian: One thing I have noticed is that it shows the server only having 1 CPU - the server I did my testing on had 32 CPUs. Is the "crab" server an older server? If not any ideas why /proc/cpuinfo only shows 1 CPU?

arvixe: All our servers through have 24+ cores, what you are seeing is what the account is limited to (we are still tweaking CloudLinux for optimal performance). As for the load it is relative to the total cores not the account so a load of 15 is not very high (with 24 cores). The stats you see in the account are for that user directly.

brian: I agree - a load of 15 on a 24 proc box is no biggie. I'll have to check out our CPU load utility function and see if I can detect that it is on a virtual CPU and adjust it so we don't get a false reading.

updated by @michael: 07/04/14 08:29:38PM
  681