1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

Pinterest Button

Discussion in 'XenForo Questions and Support' started by Core Freedom, Jul 21, 2012.

  1. Core Freedom

    Core Freedom Well-Known Member

    Does anyone know if and how we can add a pintrest button to our individual posts?
  2. Jake Bunce

    Jake Bunce XenForo Moderator Staff Member

    I am not familiar with pintrest. Are you talking about adding a hyperlink? An image? From/to where? Examples help.
    Core Freedom likes this.
  3. HenrikHansen

    HenrikHansen Well-Known Member


    Thats because you are a man, Jack. Among women, Pinterest is smoking hot. "Add button" og "pin it" as they call it can be seen here http://pinterest.com/about/goodies/
    Core Freedom likes this.
  4. Jake Bunce

    Jake Bunce XenForo Moderator Staff Member

    They give you simple HTML to use. This can be combined with a user field for your pinterest username.

    Create a new user field:

    Admin CP -> Users -> Custom User Fields

    To create the image link you need to specify the HTML:

    General Options: Value Display HTML

    <a href="http://pinterest.com/{$valueUrl}/"><img src="http://passets-ec.pinterest.com/images/about/buttons/small-p-button.png" width="16" height="16" alt="Follow Me on Pinterest" /></a>
    Also, there is this option you need to enable:

    General Options: Viewable in message user info

    In addition, make sure this is enabled in your style:

    Admin CP -> Appearance -> Style Properties -> Message Elements -> Show custom user fields

    Now when a user enters a value into that field it will show the image link in their posts.
    Core Freedom likes this.
  5. HenrikHansen

    HenrikHansen Well-Known Member

    Hi Jake, I guess that is for the follow button for the user, like "Follow me on Facebook". However, the question was for individual post, like "recommend this on Facebook.

    If you type in example URLs in the section "Pin it button for websites" it gives code examples for this.
    Core Freedom and Jake Bunce like this.
  6. HenrikHansen

    HenrikHansen Well-Known Member

    Core Freedom, Jake Bunce and ragtek like this.
  7. HenrikHansen

    HenrikHansen Well-Known Member

    Core Freedom likes this.
  8. Core Freedom

    Core Freedom Well-Known Member

    Thank you for your help! Since Pintrest only does pictures I'm not quite sure where the share button needs to go but I will use your suggestions and report back today. :) Thank you!!

Share This Page