Dave

Forum Replies Created

Viewing 15 posts - 151 through 165 (of 187 total)
  • Author
    Posts
  • in reply to: Places showing from other location #509996

    Dave
    Full Member
    Post count: 205
    This reply has been marked as private.
    in reply to: Places showing from other location #509985

    Dave
    Full Member
    Post count: 205

    I understand. The core plugin is currently up to date (20.0.0.67) but most of the addons are not latest versions and there’s no option to update.

    Do you know why the option to click ‘update’ disappears when I go into my plugins list?

    Thanks,
    Dave

    in reply to: Places showing from other location #509934

    Dave
    Full Member
    Post count: 205

    Ok, I think I’ve worked it out actually. Does WP Easy Updates just keep all the GD plugins up to date automatically?

    in reply to: Places showing from other location #509876

    Dave
    Full Member
    Post count: 205

    Hi Alex,

    Thank you. Over been meaning to ask actually…

    I get notified from my server that there are updates available. When I first login to my WP admin, there’s a notification on my plugins to say there are updates available too but when I go to the plugins page to update them, the option to update them disappears. Would you know anything about what might be causing that?

    Thanks
    Dave

    in reply to: Remember Location Cookie #508918

    Dave
    Full Member
    Post count: 205

    Hi Kiran, thanks very much for that. This is what we’ve written so far…

    function gd_snippet_190913_set_current_location( $location ) {
            if ( ! empty( $location->type ) && geodir_is_page( "location" ) ) {
                    setcookie("last_location",base64_encode(serialize($location)));
            }
            return $location;
    }
    add_filter( "geodir_set_current_location", "gd_snippet_190913_set_current_location", 10, 1 );

    How would we get the value that we’ve written into the cookie, into the user session? For example:

    add_action( 'init', 'process_post' );
    
    function process_post() {
    
         if( isset($_COOKIE['last_location']) ) {
    
              $_SESSION[‘YOUR_KEY_HERE’] = unserialize(base64_decode($_COOKIE[‘last_location’]));
    
         }
    
    }
    

    What is the session key that we need please?

    Thanks,
    Dave

    in reply to: Remember Location Cookie #507865

    Dave
    Full Member
    Post count: 205

    Ok thank you.

    in reply to: Remember Location Cookie #507834

    Dave
    Full Member
    Post count: 205

    Thanks Alex.

    The reason I asked about cookies was because of this previous forum thread where one of your team advised to create a cookie…
    https://wpgeodirectory.com/support/topic/remember-location/

    The other admin said it was a few lines of code, but writing javascript which automatically gets the localStorage then sends it to the server for a redirect is far more than that.

    In your FAQ’s, you say that there are many hooks and filters and just to ask you for the right ones for what we’re trying to customise:
    https://wpgeodirectory.com/docs-v2/faq/customizing/#hooks-filters

    Are you able to provide the hooks please?

    Thanks,
    Dave

    in reply to: Group recurring events into single item #507137

    Dave
    Full Member
    Post count: 205

    Hi Martin,

    When you add a widget of GD Lisings, open the advance settings toggle (blue button with controls icon). There should be a check box that says “group recurring into single event”.

    As you can see above, the snippet from Kiran will do this also for Archive / Category pages.

    Best of luck!
    Dave

    in reply to: Remove label from Output Location #506791

    Dave
    Full Member
    Post count: 205

    Thanks Alex, that’s done the job.

    in reply to: Remove label from Output Location #506747

    Dave
    Full Member
    Post count: 205

    Hi Alex,

    I’ve tried manually adding it into the Archive Item template already using the shortcode builder. I’ve tried post_meta and post_badge but both just output the full listing item within that one, rather than just the title and icon.

    Any other suggestions?

    Thanks,
    Dave

    in reply to: Group recurring events into single item #506399

    Dave
    Full Member
    Post count: 205

    Thanks Kiran, that’s working great!

    Dave

    in reply to: Link Posts: Places – Not working #506372

    Dave
    Full Member
    Post count: 205

    Hi Kiran,

    Thanks for the reply but I was told back in July it would only be a few weeks away. It’s now September and you no longer have a timescale for it?

    To me this is a feature that would be there anyway otherwise why would you link to a business in the first place? It’s essential for my business and I would really like to know when it’s going to be completed.

    Thanks,
    Dave

    in reply to: Group recurring events into single item #506369

    Dave
    Full Member
    Post count: 205
    This reply has been marked as private.
    in reply to: Recurring Event Indicator #506320

    Dave
    Full Member
    Post count: 205

    Ok thanks will do

    in reply to: Link Posts: Places – Not working #506252

    Dave
    Full Member
    Post count: 205
    This reply has been marked as private.
Viewing 15 posts - 151 through 165 (of 187 total)
20% Discount Offer
Hurry! Get your 20% discount before it expires. Get 20% Discount