How to insert the User Status in own signature (maybe a suggestion)

giorgino

Well-known member
Hi all :)

I think that the best place to put the user status is (also) in own signature. In this way, the user status became visibile to all other users without any manual operation by the user

The question is: How to put user status in own signature?
 
thank you Brogan and sorry for my (english and) confusion;)

In the meantime I've put manually an example of what I mean.
The "Status:" is linked to user profile. The status message isn't linked
 
Here is a template mod for you:

Admin CP -> Appearance -> Templates -> message

Replace this:

Code:
		<xen:if is="{$visitor.content_show_signature} && {$message.signature}">
			<div class="baseHtml signature ugc"><aside>{xen:raw $message.signatureHtml}</aside></div>
		</xen:if>

with this:

Code:
		<xen:if is="{$visitor.content_show_signature} AND ({$message.signature} OR {$message.status})">
			<div class="baseHtml signature ugc">
			<aside>
				<xen:if is="{$message.status}">
					<div>My status: {$message.status}</div>
				</xen:if>
				<xen:if is="{$message.signature}">
					{xen:raw $message.signatureHtml}
				</xen:if>
			</aside>
			</div>
		</xen:if>

And this is the result:

Screen shot 2011-03-14 at 11.19.55 PM.webp
 
Use this:

Code:
		<xen:if is="{$visitor.content_show_signature}">
		<div class="baseHtml signature ugc">
		<aside>
			<xen:if is="{$message.status}">
				<div>My status: {$message.status}</div>
			</xen:if>
			<xen:if is="{$message.signature}">
				<div>{xen:raw $message.signatureHtml}</div>
			</xen:if>
			<div>
				messages: {$message.message_count} |
				likes: {$message.like_count} |
				points: {$message.trophy_points}
				<xen:if is="{$message.location}">
					| from: {xen:string censor, $message.location}
				</xen:if>
			</div>
		</aside>
		</div>
		</xen:if>

Result:

Screen shot 2011-03-15 at 8.48.25 PM.webp
 
Here is with the register date:

Code:
		<xen:if is="{$visitor.content_show_signature}">
		<div class="baseHtml signature ugc">
		<aside>
			<xen:if is="{$message.status}">
				<div>My status: {$message.status}</div>
			</xen:if>
			<xen:if is="{$message.signature}">
				<div>{xen:raw $message.signatureHtml}</div>
			</xen:if>
			<div>
				messages: {$message.message_count} |
				likes: {$message.like_count} |
				points: {$message.trophy_points} |
				registered: {xen:date $message.register_date}
				<xen:if is="{$message.location}">
					| from: {xen:string censor, $message.location}
				</xen:if>
			</div>
		</aside>
		</div>
		</xen:if>

I can't find any "discussions" count or other trophy information other than trophy points.
 
Top Bottom