Page 1 of 11 1 2 3 4 5 6 7 8 9 10 11 LastLast
Results 1 to 15 of 157
Like Tree4Likes

Facebook "like" Button for Vbulletin

This is a discussion on Facebook "like" Button for Vbulletin within the General Discussion forums, part of the vBSEO SEO Plugin category; This is the code for each individual post in the postbit_legacy template. Code: <iframe src="http://www.facebook.com/plugins/like.php?href=http://(domain)$_SERVER[VBSEO_URI]?p=$post[postid]&amp;layout=button_count&amp;show_faces=true&amp;width=&amp;action=like&amp;colorscheme=light" scrolling="no" frameborder="0" allowTransparency="true" style="border:none; overflow:hidden; ...

  1. #1
    Junior Member
    Real Name
    Dan
    Join Date
    Apr 2010
    Posts
    5
    Liked
    0 times

    Facebook "like" Button for Vbulletin

    This is the code for each individual post in the postbit_legacy template.

    Code:
    <iframe src="http://www.facebook.com/plugins/like.php?href=http://(domain)$_SERVER[VBSEO_URI]?p=$post[postid]&amp;layout=button_count&amp;show_faces=true&amp;width=&amp;action=like&amp;colorscheme=light" 
     scrolling="no" frameborder="0" allowTransparency="true" style="border:none; overflow:hidden; width:100px; height:20px"></iframe>
    URL that gets tossed to facebook looks like this:

    Code:
    http://www.(domain)/forums/(forum title)/(threadid)-(thread title)-.html?p(ostid)=611602
    The only thing I am having issues with, is the url text being the site name instead of what I want it to be, which is the Thread Name.



    I have tried this on another forum that doesn't have vbSEO installed using the code below, and the URLs show up as the thread name. So this looks like an issue surrounding VBSEO. Any help would be much appreciated.

    Code:
    <iframe src="http://www.facebook.com/plugins/like.php?href=http://(domain)/showthread.php$session[sessionurl]?p=$post[postid]&amp;layout=button_count&amp;show_faces=true&amp;width=&amp;action=like&amp;colorscheme=light" 
     scrolling="no" frameborder="0" allowTransparency="true" style="border:none; overflow:hidden; width:100px; height:20px"></iframe>
    Last edited by Salty; 04-22-2010 at 07:35 PM.

  2. #2
    Junior Member
    Real Name
    Brian
    Join Date
    Dec 2006
    Location
    Singapore, New Zealand, United Kingdom
    Posts
    17
    Liked
    0 times
    Should you have at least ask this question over at the official vBulletin forum ? And from what I can see that you're not a valid vBSeo customer. I suspect youre not a licensed vB customer either.

  3. #3
    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
    if you have a valid license, please open a ticket with your license details. Otherwise, as above, we do not support non-vbseo customers.

  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
    Reopened ... OP is member RequiemTCE

  5. #5
    Junior Member
    Real Name
    Requiemtce
    Join Date
    Mar 2006
    Posts
    11
    Liked
    0 times
    Still having the same problem, Vbseo is apparently making the thread titles not show up over the forum title. Forum without VBseo is doing the thread title just fine.

    Halp please~

  6. #6
    Member
    Real Name
    Melissa
    Join Date
    Jul 2008
    Location
    In Front of the Puter Screen
    Posts
    74
    Liked
    0 times
    same issue here as well.

  7. #7
    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
    I spent about an hour playing with this on my test baord and also had the same results... getting the board title only, not the thread.

    I'm looking into using the advaced API using the FBML tags.

  8. #8
    Senior Member
    Real Name
    Sushubh
    Join Date
    Apr 2007
    Posts
    250
    Liked
    62 times
    looking for a solution to this myself.

  9. #9
    Junior Member
    Real Name
    Requiemtce
    Join Date
    Mar 2006
    Posts
    11
    Liked
    0 times
    Quote Originally Posted by Brian Cummiskey View Post

    I'm looking into using the advaced API using the FBML tags.
    Thanks for looking into it, make sure the post you click "like" on is public not private.

  10. #10
    vBSEO.com Webmaster Mert Gökçeimam's Avatar
    Real Name
    Lizard King
    Join Date
    Oct 2005
    Location
    Istanbul, Turkey, Turkey
    Posts
    23,100
    Liked
    622 times
    Blog Entries
    4
    Can you please try
    Code:
    <iframe src="http://www.facebook.com/plugins/like.php?href=http://www.domain.com/$_SERVER['VBSEO_URI']&amp;layout=button_count&amp;show_faces=true&amp;width=&amp;action=like&amp;colorscheme=light" 
     scrolling="no" frameborder="0" allowTransparency="true" style="border:none; overflow:hidden; width:100px; height:20px"></iframe>
    Please don't forget to replace domain.com with your actual defined forum url.
    Mert Gökçeimam / Crawlability Inc.

    vBSEO 3.6.0 Alpha Önizlemesi - Including Like Tree
    Unveiling the NEW vBSEO Sitemap Generator 3.0 - available NOW for vBSEO Customers!


    Twitter:@Depkac
    Personal Blog : Mert Gökçeimam

  11. #11
    Member
    Real Name
    Angel
    Join Date
    Sep 2009
    Posts
    96
    Liked
    8 times
    Quote Originally Posted by Mert Gökçeimam View Post
    Can you please try
    Code:
    <iframe src="http://www.facebook.com/plugins/like.php?href=http://www.domain.com/$_SERVER['VBSEO_URI']&amp;layout=button_count&amp;show_faces=true&amp;width=&amp;action=like&amp;colorscheme=light" 
     scrolling="no" frameborder="0" allowTransparency="true" style="border:none; overflow:hidden; width:100px; height:20px"></iframe>
    Please don't forget to replace domain.com with your actual defined forum url.
    got this error
    The page at http://forum.smartphonejunkie.com/$_SERVER%5B'VBSEO_URI'%5D could not be reached.

  12. #12
    vBSEO.com Webmaster Mert Gökçeimam's Avatar
    Real Name
    Lizard King
    Join Date
    Oct 2005
    Location
    Istanbul, Turkey, Turkey
    Posts
    23,100
    Liked
    622 times
    Blog Entries
    4
    Is there any modification you are using with this or are you guys just directly trying to add the html code ? If there is a modification link , can you please supply me so i can investigate further.
    Mert Gökçeimam / Crawlability Inc.

    vBSEO 3.6.0 Alpha Önizlemesi - Including Like Tree
    Unveiling the NEW vBSEO Sitemap Generator 3.0 - available NOW for vBSEO Customers!


    Twitter:@Depkac
    Personal Blog : Mert Gökçeimam

  13. #13
    Member
    Real Name
    Angel
    Join Date
    Sep 2009
    Posts
    96
    Liked
    8 times
    Quote Originally Posted by Mert Gökçeimam View Post
    Is there any modification you are using with this or are you guys just directly trying to add the html code ? If there is a modification link , can you please supply me so i can investigate further.
    no its from this mod Add New Facebook "Like" button to your threads - vBulletin.org Forum no other installation thanks for looking out for us

  14. #14
    vBSEO.com Webmaster Mert Gökçeimam's Avatar
    Real Name
    Lizard King
    Join Date
    Oct 2005
    Location
    Istanbul, Turkey, Turkey
    Posts
    23,100
    Liked
    622 times
    Blog Entries
    4
    Please add the following to your postbit or postbit_legacy template and make sure you replaced vbseo.com with your actual forum url

    Code:
    <!-- Facebook Like -->
    <iframe src="http://www.facebook.com/plugins/like.php?href=http://www.vbseo.com/{vb:raw facebook_liked_url}&amp;layout=standard&amp;show_faces=true&amp;width=450&amp;action=like&amp;font=tahoma&amp;colorscheme=light" scrolling="no" frameborder="0" allowTransparency="true" style="border:none; overflow:hidden; width:450px; height:75px"></iframe>
    <!-- / Facebook Like -->
    Create a new plugin with the following content using

    Product : vBulletin
    Title : Facebook Liked vBSEO Integration
    Hook Location : postbit_display_start
    Execution order : 1

    PHP Code:
    $facebook_liked_url $_SERVER['VBSEO_URI'];
    vB_Template::preRegister('postbit',array('facebook_liked_url' => $facebook_liked_url));
    vB_Template::preRegister('postbit_legacy',array('facebook_liked_url' => $facebook_liked_url)); 
    hhumas likes this.
    Mert Gökçeimam / Crawlability Inc.

    vBSEO 3.6.0 Alpha Önizlemesi - Including Like Tree
    Unveiling the NEW vBSEO Sitemap Generator 3.0 - available NOW for vBSEO Customers!


    Twitter:@Depkac
    Personal Blog : Mert Gökçeimam

  15. #15
    Member
    Real Name
    Angel
    Join Date
    Sep 2009
    Posts
    96
    Liked
    8 times
    Quote Originally Posted by Mert Gökçeimam View Post
    Please add the following to your postbit or postbit_legacy template and make sure you replaced vbseo.com with your actual forum url

    Code:
    <!-- Facebook Like -->
    <iframe src="http://www.facebook.com/plugins/like.php?href=http://www.vbseo.com/{vb:raw facebook_liked_url}&amp;layout=standard&amp;show_faces=true&amp;width=450&amp;action=like&amp;font=tahoma&amp;colorscheme=light" scrolling="no" frameborder="0" allowTransparency="true" style="border:none; overflow:hidden; width:450px; height:75px"></iframe>
    <!-- / Facebook Like -->
    Create a new plugin with the following content using

    Product : vBulletin
    Title : Facebook Liked vBSEO Integration
    Hook Location : postbit_display_start
    Execution order : 1

    PHP Code:
    $facebook_liked_url $_SERVER['VBSEO_URI'];
    vB_Template::preRegister('postbit',array('facebook_liked_url' => $facebook_liked_url));
    vB_Template::preRegister('postbit_legacy',array('facebook_liked_url' => $facebook_liked_url)); 
    man, i love you "no homo" lol it works thanks for your time merts ,I'm sure everyone will appreciate this.

Page 1 of 11 1 2 3 4 5 6 7 8 9 10 11 LastLast

Similar Threads

  1. how can facebook like button to the left?
    By mediapac in forum General Discussion
    Replies: 3
    Last Post: 08-05-2011, 11:20 AM
  2. Facebook Like button removed with RR on?
    By insidedesign in forum Relevant Replacements
    Replies: 5
    Last Post: 10-06-2010, 08:07 PM
  3. vBulletin 4.x Facebook Like button vanishes
    By Neal in forum Troubleshooting
    Replies: 1
    Last Post: 09-23-2010, 01:02 AM
  4. Facebook-Button SHOWTHREAD
    By Cybeth in forum Deutsch
    Replies: 1
    Last Post: 08-14-2010, 01:19 PM
  5. Facebook Like Button
    By hcmagix in forum Deutsch
    Replies: 1
    Last Post: 05-18-2010, 12:26 PM

Tags for this Thread

Posting Permissions

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