1
Cavan
Welcome message
  • 2005/1/4 23:03

  • Cavan

  • Friend of XOOPS

  • Posts: 218

  • Since: 2004/11/28


I've spent an hour looking for this here but can't find the answer: Where do I change the "welcome" text that is displayed at the top of the page after a user logs in?

example: Welcome admin (to the left of "account", "edit", etc.)

2
smdcom
Re: Welcome message

it's a block. admin menu -> system -> block

3
brash
Re: Welcome message
  • 2005/1/4 23:38

  • brash

  • Friend of XOOPS

  • Posts: 2206

  • Since: 2003/4/10


There are two ways of doing this. You can create a block that is visable only to the registered users group (see XOOPS groups permission settings), or you are only wanting a short text string to say something like;

Become a member of MySite, right now!

to ananoynous users, and;

Welcome, JonDoe

to the user once they are logged in, thenyou'll need to edit you theme.html with something like this;

<{if $xoops_isuser}>
        
Welcome, <a href="<{$xoops_url}>/user.php"><{$xoops_uname}>a
to <{$xoops_sitename}>
<{else}>
        <
a href="<{$xoops_url}>/register.php">Become a memberaof <{$xoops_sitename}>, right now!
<{/if}>

4
Cavan
Re: Welcome message
  • 2005/1/5 2:32

  • Cavan

  • Friend of XOOPS

  • Posts: 218

  • Since: 2004/11/28


brash,

The theme.html was the one place I didn't look for this. Thank you for your help...problem solved.

5
brash
Re: Welcome message
  • 2005/1/5 3:30

  • brash

  • Friend of XOOPS

  • Posts: 2206

  • Since: 2003/4/10


No worries

Login

Who's Online

224 user(s) are online (48 user(s) are browsing Support Forums)


Members: 0


Guests: 224


more...

Donat-O-Meter

Stats
Goal: $100.00
Due Date: Sep 30
Gross Amount: $0.00
Net Balance: $0.00
Left to go: $100.00
Make donations with PayPal!

Latest GitHub Commits