Forum Activity for @strumelia

Strumelia
@strumelia
12/19/18 10:34:52AM
3,603 posts

Recycle bin ...added control?


Using Jamroom

Ah! There it is! Thanks Paul, I was looking for something but couldn't find a setting anywhere.

Problem solved! I set it for 14 days instead of 21..which I must have set way back when you first gave us the recycle bin. It's a great feature to have. :)
updated by @strumelia: 12/19/18 10:36:10AM
Strumelia
@strumelia
12/19/18 09:31:54AM
3,603 posts

Recycle bin ...added control?


Using Jamroom

Maybe I'm just not knowing where to find these settings, but...
Since the Recycle Bin is in the Dashboard and is not a separate module with settings, is there a way I can set a limit for how old to keep entries, or how many items to keep?
I'd like to be able to adjust how much stuff is held in the recycle bin.

Rather than keeping a huge amount of 1200 items at any given time, I'd rather keep like the past 3 weeks or so of stuff and set it to dump out the older stuff automatically. I don't like that if I want to reduce the older stuff, my only option is to delete EVERYTHING.

Can we get any control over the setting?- some options EITHER for the length of time stuff is held in the RB, OR for the amount of data the bin will keep before it starts deleting older stuff?... whichever is easier to add for us?
I think the original RB limits were set by you Jamroom fellows when you created the RB for us. I'm not sure if I simply have forgotten where these options are for me, or that the options were never there.
Thanks!
updated by @strumelia: 03/21/19 10:37:54AM
Strumelia
@strumelia
12/10/18 07:24:26AM
3,603 posts

Using TinyMce editor to upload media


Using Jamroom

PJ be sure to read the (?) jamroom help note for the checkbox option "Allow all html tags" that's there in the same Core 'quota config' area. It advises about possible security issues for that very broad html tags permission setting.
updated by @strumelia: 12/10/18 07:25:03AM
Strumelia
@strumelia
12/09/18 05:19:06PM
3,603 posts

Using TinyMce editor to upload media


Using Jamroom

When I click on the 'embed local media' button in the tinymce editor, I get the tabs to choose to embed MEDIA such as photos, playlists, videos, soundcloud, Vimeo, Youtubes, or..."Upload an Image" tab.
When I go to upload an image, that means an IMAGE, not a document or other file. When I tried to upload a 1 page PDF, or a .tif, it would not let me. I get "uploaded file was not saved. no file could be found.". I have no problems uploading .jpgs or .gifs however...actual images . Do you mean when you are using the "Upload an Image" function?
Strumelia
@strumelia
12/09/18 04:53:20PM
3,603 posts

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


Suggestions

michael:
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

You know, that occurred to me after I posted, but i didn't think I had a custom override template for that one... but I did have one!
I applied the changes to the skin template, and all now is as I wanted. Thanks for pointing out what should have been obvious to me by now (to always check for an override template in my custom skin if a code change in the module template doesn't have any effect). :-p
updated by @strumelia: 12/10/18 07:05:01AM
Strumelia
@strumelia
12/08/18 10:02:19AM
3,603 posts

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


Suggestions

I am trying to add that "remove format" button to my tinymce text editor using Michael's suggestion above.
I'm also trying to add a fontsize selector menu as per instructions above.
Both things I've been trying in my jrcore: form_editor.tpl template.
I've done such button adding in the past successfully, so I'm not sure why neither of these new tweaks is resulting in the menus/buttons showing this time.
Here is my current form_editor.tpl code, with both the font size selector and the format remover codes added in, but they're not working for me:
{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 | 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}"
});

P.S. I'd like to REMOVE my text editor's "Paragraph" dropdown menu which lists various HEADING styles. I don't really want my members to be able to make their post text in giant Heading1 or Heading2 anyway. I'd rather replace that menu with a simple font size select that has the maximum font size option of 36pt, no headings.
Strumelia
@strumelia
12/05/18 02:54:10PM
3,603 posts

downloaded Attached files stripped of "." from the file name


Using Jamroom

Oh, terrific! :D
My site members and I will be happy to wait a while for the fix if it's not convenient to release the Beta in the next week or two. We don't mind waiting if we know the fix is coming down the line eventually.
Thanks so much!! :) I'll mark this 'Complete' then.
Strumelia
@strumelia
12/05/18 02:22:00PM
3,603 posts

downloaded Attached files stripped of "." from the file name


Using Jamroom

This is happening for BOTH Mac and Win users- on Firefox, Safari, Edge, and Chrome. Seems all my members have been experiencing this for weeks while I was simply unaware of it, though it's happening for me now that I tested it. So far one person says their Android phone 'doesn't' do it... though their Win computer does it. This is happening on both my JR sites.
This happens in forum posts, group discussion posts, even in SimpleChat posts.
----------------
When someone ATTACHES an image to a post, the user normally sees two options:
1) click on the picture thumbnail itself, which enlarges the image in a popup window to view right there- which still works JUST FINE.
OR,
2) click on the text hyperlink next to the attached thumbnail in order to DOWNLOAD the image file...this is where the problem now is, whereas previously it worked fine. :

The file (a .jpg, or a .pdf... occurs with both these types that I've tested, for example) gets downloaded to one's device but after downloading is not recognized because the "." period in the file name extension was removed. myfile.jpg or myfile.pdf becomes myfilejpg or myfilepdf. Thus our computer/devices will not recognize how to open the downloaded file. If you RENAME the file and REPLACE the period in the name, the file then opens and functions normally again.
Most of my members can't figure this out though, so all they know is that they can't download attached files and images anymore.
This has been happening for at least three weeks, maybe as long as 5 or 6 weeks... I was only made aware of it recently, because most members were perhaps assuming the problem was with their own computers.
Thanks for any help!

here's a forum post on my site about the issue, where I've attached both a jpg and a pdf somewhere in the discussion, so you can see it happen if you download the files, in case you can't replicate it on your test system:
https://fotmd.com/forums/forum/site-questions-how-do-i/33193/glitch-with-graphics#r33206
updated by @strumelia: 04/20/19 02:53:52PM
Strumelia
@strumelia
11/29/18 08:57:51AM
3,603 posts

'account delete' no longer deletes profile, only user


Using Jamroom

Ok yes that makes sense Paul. I think I've probably previously used the 'pending view' to delete both user and profile at the same time until just recently, when I figured I could do the same thing in the 'modify' view, because the wording said it would delete both. That's why I thought maybe it used to work but didn't work now.
Changing the popup wording will correct this. Thanks! :)
Strumelia
@strumelia
11/29/18 08:21:30AM
3,603 posts

'account delete' no longer deletes profile, only user


Using Jamroom

I go to see a new Pending member, by looking in the Pending tab of the dashboard, then clicking Modify. Then in the Modify window I click Delete (after determining by their IP address that they are a spammer trying to join)- and it says this action will delete the User and will ALSO delete the Profile associated with that user....
It used to work fine in deleting both user and profile...but now it only deletes the User and not that user's profile. I go to the User Browser and they are gone, but their profile remains in the Profile Browser, as 'inactive'- see screenshot.
download.png download.png - 170KB

updated by @strumelia: 05/08/19 09:10:08PM
  27