[Andrew] Bookmark Users

[Andrew] Bookmark Users 1.0.2

No permission to download
I have been playing around with this tonight and it presents some challenges. For one, when I move the bookmark to the top it doesn't shrink well.
 
If you don't mind me asking, what do your template modifications look like?

member_tooltip (Simple)
Find:
Code:
<!--[XF:header_action_start]-->
Replace:
Code:
$0
<xf:if is="$xf.visitor.canBookmarkUsers() AND $xf.visitor.user_id !== $user.user_id">
    <xf:button class="button--link button--small">
    <xf:macro template="bookmark_macros" name="link"
              arg-content="{$user}"
              arg-class=""
              arg-confirmUrl="{{ link('members/bookmark', $user) }}"
              arg-showText="{{ false }}"/>
    </xf:button>
</xf:if>


member_view (Simple)
Find:
Code:
<xf:if is="$user.canBeReported()">
Replace:
Code:
<xf:if is="$xf.visitor.canBookmarkUsers() AND $xf.visitor.user_id !== $user.user_id">
<div class="buttonGroup" style="float: left;">&nbsp;
    <xf:button class="button--link">
    <xf:macro template="bookmark_macros" name="link"
              arg-content="{$user}"
              arg-class=""
              arg-confirmUrl="{{ link('members/bookmark', $user) }}"
              arg-showText="{{ true }}"/>
    </xf:button>
</div>
</xf:if>
$0

It needs tidying up a touch making the icon 12px instead of 13px to make it fit perfectly, but I haven't got around to it.. 😅
 
Top Bottom