PDA

View Full Version : Profile Field active link in postbit (with conditional) won't work !


Fibe
10-04-2004, 08:57 AM
fixed

Fibe
10-06-2004, 08:32 AM
No one? :(

Colin F
10-06-2004, 08:39 AM
I can't really find an error, sorry...
Here's a rewrite, but I don't expect it to help...

<if condition="$post[field9] != ''"><div class="smallfont"><strong>Guild: </strong><a href="$post[field9]" target="_blank">$post[field7]</a></div>
<else />
<div class="smallfont"><strong>Guild: </strong>$post[field7]</div></if>


Make sure that the fieldids (7 + 9) are correct...

Fibe
10-06-2004, 09:04 AM
Thanks ! Trying


Update:
Tried it and still doesn't work :(
Thanks a lot though!

Colin F
10-06-2004, 09:28 AM
Does it just show nothing?
It should show *actually* show Guild: anyway.

Are you editing the correct postbit?
Postbit legacy is if you have the userinfo on the left,
Postbit is if you have the userinfo above.

Fibe
10-06-2004, 10:01 AM
It shows the "Guild:" but without the active link.
Yeas I am in legacy hehe

Hmm ok it works in IE now. But for both IE and firefox it only works if you have filled in all fields yourself (guildname and link).

Example: My account has the profile fields filled in. I see my own active link and of others.
My test account has no profile fields filled in. So of course you don't see your own active link, but you also don't see others.

Colin F
10-06-2004, 10:13 AM
It shows the "Guild:" but without the active link.
Yeas I am in legacy hehe

Hmm ok it works in IE now. But for both IE and firefox it only works if you have filled in all fields yourself (guildname and link).

Example: My account has the profile fields filled in. I see my own active link and of others.
My test account has no profile fields filled in. So of course you don't see your own active link, but you also don't see others.
Are you sure?
That seems totally unusual...

Could you setup a testaccount at your forum for me, and PM me the details please?

Thanks.

Colin F
10-06-2004, 10:34 AM
OK, I only have IE here at work...

I see the Guild: guildname
but there is no link anywhere.

edit: are you using the original code or the code I posted?

Fibe
10-06-2004, 10:49 AM
Yep I am.
Now if you go to your usercp profile and enter random guildname + url you'll see yours active and other people are using it (check mine in postbit)

Have to go to uni now, thanks for all your effort i'll check back in a few hours.

Colin F
10-06-2004, 11:54 AM
yes what? :)

Fibe
10-06-2004, 03:13 PM
Oops ! Your code.