Forum Activity for @michael

michael
@michael
12/21/18 08:43:02PM
7,823 posts

jrCore_is_mobile_device() in module listener


Jamroom Developers

That location is not smarty.

You'd be better to have 2 functions.

in php
function myModule_some_function(){
 do stuff
}

and the smarty one
function smarty_function_myModule_do_something($params, $smarty)
{ // call the other php function here myModule_some_function(); }
michael
@michael
12/20/18 01:45:45AM
7,823 posts

jrCore_is_mobile_device() in module listener


Jamroom Developers

its in misc.php in the jrCore module. To use it in your function
function myCustomModule_imageDisplay_listener($_data, $_user, $_conf, $_args, $event)
{ // I need to inject this code if the image is being displayed on a mobile device if(jrCore_is_mobile_device()){ mobile only stuff goes here.... } $_rs = array( 'src' => "<amp-img src=\"{$url}\"" . $wid . $hgt . $attrs . ' layout="responsive">' ); return $_data; // listeners MUST return $_data or you'll break the system. $_rs['src']; }
michael
@michael
12/18/18 01:04:56AM
7,823 posts

Can't Install Genosis


Genosis

cloudflare is likely the cause of your issues. Jamroom has its own caching mechanisms. Im not totally familiar with cloudflare but believe its a distributed caching system.

There have been reports of other issues in these forums where disabling cloudflare has been the solution.

May also pay to run the integrity check again and clear the caches:
ACP -> MODULES -> CORE -> SYSTEM CORE -> TOOLS -> INTEGRITY CHECK
ACP -> MODULES -> CORE -> SYSTEM CORE -> TOOLS -> RESET CACHE
michael
@michael
12/15/18 07:22:05PM
7,823 posts

Can't Install Genosis


Genosis

novis97:...I think the reference given is too general
too general?

The guide to setting up a server is very detailed.
michael
@michael
12/15/18 12:29:25AM
7,823 posts

Query Error: Table 'xxx.jr_jrsearch_fulltext_jrgallery' doesn't exist


Using Jamroom

I cant read the script, but if that is your login panel and you cant get into the ACP to run the integrity check, you can run it via this method without logging in:
https://www.jamroom.net/the-jamroom-network/documentation/troubleshooting/114/somethings-wrong-what-do-i-do#if-you-cannot-get-in-to-the-acp
michael
@michael
12/15/18 12:26:20AM
7,823 posts

Can't Install Genosis


Genosis

This is our server setup guide:
https://www.jamroom.net/brian/documentation/guides

The simplest setup is to use our hosting:
https://www.jamroom.net/hosting

The difficulties you are having are all coming from the limitations or configuration of your server.
michael
@michael
12/14/18 05:10:29AM
7,823 posts

Can't Install Genosis


Genosis

* Plugin 'InnoDB' is disabled.

That will be an issue, most of the tables are innodb. See if you can get your host to enable it.
michael
@michael
12/13/18 08:47:23PM
7,823 posts

Can't Install Genosis


Genosis

That error means that the database table that the software expected to be there is not there.

So the issue is probably somewhere else. Run through the installation again. If you get the same issue again check your servers error logs for any other related server errors and post them here.

--edit--
The system requirements are here:
https://www.jamroom.net/the-jamroom-network/documentation/getting-started/774/server-requirements

maybe mod_rewrite not existing could be an issue at a guess
updated by @michael: 12/13/18 08:50:00PM
michael
@michael
12/11/18 03:37:50AM
7,823 posts

Make Custom Module Pages Searchable


Jamroom Developers

Jamroom jrSearch doesn't spider content, it searches the database, so if you're writing text into those .tpl files jrSearch isn't going to find it.

If they have corresponding datastores that point to the pages, then that would be a different story.
michael
@michael
12/10/18 10:08:34PM
7,823 posts

Using TinyMce editor to upload media


Using Jamroom

researchcooperative:... In the case of the TinyMce editor, the media upload limit is not shown when we use the media button. ...
Yeah, thats a good point. I'll make a note of it. Thanks.
  100