Results 1 to 7 of 7

FB & Tweet Buttons Like DigitalPoint Forum

This is a discussion on FB & Tweet Buttons Like DigitalPoint Forum within the Off-Topic & Chit Chat forums, part of the Focus on Members category; I like the FB & Tweet button integrated along with the URLs on Digitalpoint forums. If anyone wants to use ...

  1. #1
    Senior Member
    Real Name
    Kaustubh
    Join Date
    Dec 2007
    Posts
    152
    Liked
    0 times

    Thumbs up FB & Tweet Buttons Like DigitalPoint Forum

    I like the FB & Tweet button integrated along with the URLs on Digitalpoint forums. If anyone wants to use these buttons here's the code you should put -

    Admincp -> Style Manager -> "Edit Templates" -> "Navigation/Breadcrumbs Templates" -> "Navbar Link" ->

    Code:
    <vb:if condition="$show['breadcrumb']">
        <li class="navbit"><a href="{vb:raw nav_url}">{vb:raw nav_title}</a></li>
    <vb:else />
        <li class="navbit lastnavbit"><span>{vb:raw nav_title}</span>
    
    <a href="http://twitter.com/share" class="twitter-share-button" data-count="horizontal" data-via="crazyengineers">Tweet</a><script type="text/javascript" src="http://platform.twitter.com/widgets.js"></script>
    <script src="http://connect.facebook.net/en_US/all.js#xfbml=1"></script><fb:like layout="button_count" show_faces="true" width="450" font="verdana"></fb:like>
    </li>
    </vb:if>
    Make sure you change the "data-via" = "crazyengineers" with your twitter account name.

    Problem I'm facing:

    The tweet and like count displayed is not correct. I don't know why. Looks like many others are facing similar problem.

    Can someone provide a fix?

  2. #2
    Senior Member
    Real Name
    Kaustubh
    Join Date
    Dec 2007
    Posts
    152
    Liked
    0 times
    Looks like something is wrong. I guess there's something called "Register your variables" - and I don't know what it means.

    Can someone please look into this and tell me what am I doing wrong with my facebook and twitter button? Both these buttons don't seem to work.

  3. #3
    Senior Member
    Real Name
    Kaustubh
    Join Date
    Dec 2007
    Posts
    152
    Liked
    0 times
    I really need help with this, experts! I really want to get this working.

    I noticed that if I add the normal like button by taking the code from the Facebook - I can't pass the original thread URL to facebook. So liked button pressed on page 2 of a thread does not reflect on page 3 :(

  4. #4
    vBSEO Staff Brian Cummiskey's Avatar
    Real Name
    Brian Cummiskey
    Join Date
    Jul 2009
    Location
    btwn NYC and Boston
    Posts
    12,789
    Liked
    657 times
    Blog Entries
    2
    Try looking into these tips:
    Facebook "like" Button for Vbulletin

  5. #5
    Senior Member
    Real Name
    Kaustubh
    Join Date
    Dec 2007
    Posts
    152
    Liked
    0 times
    Quote Originally Posted by Brian Cummiskey View Post
    Try looking into these tips:
    Facebook "like" Button for Vbulletin
    To show them in navbar, shall I change 'postbit_legacy' to 'navbar_link' ?

  6. #6
    Senior Member A.Chakery's Avatar
    Real Name
    Ali Chakery
    Join Date
    Jan 2008
    Posts
    772
    Liked
    54 times
    Quote Originally Posted by Kaustubh View Post
    To show them in navbar, shall I change 'postbit_legacy' to 'navbar_link' ?
    I think you should use it in navbar templates.

    regards.

  7. #7
    Senior Member A.Chakery's Avatar
    Real Name
    Ali Chakery
    Join Date
    Jan 2008
    Posts
    772
    Liked
    54 times

Similar Threads

  1. Ad after first post, DigitalPoint forum style - How?
    By Kaustubh in forum Off-Topic & Chit Chat
    Replies: 31
    Last Post: 07-21-2011, 04:26 PM
  2. Social Buttons (Digg, Facebook, Twitter buttons) in vBulletin 4 CMS?
    By profanitytalker in forum Pre-Sales Questions
    Replies: 8
    Last Post: 11-02-2010, 12:39 AM
  3. vBulletin 4.x Tweet Board (not really a bug)
    By alessai in forum Bug Reporting
    Replies: 2
    Last Post: 02-07-2010, 06:13 AM
  4. Buttons on my forum not showing anymore
    By zaghomat in forum Troubleshooting
    Replies: 12
    Last Post: 09-17-2008, 04:24 AM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •