Forum Activity for @michael

michael
@michael
12/13/18 08:47:23PM
7,816 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,816 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,816 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.
michael
@michael
12/09/18 09:54:59PM
7,816 posts

Using TinyMce editor to upload media


Using Jamroom

Nothing security really, just maybe if you have an un-trusted user quota that you keep new users in, then maybe you want to allow them to upload videos to their own profile, but not embed those videos in other places.

Its just a setting, you can decide how to use it. If it was me, I would go with, if they are allowed to upload stuff, and allowed to embed stuff then there's no reason not to let the stuff that they want to embed show. So I'd turn it on.
michael
@michael
12/09/18 09:49:31PM
7,816 posts

Unable to upload audio file.


Using Jamroom

The second image shows 2 options for audio. the upload audio file and the import from soundcloud options. The third screenshot shows a URL that is not on a profile.

--edit--
Try running the integrity check
ACP -> MODULES -> CORE -> SYSTEM C0RE -> TOOLS -> INTEGRITY CHECK
upload_audio.jpg upload_audio.jpg - 142KB

updated by @michael: 12/09/18 09:52:02PM
michael
@michael
12/09/18 09:46:14PM
7,816 posts

Is it feasible to build a central "Text editor settings" control module?


Suggestions

lol :) Its possible to build. If its a super-necessity get a few people together and sponsor it as a module.
michael
@michael
12/09/18 08:13:04PM
7,816 posts

Is it feasible to build a central "Text editor settings" control module?


Suggestions

@strumelia :) nice one!

@researchcooperative
A line of the form_editor.tpl template currently looks like this
    toolbar1: "formatselect | fontselect fontsizeselect forecolor {if $strong} bold{/if}{if $em} italic{/if}{if $span} underline{/if} removeformat | {if $span || $div} alignleft{/if}{if $span || $div} aligncenter{/if}{if $span || $div} alignright{/if}{if $span || $div} alignjustify |{/if}{if $ul || $ol || $li}{if $ul || $li} bullist{/if}{if $ol} numlist{/if} |{/if}{if $div} outdent indent |{/if} undo redo | link unlink anchor pagebreak{if $table} table{/if}{if $hr} hr{/if} | code preview fullscreen{if $jrembed || $jrsmiley} |{/if}{if $jrembed} jrembed{/if}{if $jrsmiley} jrsmiley{/if}"
});

You can see there are some dynamically set stuff in there, eg:
.....{if $span || $div} alignleft{/if}......

You could use an interface to setup the same structure for every option in there, its possible. but then instead of
    toolbar1: "formatselect | fontselect 
you have
    toolbar1: "{if $setting.formselect}formatselect{/if} | {if $setting.fontselect}fontselect{/if} 
etc....
so the whole page gets slightly more complex. Then what if you wanted to allow the user to change the order of those to switch them around. Currently to do that you'd change
    toolbar1: "formatselect | fontselect 
to
    toolbar1: "fontselect | formatselect
not hard. but to do the same thing from an interface with code is much more complex.

Its good as is. Its not like you're going to change things multiple times, you're likely to do it once then never again for the life of the site.

--edit--
[ Metaphor: A guy buys a set of leggo bricks. He assembles them into the shape of a spacecraft. Everybody knows that a spacecraft needs a bridge. He suggest to leggo that instead of just selling the rectangle plastic blocks they are famous for, that they also sell pre-assembled spacecraft bridge units. because everybody who builds a spacecraft out of leggo is going to need a bridge. Point: if you want a bridge, you can build one. We probably wont be offering that because the segment of the people that require this is too small.]
updated by @michael: 12/09/18 08:22:01PM
michael
@michael
12/09/18 08:05:11PM
7,816 posts

Using TinyMce editor to upload media


Using Jamroom

What will be put into the editor after you have added one of the files from a profile will be something like
[ jrEmbed module="jrFile" id="14"]
That will then be swapped out for a link to the actual file when the document is saved.

ACP -> MODULES -> CORE -> SYSTEM CORE -> QUOTA CONFIG -> Convert Embed Tags
also needs to be allowed for the profile using it.
quota_config.jpg quota_config.jpg - 160KB
michael
@michael
12/08/18 11:40:28PM
7,816 posts

Is it feasible to build a central "Text editor settings" control module?


Suggestions

yes.

Q: Why isn't it done yet?
A: Because what you have there now fairly closely matches the way TinyMce's documents show how to do thing now. So anything you can see works from their docs can reasonably easily be added to the form_editor.tpl file.

