Welcome to Geeklog, Anonymous Monday, December 23 2024 @ 07:37 am EST

Geeklog Forums

changing welcome message EVEN MORE


Status: offline

dotist

Forum User
Newbie
Registered: 04/04/04
Posts: 13
i know that all the "Welcome to site_name" stuff is in the language files, but how to get it just so still evades me.

so when you log in, the welcome line changes from

Welcome to (site name)

to

Welcome to (site name), (user)

i understand how to change the "welcome to" part, but how can i change what comes after the comma when one logs?

thanks! isaac
dyss.net
 Quote

Status: Banned

machinari

Forum User
Full Member
Registered: 03/22/04
Posts: 1512
Quote by dotist:... but how can i change what comes after the comma when one logs?
that depends on what you want to change it to. you will have to alter some php no matter how you go. start with function COM_siteHeader() in lib-common.php and follow the logic around
Text Formatted Code
    $msg = $LANG01[67] . ' ' . $_CONF['site_name'];

    if( !empty( $_USER['username'] ))
    {
        $msg .= ', ' . $_USER['username'];
    }

 
 Quote

Status: offline

dotist

Forum User
Newbie
Registered: 04/04/04
Posts: 13
bingo! thanks a bunch.

ist
dyss.net
 Quote

All times are EST. The time is now 07:37 am.

  • Normal Topic
  • Sticky Topic
  • Locked Topic
  • New Post
  • Sticky Topic W/ New Post
  • Locked Topic W/ New Post
  •  View Anonymous Posts
  •  Able to post
  •  Filtered HTML Allowed
  •  Censored Content