1
jwells
Accessing user Info in custom block
  • 2004/10/17 1:51

  • jwells

  • Just popping in

  • Posts: 5

  • Since: 2004/10/17


Greetings,

I have created custom block that for my companies new portal site that allows people to see the current status of various clusters in our network fabric. In addition, registered users have the ability to take a cluster off line. When they do this, I would like to capture the user name they logged in with and record it to the database. I have already figured out how to online or offline the cluster from within the custom block, however, I haven't been able to figure out who the user is that is changing the state of the cluster. So my question is;

Within the custom block, how do I determine the user that is changing the cluster state?

Unfortunately, I am very new to PHP and XOOPS and have no clue what "globals" XOOPS provides to the custom PHP blocks. Any help in this would be very greatly appreciated.

Login

Who's Online

237 user(s) are online (185 user(s) are browsing Support Forums)


Members: 0


Guests: 237


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