Forum Activity for @pch

pch
@pch
08/01/16 05:05:27AM
328 posts

Latest Comment on the home page


Using Jamroom

Hi Douglas,

Once again thanks a lot for your great assistance. The Latest Comments block on the home page works (displays) fine for logged-in user only. If your are not logged-in, instead of displaying well, the following error is displayed:

CRI: Query Error: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'ORDER BY a.`_item_id` ASC LIMIT 1000' at line 3

Any idea? Thanks
pch
@pch
08/01/16 04:58:01AM
328 posts

Latest Comment on the home page


Using Jamroom

michael:
Docs related to the code @douglas posted:
Docs: "HowTo: use {capture} to avoid using another file for {jrCore_list} calls"https://www.jamroom.net/the-jamroom-network/documentation/jamroom-developers-guide/1637/howto-use-capture-to-avoid-using-another-file-for-jrcore-list-calls
Docs: "{jrCore_list}"https://www.jamroom.net/the-jamroom-network/documentation/jamroom-developers-guide/89/jrcore-list
Docs: "Template Blocks"https://www.jamroom.net/the-jamroom-network/documentation/jamroom-developers-guide/3126/template-blocks
Docs: "Template $variable modifiers"https://www.jamroom.net/the-jamroom-network/documentation/jamroom-developers-guide/1535/template-variable-modifiers

Thanks.
pch
@pch
07/30/16 01:06:21PM
328 posts

Latest Comment on the home page


Using Jamroom

Hey Douglas,

No word, just brilliant and brilliant and again brilliant!!!!!!!!!! It works and it is exactly what I was looking for. You are the Best. What a great support!

Thanks a lot for helping.
pch
@pch
07/29/16 05:30:05PM
328 posts

How to upload and search audio and video by date and location?


Using Jamroom

michael:
Its not locked by anything jamroom is doing. It may be locked by your server company for some reason.
One possible way that could happen would be if the FTP user is not allowed to access files written by the server. You'd need to contact your server company to understand why you cant edit files on your server.

Hi Michael.

Thanks for your reply. Changes made in the It util.php doesn't get saved. First I downloaded the file to my pc through ftp. Then, I tried to edit it locally on my computer using my code editor as I usually do. After saving the change and closing the file, when I re-open it the change is not there. I can edit and save any other php file locally using the same code editor without problem. Then I tried using the built-in code editor of my server cpanel, just for testing purposes. Same problem. changes doesn't get saved in util.php.

Is there any reason for that.? Do you have any idea? Are you able to download the util.php from your server and edit it locally? Does the change get saved?

Thanks
pch
@pch
07/29/16 05:15:52PM
328 posts

Latest Comment on the home page


Using Jamroom

Hello,

I am trying to add the Latest Comment block to the home page (of the Elastic skin under the Newest Images Block) similar to the one of ProJam

I have used the following code:

{jrCore_list module="jrComment" order_by="_item_id desc" limit="12" template="item_list.tpl"}

but is not exactly what I was looking for.

Then I copied the code found in the side_comments.php of Projam to :

                {* Newest Comments Block *}
                {if jrCore_module_is_active('jrComment')}
                    <div style="margin-top:7px;">
                        <div class="title">
                            <h2>{jrCore_lang skin=$_conf.jrCore_active_skin id="48" default="Latest Comments"}</h2>
                            {jrCore_module_url module="jrComment" assign="comment_murl"}
                            <div class="title-more"><a href="{$jamroom_url}/{$comment_murl}">{jrCore_lang skin=$_conf.jrCore_active_skin id="22" default="all"}</a></div>
                        </div>
                        <div class="block_content">
                            <div class="item">

{if isset($_items)}
<div class="body_3 mb20">
    <div style="height:450px;overflow:auto;">
        {foreach from=$_items item="item"}
            <div class="block">
                <div style="display:table">
                    <div style="display:table-row;">
                        <div style="display:table-cell;width:1%;text-align:center;vertical-align:top;">
                            <a href="{$jamroom_url}/{$item.profile_url}">{jrCore_module_function function="jrImage_display" module="jrUser" type="user_image" item_id=$item._user_id size="xxsmall" crop="auto" alt=$item.user_name class="action_item_user_img iloutline"}</a>
                        </div>
                        <div style="display:table-cell;text-align:left;vertical-align:top;padding-left:5px;">
                            <div class="normal">
                                <a href="{$item.comment_url}">Re:&nbsp;{$item.comment_item_title|truncate:20:"...":false}</a><br>
                                {$item._created|jrCore_date_format}<br>
                                <span class="highlight-txt"><i>{jrCore_lang skin=$_conf.jrCore_active_skin id="112" default="By"}:</i></span>&nbsp;<a href="{$jamroom_url}/{$item.profile_url}"><span class="capital">{$item.profile_name|truncate:20:"...":false}</span></a><br>
                                <br>
                                {$item.comment_text|truncate:200:"...":false|jrCore_strip_html}
                            </div>
                        </div>
                    </div>
                </div>
                <hr>
            </div>
        {/foreach}
    </div>
</div>
{/if}

</div>
                        </div>
                    </div>
                {/if}

but it doesn't work. Can someone help telling me what is wrong with this code?

Thanks in advance.
updated by @pch: 11/04/16 06:40:45AM
pch
@pch
07/29/16 04:35:20PM
328 posts

How to upload and search audio and video by date and location?


Using Jamroom

I have just double checked and I discovered where is the problem. The util.php file doesn't save the change made in it. I've tried many code editors on my computer, I have even tried to use the built-in code editor of my server cpanel, but without success.

Is the util.php file locked for edition? it is uneditable.

Please advise. Thanks
pch
@pch
07/29/16 11:13:10AM
328 posts

Issue with the div in the 5.4.0b2 upgrade


Using Jamroom

Hi Brian,

I went through every css file (Skins -> MyCustomSkins -> Style) and I noticed that the site.css had a reset button on the "Site Content #content" element. I don't know what happened and I don't remember to have touched it. I have reset it and everything came back to normal. My issue was fixed.

Thanks for your help.
pch
@pch
07/28/16 04:57:35PM
328 posts

Issue with the div in the 5.4.0b2 upgrade


Using Jamroom

I have upgraded to 5.4.0b3. But the problem is still there.

Bellow are the screenshoot:
screenshot_small_size_1.jpg screenshot_small_size_1.jpg - 56KB
pch
@pch
07/28/16 02:04:12PM
328 posts

Issue with the div in the 5.4.0b2 upgrade


Using Jamroom

Hello JR Team,

Since i have upgraded to the latest Jr version (5.4.0b2), I have noticed an issue with some divs (display: block). The caractere size in those divs are now very small now, almost unreadable. I don't remember to have edited my css file recently.

Am I the only one having this issue?

Thanks

updated by @pch: 12/12/16 01:31:12PM
pch
@pch
07/28/16 01:44:37PM
328 posts

Full width Image on the home page


Using Jamroom

Hi ultrajam,

Thanks. I am not talking about the background image but about the image on the home page like here http://eskin.n8flex.com/
This is the image:
http://eskin.n8flex.com/skins/n8ESkin/img/slide_3.jpg

Anyway thanks for the css code for the background image i will take advantage of it and use the code. :)

Any idea about the full width image on the home page?

Thanks
  10