Advertisement:

Author Topic: [Solved] statistics of website  (Read 1093 times)

amir.01

  • Newbie
  • *
  • Posts: 12
[Solved] statistics of website
« on: September 17, 2014, 11:41:32 am »
I want to show a general statistics of website for users
such as :
members : 120
visit the website:445342
visit the website today:2424
advertises:244
today advertises:2
comments : 12
what should I do for this?
« Last Edit: September 17, 2014, 10:06:09 pm by amir.01 »

frosticek

  • Hero Member
  • *****
  • Posts: 3948
Re: statistics of website
« Reply #1 on: September 17, 2014, 12:30:13 pm »
@amir.01
Check helper section: http://doc.osclass.org/Helpers ;)

There are some functions that could help you:
Code: [Select]
osc_total_users() - Gets number of users
osc_total_active_items() - Gets total number of active items
osc_total_items() - Gets total number of all items
osc_total_active_items_today() - Gets total number of active items today
osc_total_items_today() - Gets total number of all items today

amir.01

  • Newbie
  • *
  • Posts: 12
Re: statistics of website
« Reply #2 on: September 17, 2014, 01:23:56 pm »
 :-* :-* :-* tnxxxx

now only need  ;D
visit the website ,,
visit the website today  ,,
comments :  ,,


frosticek

  • Hero Member
  • *****
  • Posts: 3948
Re: statistics of website
« Reply #3 on: September 17, 2014, 05:40:53 pm »
@amir.01
Those values are not recorded by osclass.

amir.01

  • Newbie
  • *
  • Posts: 12
Re: statistics of website
« Reply #4 on: September 17, 2014, 07:52:29 pm »
is there a way to create it? it's really essential

frosticek

  • Hero Member
  • *****
  • Posts: 3948
Re: statistics of website
« Reply #5 on: September 17, 2014, 09:57:09 pm »
@amir.01
Essentially not, best way is to create plugin for this, or use another service for online visitors counter :)