Profile Page Latest Forums - changing
Ning To Jamroom
thechocolatelife:
QUESTION ONE:
The page in question is currently at <a href="
http://www.thechocolatelife.info/thechocolatelife/clay" target="_blank" rel="nofollow">
http://www.thechocolatelife.info/thechocolatelife/clay</a>
When DNS propagates it will appear at <a href="
http://www.thechocolatelife.com/clay" target="_blank" rel="nofollow">
http://www.thechocolatelife.com/clay</a>
On the Profile page, the content block header says "Latest Forums" and the text for this comes from the following lines of code, which are found in the skin's profile_index_discussion.tpl file:
[code]
<div class="title">
<h3>{jrCore_lang skin=$_conf.jrCore_active_skin id="20" default="Latest"} {jrCore_lang skin=$_conf.jrCore_active_skin id="19" default="Discussions"}</h3> <span class="normal"><a href="{$jamroom_url}/{$profile_url}/{jrCore_module_url module="jrGroup"}">{jrCore_lang skin=$_conf.jrCore_active_skin id="30" default="All"}</a></span>
</div>
So, the phrase "Latest Forums" is a concat of two calls to
[code]
jrCore_lang skin=$_conf.jrCore_active_skin id="xx" default="sometext"
[/code]
I have already changed the text of ID 19 to "Forums" so that appears in my top nav so I can't change the text in the language file.
From my prior fiddling, I seem to remember that I can't just replace the default text here to some other text. To make it say something like "Group Discussions" I just replace everything with the h3 tags in the title div:
[code]
<h3>Group Discussions</h3>
[/code]
Just change the text directly and skip using the language system.
[code]
<div class="title">
<h3>HAPPY CAMPER</h3> <span class="normal"><a href="{$jamroom_url}/{$profile_url}/{jrCore_module_url module="jrGroup"}">ALL</a></span>
</div>
So, the phrase "Latest Forums" is a concat of two calls to
[code]
jrCore_lang skin=$_conf.jrCore_active_skin id="xx" default="sometext"
[/code]
thechocolatelife:
QUESTION TWO:
If you look inside the content block for the Latest Forums on my profile page you will see some entries from my GROUP's Discussions.
The display order on this is order_by="_updated desc":
[code]
<div class="block_content">
<div class="item item-scroll">
{jrCore_list module="jrGroupDiscuss" order_by="_updated desc" profile_id=$_profile_id template=$pd_tpl}
</div>
</div>
[/code]
What does updated mean? The last time a comment was added? If that's the case, then what's being displayed is not correct (last updated in September 2014?) and I know that there is at least one group discussion (in the DIY group) that I have commented on within the past 48 hours.
I want to make sure that this list is updated to reflect the most recently updated discussions in Group Discussions.
(Would have preferred 1 question per thread, I'm already lost in bbcode) _created is when the item was created, _updated is the same as _created except it changes when the item is edited and saved. When the item its-self is changed. Thats different from when comments are added because they will be added to the comments datastore and not effect the item. The guys working on the ningja skin will know more about whats happening here, i haven't looked much at groups yet.
thechocolatelife:
QUESTION THREE:
I have already modified the actual description itself to include the last updated:
[code]
<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:"%F"}; Created {$item._created|jrCore_format_time:false:"relative"}</small>
[/code]
What I would like to do know is include the name of the group the entry was posted in, and it would go in the line above the @name. (Posted in: Group Name) with Group Name being an active link.. I have tried a number of different constructions but I can't format the selection of the group name properly and get it to work.
Try putting a {debug} in there to see what options you have to work with:
"{debug}"
<a href="http://www.jamroom.net/the-jamroom-network/documentation/development/1477/debug" target="_blank" rel="nofollow">http://www.jamroom.net/the-jamroom-network/documentation/development/1477/debug</a>