Topic: [Solved] Removing Hyperlink

Hi,

On the view topic page how can I remove the hyperlink that links the username to the profile page

Thanks

Re: [Solved] Removing Hyperlink

you'll need to go to
viewtopic.php
and search for
// Generate author identification
change below
and manually delete the link you don't want...

3 (edited by TheCase 2010-09-06 16:38)

Re: [Solved] Removing Hyperlink

What can I change this to

$forum_page['author_ident']['username'] = '<li class="username">'.(($forum_user['g_view_users'] == '1') ? '<a title="'.sprintf($lang_topic['Go to profile'], forum_htmlencode($cur_post['username'])).'" href="'.forum_link($forum_url['user'], $cur_post['poster_id']).'">'.forum_htmlencode($cur_post['username']).'</a>' : '<strong>'.forum_htmlencode($cur_post['username']).'</strong>').'</li>';

Re: [Solved] Removing Hyperlink

Well this is the hyperlink part of that

'<a title="'.sprintf($lang_topic['Go to profile'], forum_htmlencode($cur_post['username'])).'" href="'.forum_link($forum_url['user'], $cur_post['poster_id']).'">'.forum_htmlencode($cur_post['username']).'</a>'

if taking out that is too much how about just the  href="...."

Re: [Solved] Removing Hyperlink

I tried to take out the href and it made no effect

Re: [Solved] Removing Hyperlink

You saw that it's repeated a few times, for guests, logged in users etc....

Re: [Solved] Removing Hyperlink

I managed to do this thanks