Welcome, Guest. Please Login or Register.
April 25, 2024, 02:16:24 PM
Home Help Search Log in Register
News: SMF is the next generation in forum software, almost completely re-written from the ground up, make sure you don't fall for cheap imitations that suffer from feature bloat!

YaBB SE Community  |  German User Help  |  Hilfe bzw. Diskussionen zu Mods  |  gäste dürfen profile anschauen « previous next »
Pages: [1] Reply Ignore Print
Author Topic: gäste dürfen profile anschauen  (Read 6169 times)
proxxyd
Jr. Member
**
Posts: 76


F.E.T

gäste dürfen profile anschauen
« on: January 25, 2004, 06:22:28 PM »
Reply with quote

Problem Beschreibung:
hmm, ich glaube, ich habe beim mods installieren irgendwo fehler gemacht, jedenfalls dürfen gäste jetzt die profile aller user anschauen.
kann mir jemand sagen, was wo geschrieben ist, um gästen dies funktion zu verbieten?

danke
Logged
MC600
YaBB God
*****
Posts: 968


Jetzt habe ich Zähne!

ICQ - 168723559 WWW
Re:gäste dürfen profile anschauen
« Reply #1 on: January 26, 2004, 02:14:02 PM »
Reply with quote

Schau mal in Profile.php unter function ViewProfile ()

da sollte es ungefähr so aussehen:

function ViewProfile ()
{

   global $user, $modify, $userpic_width, $facesurl, $userpic_height, $allowpics, $txt, $color, $cgi, $GodPostNum;
   global $SrPostNum, $FullPostNum, $JrPostNum, $settings, $allow_hide_email, $imagesdir, $yytitle;
   global $username, $password, $pwseed, $action, $cookiepassword, $cookieusername, $db_prefix, $modSettings;

   if ($username == "Guest")
      fatal_error($txt[223]);


Logged

Freundliche Grüße aus Hönow - MC600 - Forum Gegen Krebs
Newsletter Service - Info´s über MOD´s von MC600 - Hier eintragen
proxxyd
Jr. Member
**
Posts: 76


F.E.T

Re:gäste dürfen profile anschauen
« Reply #2 on: January 26, 2004, 02:55:36 PM »
Reply with quote

danke dir,
Quoteif ($username == "Guest")
     fatal_error($txt[223]);
war verschwunden.

gruss
Logged
Pages: [1] Reply Ignore Print 
YaBB SE Community  |  German User Help  |  Hilfe bzw. Diskussionen zu Mods  |  gäste dürfen profile anschauen « previous - next »
 


Powered by MySQL Powered by PHP YaBB SE Community | Powered by YaBB SE
© 2001-2003, YaBB SE Dev Team. All Rights Reserved.
SMF 2.1.4 © 2023, Simple Machines
Valid XHTML 1.0! Valid CSS

Page created in 0.202 seconds with 20 queries.