Forum Activity for @claygordon

Clay Gordon
@claygordon
01/23/15 08:58:52PM
758 posts

Skins search generating 404 errors


Installation and Configuration

Using Search in the sidebar to search when the Modules tab is selected works like a charm. However, using Search when the Skins tab is selected generates 404 errors. The form of the URL returned is:

http://www.mysite.com//search/sa=skin/skin=nsTCLSkin1/ss=ANYTERM

The search above the list of templates, e.g., works just fine.
updated by @claygordon: 02/24/15 07:28:25AM
Clay Gordon
@claygordon
01/23/15 08:06:29PM
758 posts

jrcomment wont verify after update


Installation and Configuration

Strumelia:Where would I find the number of comments I have?

Go to the DataStore browser in the User Comments module:

http://www.yoursitename.com/comment/browser

Look at the ID number of the top-most comment. That's how many comments you have.

-- edited to add --

Until inline editing of user comments becomes available, this is the place where you would be editing user comments. Get the ID from the comment (by hovering over the comment's trash can) and search for it on this page.
updated by @claygordon: 01/23/15 08:09:27PM
Clay Gordon
@claygordon
01/23/15 08:03:18PM
758 posts

Creating a test template


Installation and Configuration

Adding

{debug output="javascript"}

to my test template generates

There is a syntax error in your template - please fix and try again

upon saving
Clay Gordon
@claygordon
01/23/15 07:58:38PM
758 posts

Is this possible for viewing images


Installation and Configuration

@john-bizley, nice suggestion. I like it.
@michael -

Just to make sure I understand, the lightbox would be limited to the images on the current site-wide Galleries page? I can see waiting for the lightbox for 24 images but not hundreds or more. I would need to exit out of the lightbox to visit the member's page to do things like rate and like and comment on the image.

I think this is something that would be very helpful to my members but I don't think it's a critical must have -- a very, very nice to have for sure.

John - another way to do this, which would require not all that much alteration of one of the Galleries templates, would be to alter the href of target on the picture only to open in a new window. Not necessarily the most elegant way to do things but you would not lose your state in the site-wide galleries page and have access to all the commenting functions on the member's page.
updated by @claygordon: 01/23/15 07:59:22PM
Clay Gordon
@claygordon
01/23/15 11:40:51AM
758 posts

jrcomment wont verify after update


Installation and Configuration

@Brian -

I updated the jrComment (1.5.0, not 1.5.1) module but have not (yet) done an integrity check. My comments all appear to be working (except for the invert sort when threading is enabled I mentioned yesterday).

I have about 16,000 comments.

Is running the integrity check something I should do after every module/core update?
updated by @claygordon: 01/23/15 11:41:49AM
Clay Gordon
@claygordon
01/23/15 10:37:45AM
758 posts

Broken URL in Forum listings on Home Page


Installation and Configuration

As I found out about the variable name.

Can I ask you a favor?

How would you rewrite the first (shorter) bit of test code to get {debug} to work? You have the entire context in the longer block of code. If I can see what I did not get right, I will be able to make it work the next time. I can't read the actual code in the video.
updated by @claygordon: 01/23/15 10:38:09AM
Clay Gordon
@claygordon
01/23/15 10:25:47AM
758 posts

Broken URL in Forum listings on Home Page


Installation and Configuration

@ultrajam -

That still doesn't help me, as I am not an experienced enough programmer to figure out what that all means.

However --- I did manage to fix it. It was a typo. In copying the entire code over to this discussion I noticed that in line 10 I was using {$item.profile_url} whereas in line 19 I was using {$item._profile_url} for some reason. No exception was thrown, no error on the page, it was just not evaluating.

So, for a lark, I removed the _ after the . and it works.

I am going to have to spend a lot of time thinking about how {debug} works as I clearly don't get it. However, I do have to thank you because responding forced me to look at the code more closely to discover the source of my problem.

Thanks,
:: Clay
Clay Gordon
@claygordon
01/23/15 10:18:35AM
758 posts

Broken URL in Forum listings on Home Page


Installation and Configuration

I am using it EXACTLY as you see it above.

Here's the embedded template on the home page where I am working. This is a collaboration with Paul as I am displaying the Ning forums here, not the Group Discussions.

{if isset($_conf.nsTCLSkin1_top_discuss_active) && $_conf.nsTCLSkin1_top_discuss_active == 'on'}
{capture name="template3" assign="forum_tpl"}
{literal}
    {if isset($_items)}
        {jrCore_module_url module="jrForum" assign="furl"}
        {foreach from=$_items item="item"}
            <div class="container">
                <div class="row">
                    <div class="col2" style="padding-bottom: 12px;">
                        <a href="{$jamroom_url}/{$item.profile_url}">{jrCore_module_function function="jrImage_display" module="jrUser" type="user_image" item_id=$item._user_id size="large" crop="auto" alt=$item.user_name width=false height=false class="iloutline img_scale"}</a><br>
                    </div>
                    <div class="col10 last">
                        <div class="p5" style="padding-top: 0px;">
                            {* <h3><a href="{$jamroom_url}/{$item.forum_updated_profile_url}/{$furl}/{$item._item_id}/{$item.forum_cat_url}/{$item.forum_title_url}#last">{$item.forum_title|truncate:60}</a></h3> *}
                            <h3><a href="{$jamroom_url}/{$item.profile_url}/{$furl}/{$item._item_id}/{$item.forum_cat_url}/{$item.forum_title_url}#last">{$item.forum_title|truncate:60}</a></h3>
                            <div class="normal" style="line-height: 15px;">
                                <strong>{jrCore_lang skin=$_conf.jrCore_active_skin id="45" default="Posted"}:</strong>&nbsp;{$item.forum_updated|jrCore_date_format:"%A %B %e %Y, %l:%M %p"}<br>
                                <strong>{jrCore_lang skin=$_conf.jrCore_active_skin id="46" default="By"}:</strong>&nbsp;<a href="{$jamroom_url}/{$item.forum_updated_profile_url}">@{$item.forum_updated_user_name}</a><br>
                                <strong>In: <a href="{$jamroom_url}/{$item._profile_url}/{$furl}/{$item.forum_cat_url}">{$item.forum_cat}</a></strong><br><br>
                                {$item.forum_text|strip_tags|truncate:200:"..."}
                            </div>
                        </div>
                    </div>
                </div>
            </div>
        {/foreach}
    {else}
    <div class="center p10">
        <h3>{jrCore_lang skin=$_conf.jrCore_active_skin id="26" default="No"} {jrCore_lang skin=$_conf.jrCore_active_skin id="19" default="Discussions"}!</h3>
    </div>
    {/if}
{/literal}
{/capture}
{/if}
Clay Gordon
@claygordon
01/23/15 10:10:03AM
758 posts

Broken URL in Forum listings on Home Page


Installation and Configuration

It might be working for you, but it's not working for me. I just turned off the pop-up blocker.

But even if it did work, I don't see anything on the page (when I search or browse) that even remotely looks like item._profile_url and what I might replace it with.

{assign var="selected" value="home"}
{* Include Header File *}
{jrCore_include template="header.tpl"}


    {* BEGIN Container *}
    <div class="container">

        {* BEGIN TEST CODE *}
        
        <div class="row">
         
         <strong>In: {debug}<a href="{$jamroom_url}/{$item._profile_url}/{$furl}/{$item.forum_cat_url}">{$item.forum_cat}</a></strong><br><br>
        
        </div>
        {* END TEST CODE *}
	</div>
    {* END Container *}

{* Include Footer File *}
{jrCore_include template="footer.tpl"}

updated by @claygordon: 01/23/15 10:11:08AM
  34