Page 3 of 11 FirstFirst 1 2 3 4 5 6 7 8 9 10 11 LastLast
Results 31 to 45 of 165
Like Tree7Likes

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; I want only button count and want under post near reply button could you guide under which code i have ...

  1. #31
    Member Array
    Real Name
    Junaid
    Join Date
    Dec 2006
    Posts
    34
    Liked
    0 times
    I want only button count and want under post near reply button
    could you guide under which code i have place above code

  2. #32
    vBSEO.com Webmaster Array Mert Gökçeimam's Avatar
    Real Name
    Lizard King
    Join Date
    Oct 2005
    Location
    Istanbul, Turkey, Turkey
    Posts
    23,463
    Liked
    721 times
    Blog Entries
    4
    Why don't you ask those questions to original mod author ? I believe you guys are missing that we are offering support for vBSEO here.
    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

  3. #33
    Member Array
    Real Name
    Junaid
    Join Date
    Dec 2006
    Posts
    34
    Liked
    0 times
    ok thanks

  4. #34
    Senior Member Array
    Real Name
    John
    Join Date
    Dec 2005
    Posts
    786
    Liked
    36 times
    I was just looking into replacing the facebook share button on my thread pages and I was surprised to find that this little button adds quite a bit of extra fluff, including 5 js files, 5 css files, 17 image files! WOW!

    The images are all pretty small, but there's almost 200k in js files!

    FYI, this is the code I was using (on 3.8) with the added little plugin above - the small button, only displayed in the first post. I would highly not recommend putting this in every post
    Code:
    <if condition="THIS_SCRIPT == 'showthread' AND $post[postid] == $GLOBALS['qrfirstpostid']">
    <!-- Facebook Like -->
    <iframe src="http://www.facebook.com/plugins/like.php?href=http://site.com/$facebook_liked_url&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>
    <!-- / Facebook Like -->
    </if>

  5. #35
    Junior Member Array
    Real Name
    z
    Join Date
    Mar 2008
    Posts
    7
    Liked
    0 times
    work perfectly
    but i want to know if still need plugin ?

  6. #36
    Junior Member Array
    Real Name
    Frank
    Join Date
    Apr 2009
    Posts
    5
    Liked
    0 times
    Quote Originally Posted by Brian Cummiskey View Post
    There is not a variable for this to use.
    Surely must be a variable for this, how else do you list threads on the forum display page? All those links go to the first page of the thread.

    It's important that people all like the first page URL rather than each individual page.

  7. #37
    Junior Member Array
    Real Name
    Frank
    Join Date
    Apr 2009
    Posts
    5
    Liked
    0 times
    Quote Originally Posted by MRBarto View Post
    Thanks!

    It's working.. I just would like to know if there is any possibility to use allways [no matter in wich page of the thread I am] the URL of the first page of the Thread.

    I'm using 3.8.4

    Thanks again!
    Yes, use showthread.php?t=$thread[threadid] instead of vBSEO variables. It get's redirected anyway when crawled by Facebook, so the SEO friendly URL actually appears on Facebook despite the fact you provided a non vBSEO URL.

    Code:
    <!-- Facebook Like -->
    <iframe src="http://www.facebook.com/plugins/like.php?href=http://yourforum/showthread.php?t=$thread[threadid]&amp;layout=standard&amp;show_faces=false&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:25px"></iframe>
    <!-- / Facebook Like -->

  8. #38
    Member Array
    Real Name
    Santiago
    Join Date
    Sep 2006
    Location
    Argentina
    Posts
    74
    Liked
    0 times
    Quote Originally Posted by frankw View Post
    Yes, use showthread.php?t=$thread[threadid] instead of vBSEO variables. It get's redirected anyway when crawled by Facebook, so the SEO friendly URL actually appears on Facebook despite the fact you provided a non vBSEO URL.

    Code:
    <!-- Facebook Like -->
    <iframe src="http://www.facebook.com/plugins/like.php?href=http://yourforum/showthread.php?t=$thread[threadid]&amp;layout=standard&amp;show_faces=false&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:25px"></iframe>
    <!-- / Facebook Like -->
    Thanks! I knew it was something as simple as that.. It works great, I think...

  9. #39
    Member Array
    Real Name
    Pepe
    Join Date
    May 2006
    Posts
    36
    Liked
    0 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)); 
    Hey Mert:

    Wich is the code for a 3.8.x installation?
    Thanks!

  10. #40
    vBSEO Staff Array Brian Cummiskey's Avatar
    Real Name
    Brian Cummiskey
    Join Date
    Jul 2009
    Location
    btwn NYC and Boston
    Posts
    12,789
    Liked
    675 times
    Blog Entries
    2
    see the 2nd page of this thread:
    Facebook "like" Button for Vbulletin
    Brian Cummiskey / Crawlability Inc.
    Security bulletin - Patch Level for all supported versions released

    Unveiling the NEW vBSEO Sitemap Generator 3.0. - available NOW for vBSEO Customers!


  11. #41
    Member Array
    Real Name
    Pepe
    Join Date
    May 2006
    Posts
    36
    Liked
    0 times
    Quote Originally Posted by Mert Gökçeimam View Post
    The code i supplied is for vBulletin 4

    For vBulletin 3.8.x you can try the following ( not tested )


    Code:
    <!-- Facebook Like -->
    <iframe src="http://www.facebook.com/plugins/like.php?href=http://www.vbseo.com/$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']; 
    Hey Mert,
    Works fine on 3.8 threads.
    I wanted to add this to 3.8 Blogs, but it isn't working.. added the same plugin to blog_entry_display_start but the URL isn't parsing..

    Can you help me?

    Thanks

  12. #42
    vBSEO.com Webmaster Array Mert Gökçeimam's Avatar
    Real Name
    Lizard King
    Join Date
    Oct 2005
    Location
    Istanbul, Turkey, Turkey
    Posts
    23,463
    Liked
    721 times
    Blog Entries
    4
    In order to get this working in blogs , you can change plugin location to global_start
    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. #43
    Member Array
    Real Name
    Pepe
    Join Date
    May 2006
    Posts
    36
    Liked
    0 times
    Hey Mert:

    I use a custom portal for VB wich pulls the last 10 blogs.

    My code for the blog title bit is:
    Code:
    <a href="$vboptions[bburl]/blog.php?b=$blog[blogid]">$blog[title]</a>
    wich is automatically replaced by a VBSEO friendly URL.

    Example:
    Code:
    http://www.universitarios.cl/universidades/blogs/universitarios-blog/287-el-gobierno-y-sus-soluciones-que-no-solucionan.html
    But my "I LIKE" button, wich is just under this linked blog title, it is becoming
    Code:
    http://www.universitarios.cl/universidades/blog.php?b=287
    How can "I LIKE" button has the SEO friendly URL as my link does?

    Thank you in Advance!!!

    Rodrigo, edenx

  14. #44
    Member Array
    Real Name
    Pepe
    Join Date
    May 2006
    Posts
    36
    Liked
    0 times
    Please help me with this!

  15. #45
    vBSEO.com Webmaster Array Mert Gökçeimam's Avatar
    Real Name
    Lizard King
    Join Date
    Oct 2005
    Location
    Istanbul, Turkey, Turkey
    Posts
    23,463
    Liked
    721 times
    Blog Entries
    4
    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

Page 3 of 11 FirstFirst 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
  •