1
hipoonios
How to display latest registered in my theme?
  • 2008/7/24 13:41

  • hipoonios

  • Friend of XOOPS

  • Posts: 298

  • Since: 2005/9/24


Two questions, I want to display,

1. Total number of registered users in my theme.

2. Latest registered user in my theme.

Anyone know how to do this?
I love Xoops!

2
Dona_Brasil
Re: How to display latest registered in my theme?

Your theme is only for the lay-out.

You need to use a "block" called "New Members".

If you don't know what I am talking about, try to learn more about the difference between themes, templates, blocks and groups. You will need to know this if you work with XOOPS.

3
hipoonios
Re: How to display latest registered in my theme?
  • 2008/7/24 14:32

  • hipoonios

  • Friend of XOOPS

  • Posts: 298

  • Since: 2005/9/24


I know, but i still think this is possible with some php code :)
I love Xoops!

4
Dona_Brasil
Re: How to display latest registered in my theme?

Are you looking for something like this: https://xoops.org/modules/newbb/viewto ... id=287443#forumpost287443 ???

5
hipoonios
Re: How to display latest registered in my theme?
  • 2009/2/6 10:52

  • hipoonios

  • Friend of XOOPS

  • Posts: 298

  • Since: 2005/9/24


No. I just want to show a line with this:

Registered Users: 345
I love Xoops!

6
demian
Re: How to display latest registered in my theme?
  • 2009/2/6 11:56

  • demian

  • Quite a regular

  • Posts: 225

  • Since: 2008/4/29


for total registered members

in theme
<{php}>

$member_handler =& xoops_gethandler('member');
$total $member_handler->getUserCount();
echo 
'Registered Users: ';
echo 
$total;<{/php}>



in custom block
Quote:

try put this php code in custom block ** content type (phpscripts)

$member_handler =& xoops_gethandler('member');
$total $member_handler->getUserCount();
echo 
'Registered Users: ';
echo 
$total;




https://xoops.org/modules/newbb/viewto ... 4&forum=20&post_id=146413


7
badb0iie
Re: How to display latest registered in my theme?
  • 2009/8/13 1:06

  • badb0iie

  • Just popping in

  • Posts: 41

  • Since: 2009/8/1 2


Thanks 4 the help!

Login

Username:
Password:

Lost Password? Register now!

Who's Online

58 user(s) are online (34 user(s) are browsing Support Forums)


Members: 0


Guests: 58


more...

Donat-O-Meter

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

Latest GitHub Commits