Print Username on anywhere i want? Print Username on anywhere i want?
 

News:

CPG Release 1.6.26
Correct PHP8.2 issues with user and language managers.
Additional fixes for PHP 8.2
Correct PHP8 error with SMF 2.0 bridge.
Correct IPTC supplimental category parsing.
Download and info HERE

Main Menu

Print Username on anywhere i want?

Started by bit bit spears, January 09, 2004, 06:32:10 AM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

bit bit spears

Hi, I want to make this appear: Welcome to our gallery, USERNAME.

How would i go about doing this?

jason

open lang/english.php

find        'logout_lnk' => 'Logout',

add after         'welcome_msg' => 'Welcome to our gallery,',

open themes/*your_theme*/theme.php

find<!-- END logout -->

add after
<!-- BEGIN welcome -->
                                        <td><img name="spacer" src="images/spacer.gif" width="15" height="25" border="0" id="spacer" alt="" /></td>
                                        <td><span class="navmenu">{WELCOME_MSG}</span></td>
<!-- END welcome -->


find        '{LOGOUT_LNK}' => $lang_main_menu['logout_lnk'] . " [" . USER_NAME . "]",

add after        '{WELCOME_MSG}' => $lang_main_menu['welcome_msg'] . " " . USER_NAME . "!",

edit1: you probably want to play with the font properties that i set span class to, i selected one that works ok with rainy_day...ymmv.
jason