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

News:

CPG Release 1.6.27
change DB IP storage fields to accommodate IPv6 addresses
remove use of E_STRICT (PHP 8.4 deprecated)
update README to reflect new website
align code with new .com CPG website
correct deprecation in captcha

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