jame58rown

Customer
I'd like to add the user's unique ID and the bottom of the postbit to read

Member No xxxx

Where xxxx is the user's unique ID number

How can I do this. Many thanks.
 
Something like this:

Template: message_macros

Around line 80, find:

Code:
<xf:if is="$extras.custom_fields">

Add right above:

Code:
                        <dl class="pairs pairs--justified">
                            <dt>Member ID</dt>
                            <dd>{$user.user_id|number}</dd>
                        </dl>
Result:


Screenshot_15.png
 
HI Russ,

Sorry to be a pain...It's important my members know this number. With your help I've placed it in the post bit and it looks great, but some folk browsing with low res phones still can't see it. Could you help with placing it on the member card under the JOINED item. Many thanks
 
Member card:

Template: member_tooltip

find:

Code:
                <xf:if contentcheck="true">
                    <div class="memberTooltip-blurb">
                        <dl class="pairs pairs--inline">
                            <dt>{{ phrase('last_seen') }}</dt>
                            <dd dir="auto">
                                <xf:contentcheck><xf:useractivity user="$user" class="pairs--plainLabel" /></xf:contentcheck>
                            </dd>
                        </dl>
                    </div>
                </xf:if>

Add after:

Code:
                        <div class="memberTooltip-blurb">
                            <dl class="pairs pairs--inline">
                                <dt>Member ID</dt>
                                <dd>{$user.user_id|number}</dd>
                            </dl>
                        </div>

Also you can add it to the member view:

Template: member_view

Find:

Code:
                        <xf:if contentcheck="true">
                            <div class="memberHeader-blurb">
                                <dl class="pairs pairs--inline">
                                    <dt>{{ phrase('last_seen') }}</dt>
                                    <dd dir="auto">
                                        <xf:contentcheck><xf:useractivity user="$user" class="pairs--plainLabel" /></xf:contentcheck>
                                    </dd>
                                </dl>
                            </div>
                        </xf:if>

Add after:

Code:
                        <div class="memberHeader-blurb">
                            <dl class="pairs pairs--inline">
                                <dt>Member ID</dt>
                                <dd>{$user.user_id|number}</dd>
                            </dl>
                        </div>
 

Pre-Sale Questions

If you have any questions or concerns you want to ask before you make a purchase don't hesitate to use one of our multiple support channels for your convenience.

Back