Advertisement:

Author Topic: BUG - oc_t_item_stats  (Read 441 times)

Sophia_OS

  • Sr. Member
  • ****
  • Posts: 422
BUG - oc_t_item_stats
« on: April 12, 2019, 12:16:08 am »
Database: oc_t_item_stats
Here, fields are not recorded by item! they are recorded by date!
if you view an item (i_num_views), or spam an item (i_num_spam) or etc, it records that item and put the counts for them. but it doesn't record by item, it records by date! for example if you view an item or spam an item today and tomorrow, it records two fields and so on! so if you have more traffic, it saves a lot of fields here for nothing!
logical is to record one field for each item and put count for each (view, spam, etc)
lets fix this bug!
Thanks
« Last Edit: April 20, 2019, 08:39:18 pm by Sophia_OS »

Sophia_OS

  • Sr. Member
  • ****
  • Posts: 422
Re: BUG - oc_t_item_stats
« Reply #1 on: April 19, 2019, 02:15:12 am »
guys this is very important, please help to solve this!

dev101

  • Osclass Hero
  • Hero Member
  • *
  • Posts: 2171
  • osclass.work
Re: BUG - oc_t_item_stats
« Reply #2 on: April 20, 2019, 01:44:57 am »
This is not a bug, it is designed that way. You are free to propose a different solution and keep compatibility with old system, of course.

Sophia_OS

  • Sr. Member
  • ****
  • Posts: 422
Re: BUG - oc_t_item_stats
« Reply #3 on: April 20, 2019, 02:56:05 am »
@dev101
how can i record one field for each item and put count for each (view, spam, etc) ?
(view, spam, etc) counts per user! NOT per date or something else!
Thank you very much!

Sophia_OS

  • Sr. Member
  • ****
  • Posts: 422
Re: BUG - oc_t_item_stats
« Reply #4 on: April 20, 2019, 08:44:42 pm »
Please give me the line number of code that this exactly happening!

Sophia_OS

  • Sr. Member
  • ****
  • Posts: 422
Re: BUG - oc_t_item_stats
« Reply #5 on: April 24, 2019, 09:17:34 pm »
Can i use hook If i know where this is exactly happening?

Sophia_OS

  • Sr. Member
  • ****
  • Posts: 422
Re: BUG - oc_t_item_stats
« Reply #6 on: May 11, 2019, 12:44:44 pm »
please someone helps thanks

Sophia_OS

  • Sr. Member
  • ****
  • Posts: 422
Re: BUG - oc_t_item_stats
« Reply #7 on: May 17, 2019, 02:07:45 pm »
please one of the expert users helps me to do this! thanks!