1

Topic: How can i change the topic title & forum title in topic & forum page

hi,
when you opend the forum thread, like  punbb.org/f2 you know the title is
                   
               " Punbb.org Forums / Post new topic "
               " Punbb.org Forums / Punbb Discussions "
               "Punbb.org Forums / i like pun "

how can i change the position of words besides "/ "

to
             "i like pun / Punbb.org Forums"

Re: How can i change the topic title & forum title in topic & forum page

Change $page_title in every file.

Re: How can i change the topic title & forum title in topic & forum page

Or to do it more easily (albeit a little less efficiently), change the part of header.php that prints the title tags to this:

<title><?php // reversed title order
if ($page_title != $pun_config['o_board_title'])
{
    $page_title = substr($page_title, strlen($pun_config['o_board_title']) + 3).' / '.$pun_config['o_board_title'];
    echo $page_title;
}
else
    echo $page_title;
?></title>

P.S. If you have problems with that, you might need to do this (I don't have any special characters in my board title so I don't need it, but you may):

<title><?php // reversed title order
if ($page_title != $pun_config['o_board_title'])
{
    $page_title = substr($page_title, strlen(punhtmlspecialchars($pun_config['o_board_title'])) + 3).' / '.punhtmlspecialchars($pun_config['o_board_title']);
    echo $page_title;
}
else
    echo $page_title;
?></title>
Looking for a certain modification for your forum? Please take a look here before posting.

4 (edited by qie 2006-08-28 03:03)

Re: How can i change the topic title & forum title in topic & forum page

thanks i'm tring it

o ! done! thanks mod. *&*