1
Methos5k
Showing a User's name
  • 2011/8/12 14:53

  • Methos5k

  • Just popping in

  • Posts: 1

  • Since: 2011/8/12


I've recently started working with xoops, with some friends - a hobby deal.

I've been researching ways to get a custom page to show user names.

So far, I've come across links/posts that have told me that I have to add 'mainfile', 'header', and 'footer' to pages in order for them to be recognized by xoops.

I've also read several posts that try to explain ideas like:

global $xoopsUser;

$name = $xoopsUser->getVar('uname');

Perhaps I've not understood the nature of the posts properly, but I cannot seem to find a way to get xoops to send me the user data.

What I'm attempting:
to be able to post a user's name in a block or custom page linked via xoops.

Any help in this general direction would be greatly appreciated.

Regards

Login

Who's Online

161 user(s) are online (117 user(s) are browsing Support Forums)


Members: 0


Guests: 161


more...

Donat-O-Meter

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

Latest GitHub Commits