Forum Activity for @claygordon

Clay Gordon
@claygordon
01/14/15 02:36:23PM
752 posts

Feature Request: link to changelog in system_archive


Ning To Jamroom

http://somedomain.tld/marketplace/system_archive

As my memory is incomplete, it would be helpful to be able to review the changelog.

This is not an extremely high priority, just a nice to have.
updated by @claygordon: 03/13/15 01:45:13AM
Clay Gordon
@claygordon
01/14/15 02:29:41PM
752 posts

getting some link 'pages not found'....


Ning To Jamroom

Paul -

Can you post the skin fix here? I am working on a clone of the ningja skin (I did the clone on Sunday, IIRC), and that would predate this skin update. When I did the clone on Sunday some stuff did not copy across - changes to the language files and desktop_header_menu.tpl among others.

Compare is still throwing out 404 errors for me.
Clay Gordon
@claygordon
01/14/15 02:21:23PM
752 posts

Text transform on profile menu


Ning To Jamroom

There normally a "capitalize" text transformation on the menu items (in .profile_menu_entry class in profile.css). However, this means that YouTube is rendered as Youtube, which really bothers me.

As you can see in the screenshot I have set the transformation to "none" and everything except Timeline is all lowercase.

Now I want to go in and manually edit the labels that appear here.

I hope that someone will tell me that they are in a Language file somewhere. They are not in the Language file for the skin, and they are not in the language file for the User Profiles module, which (to me with my still limited understanding of things) is where I would expect them to be. They are not in the main (system core) language file, either.

From looking at the code in profile_menu.tpl ...

I see that the menu is built dynamically by querying for modules that are set to "active" ... but where is it pulling the menu name, which I am guessing is {$entry.label}?

Taking a look ... they don't look to be taken from module's URL as timeline is in all lower case
ScreenShot-MenuNames.jpg ScreenShot-MenuNames.jpg - 45KB

updated by @claygordon: 02/19/15 05:06:00AM
Clay Gordon
@claygordon
01/14/15 11:47:43AM
752 posts

A few remaining issues in member images galleries


Ning To Jamroom

I suppose the way to futureproof this would be to replace the explicit call to /gallery/ with /{$murl}/ then.

Doesn't solve the confusing breadcrumb issue.

That aside - thanks to all for being patient with me on this one.
updated by @claygordon: 01/14/15 11:48:29AM
Clay Gordon
@claygordon
01/14/15 11:28:03AM
752 posts

A few remaining issues in member images galleries


Ning To Jamroom

The Great Good News! is that I was able to get the functionality to work the way I want it to. My challenge was that a link on the page with the name Images appeared on the page in two different places and had very different outcomes. Furthermore, two links with different names had the same outcome.

What I was looking to do was to display a Gallery View when the visitor to the page clicks on Gallery in the menu ribbon across the top of the profile. The URL for this is:

domainname.tld/membername/gallery

However, when the visitor to the page clicks on the Images button in the Stats section I wanted to display all of the images irrespective of any gallery associations (which is the way Images works in the top nav except it shows all images without member associations and grouping.

Here's the working code. It starts at line 89 in profile_sidebar.tpl and I have copied the entire {if isset ...} block even though I have only changed what's inside the {literal}. There was only one problem I had working from Michael's example, which is that he used an href when the onclick handler was needed. I quickly realized the problem and made the fix.

        {if isset($_conf.nsTCLSkin1_profile_stats) && $_conf.nsTCLSkin1_profile_stats == 'on'}
        <div class="block">
            <h3>{jrCore_lang skin=$_conf.jrCore_active_skin id="39" default="stats"}</h3>
            <div class="block_content mt10">
                <div style="padding-top:8px">
                {capture name="template" assign="stats_tpl"}
				{literal}
					{foreach $_stats as $title => $_stat}
        				{jrCore_module_url module=$_stat.module assign="murl"}
        				<div class="stat_entry_box"
        					{if $_stat.module == "jrGallery"}
        					onclick="window.location='{$jamroom_url}/{$profile_url}/gallery/{$profile_url}/all'"><span class="stat_entry_title">{$title}:</span> <span class="stat_entry_count">{$_stat.count|default:0}</span></a>
       						{else}
								onclick="window.location='{$jamroom_url}/{$profile_url}/{$murl}'"><span class="stat_entry_title">{$title}:</span> <span class="stat_entry_count">{$_stat.count|default:0}</span></a>
      						{/if}   
                		</div>
        			{/foreach}
					{/literal}
					{/capture}
					{jrProfile_stats profile_id=$_profile_id template=$stats_tpl}

                    <div class="clear"></div>
                </div>
            </div>
        </div>
        {/if}

IMO, the URL on this is unnecessarily complicated and needs to be simplified.

The final path in the above is:
{$jamroom_url}/{$profile_url}/gallery/{$profile_url}/all

The question I have is why the extra {$profile_url}?

If the actual final path was:
{$jamroom_url}/{$profile_url}/gallery/all

This would do two things:

First is that it would eliminate the second membername from the path (and in the breadcrumb trail) which is totally confusing to me why it's even there - and if it's confusing to me it's going to be confusing to my members.

Second, from a coding perspective, is that it simplifies the code to:
{$jamroom_url}/{$profile_url}/{$murl}/all

Which has a LOT of advantages when it comes to maintenance across future upgrades.
updated by @claygordon: 01/14/15 11:39:15AM
Clay Gordon
@claygordon
01/14/15 10:45:02AM
752 posts

A few remaining issues in member images galleries


Ning To Jamroom

what happened to the onclick="window.location=' .... ?

The good thing is that I added the code and the page did not blow up. However, without the onclick handler the buttons don't do anything when you click them.
updated by @claygordon: 01/14/15 10:49:57AM
Clay Gordon
@claygordon
01/13/15 07:32:42PM
752 posts

A few remaining issues in member images galleries


Ning To Jamroom

Yes. I only want to change the URL for the Images:### .

I don't want it to go to the same place as Gallery in the menu above but to show all images for that member.
updated by @claygordon: 01/13/15 07:34:15PM
Clay Gordon
@claygordon
01/13/15 07:21:30PM
752 posts

Home page CSS


Ning To Jamroom

The list of files in the pop-up is context sensitive?

Is that documented somewhere?
updated by @claygordon: 01/13/15 07:22:12PM
Clay Gordon
@claygordon
01/13/15 04:41:06AM
752 posts

A few remaining issues in member images galleries


Ning To Jamroom

Why do I want to do an if/else if I want to do is just permanently change the existing URL?
Clay Gordon
@claygordon
01/13/15 04:31:45AM
752 posts

Home page CSS


Ning To Jamroom

Michael -

I am using a clone of the default ningja skin and I have not added a thing in the way of code that might be unique to my site that would create a new class that should not be found in the default CSS.

In the case of the Forum posts example I am not interested in changing the space between the name of the category and the next line but the line-height in the next paragraph. I want the spacing to be more consistent with the spacing of the text in the about.

One reasons for my confusion? index.css does not show up in the list of css files I can edit within the ACP.

Another source of frustration is that I am sitting in a hotel room with a really lousy Internet connection that makes working in developer mode worse than unbearably slow.
- 230KB

updated by @claygordon: 01/13/15 04:36:41AM
  58