4images Forum & Community

4images Modifications / Modifikationen => Mods & Plugins (Requests & Discussions) => Topic started by: Vincent on April 21, 2005, 12:33:36 PM

Title: the {code} for - you are logged in as
Post by: Vincent on April 21, 2005, 12:33:36 PM
Hello
2 years ago when i started 4homepages i make a lots of correction and deleted from the html file a lot of code!
now there are couple of things i wan't back but don't knwo the code!

first if somebody is logged in i would like to say - "Wellcome: his name"
i belive it is a code i have to add in the Html site but wihich {code} is it?

sincerly
vincent
Title: Re: the {code} for - you are logged in as
Post by: mawenzi on April 21, 2005, 01:11:49 PM
Hallo Vincent ,

du solltest in /lang/<your_lang>/main.php unter --- Misc --- dazu folgende Codezeile haben :
Code: [Select]
$lang['lang_loggedin_msg'] = Welcome :<br><b>{loggedin_user_name}</b>";

in der /templates/<your_template>/user_logininfo.html kannst du dann verwenden :
Code: [Select]
{lang_loggedin_msg}

mawenzi

Title: Re: the {code} for - you are logged in as
Post by: Vincent on April 21, 2005, 01:32:32 PM
  :D
SUPER Vielen Dank
und wieder einmal genial schnell geholfen!

wo ist aber der Original text? es steht Logged in: Name
ich müsste mir nur ein kleines <BR> einfügen damit es schöner aussieht!

gruss
vincent
Title: Re: the {code} for - you are logged in as
Post by: mawenzi on April 21, 2005, 02:46:11 PM
Originaltext ... ?

in der Original-Version von 4images steht in /lang/deutsch/main.php :
Code: [Select]
$lang['lang_loggedin_msg'] = "Eingeloggt als: <b>{loggedin_user_name}</b>";

aber ist das so wichtig ...  :?:

mawenzi
Title: Re: the {code} for - you are logged in as
Post by: Vincent on April 21, 2005, 02:50:42 PM
wichtig nicht!  :?
aber ich denke schöner!   :wink:

merci
gruss
vincent