• This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn more.

XF 1.5 Where oh where is userBlurb that can be modified?

#1
Looked everywhere, searched ... found piles and piles of cool tips and info on user profile & member card ... can't find where the elements of userBlurb are assembled. There is no template named userBlurb showing how name, title, gender are put into one thing that is userBlurb..

Reviewed the 'inspect element code' which did not identify the source.
Hunted through the templates.

What I seem to be looking for is the source of
{xen:helper userBlurb, $user}

and
class="userBlurb"

As multiple pieces of user info are combined in userBlurb, I wanted to preserve 'custom title' and eliminate 'gender', wherever userBlurb is displayed.

Thanks!

http://brazosvalleysource.com/forum/index.php
 
#4
Can I replace it by either -

- Editing it out directly in the template and replacing it with the elements I want to use, and what are the element names for user location and user title?

- Creating an if statement in EXTRA.css that says if userBlurb, then use this instead

?

thx - that gender appearance is very, very awkward, I don't know what someone was thinking on that one
 
#5
- Still have the EXTRA.css question from above

- I think I found the location & occupation - have to test
<xen:if is="@messageShowOccupation AND {$user.occupation}">
<dl class="pairsJustified">
<dt>{xen:phrase occupation}:</dt>
<dd itemprop="role">{xen:string censor, $user.occupation}</dd>
</dl>
</xen:if>

<xen:if is="@messageShowLocation AND {$user.location}">
<dl class="pairsJustified">
<dt>{xen:phrase location}:</dt>
<dd><a href="{xen:link 'misc/location-info', '', 'location={xen:string censor, $user.location, '-'}'}" target="_blank" rel="nofollow" itemprop="address" class="concealed">{xen:string censor, $user.location}</a></dd>
</dl>
</xen:if>