The contents of that tpl are quite simple, just
<div class="dis-profile f1-f9">
<h1>[[%discuss.general_stats? &user=`[[+name]]`]]</h1>
<ul class="profile">
<li class="f1-f5" style="margin-top:3px;margin-bottom:3px;">[[%discuss.threads_started]]: <strong>[[+topics]]</strong></li>
<li class="f1-f5" style="margin-top:3px;margin-bottom:3px;">[[%discuss.replies]]: <strong>[[+replies]]</strong></li>
</ul>
</div>
And I dont see anything in there that could be connected. So I am looking before that, because we have a structure of:
Index (main stuff)
sidebar
- top side stuff, avatar
- bottom side stuff (stats)
And pushing from bottom side to main isn't working. So I am looking at both the sidebar level and the top side level, but they don't seem to have much:
<aside class="f10-f12 m-profile-box"> (this is sidebar)
<div class="PanelBox">
<div class="Box">
<h2>[[+username]]'s Profile</h2>
<ul class="panel_info">
<li class="Heading">
[[!+discuss.user.username:eq=`[[+username]]`:then=`<a class="PanelBox-avatar" href="[[DiscussUrlMaker? &action=`user/edit`]]">`]]
<img src="assets/userfiles/[[+username]]/avatar.gif" alt="[[+username]]">
[[!+discuss.user.username:eq=`[[+username]]`:then=`<span>[[%discuss.modify]]</span>
</a>`]] (this is top stuff, avatar and modify profile)
</li>
</ul>
</div>
<div class="Box">
[[+usermenu]] (this is bottom stuff)
</div>
</div>
</aside>
So looking in the usermenu tpl, could this be it? Its the line which makes the link to the stats, could the 'param' be what is needed?
<li class="Depth2"><strong><a href="[[DiscussUrlMaker? &action=`user/statistics` ¶ms=`{"user":"[[+id]]"}`]]">[[%discuss.stats]]</a></strong><span class="Count"> </span></li>
Here is the whole tpl for this area, which provides the links to post list, stats, etc.
<h4>User Menu</h4>
<ul class="panel_info">
<li class="Heading">[[%discuss.forum_profile]]</li>
<li class="Depth2"><strong><a href="[[DiscussUrlMaker? &action=`user` ¶ms=`{"type":"username", "user":"[[+username]]"}`]]">[[%discuss.view]]</a></strong><span class="Count"> </span></li>
[[+canEdit:notempty=`<li class="Depth2"><strong><a href="[[DiscussUrlMaker? &action=`user/edit`]]">[[%discuss.edit]]</a></strong><span class="Count"> </span></li>`]]
<li class="Depth2"><strong><a href="[[DiscussUrlMaker? &action=`user/statistics` ¶ms=`{"user":"[[+id]]"}`]]">[[%discuss.stats]]</a></strong><span class="Count"> </span></li>
<li class="Depth2"><strong><a href="[[DiscussUrlMaker? &action=`user/posts` ¶ms=`{"user":"[[+id]]"}`]]">[[%discuss.posts]]</a></strong><span class="Count"> </span></li>
[ed. note: nuan88 last edited this post 9 years ago.]