PDA

View Full Version : Remove username href


steveneff
04-14-2008, 03:37 PM
I would like to remove some of the href username links but still keep the username itself.

This one in the forumhome_lastpostby has got me a bit stuck as I don't see any href yet it has one when displayed in the forum home

<phrase 1="member.php?$session[sessionurl]find=lastposter&amp;f=$lastpostinfo[forumid]" 2="$lastpostinfo[lastposter]">$vbphrase[by_x]</phrase>

Lynne
04-14-2008, 04:40 PM
Maybe try:
<phrase 1="" 2="$lastpostinfo[lastposter]">$vbphrase[by_x]</phrase>

However, this will give an empty link for the poster.

If you want to totally remove the link, then you need to edit the phrase also:
From: by <a href="{1}" rel="nofollow">{2}</a>
To: by {2}

(this has not been tested by me, so try at your own risk.)

steveneff
04-15-2008, 11:03 AM
Thanks for your help Lynne, but I'm still not any closer on this. could not find the phrase were are they?

Lynne
04-15-2008, 02:54 PM
Thanks for your help Lynne, but I'm still not any closer on this. could not find the phrase were are they?
In your Admin CP > Languages & Phrases > Search for Phrase > input "by_x" and make sure "Phrase Variable Name Only" is checked and it should be one of the ones that comes up.

steveneff
04-15-2008, 03:25 PM
Perfect, thanks again lynne