News:

Want to get involved in developing SMF, then why not lend a hand on our github!

Main Menu

Moving Personal Text To Just Under Avatar

Started by Steve, March 15, 2015, 01:05:10 PM

Previous topic - Next topic

Steve

How do I move the personal text (the part that says 'When uroligists have etc.') in the mini-profile as shown in the attached to just below the avatar (above the location).


And the admin badge (Freak) to just below my name?
DO NOT pm me for support!

Antes

Code (Find) Select
// Show their personal text?
if (!empty($settings['show_blurb']) && $message['member']['blurb'] != '')
echo '
<li class="blurb">', $message['member']['blurb'], '</li>';

Code (Add Before) Select
// Show how many posts they have made.

Code (Find & Delete) Select
echo '
<li class="stars">', $message['member']['group_stars'], '</li>';

Code (Find) Select
// Show the member's custom title, if they have one.
Code (Add Before) Select
if (!$message['member']['is_guest'])
echo '
<li class="stars">', $message['member']['group_stars'], '</li>';

Steve

Stupid question time ... what file are we talking about here?
DO NOT pm me for support!

Illori


Steve

Thanks for the replies. Your post is really confusing to me Antes. I'm either tired or not so bright (or both) so I'll look at this some more tomorrow and see if I understand it better then.
DO NOT pm me for support!

ARG01

I don't know where you got that screengrab but it's nice to see my member badges being used somewhere.  ;D
No, I will not offer free downloads to Premium DzinerStuido themes. Please stop asking.

Steve

They're being used on my forum and I love them. ;)
DO NOT pm me for support!

Antes

If you are not comfortable with doing those changes please attach your display.template.php

Steve

I'd like to try it first, that way I learn. If I still can't make it work, I'll do the attachment.

I guess what's confusing me is that you say to add this:

// Show how many posts they have made.

Before this:

// Show their personal text?
if (!empty($settings['show_blurb']) && $message['member']['blurb'] != '')
echo '
<li class="blurb">', $message['member']['blurb'], '</li>';


That will give me two lines that say:

// Show how many posts they have made.
DO NOT pm me for support!

Illori

i think he means this...

Quote from: Antes on March 15, 2015, 04:11:25 PM
Code (move) Select
// Show their personal text?
if (!empty($settings['show_blurb']) && $message['member']['blurb'] != '')
echo '
<li class="blurb">', $message['member']['blurb'], '</li>';

Code (Before this code) Select
// Show how many posts they have made.

Code (Find & Delete) Select
echo '
<li class="stars">', $message['member']['group_stars'], '</li>';

Code (Find) Select
// Show the member's custom title, if they have one.
Code (Add Before) Select
if (!$message['member']['is_guest'])
echo '
<li class="stars">', $message['member']['group_stars'], '</li>';


Steve

Aha! I suspected so but wanted to be sure. Thanks Illori. :)
DO NOT pm me for support!

Antes


Deaks

~~~~
Former SMF Project Manager
Former SMF Customizer

"For as lang as hunner o us is in life, in nae wey
will we thole the Soothron tae owergang us. In truth it isna for glory, or wealth, or
honours that we fecht, but for freedom alane, that nae honest cheil gies up but wi life
itsel."

Steve

DO NOT pm me for support!

Deaks

~~~~
Former SMF Project Manager
Former SMF Customizer

"For as lang as hunner o us is in life, in nae wey
will we thole the Soothron tae owergang us. In truth it isna for glory, or wealth, or
honours that we fecht, but for freedom alane, that nae honest cheil gies up but wi life
itsel."

Advertisement: