Issues on member Profile Pages

Clay Gordon
Clay Gordon
@claygordon
10 years ago
744 posts
Again -

I am new to JR and I am still getting used to where things are located.

DIGRESSION. For example, I wanted to change the order that Groups were displayed when someone clicked on Groups in the top Nav. I was able to change the display and size of the images by editing jrGallery_index.tpl in Ningja/Skins. However, the change the display order of the Groups, there's no corresponding Skins template. I had to experiment until I found the right one - Modules > Profile Groups > Group Support > index.tpl.

In the top screenshot, you'll see that the Latest Discussion is from 11 months ago (_created) and has zero comments. I'd like it to be the most recently updated (_updated) and be preceded by the string "updated ". I feel confident I can do this using what I learned reading the jrCore_List documentation and the notes on how to trunc the length of a title in an image gallery. But where is the template? (ON A RELATED NOTE: I want to get rid of the latest music panel.)

In the bottom screenshot you will notice that the list of Groups is displayed. I got here not by clicking Groups from the list of modules, but by clicking "All" next to "Latest Discussions" the URL displayed on the mouseover is, in fact. groups.

My expectation for what **should happen** is that it would show discussions I have created or contributed to, and the display would be ordered to show the most recent at the top.

updated by @claygordon: 02/17/15 03:29:02PM
paul
@paul
10 years ago
4,335 posts
Quote: I wanted to change the order that Groups were displayed when someone clicked on Groups in the top Nav
There is no jrGroup_index.tpl override file in the Ningja skin so this is handled by the default index.tpl file in the jrGroup module. Change the order_by parameter in the jrCore_list call.

Quote: In the top screenshot, you'll see that the Latest Discussion is from 11 months ago (_created) and has zero comments. I'd like it to be the most recently updated (_updated) and be preceded by the string "updated ". I feel confident I can do this using what I learned reading the jrCore_List documentation and the notes on how to trunc the length of a title in an image gallery. But where is the template? (ON A RELATED NOTE: I want to get rid of the latest music panel.)
You can change the profile discussion order_by in the Ningja profile_index_discussion.tpl template.
The music panel is in Ningja profile_index.tpl - delete or comment out this bit -
            <div class="{if $profile_jrVideo_item_count > 0}col6{else}col12 last{/if}">
                <div class="block">
                    {jrCore_include template="profile_index_music.tpl"}
                </div>
            </div>
Hint - Wrap code in {* *} to comment out - {* "This will not show!!" *}

Quote: In the bottom screenshot you will notice that the list of Groups is displayed. I got here not by clicking Groups from the list of modules, but by clicking "All" next to "Latest Discussions" the URL displayed on the mouseover is, in fact. groups.

My expectation for what **should happen** is that it would show discussions I have created or contributed to, and the display would be ordered to show the most recent at the top.
I think the logic there is that all profile discussions are part of a group, so that is why it goes to the group page, but I see where you're coming from. I'll raise that with Douglas and see what we think.
Thanks


--
Paul Asher - JR Developer and System Import Specialist
Clay Gordon
Clay Gordon
@claygordon
10 years ago
744 posts
With respect to the Discussions/Groups issue raised above, the issue is even larger and - I think Paul and Douglas - will provide the reason to make the change I ask for. If you read this Strumelia, please chime in.

What's important is context, and that context is complicated through conflating " group_discuss " and " forum ".

On the home page, a mouseover on "All" next to Latest Discussions has the path conclude in " group_discuss ". The path for Discussions in the top nav is " /username/forum ".

This is a problem given that the same word - Discussions - is, to my mind confusingly, used to describe different destinations. I would address this issue by explicitly using the label "Top Group Discussions" and changing "Discussions" to "Forums" in the top nav, As the prototypical user of the site is someone familiar with Ning that differentiation in wording reduces the cognitive burden of switching platforms.

Again, thinking about context. If I am on MY profile page, then clicking on "All" next to Latest Discussions should show MY discussions - the discussions I created and I contributed to - ** IRRESPECTIVE of whether they belong to a group or they are part of the Forum **. They are all discussions with different properties (group ownership or category).

Following through with the home page usage and the wording Latest Discussions, " /group_discuss " would be more logically consistent than " /groups " even though all discussions belong to groups.

Taking this to the next step, if I am looking at any other member's profile clicking on "All" next to Latest Discussions should display all of the discussions that member created and/or contributed to.

:: Clay
Clay Gordon
Clay Gordon
@claygordon
10 years ago
744 posts
WRT the way the discussions are being listed within the Lastest Discussions panel. I can change the sort as shown here - from " _created " to " _updated ".

{jrCore_list module="jrGroupDiscuss" order_by="_updated desc" profile_id=$_profile_id template=$pd_tpl}

The resultant displayed text is:

@chocliferoot 2 years ago - Comments: 9

What I really want it to say is:

@chocliferoot - Comments: 9; Last updated ## on MMMDDYY; Created 2 years ago

Taking a closer look, it might be in the foreach loop above but, again, I am not familiar enough with the core to know how to get the output I am looking for.
updated by @claygordon: 01/02/15 12:18:44PM
paul
@paul
10 years ago
4,335 posts
thechocolatelife:
WRT the way the discussions are being listed within the Lastest Discussions panel. I can change the sort as shown here - from " _created " to " _updated ".

