Russell

Forum Replies Created

Viewing 15 posts - 1 through 15 (of 23 total)
  • Author
    Posts

  • Russell
    Expired Member
    Post count: 30

    Hi Paolo any update on this task?


    Russell
    Expired Member
    Post count: 30
    This reply has been marked as private.

    Russell
    Expired Member
    Post count: 30

    Also on that page is where i am having problems with marker clusters not working. If you are able to have a quick look that would be awesome mate.


    Russell
    Expired Member
    Post count: 30
    This reply has been marked as private.
    in reply to: Formatting address in listing details #40376

    Russell
    Expired Member
    Post count: 30

    Perfect Paolo, that did the trick, I had not put in the individual itemprop elements.

    in reply to: Compatible Plugins #39467

    Russell
    Expired Member
    Post count: 30

    Anyone used a voting plugin?
    I am looking for the ability to have a competition directory of specific businesses with the ability for people to vote so that I can sort by number of votes. Kinda like a leaderboard.

    in reply to: How can I add Facebook SDK after #35779

    Russell
    Expired Member
    Post count: 30

    Perfect that works, thanks Paolo

    in reply to: How can I add Facebook SDK after #35776

    Russell
    Expired Member
    Post count: 30

    I get
    Parse error: syntax error, unexpected T_STRING, expecting ‘,’ or ‘;’ in /home/media/public_html/pmg2015/wp-content/themes/GDF_child/functions.php on line 24

    I tried using a different function name (and the code snippet you posted) and got the same error.

    in reply to: How can I add Facebook SDK after #35774

    Russell
    Expired Member
    Post count: 30

    Ok I am not 100% sure but I had a go using the following add action to my functions.php but get a syntax error in the first line.

    So here is the code snippet you mentioned on that post, would you be able to show me an example of how I would include the facebook sdk into it?

    
    
    add_action( 'geodir_details_main_content', 'facebook_sdk',35);
    
    function facebook_sdk(){echo 'hello world!';}

    Facebook Script

    
    
    <div id="fb-root"></div>
    <script>(function(d, s, id) {
      var js, fjs = d.getElementsByTagName(s)[0];
      if (d.getElementById(id)) return;
      js = d.createElement(s); js.id = id;
      js.src = "//connect.facebook.net/en_GB/sdk.js#xfbml=1&appId=1378194292506778&version=v2.3";
      fjs.parentNode.insertBefore(js, fjs);
    }(document, 'script', 'facebook-jssdk'));</script>
    in reply to: Merging two Custom Post Type Tables #31583

    Russell
    Expired Member
    Post count: 30

    Interestingly enough I exported the obsolete cpt table from phpmyadmin as csv and made some edits to the rows using find and replace in open office. I also exported the default cpt and copied the data from the obsolete table to the default table to ensure all rows matched. I then imported it into the default cpt table back in phpmyadmin as csv. Did the same with the posts table and it seems to have imported ok with no errors.

    For anyone trying this then obviously do it on a backup copy of my database and site.

    in reply to: Problem with Map not loading any locations #30947

    Russell
    Expired Member
    Post count: 30

    Thanks Simone, that resolved it.

    in reply to: Problem with Map not loading any locations #30454

    Russell
    Expired Member
    Post count: 30
    This reply has been marked as private.
    in reply to: Remove left margin on selected side bar element in details page #23064

    Russell
    Expired Member
    Post count: 30
    This reply has been marked as private.
    in reply to: HTML in Frontend Description #23048

    Russell
    Expired Member
    Post count: 30

    I think that there needs to be some way to add a little customisation to what is effectively a destination home page. The description box is the obvious place so why not change it so that it doesn’t strip out html code? I put a

    <li>

    with links in it and it worked fine yet obviously code for an image does not.

    Being that the nature of this field is text only anyway then, like a text widget, it shouldn’t make any difference to current usage of text descriptions but would add functionality by parsing html.

    in reply to: GD Front End Social Importer 0.0.1 (BETA) #23046

    Russell
    Expired Member
    Post count: 30

    Quick question, can the Facebook import be restricted to import events only and not business listings?

Viewing 15 posts - 1 through 15 (of 23 total)
20% Discount Offer
Hurry! Get your 20% discount before it expires. Get 20% Discount