The phone statistic is always
0, zero in User Menu item Listings.
In user-items.php you have query , about line 96
$query = "SELECT
sum(s.i_num_views) as views, sum(s.i_num_premium_views) as premium_views, sum(coalesce(e.i_num_phone_clicks, 0))
as
phone_clicks FROM {$db_prefix}t_item_stats s
LEFT OUTER JOIN
{$db_prefix}t_item_stats_veronika e
ON
(s.fk_i_item_id = e.fk_i_item_id
AND
s.dt_date = e.dt_date)
WHERE
s.fk_i_item_id = " . osc_item_id() . ";";
After clicking on call url the
dt_date is not updated properly in table
_t_item_stats_veronika , see attached print screen , the date is always
0000-00-00. Which is creating problem for
s.dt_date = e.dt_dateI have tried manually add one date, the problem was solved
question 1.Please advise where to amend event in order to update date properly into the table
question 2. Please advise you solution to UPDATE and SET missed dates directly using RAW query in sql.
When you get a time
as temporary solution I am using function
veronika_phone_clicks(osc_item_id());
I am already cooked up today