*

wzzy

  • ***
  • 25 posts
Problems with the new version
« on: February 10, 2017, 11:32:55 PM »
1. I lost all the phone numbers of the listings
2. When i want to show only company listings it tell me that i have 0. IMPOSIBLE
3. I lost all my setings, description etc...
4. I desactived Stick options and the sides bar still are sticky and this affect adsense .
« Last Edit: February 10, 2017, 11:37:20 PM by wzzy »

*

MB Themes

Re: Problems with the new version
« Reply #1 on: February 11, 2017, 12:49:34 AM »
1. they are not lost, just stored on diifferent place
2. Can you find such behaviour on demo as well?
3. Do you mean description of listings? That cannot be related to update, no such function exists.
4. If you check source code, in head there are js variables that contains stick. Do you see them set to 0?
  To get fast support, we need following details: Detail description, URL to reproduce problem, Screenshots

*

wzzy

  • ***
  • 25 posts
Re: Problems with the new version
« Reply #2 on: February 11, 2017, 01:10:21 AM »
I lost the theme settings like description icons etc. The problem is that i dezactivate premium block on home and i still can see it. The phone numbers how can i show them? Now i have again the version 1.1

*

MB Themes

Re: Problems with the new version
« Reply #3 on: February 11, 2017, 04:14:03 PM »
@wzzy
Reason is following:
- we have submitted theme to osclass market and they told we cannot extend original osclass tables (wow, they never told it before)
- therefore we have created own tables for custom values
- icons and colors for categories has been moved from t_category (s_icon, s_color) into table t_category_veronika (s_icon, s_color)
- phone numbers, condition, transaction and sold mark has been moved from t_item into t_item_veronika

To show also numbers stored with old structure, in file:
oc-content/themes/veronika/item.php

Find code:
Code: [Select]
    $mobile = $item_extra['s_phone'];

    if($mobile == '' && osc_item_user_id() <> 0) { $mobile = $item_user['s_phone_mobile']; }     
    if($mobile == '' && osc_item_user_id() <> 0) { $mobile = $item_user['s_phone_land']; }     
    if($mobile == '') { $mobile = __('No phone number', 'veronika'); }   

and replace with:
Code: [Select]
    $mobile = $item_extra['s_phone'];
    if($mobile == '') { $mobile = osc_item_field('s_phone'); }     
    if($mobile == '' && osc_item_user_id() <> 0) { $mobile = $item_user['s_phone_mobile']; }     
    if($mobile == '' && osc_item_user_id() <> 0) { $mobile = $item_user['s_phone_land']; }     
    if($mobile == '') { $mobile = __('No phone number', 'veronika'); }   
  To get fast support, we need following details: Detail description, URL to reproduce problem, Screenshots