Results 1 to 12 of 12
Like Tree2Likes
  • 2 Post By A.Chakery

Valid XHTML Facebook/Twitter buttons Just for vBSEO Users

This is a discussion on Valid XHTML Facebook/Twitter buttons Just for vBSEO Users within the Member Articles forums, part of the Focus on Members category; Hello, Recently I was searching for a Valid XHTML Facebook and Twitter buttons, I have found 2 methods : 1.Mert.C. ...

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

    Valid XHTML Facebook/Twitter buttons Just for vBSEO Users

    Hello,

    Recently I was searching for a Valid XHTML Facebook and Twitter buttons, I have found 2 methods :

    1.Mert.C. Method : Facebook "like" Button for Vbulletin

    2.Using Addthis.com Script + vbseo Virtual HTML Display feature :

    HTML Code:
    <!-- FB Like-Tweet Button - Google+  START -->
    <a class="addthis_button_google_plusone" ></a>
    <!--VBSEO_VIRTUAL_HTML--><a class="addthis_button_facebook_like" style="float:$stylevar[right];" fb:like:layout="button_count"></a><!--/VBSEO_VIRTUAL_HTML-->
    <a class="addthis_button_tweet" style="float:$stylevar[right];"></a>
    <script type="text/javascript" src="http://s7.addthis.com/js/250/addthis_widget.js#username=xa-4d03833d4f0badb3"></script>
    <!--  FB Like-Tweet Button - Google+  END -->
    You can also use style options like style="float:$stylevar[right];" to make it right/center/left aligned.


    Note: The source code of these buttons is made by Addthis.com

    Regards.
    Last edited by A.Chakery; 07-27-2011 at 06:17 PM.

  2. #2
    Junior Member SUPERCAR's Avatar
    Real Name
    Agache Cosmin
    Join Date
    Feb 2011
    Posts
    8
    Liked
    0 times
    First version does not work, are the same errors(for vbulletin 4.1.2).

    And for the second option ... I do not understand where to input/inserted that code?

  3. #3
    Senior Member A.Chakery's Avatar
    Real Name
    Ali Chakery
    Join Date
    Jan 2008
    Posts
    772
    Liked
    54 times
    Quote Originally Posted by SUPERCAR View Post
    First version does not work, are the same errors(for vbulletin 4.1.2).

    And for the second option ... I do not understand where to input/inserted that code?
    Hi,

    For the First Method please try to ask your question in the related topic cuz Mert is the developer of that plugin.

    for the second one , you can put this code where ever you want, for example navbar/forumdisplay/showthread etc.

    Best Regards.

  4. #4
    Junior Member
    Real Name
    Will Robinson
    Join Date
    Jan 2008
    Posts
    5
    Liked
    0 times
    I want to use this, but the problem I have is that it links to the thread rather than the individual post. I already have the facebook and twitter buttons at the top of each thread for that, but ideally I want people to be able to link to individual posts. Is this possible, and if so what changes needs to be made to the code?

    Thanks in advance for any help.

  5. #5
    Senior Member A.Chakery's Avatar
    Real Name
    Ali Chakery
    Join Date
    Jan 2008
    Posts
    772
    Liked
    54 times
    Unfortunately there is no way to do this with the codes provided in the first post, I think you should use some custom codes.

    Please try to ask it at the Off Topic forum.

  6. #6
    Junior Member
    Real Name
    Will Robinson
    Join Date
    Jan 2008
    Posts
    5
    Liked
    0 times
    Thanks for the quick response, I will do that now.

  7. #7
    Senior Member A.Chakery's Avatar
    Real Name
    Ali Chakery
    Join Date
    Jan 2008
    Posts
    772
    Liked
    54 times
    Quote Originally Posted by davetlw99 View Post
    Thanks for the quick response, I will do that now.
    My Pleasure

  8. #8
    Senior Member A.Chakery's Avatar
    Real Name
    Ali Chakery
    Join Date
    Jan 2008
    Posts
    772
    Liked
    54 times
    Edit : Google Plus has been added to the codes.
    Last edited by A.Chakery; 07-27-2011 at 07:00 PM.

  9. #9
    Junior Member
    Real Name
    Art Andrews
    Join Date
    Jun 2010
    Posts
    21
    Liked
    0 times
    I have a question. I am using VBSEO and using its features for multiple pages for a thread so the first page of a thread has no file extension. The second page ends with index2.html and so on through all the page. I have added facebook, twitter, google+, stumbleupon and reddit links to the top of showthread so it shows on every thread page for my public forums.

    Here is the issue. All of the social media like buttons see every page of a thread as if it were a new page to like. Is there anyway to automatically tell those links to aggregate any like from any page of a thread so that one, if anyone likes or submits any page of a thread, it submits to the social media site as the main thread page. Essentially, what I am asking is whether there is a way to strip the last bit from pages so all the pages of a thread look the same to the social media links.

  10. #10
    Senior Member A.Chakery's Avatar
    Real Name
    Ali Chakery
    Join Date
    Jan 2008
    Posts
    772
    Liked
    54 times
    Here is the issue. All of the social media like buttons see every page of a thread as if it were a new page to like. Is there anyway to automatically tell those links to aggregate any like from any page of a thread so that one, if anyone likes or submits any page of a thread, it submits to the social media site as the main thread page. Essentially, what I am asking is whether there is a way to strip the last bit from pages so all the pages of a thread look the same to the social media links.
    Well to be honest I need such thing too much but based on their API its impossible cause there is just two ways to use the like buttons : 1.The current method 2.Like Button for manual URLs which will point to your Homepage and should be set by you at Facebook App Center.


    Regards.

  11. #11
    Junior Member
    Real Name
    Art Andrews
    Join Date
    Jun 2010
    Posts
    21
    Liked
    0 times
    Yeah.. that is what I was afraid would be the case. :(

  12. #12
    Senior Member A.Chakery's Avatar
    Real Name
    Ali Chakery
    Join Date
    Jan 2008
    Posts
    772
    Liked
    54 times
    Quote Originally Posted by Art Andrews View Post
    Yeah.. that is what I was afraid would be the case. :(
    Finally I found a solution for your issue,

    try to use this method : How To create a NON-JS Facebook like button in showthread? (XHTML validated) - vBulletin SEO Forums

Similar Threads

  1. 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
  2. XHTML 1.0 und CSS valid
    By maresi in forum Deutsch
    Replies: 1
    Last Post: 11-08-2005, 08:22 PM
  3. RC5 not valid xhtml
    By Silmarillion in forum Bug Reporting
    Replies: 1
    Last Post: 08-16-2005, 05:08 PM
  4. Valid XHTML
    By TopAs in forum Bug Reporting
    Replies: 1
    Last Post: 07-27-2005, 04:39 PM

Posting Permissions

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