Dylan

Forum Replies Created

Viewing 15 posts - 1 through 15 (of 35 total)
  • Author
    Posts
  • in reply to: 404 error on listing pages #198122

    Dylan
    Expired Member
    Post count: 40

    Hi Paolo,

    First of all, I apologize for taking your time on finding this. We were not aware that another developer had added this code.

    Second, thank you VERY much for your time on this, and your help!

    in reply to: 404 error on listing pages #197961

    Dylan
    Expired Member
    Post count: 40
    This reply has been marked as private.
    in reply to: 404 error on listing pages #197948

    Dylan
    Expired Member
    Post count: 40
    This reply has been marked as private.
    in reply to: 404 error on listing pages #197932

    Dylan
    Expired Member
    Post count: 40
    This reply has been marked as private.
    in reply to: Add Listing without Preview #112525

    Dylan
    Expired Member
    Post count: 40

    Thanks for the info and pointer.

    in reply to: Add Listing without Preview #112518

    Dylan
    Expired Member
    Post count: 40

    Hi Paolo,

    Yes, of course I can hide it with CSS.

    But the most efficient method is to prevent those sections from generating at all, via code.

    I will use CSS though.

    Thanks.

    in reply to: Add Listing without Preview #112496

    Dylan
    Expired Member
    Post count: 40

    Hi Guust,

    Ok, then is it possible to remove the listing content, and the sidebar from the listing preview page (i.e. – only show the preview section with the ‘Go Back and Edit’, ‘Cancel’, and ‘Publish’ buttons?

    I am trying to edit the preview-buttons.php template to remove it, but I have not been successful yet.

    Thanks.

    in reply to: Redirect on Business Owner/Claim Listing #65443

    Dylan
    Expired Member
    Post count: 40

    Hi Stiofan,

    That worked great. Thank you, and have a great new year.

    in reply to: Redirect on Business Owner/Claim Listing #65148

    Dylan
    Expired Member
    Post count: 40

    Hi Stiofan,

    Yes, this was for a custom login page redirect. I have the redirect working fine, except when doing a ‘claim listing’ via the Business Owner link.

    It redirects to my custom login page, but does not carry the /?redirect_to, with the path back to the food truck.

    So for example, the normal URL that is given when claiming a listing (clicking on ?Business Owner), is something like:

    http://mysite.com/gd-login/?redirect_to=http%3A%2F%2Fmysite.com%2Fplace%2Faustin%2Fpizza-2%2Fcool-pizza-place%2F%3Fgd_go%3Dclaim

    When I use this redirect code

    
    
    add_filter('geodir_login_url','change_geodir_login_url',10,3);
    function change_geodir_login_url($login_url,$args,$gd_page_id){
    //change the url to whatever you want.
    $login_url = 'http://mysite.com/my-login-page';
    return $login_url;}

    it does redirect me to http://mysite.com/my-login-page/, but does not append the URL variables for the claimed listing – /?redirect_to=http%3A%2F%2Fmysite.com%2Fplace%2Faustin%2Fpizza-2%2Fcool-pizza-place%2F%3Fgd_go%3Dclaim

    What do i need to do to have the claim listing redirect to my login page, WITH the URL variables for the listing appended?

    Thanks for the help!

    in reply to: Want GeoDirectory Home page not on front page` #63754

    Dylan
    Expired Member
    Post count: 40

    Hi Guust,

    Ha… I forgot I had a geodirectory-home.php file in /geodirectory subdirectory of the theme.

    Works now…

    Thanks for the fast response, and have a good day!

    in reply to: Add random content and HTML to the Add Listing Form #56068

    Dylan
    Expired Member
    Post count: 40

    Hi Guust,

    Adding it to the bottom of the previous text will not work in our case, because the previous is a fieldset, and they are not in the PO file.

    So we would have to modify the add-listing template to add even a single line of text. How would the function target the exact area we would like to add our text? Is it by function priority only, on the hook?

    Thanks!

    in reply to: Add random content and HTML to the Add Listing Form #55620

    Dylan
    Expired Member
    Post count: 40

    Hi Guust,

    The translation file works for small changes. But for instance, if I want to add this:

    <p class="food-cat-desc">Select one or more Food Categories. Have a suggestions for a new category, let us know at Merchants@xxxxx.com</p>

    prior to the Category section of the Add listing form, it cannot be done by translating the “Category” word, because it inserts the HTML within the <label> tag, and not above it. So it does not display correctly, and CSS cannot be used to adjust the position, because the <label> tag contains the new html/text.

    Thanks.

    in reply to: Review Your Listing Preview – 404 error #55386

    Dylan
    Expired Member
    Post count: 40

    Hi Paolo and Guust,

    Prior to creating this forum post, we had already resaved permalinks in both Settings >> Permalinks and GD > Permalinks. It has no effect.

    We also did a page check at GD > Tools, and it shows no issues either.

    We do have redirects set at login, but I do not know how that would have any effect on this situation. The page /listing-preview was created when we first installed the plugin 3 months ago, and we have not changed that at all.

    in reply to: Remove Street Address from Add Listing page #55354

    Dylan
    Expired Member
    Post count: 40

    Yes, I knew hiding with CSS was an option, and have done that.

    Thanks for your help.

    in reply to: Notice : Object of class WP_Post could not be converted to int #54552

    Dylan
    Expired Member
    Post count: 40
    This reply has been marked as private.
Viewing 15 posts - 1 through 15 (of 35 total)