UBB.Dev
Posted By: Astaran 5.4.4. showprofile - send private - 09/30/2001 6:54 PM
Hi Scream,

found some "bugs" in the showprofile.php.
When you use buttons for the navigation only (all text navigation is commented out) "send private message and "return to forum" are still displaying as button and text navigation.
I noticed it in the german version but it also occurs in the english one. So it shouldn't be a problem of the language files.

showprofile line 194:
echo "
<table border=0 width="$theme[tablewidth]" align="$theme[tablealign]"><TR><TD>
<a href="$config[phpurl]/sendprivate.php?Cat=$Cat&User=$encoded&Board=$Board&Number=$Number&what=$what&page=$page&view=$view&sb=$sb&o=$o&fpart=$fpart&vc=$vc">
<img src="$config[images]/sendprivate.gif" alt="$lang[PRIV_HEAD]" border=0>$lang[PRIV_HEAD]</a>
";

it seems to be fixed when i change it to:

echo "
<table border=0 width="$theme[tablewidth]" align="$theme[tablealign]"><TR><TD>
<a href="$config[phpurl]/sendprivate.php?Cat=$Cat&User=$encoded&Board=$Board&Number=$Number&what=$what&page=$page&view=$view&sb=$sb&o=$o&fpart=$fpart&vc=$vc">
<img src="$config[images]/sendprivate.gif" alt="$lang[PRIV_HEAD]" border=0></a>
";

but then it won't work when i change it back to text-navigation, i suppose?

Same problem exist in dosearch.php with the the "main-search" link.

Posted By: Astaran Re: 5.4.4. showprofile - send private - 10/09/2001 5:33 AM
is that fix correct?
Posted By: Rick Re: 5.4.4. showprofile - send private - 10/10/2001 4:43 AM
Do you have the updated buttons? The latest buttons should be only the navigation image without text.
© UBB.Developers