TP-Docs
HTML5 Icon HTML5 Icon HTML5 Icon
TP on Social Media

Recent

Welcome to TinyPortal. Please login or sign up.

Members
Stats
  • Total Posts: 196,021
  • Total Topics: 21,332
  • Online today: 744
  • Online ever: 8,223 (February 19, 2025, 04:35:35 AM)
Users Online
  • Users: 0
  • Guests: 298
  • Total: 298

Userblock (Profile 0 not exist)

Started by germane, November 15, 2005, 08:58:05 PM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

germane

Hello Users,

Sorry for my simple English ::), but i found a little Error in the Userblock.

Problem:
a Guest klicked on Usertitle in top of the Userblock and linked on a Profile-ID 0.
But this ID doesn't exist. I changend the TPortalBlocks.template.php at ~Line 127:

     case 'userbox':
          $mp=$block['title'];
     if ($context['user']['id'])
       {
                 $mp='<a href="'.$scripturl.'?action=profile;u='.$context['user']['id'].'">'.$block['title'].'</a>';
                  }
                $block['title']=$mp;
                break;


I hope you understand me.



Entschuldigt mein einfaches Englisch, aber im Userblock ist ein kleiner Fehler.
Wenn ein Gast auf den Usertitel klickt, wird er auf eine Profile-ID Nr.0 verlinkt.
Aber diese ID gibt es nicht. Die TPortalBlocks.template.php habe ich wie oben
beschrieben verÃÆ'Ã,¤ndert. Ich hoffe, daÃÆ'Ã...¸ ich mich richtig ausdrücken konnte.


germane

bloc

Thanks, germane. :) I will add the fix to the files.

This website is proudly hosted on Crocweb Cloud Website Hosting.