1
Elektron
How can i...
  • 2005/11/4 2:05

  • Elektron

  • Just popping in

  • Posts: 5

  • Since: 2005/11/4


I use this code to get the active user..

global $xoopsUser;
$exp = $xoopsUser->getVar('uname');

how can i get the XOOPS_URL ?

Thk.

2
JMorris
Re: How can i...
  • 2005/11/4 4:51

  • JMorris

  • XOOPS is my life!

  • Posts: 2722

  • Since: 2004/4/11


First, Welcome to XOOPS!

Here's how I did it in the XOOPSInfo module...

global $xoopsDB$xoopsConfig$xoopsModule;
include(
"admin_header.php");
xoops_cp_header();
<!--
snipped-->
echo (
'<b><u>Website URL:</u></b><br />');
echo 
XOOPS_URL;


Hope this helps.

James
Insanity can be defined as "doing the same thing over and over and expecting different results."

Stupidity is not a crime. Therefore, you are free to go.

3
Elektron
Re: How can i...
  • 2005/11/4 6:11

  • Elektron

  • Just popping in

  • Posts: 5

  • Since: 2005/11/4


It's Work.. Thk!

Login

Who's Online

114 user(s) are online (61 user(s) are browsing Support Forums)


Members: 0


Guests: 114


more...

Donat-O-Meter

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

Latest GitHub Commits