| ||||||||||
![]() |
Shopping cart software Solutions for online shops and malls | |||||||||
![]() |
![]() |
|
#1
|
|||||||
|
|||||||
![]() Hi there,
I need to get the total number of registered users I have in my database out. I also would like to get the total online. How would I do that?? I would appreciate any advice, Chris
__________________
Chris Dildy |
|||||||
#2
|
|||||||||
|
|||||||||
![]() What do you mean by out? I am a little bit confused on what you are trying to do please explain a little better.
__________________
www.kzeinc.com www.ptgoils.com.com 5.4.09 www.earths-oils.com 5.4.09 www.1exoticwear.com.com 5.4.09 |
|||||||||
#3
|
|||||||
|
|||||||
![]() There's already a Users online module you could use. Take a look in skin1/modules/Users_online/
To get the total number of registered customers in your database Code:
P.S. You should put your X-Cart version in your forum signature
__________________
X-Cart 4.0.5 MySQL: 3.23.58 PHP 4.3.2 |
|||||||
#4
|
|||||||||
|
|||||||||
![]() If you want to export customer details you can use quite a few of our x-cart add ons for this type of thing.
http://www.firetanksoftware.com/x-cart-addon-features.html
__________________
Groovico Used by X-carters the world over: Marketing Manager Pro Bundle For X-cart Featured Product Manager for X-cart Feed manager pro for X-cart http://www.firetanksoftware.com Celebrating 7 Years of providing quality X-cart Add ons and X-cart Mods for x-cart 3.X to X-cart 4.4.X |
|||||||||
#5
|
|||||||
|
|||||||
![]() $total_registered_users
Would that be what I put in the template?
__________________
Chris Dildy |
|||||||
#6
|
|||||||
|
|||||||
![]() Quote:
Yes, in the template you would use {$total_registered_users} If you want to display the total on every page, you'll need to include the PHP code from my previous post in a file like auth.php
__________________
X-Cart 4.0.5 MySQL: 3.23.58 PHP 4.3.2 |
|||||||
![]() |
|
Thread Tools | Search this Thread |
|
|
|
|||
X-Cart forums © 2001-2020
|