PDA

View Full Version : alternative var to "postusername" (like musername)


Kurtie
10-13-2004, 09:02 PM
hmm, i have this command line:

<if condition="$show['guestuser']">
$thread[postusername]
<else />
<a href="member.php?$session[sessionurl]u=$thread[postuserid]">$thread[postusername]</a>
</if>

"postusername" posts only the username. i want to post the username with its tag (if it has one), something like the "musername" var.

how can i change this command line to achieve that?

thanks in advance.

p.s
this script is from the threadbit template.

Kurtie
10-14-2004, 11:05 AM
hmm, help? :)

Xenon
10-14-2004, 04:25 PM
please do not bump a thread in less than 24h

it is annoying to those who just read the board once a day, and will also reduce your chance of getting help.

to answer your question. the needed variable isn't defined by default.
there is a function called fetch_musername which does what you want, but you have to modify all those files which are useing the threadbit template.

Kurtie
10-14-2004, 09:12 PM
sorry about that.

thanks for your help' but can you be more specific about changing the files? what files and how should i change them?

Kurtie
10-16-2004, 12:08 PM
up.
can't you guys help me on this one? :|