vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   Member Archives (https://vborg.vbsupport.ru/forumdisplay.php?f=202)
-   -   Need Help!! (https://vborg.vbsupport.ru/showthread.php?t=34152)

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:

PHP 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
PHP Code:

<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:
PHP 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:
PHP Code:

<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


All times are GMT. The time now is 11:44 AM.

Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.

X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.01019 seconds
  • Memory Usage 1,728KB
  • Queries Executed 10 (?)
More Information
Template Usage:
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (4)bbcode_php_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (5)printthreadbit
  • (1)spacer_close
  • (1)spacer_open 

Phrase Groups Available:
  • global
  • postbit
  • showthread
Included Files:
  • ./printthread.php
  • ./global.php
  • ./includes/init.php
  • ./includes/class_core.php
  • ./includes/config.php
  • ./includes/functions.php
  • ./includes/class_hook.php
  • ./includes/modsystem_functions.php
  • ./includes/class_bbcode_alt.php
  • ./includes/class_bbcode.php
  • ./includes/functions_bigthree.php 

Hooks Called:
  • init_startup
  • init_startup_session_setup_start
  • init_startup_session_setup_complete
  • cache_permissions
  • fetch_threadinfo_query
  • fetch_threadinfo
  • fetch_foruminfo
  • style_fetch
  • cache_templates
  • global_start
  • parse_templates
  • global_setup_complete
  • printthread_start
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete