News:

Wondering if this will always be free?  See why free is better.

Main Menu

move the personal text

Started by dominioboys, September 20, 2019, 05:10:46 PM

Previous topic - Next topic

dominioboys

how can I move the "personal text" under the custom title in the posts of each profile

Kindred

You would have to edit display.template.php
Слaва
Украинi

Please do not PM, IM or Email me with support questions.  You will get better and faster responses in the support boards.  Thank you.

"Loki is not evil, although he is certainly not a force for good. Loki is... complicated."

dominioboys


shadav

in display.template.php
find or similar
// Show their personal text?
if (!empty($settings['show_blurb']) && $message['member']['blurb'] != '')
echo '
<li class="blurb">', $message['member']['blurb'], '</li>';


unless you mean their custom title in which case
find or similar
// Show the member's custom title, if they have one.
if (!empty($message['member']['title']))
echo '
<li class="title">', parse_bbc($message['member']['title']), '</li>';

dominioboys


shadav

just reread your first post....
so you want the personal text under the custom title? (I swear that wasn't there before  :-\ :o, or well i'm having a blonde moment)

so in display.template.php
find and remove
// Show their personal text?
if (!empty($settings['show_blurb']) && $message['member']['blurb'] != '')
echo '
<li class="blurb">', $message['member']['blurb'], '</li>';


find
// Show the member's custom title, if they have one.
if (!empty($message['member']['title']))
echo '
<li class="title">', parse_bbc($message['member']['title']), '</li>';

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

dominioboys

ok done thank but why is there a space between the line above and the one below?

shadav

because it's in a list format
you should be able to play with it in your index.css

.poster li.stars, .poster li.avatar, .poster li.blurb, li.postcount, li.im_icons ul
{
margin-top: 0.5em;
}


I'm not sure where the other one is at....but you should be able to play with the blurb's top margin or remove it completely (keeping in mind that it will affect the rest listed there as well [avatars, stars, post count, icons] )

or if you don't want to do that you can try this but keep in mind if you want to move it later you'll need to fix it

find
// Show the member's custom title, if they have one.
if (!empty($message['member']['title']))
echo '
<li class="title">', parse_bbc($message['member']['title']), '</li>';
// Show their personal text?
if (!empty($settings['show_blurb']) && $message['member']['blurb'] != '')
echo '
<li class="blurb">', $message['member']['blurb'], '</li>';

replace with (not sure if this will work but it should)
// Show the member's custom title, if they have one.
if (!empty($message['member']['title']))
echo '
<li class="title">', parse_bbc($message['member']['title']), '<br />';
// Show their personal text?
if (!empty($settings['show_blurb']) && $message['member']['blurb'] != '')
echo '
', $message['member']['blurb'], '</li>';

dominioboys


Advertisement: