Log in

View Full Version : Simple postbit question


Iloncar
04-04-2008, 09:12 PM
Hello,

I created 2 custom profile fields. One for guild name, and other for guild website url.

Q: What do I need to put in posbit legacy template so that under avatar I get linked guild name?

Thanky :)

dismas
04-04-2008, 09:50 PM
<a href="https://vborg.vbsupport.ru/showthread.php?t=118896&highlight=custom" target="_blank">https://vborg.vbsupport.ru/showt...ghlight=custom</a>

Iloncar
04-05-2008, 10:05 AM
Thanks for help but I checked that already and it doesnt cover my issue. :)

I have 2 custom fields. First is normal text and second one is for url. I need to have the tekst line linked with 2nd pfield's url in my postbit.

Opserty
04-05-2008, 10:50 AM
Then code it into a link tag like:

<a href="$post[fieldX]">$post[fieldZ]</a>


X - Being the field ID of the one which contains the URL
Z - Being the other

Iloncar
04-05-2008, 12:54 PM
Thanks. :)

DoB Rhapsody
04-05-2008, 08:10 PM
This is the code i use.

<if condition="$post[field9]">

<div>Clan: <if condition="$post[field10]"><a href="$post[field10]" target=_blank></if>$post[field9]<if condition="$post[field10]"></a></if></div>

</if>