Welcome to the Question2Answer Q&A. There's also a demo if you just want to try it out.
+3 votes
1.4k views
in Q2A Core by

To change in places:

commented 12 hours ago by  10k!  gidgreen 

Example:

commented 12 hours ago by  Professor  gidgreen

commented 10 hours ago by  Pupil  Alzim

commented 15 hours ago by  Master  monk333face

related to an answer for: What do the red "1K!" things mean?

1 Answer

+1 vote
by
 
Best answer
You build them in Your admin panel, under users, the last option on site, ADD NEW USERTITLE, there You set a usertitlename and the points needed to achieve this title.
by
NO! To change in places! monk333 <=> 5K!
Example:
monk333 5K! ----> 5K! monk333

monk333 Master ----> Master  monk333
by
Oh, didnt understand this, should be done through the order in qa-theme.php, i see it right now, if I find how to I comment again. Excuse me for the misunderstanding.
by
You can change it here:

function post_meta_who($post, $class)


there You move this part above the "who" "data" part


if (isset($post['who']['title']))
$this->output('<SPAN CLASS="'.$class.'-who-title">'.$post['who']['title'].'</SPAN>');


EDIT:

the complete function:

    function post_meta_who($post, $class)
        {
            if (isset($post['who'])) {
                $this->output('<SPAN CLASS="'.$class.'-who">');
               
                if (strlen(@$post['who']['prefix']))
                    $this->output('<SPAN CLASS="'.$class.'-who-pad">'.$post['who']['prefix'].'</SPAN>');
               
                if (isset($post['who']['title']))
                    $this->output('<SPAN CLASS="'.$class.'-who-title">'.$post['who']['title'].'</SPAN>');
                   
                    if (isset($post['who']['data']))
                    $this->output('<SPAN CLASS="'.$class.'-who-data">'.$post['who']['data'].'</SPAN>');
               
               
   
                if (isset($post['who']['points'])) {
                    $post['who']['points']['prefix']='('.$post['who']['points']['prefix'];
                    $post['who']['points']['suffix'].=')';
                    $this->output_split($post['who']['points'], $class.'-who-points');
                }
               
                if (strlen(@$post['who']['suffix']))
                    $this->output('<SPAN CLASS="'.$class.'-who-pad">'.$post['who']['suffix'].'</SPAN>');
   
                $this->output('</SPAN>');
            }
        }
by
qa-theme-base.php

Thank you! :)
by
Regarding qa-theme-base.php:

It is highly recommendable that You copy the functions from qa-theme-base.php to Your own advanced theme. So You allways can change Your themes without any losses. Please see

Creating an advanced theme for Question2Answer

at

http://www.question2answer.org/advanced.php

Thank You for Your vote !
...