If we were to create another interface, the interface would store values in the database, then attempt to turn on/off the values of tinymce in the form_editor.tpl. That file would become much less editable than it is right now. It also probably would not contain all the possible settings of Tinymce:

TinyMce settings docs
https://www.tiny.cloud/docs/configure/

So what you would end up with would be
* An interface that is less configurable than you have now.
* A system that is more complex than you have now.

So if you were to build that, who would benefit.
* People who don't like looking at code.

--edit--
That doesn't mean that you cant build it (or have it built) as a module for yourself. Just saying that it probably wont be offered as a core feature.
updated by @michael: 12/08/18 11:42:58PM
michael
@michael
12/08/18 07:56:25PM
7,816 posts

Is it feasible to build a central "Text editor settings" control module?


Suggestions

Your code is correct strumelia. To get rid of the paragraph, remove the 'formatselect'.

Here is your code with that removed:
{jrCore_module_url module="jrCore" assign="murl"}
{jrCore_module_url module="jrImage" assign="imurl"}
tinymce.init({
    setup: function(ed) {
        var mce_body_fs = $('body').width();
        ed.on('FullscreenStateChanged', function(e) {
            if (e.state === true) { $('.form_editor_holder .mce-fullscreen').width(mce_body_fs); }
            else {
                $('.form_editor_holder .mce-panel').css('width','');
            }
        });
    },
    {if jrCore_is_mobile_device() && !jrCore_is_tablet_device()}
    mobile: { theme: 'mobile' },
    {/if}
    body_id: "{$form_editor_id}",
    branding: false,
    content_css: "{$jamroom_url}/{$murl}/css/{$murl}/jrCore_tinymce.css?v={$_mods.jrCore.module_updated}",
    images_upload_url: "{$jamroom_url}/{$imurl}/tinymce_imagetools",
    valid_elements : '*[*]',
    toolbar_items_size : "small",
    element_format: "html",
    fontsize_formats: "8pt 10pt 12pt 14pt 18pt 24pt 36pt",
    autoresize_bottom_margin: "3",
    keep_styles: false,
    theme: "{$theme}",
    selector: "textarea#{$form_editor_id}",
    relative_urls: false,
    remove_script_host: false,
    convert_fonts_to_spans: true,
    menubar: false,
    statusbar: false,
    paste_auto_cleanup_on_paste : true,
    paste_remove_styles: true,
    paste_remove_styles_if_webkit: true,
    paste_strip_class_attributes: true,
    entity_encoding: "raw",
    height: "100%",
    image_advtab: true,
    browser_spellcheck: true,
    {if $table} table_toolbar: "tableprops tabledelete | tableinsertrowbefore tableinsertrowafter tabledeleterow | tableinsertcolbefore tableinsertcolafter tabledeletecol | tablecellprops tablesplitcells tablemergecells",{/if}
    {if $script}
    extended_valid_elements: "script[type|defer|src|language]",
    {/if}
    plugins: "lists,imagetools,pagebreak,{if $jrsmiley}jrsmiley,{/if}{if $jrembed}jrembed,media{/if},image,autoresize,{if $table}table,{/if}link,code,fullscreen,textcolor,colorpicker,preview{if $hr},hr{/if},tabindex,paste,anchor",
    toolbar1: "removeformat | fontselect fontsizeselect forecolor {if $strong} bold{/if}{if $em} italic{/if}{if $span} underline{/if} removeformat | {if $span || $div} alignleft{/if}{if $span || $div} aligncenter{/if}{if $span || $div} alignright{/if}{if $span || $div} alignjustify |{/if}{if $ul || $ol || $li}{if $ul || $li} bullist{/if}{if $ol} numlist{/if} |{/if}{if $div} outdent indent |{/if} undo redo | link unlink anchor pagebreak{if $table} table{/if}{if $hr} hr{/if} | code preview fullscreen{if $jrembed || $jrsmiley} |{/if}{if $jrembed} jrembed{/if}{if $jrsmiley} jrsmiley{/if}"
});

If its not showing up, my guess is you're editing the wrong template.

If you're editing
ACP -> MODULES -> CORE -> SYSTEM CORE -> TEMPLATES -> form_editor.tpl

and its not working, then check for an override at:
ACP -> SKINS -> YOUR SKIN -> TEMPLATES -> jrCore_form_editor.tpl
  100