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

News:

cpg1.5.48 Security release - upgrade mandatory!
The Coppermine development team is releasing a security update for Coppermine in order to counter a recently discovered vulnerability. It is important that all users who run version cpg1.5.46 or older update to this latest version as soon as possible.
[more]

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 2 Guests 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