The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#1
|
|||
|
|||
Want to remove my href tags here:
I have a hack that tells you who has visited in the day to my board. I love the hack but I don't want the ability to pm a user, just their username only, so I want to remove the href tags, but I can't seem to do it without getting errors - can someone tell me how to change this code so i get the name only & not a clickable link:
if ($today['visible']) { $wrdate = vbdate($vboptions['timeformat'], $today['lastactivity']); $whotoday .= "<a href='member.php?u=$today[userid]' title='$wrdate' >"; if ($today['visible'] == 2) { $whotoday .= $today['opentag'].$today['username'].$today['closetag']."</a>*, "; } else { $whotoday .= $today['opentag'].$today['username'].$today['closetag']."</a>, "; } } thx alot!!! |
#2
|
||||
|
||||
This should do what you want:
PHP Code:
|
#3
|
|||
|
|||
Thx - Very close - it does take away the link, but it only lists 1 user instead of the multiple users I have - any other thoughts?
|
#4
|
||||
|
||||
I re-edited the code above. Should work fine now.
|
#5
|
|||
|
|||
Excellent - thx alot!
|
Thread Tools | |
Display Modes | |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|