{jrCore_list module="jrGroupDiscuss" order_by="_updated desc" profile_id=$_profile_id template=$pd_tpl}

The resultant displayed text is:

@chocliferoot 2 years ago - Comments: 9

What I really want it to say is:

@chocliferoot - Comments: 9; Last updated ## on MMMDDYY; Created 2 years ago

Taking a closer look, it might be in the foreach loop above but, again, I am not familiar enough with the core to know how to get the output I am looking for.

If you look in the profile_index_discussion.tpl file above where that jrCore_list is called, you'll see where the template assigned to $pd_tpl is created. Line 20 is where the above is outputted, so change that line to something like -
<br><small><a href="{$jamroom_url}/{$item.original_profile_url}">@{$item.original_profile_url}</a> - {jrCore_lang skin=$_conf.jrCore_active_skin id="37" default="Comments"}: {$item.discuss_comment_count|default:0}; Last updated on {$item._updated|jrCore_format_time:false:"M d y"}; Created {$item._created|jrCore_format_time:false:"relative"}</small>



--
Paul Asher - JR Developer and System Import Specialist
Strumelia
Strumelia
@strumelia
10 years ago
3,603 posts
ChoclateLife says:
"With respect to the Discussions/Groups issue raised above, the issue is even larger and - I think Paul and Douglas - will provide the reason to make the change I ask for. If you read this Strumelia, please chime in.
What's important is context, and that context is complicated through conflating " group_discuss " and " forum ".
On the home page, a mouseover on "All" next to Latest Discussions has the path conclude in " group_discuss ". The path for Discussions in the top nav is " /username/forum ".
This is a problem given that the same word - Discussions - is, to my mind confusingly, used to describe different destinations. I would address this issue by explicitly using the label "Top Group Discussions" and changing "Discussions" to "Forums" in the top nav, As the prototypical user of the site is someone familiar with Ning that differentiation in wording reduces the cognitive burden of switching platforms.
Again, thinking about context. If I am on MY profile page, then clicking on "All" next to Latest Discussions should show MY discussions - the discussions I created and I contributed to - ** IRRESPECTIVE of whether they belong to a group or they are part of the Forum **. They are all discussions with different properties (group ownership or category).
Following through with the home page usage and the wording Latest Discussions, " /group_discuss " would be more logically consistent than " /groups " even though all discussions belong to groups.
Taking this to the next step, if I am looking at any other member's profile clicking on "All" next to Latest Discussions should display all of the discussions that member created and/or contributed to."

====================

Strumelia says: This is the same GroupDiscussions vs ForumDiscussions confusion issue that we've been discussing with Brian over here:
https://www.jamroom.net/the-jamroom-network/forum/new_posts/20131/home-page-replacing-top-discussions-with-forum-newest-posts#last

This is something that is really going to need to be sorted out because it's causing various confusing issues in terms of navigation and expected content. I have noticed the same issue Chocolate is describing- in a profile when clicking on the member's 'discussions'...we get taken to Groups....when in fact we want to see the forum discussions that the member has most recently started....OR, as Choc suggests, we should see the latest Forum AND Group discussions that that member has started. (perhaps with the option of also seeing that member's latest POSTS in Forum Discussions or Forum AND group discussions.

Long story short: We can't keep by passing FORUMS on our sites and pointing only to the discussions within Groups.


--
...just another satisfied Jamroom customer.
Migrated from Ning to Jamroom June 2015

updated by @strumelia: 01/02/15 01:00:11PM
Clay Gordon
Clay Gordon
@claygordon
10 years ago
744 posts
@Paul -

This took care of things except for one small formatting issue:

{$item._updated|jrCore_format_time:false:"M d y"}; Created

The "M d y" are displayed literally as M d y.

If anyone else runs into this same issue in the future, I took a look in the documentation and what's missing is some % signs

{$variable|jrCore_format_time:false:"%Y-%m-%d"}} // 2009-02-05
OR
{$variable|jrCore_format_time:false:"%F"}} // Same as "%Y-%m-%d" << this works perfectly
paul
@paul
10 years ago
4,335 posts
Sorry about that - Glad you sorted it.

WRT to the discussion/forum thing, we'll look into it and hopefully get it right once and for all :-)


--
Paul Asher - JR Developer and System Import Specialist
Clay Gordon
Clay Gordon
@claygordon
10 years ago
744 posts
@Paul -

I have to mention again that I appreciate all the support I am getting - and how quickly things get turned around. There's also a willingness to consider our (meaning the people migrating from Ning) perspective on things given our experiences moderating our communities.
Strumelia
Strumelia
@strumelia
10 years ago
3,603 posts
Well said Chocolate.... :)

Paul- I had to go look up what "WRT" meant, and found that... it's short for "Water Restoration Technician". Who knew?? But glad you're going to fix the leak. l o l


--
...just another satisfied Jamroom customer.
Migrated from Ning to Jamroom June 2015
paul
@paul
10 years ago
4,335 posts
Strumelia:
Well said Chocolate.... :)

Paul- I had to go look up what "WRT" meant, and found that... it's short for "Water Restoration Technician". Who knew?? But glad you're going to fix the leak. l o l

"With Respect To" the above, we all have to be "Jacks of all Trades" here ;-)


--
Paul Asher - JR Developer and System Import Specialist

Tags