Forum Activity for @michael

michael
@michael
07/07/14 09:56:18PM
7,832 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,832 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,832 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,832 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,832 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/07/14 06:38:48PM
7,832 posts

Panels, Widgets, Menus. A new system called "Site Builder"


Jamroom Help

There's a new system in the 'Beta' channel now called 'Site Builder'.

Its for admin users to be able to customize their site via the use of drag-n-drop functionality.

Its intended as a way to allow users not familiar with template editing to be able to control what the front-end of their site looks like.

I'd like some feedback and input into it before it gets released to everybody. I think its pretty much OK, but I haven't done much cross browser testing.

So anyone able to install the packages and help test it out.

Feedback would be appreciated.

The site builder setup consist of:

Site Builder:
* Slate Skin
* jrMenu module
* jrPanels module
* jrWidgets module
updated by @michael: 09/15/14 05:19:18PM
michael
@michael
07/04/14 10:38:10PM
7,832 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,832 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
michael
@michael
07/04/14 08:01:49PM
7,832 posts

News letter not showing html


Using Jamroom

You did set that domain up at mailgun right?
https://mailgun.com/cp

And it says "Active" at mail gun. There's nothing they are asking you to do to get that domain working?
michael
@michael
07/04/14 02:36:26AM
7,832 posts

profile_option.tpl


Jamroom Developers

Looking at all the other modules profile_view_* functions that are not _default seam to share the common trait of using the admin area structuring for the output.

The:
jrCore_page_banner()
jrCore_form_create()
jrCore_form_field_create()
etc...

Where as the majority of the _default functions use the jrCore_parse_template() function to render a template.

It seams to me that is what the 12px border is for. to bring the admin style stuff into alignment with the layout for that skin (jrElastic).

Don't think forcing a css class structure is the right way to go. (so developers have to come in line with how the skins CSS is done.) That would seam to limit developers ability to build whatever.

What do you reckon?
  683