1
dalex2006
Aqua Theme Help
  • 2006/9/18 15:30

  • dalex2006

  • Just popping in

  • Posts: 46

  • Since: 2006/9/16


Hi, I need help on the Aqua Theme, I need to know hjow to edit the themee so when you log in it says Welcome "user name" to My Site. All help would be great. Thanks

2
RachelVirago
Re: Aqua Theme Help

You can place following code in a custom block

Quote:
global $xoopsUser;
if ($xoopsUser) {
//User is logged in, display welcome message
$uname = $xoopsUser->getVar('uname');
echo("$uname Thank you for visiting tvuk.org The Trangender Website that 'Dares To Be Different'.
");
} else {
return false;
}


Then display on top logged in page only.

Same code could be placed in theme if reqd.
Being transgender is NOT a choice.

3
RachelVirago
Re: Aqua Theme Help

You can place following code in a custom block

Quote:
global $xoopsUser;
if ($xoopsUser) {
//User is logged in, display welcome message
$uname = $xoopsUser->getVar('uname');
echo("$uname Thank you for visiting YOUR XOOPS SITEt'.
");
} else {
return false;
}


Then display on top logged in page only.

Same code could be placed in theme if reqd I guess.
Being transgender is NOT a choice.

4
RachelVirago
Re: Aqua Theme Help

You can place following code in a custom block

Quote:
global $xoopsUser;
if ($xoopsUser) {
//User is logged in, display welcome message
$uname = $xoopsUser->getVar('uname');
echo("$uname Thank you for visiting tvuk.org The Trangender Website that 'Dares To Be Different'.
");
} else {
return false;
}


Then display on top logged in page only.

Same code could be placed in theme if reqd I guess.
Being transgender is NOT a choice.

5
RachelVirago
Re: Aqua Theme Help

You can place following code in a custom block

Quote:
global $xoopsUser;
if ($xoopsUser) {
//User is logged in, display welcome message
$uname = $xoopsUser->getVar('uname');
echo("$uname Thank you for visiting YOUR XOOPS SITE'.
");
} else {
return false;
}


Then display on top logged in page only.

Same code could be placed in theme if reqd I guess.
Being transgender is NOT a choice.

6
RachelVirago
Re: Aqua Theme Help

This is WIERD!

Was looking through threads I have posted on recently and noticed that my above post is QUADRUPLE!??

I'm sure there was just the one post when I last looked? and I had no problems (time outs etc) when I posted?

My mail client also downloaded multiple notifications of other posts yesterday, dont know if this is connected?
Being transgender is NOT a choice.

Login

Who's Online

434 user(s) are online (322 user(s) are browsing Support Forums)


Members: 0


Guests: 434


more...

Donat-O-Meter

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

Latest GitHub Commits