View Full Version : Need Help!!
StarBuG
01-15-2002, 07:56 PM
I have a problem!
All users wich usernames contains a - at the end like: -=User=- are shown as: -=User=>
also my Boardname is shown as -=Board=> instead of -=Board=-
The usererror occous in:
Memberlist
Moderator column on main index and in the forumsview
NOT IN THE PROFILE!
I think it´s an error that is caused by the portal or maybe I made a mistake at hacking some files!
I use 2.2.1g and vBPortal 3.0 beta8
Any suggestions where I can correct this PLZ!!
Greetings and THX
StarBuG
Admin
01-16-2002, 09:48 AM
I've seen this problem before actually, I really think it's a bug in vBulletin but I was never able to found the source of it. :(
StarBuG
01-16-2002, 04:53 PM
Update:
The error is only in the german version of vbb 2.2.1 (2.2.1g)
The last character of a Name who starts with a - (f.e. : -Test) is replaced with a > (-Tes> )
I have started a thread in VBulletin Germany and hope they can help me!
Greetings
StarBuG
StarBuG
01-16-2002, 05:37 PM
I tracked the first part of this error in the admincenter down!
In the userlist the name was displayed wrong:
I looked over user.php and found this:
around line 1000
this code:
while ($user=$DB_site->fetch_array($users)) {
echo "<tr class='".getrowbg()."'>";
if ($displayusername==1) {
echo "<td><p><a href='../member.php?s=$session[sessionhash]&action=getinfo&userid=$user[userid]' target='_blank'>$user[username]</a></p></td>";
}
if i remove
<a href='../member.php?s=$session[sessionhash]&action=getinfo&userid=$user[userid]' target='_blank'>
then the username is displayed without the error!
The same is in memberlistbit!
the original code:
<tr align="center">
<td bgcolor="{firstaltcolor}"><normalfont><a href="member.php?s=$session[sessionhash]&action=getinfo&userid=$userinfo[userid]">$userinfo[username]</a></normalfont></td>
<td bgcolor="{secondaltcolor}" align="center">$userinfo[title]</td>
<td bgcolor="{secondaltcolor}" align="center">$userinfo[useremail]</td>
<td bgcolor="{firstaltcolor}" align="center">$userinfo[homepage]</td>
(...)
If I remove:
<a href="member.php?s=$session[sessionhash]&action=getinfo&userid=$userinfo[userid]">
The username is displayed correct!
Does anyone knows whats wrong with this???
Greetings
StarBuG
StarBuG
01-17-2002, 02:59 PM
PLZ Folks!
Help me!
Does noone has an idea whats causing this??
Greetings
StarBuG
vBulletin® v3.8.12 by vBS, Copyright ©2000-2025, vBulletin Solutions Inc.