solved what in this codes blocking new tinymce in comments

soaringeagle
@soaringeagle
4 weeks ago
3,266 posts
ok i have the editor working but not in comments
i added a lil code that i think is the cause, or else i need code from the new version added but for some reason the compare tool makes the windows too small to work with

{jrCore_module_url module="jrComment" assign="murl"}
{foreach from=$_items item="item"}

{if $_conf.jrComment_threading == 'on' && isset($item.comment_thread_level) && $item.comment_thread_level > 0}
    {if $item.comment_thread_level > 7}
        <div id="cm{$item._item_id}" class="item comment-level-last">
    {else}
        <div id="cm{$item._item_id}" class="item comment-level-{$item.comment_thread_level}">
    {/if}
{else}
    <div id="cm{$item._item_id}" class="item comment-level-0">
{/if}

    <div class="container">
        <div class="row">
            <div class="col1">
                <div class="block_image p5">
                    {jrCore_module_function function="jrImage_display" module="jrUser" type="user_image" item_id=$item._user_id size="small" alt=$item.user_name class="action_item_user_img iloutline img_scale"}
                </div>
            </div>
            <div class="col11 last" style="position:relative">

                <div id="c{$item._item_id}" class="p5" style="margin-left:12px">

                    <span class="info" style="display:inline-block;">{$item._created|jrCore_date_format} <a href="{$jamroom_url}/{$item.profile_url}">@{$item.profile_url}</a>:</span><br>
                    <span class="normal">
                    {if isset($_conf.jrComment_editor) && $_conf.jrComment_editor == 'on'}
                        {$item.comment_text|jrCore_format_string:$item.profile_quota_id}
                    {else}
                        {$item.comment_text|jrCore_format_string:$item.profile_quota_id:null:"html"}
                    {/if}
                    <div class="commentback">{if strlen($_post.option) === 0 && jrUser_is_logged_in() && jrUser_get_profile_home_key('_profile_id') == $item.comment_profile_id}
<br><a href="{$jamroom_url}/{$item.profile_url}#cform">Comment Back</a>
{/if}</div>
                    </span>
                     <div class="like_buttons">{jrLike_button item=$item action="like" module="jrComment"}
{jrLike_button item=$item action="dislike" module="jrComment"}
</div>

                    {if jrUser_is_logged_in() && $_conf.jrComment_threading == 'on'}
                        <br><a onclick="jrComment_reply_to({$item._item_id}, '{$item.user_name}')"><span class="comment-reply">reply</span></a>
                        <div id="r{$item._item_id}" style="display:none">
                            {* comment form will load here *}
                        </div>
                    {/if}

                    <br/>

                    {* Attachments *}
                    {jrCore_get_uploaded_files module="jrComment" item=$item field="comment_file"}

                </div>

                {if jrUser_is_admin() || !isset($item.comment_locked)}
                <div id="bc{$item._item_id}" class="block_config" style="position:absolute;top:0;right:0;display:none">
                    <script>$(function () { $('#cm{$item._item_id}').hover(function() { $('#bc{$item._item_id}').toggle(); }); });</script>
                        {if $_params.profile_owner_id > 0}
                            {* profile owners can delete comments *}
                            {jrCore_item_update_button module="jrComment" profile_id=$_params.profile_owner_id item_id=$item._item_id}
                            {jrCore_item_delete_button module="jrComment" profile_id=$_params.profile_owner_id item_id=$item._item_id}
                        {else}
                            {* site admins and comment owners see this button *}
                            {jrCore_item_update_button module="jrComment" profile_id=$item._profile_id item_id=$item._item_id}
                            {jrCore_item_delete_button module="jrComment" profile_id=$item._profile_id item_id=$item._item_id}
                        {/if}
                </div>
                {/if}


            </div>
        </div>
    </div>

</div>
{/foreach}



--
soaringeagle
head dreadhead at dreadlocks site
glider pilot student and member/volunteer coordinator with freedoms wings international soaring for people with disabilities

updated by @soaringeagle: 01 Nov 2019 07:07:38AM
michael
@michael
4 weeks ago
7,052 posts
Nothing particularly stands out as an error in the code. are you seeing errors in the browser console when its running?
soaringeagle
@soaringeagle
4 weeks ago
3,266 posts
reference error tinymce is not defined


--
soaringeagle
head dreadhead at dreadlocks site
glider pilot student and member/volunteer coordinator with freedoms wings international soaring for people with disabilities
douglas
@douglas
4 weeks ago
2,581 posts
soaringeagle:
reference error tinymce is not defined

Might be due to a third party java script conflict or an addon in your browser.

I've seen the Grammerly addon mess with the TinyMCE editor.


--

Douglas Hackney
Jamroom Team - Designer/Developer/Support
FAQ-Docs-Help Videos
soaringeagle
@soaringeagle
4 weeks ago
3,266 posts
i notice that on those pages the favicon doesnt load also
could it be the new ad code
let me experiement


--
soaringeagle
head dreadhead at dreadlocks site
glider pilot student and member/volunteer coordinator with freedoms wings international soaring for people with disabilities
soaringeagle
@soaringeagle
4 weeks ago
3,266 posts
i disabled meta header and footer
that should have been all custom js
all ads and share things were gone yet still did not work
could there be a conflict in module codes?
i can grant ya admin access if u want
id o use beta core
maybe thats it


--
soaringeagle
head dreadhead at dreadlocks site
glider pilot student and member/volunteer coordinator with freedoms wings international soaring for people with disabilities

updated by @soaringeagle: 22 Oct 2019 02:54:26PM
soaringeagle
@soaringeagle
4 weeks ago
3,266 posts
ok i found the bug!
i backed out 2 beta versions of the core and it worked
i cant be sure which of the 2 newest beta versions caused it though
but it is absolutely in 1 of the 2 latest beta cores


--
soaringeagle
head dreadhead at dreadlocks site
glider pilot student and member/volunteer coordinator with freedoms wings international soaring for people with disabilities
nate
@nate
4 weeks ago
815 posts
As stated in the other forum, we've begun working on this.
soaringeagle
@soaringeagle
4 weeks ago
3,266 posts
great job


--
soaringeagle
head dreadhead at dreadlocks site
glider pilot student and member/volunteer coordinator with freedoms wings international soaring for people with disabilities

Tags