Forum Replies Created

Viewing 6 replies - 1 through 6 (of 6 total)
  • Thread Starter beesmartdesign

    (@beesmartdesign)

    Hi richplugins,

    Ah I had a feeling it was related to the API, I wonder why Google thought to remove it!?Thank you for explaining this as it’s helpful to know.

    I look forward to the new version, and again, thank you for your help!

    Kind regards
    Stephen

    Thread Starter beesmartdesign

    (@beesmartdesign)

    Hi Merv,

    I understand, the client tends to miss off the postcode (UK) from the post title but I was aware of this prior to raising the question – they themselves haven’t raised this with me it’s just something I noticed and thought I’d enquire about. While I do think that they could go through and add the postcodes (like “YO12 1AB”, “YO13 1BC” etc.) to the titles, this may not resolve the query, but it does perhaps confirm that the search is string based only.

    I suppose my question would be perhaps be regarding future functionality or extensions – those more related to radius searches. For example if you are looking for a property on the boundary of YO12 and YO13, there’s a very clear cutoff, searching YO12 would remove potentially nearby properties in YO13. If you check a property search engine like RightMove they geocode and return results based on a radius (sometimes a select field radius chosen by the user), meaning you wouldn’t have a sharp cutoff between postcode boundaries.

    I understand this may require a rewrite or a lot of work so I’m not really expecting anything of you! I wanted to enquire as to whether this may be something you would consider implementing in the future. Again I’d be happy if you released this as premium extension, it would definitely be something I’d purchase for existing and future clients.

    I’m not certain a new WordPress version would have been the source of the issue – though it may be worth rolling back to an older version to test this, perhaps Vebra have changed something within their own system?

    It may be that users with new API login details – like henryscat – are now unable to get authenticated, whereas as other users – such as myself – who have been running the plugin for a while are picking up the error but it’s still functioning with occasional drops in service.

    Unfortunately it’s difficult for me to debug as the only valid API details I have are for a client website and I’m hesitant as they’re a live site and business. My PHP skills are pretty rudimentary so I’m afraid I can’t give any pertinent advice, but you can see where the conditional is occurring if you look at the file:

    Line 31: vebra-properties/includes/vebra_feed.php

    Henryscat, have you tried contacting Vebra support? (propertysoftwaregroup.com). They may be able to at least confirm the source of the problem is the plugin.

    I’ve noticed the same problem, exact some error as davies. I’ve had the plugin running for a while on a website, it’s generally been fine.

    Checked the wp-error log and couldn’t see anything related. All the properties have stopped showing. However I have managed to get the properties showing up again, however oddly, the error is still showing. So I’m not sure if they’ll be updating properly? Or if this will occur again?

    Maybe you can both try what I did in the meantime. Download ‘WP Crontrol’ plugin. This plugin should show 2 cron jobs for the plugin..

    vpscheduledaily
    vpschedulepopulate

    Find these in the cron list and tell them both to ‘Run Now’. Following this I got the properties showing up again. This may not work if you database wasn’t already populated? Please let me know how you get on or if you find a solution.

    I’m now using a rather inelegant method for the time being, I’m unable to fix the issue at source but believe intercepting it in the template files should be enough as a temporary fix. Using the template files (moved into the theme folder), the two files: vb_list.php AND vb_detail.php

    Find:
    <div class="property_tagline">
    <?php echo $property->web_status; ?>
    </div>

    Replace with:
    <div class="property_tagline">
    <?php $prop_type = $property->property_type;
    $prop_postfix = $property->price_postfix;

    if( ($prop_type == 'Commercial' || $prop_type == 'Office' || $prop_type == 'Retail') && strlen(trim($prop_postfix)) > 0){
    echo "To Let";
    } else {
    echo $property->web_status;
    }
    ?>
    </div>

    It relies on the ‘PA’ or ‘pcm’ price postfix field as rentals/lettings seem to use the postfix whereas For Sale properties don’t use them. It seems to work ok for me at the moment.

    Hi Jessica,

    I’ve run into exactly the same problem as you mention above. Commercial properties listing with ‘For Sale’ when their rentals.

    I checked your link and it appears you were able to fix this, would you be able to provide details as to how you were able to resolve this issue?

    Thanks,
    Stephen

Viewing 6 replies - 1 through 6 (of 6 total)