that's what i'm doing withPHP:$search = '<!-- end block: sidebar_online_users -->'; $contents = str_replace($search, $search . $t, $contents);
<div class="section infoBlock">
<dl class="secondaryContent pairs">
<xen:if is="{$canViewOnlineStatus}">
<dt>{xen:phrase last_activity}:</dt>
<dd><xen:datetime time="$user.effective_last_activity" /></dd>
</xen:if>
<dt>{xen:phrase joined}:</dt>
<dd>{xen:date $user.register_date}</dd>
<dt>{xen:phrase messages}:</dt>
<dd>{xen:number $user.message_count}</dd>
<dt>{xen:phrase likes_received}:</dt>
<dd>{xen:number $user.like_count}</dd>
<dt>{xen:phrase trophy_points}:</dt>
<dd><a href="{xen:link 'members/trophies', $user}" class="OverlayTrigger">{xen:number $user.trophy_points}</a></dd>
</dl>
</div>
This request requires further discussion, because you can not insert something other than an <li> between messages, and the system expects that each <li> represents a message.I'd like maybe one more hook in the "message" template, one inclusive of the entire "<li>" that contains the message to place something like an ad above or below the nth message, that looks like a message. The new "ad_message_below" template in v1.0.0 almost works for me, but not quite.
Any reason why the acp xx_edit (nodes) hooks were not accepted?Suggestions marked with K: 1.0.2 have been implemented in XenForo 1.0.2.
Can you point me to that suggestion?Any reason why the acp xx_edit (nodes) hooks were not accepted?
Or is there already a way to include inputfields without editing the acp template ( john doe can't even change this without activating the debug mod, so it's impossible to add the template changes into the install instructions^^)
This may seem odd, but I could use a hook to insert code at the bottom of each post where we have the post number, "Like" and "Reply" links. I want to add a Share link (for AddThis) between the post number and "Like" link, but am always wary of updating templates that will change when new versions are released.
Example would be on Kier's post immediately above mine, it would look like this. The "Share" could be anywhere on the righthand side, actually...
#73 Share Like Reply
1.0.2Is this new? I did not see this hook when I looked into it a month or two ago.
Thanks for the tip!
1.0.2
Look at the announcement, it lists the new hooks there.
We use essential cookies to make this site work, and optional cookies to enhance your experience.