Page 1 of 2 1 2 LastLast
Results 1 to 15 of 26
Like Tree1Likes

FaceBook "Like Button" being killed by VBSEO. Relevant Replacements?

This is a discussion on FaceBook "Like Button" being killed by VBSEO. Relevant Replacements? within the Bug Reporting forums, part of the vBSEO SEO Plugin category; The new "Like Button" functionality in 4.0.4 is not playing nice with VBSEO . I think the problem is in ...

  1. #1
    Member
    Real Name
    understated
    Join Date
    Mar 2010
    Posts
    77
    Liked
    0 times

    FaceBook "Like Button" being killed by VBSEO. Relevant Replacements?

    The new "Like Button" functionality in 4.0.4 is not playing nice with VBSEO. I think the problem is in the way Relevant Replacements are done, that is, the new code is being replaced by the relevant replacements. I think. I was able to edit forumdisplay template and they are now back in the forums (though not right-justified as I would prefer), but the blogs are another story. Not sure why the Like button is not working in blogs--all the correct code is there...and there are no RR's in blogs anyways. (Though there should be--is this a planned feature?)

    VB forums blamed it on VBSEO, so here I am again.

  2. #2
    Member
    Real Name
    understated
    Join Date
    Mar 2010
    Posts
    77
    Liked
    0 times
    Well apparently it is not RR's. According to "Pogo" @ VB Germany:

    To explain why this is a vBSEO problem:

    When you open a blog entry in vBulletin it is done via entry.php so THIS_SCRIPT is set to entry.
    When you open a blog entry in vBulletin with vBSEO it is done via blog.php so THIS_SCRIPT is set to blog.

    vBulletin shows the like button only if THIS_SRIPT is set to entry.

    See includes/functions_facebook.php in function construct_fblikebutton().

  3. #3
    Member
    Real Name
    understated
    Join Date
    Mar 2010
    Posts
    77
    Liked
    0 times
    Anyone know how to fix this?

  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
    Hello,

    We are currently looking into the cause and a possible fix on this.

  5. #5
    Member
    Real Name
    understated
    Join Date
    Mar 2010
    Posts
    77
    Liked
    0 times
    The "publish to FaceBook" functionality is not working either...

  6. #6
    Junior Member
    Real Name
    David Sandusky
    Join Date
    May 2006
    Location
    Denver, CO
    Posts
    11
    Liked
    0 times
    All, FYI,
    I had 351 upgrade a few hours ago and that fixed my like button on blogs. Thanks
    understood et al, prior to upgrade 351, the publish to facebook function on blogs worked for me. Why there is a difference is beyond me, but thought this info might help?

  7. #7
    Junior Member
    Real Name
    Ramis
    Join Date
    Apr 2009
    Posts
    8
    Liked
    0 times
    i have upgraded my vbseo to 3.5.1 yesterday and it still does not work. any suggestion?

    Quote Originally Posted by understated View Post
    To explain why this is a vBSEO problem:

    When you open a blog entry in vBulletin it is done via entry.php so THIS_SCRIPT is set to entry.
    When you open a blog entry in vBulletin with vBSEO it is done via blog.php so THIS_SCRIPT is set to blog.

    vBulletin shows the like button only if THIS_SRIPT is set to entry.

    See includes/functions_facebook.php in function construct_fblikebutton().

    Well apparently it is not RR's. According to "Pogo" @ VB Germany:
    Quote Originally Posted by Your Brand View Post
    All, FYI,
    I had 351 upgrade a few hours ago and that fixed my like button on blogs. Thanks
    understood et al, prior to upgrade 351, the publish to facebook function on blogs worked for me. Why there is a difference is beyond me, but thought this info might help?

  8. #8
    Junior Member
    Real Name
    Anupam Anand
    Join Date
    Sep 2007
    Posts
    28
    Liked
    0 times
    Im also using vbseo 3.5.1 + vb 4.0.4 PL1 , and all the facebook services are hampered... in my case ...

    Im using custom urls for articles and blogs and if I am browsing custom urls of subdomain type urls then...
    If I am connected to forum via facebook login (on the top right) and browse to a custom url like http://articles.dstreetdirect.com, then Im logged out of facebook for those urls .... and if I come back to normal url like http://www.dstreetdirect.com I am be logged in again....

    If I try to login to facebook via any custom url page say http://blogs.dstreetdirect.com and click on facebook button , u will be shown an error

    The Facebook Connect cross-domain receiver URL (http://static.ak.fbcdn.net/connect/x...xRESULTTOKENxx) must have the application's Connect URL (http://www.dstreetdirect.com/) as a prefix. You can configure the Connect URL in the Application Settings Editor.

  9. #9
    Junior Member
    Real Name
    Anupam Anand
    Join Date
    Sep 2007
    Posts
    28
    Liked
    0 times
    Eureka!!!!!!!
    I sorted out (at least my problem of custom urls)... just visit the application settings page on your facebook application , from the left click Connect and set the Base Domain as yoursite.com and u r done... in my case I set it to dstreetdirect.com and I can use facebook login on blog.dstreetdirect.com or any other custom urls....

  10. #10
    Junior Member
    Real Name
    Prox
    Join Date
    Jul 2010
    Posts
    5
    Liked
    0 times
    Any news regarding this? vb4.0.4 PL1 + vbSEO 3.5.1 -> No FB like buttons @ Blogs

  11. #11
    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
    The fix in vBSEO will be released within next vBSEO version but for temporary fix in functions_vbseo_url.php

    Find

    PHP Code:
    if ($vbseo_arr)
    {
    $_vsself = ('blog.' VBSEO_VB_EXT '?b=' $vbseo_arr['blog_id']);

    Replace With
    PHP Code:
    if ($vbseo_arr)
    {
    $_vsself = ('entry.' VBSEO_VB_EXT '?b=' $vbseo_arr['blog_id']);

    Find
    PHP Code:
    if ($vbseo_arr27)
    {
    $_vsself = ('blog.' VBSEO_VB_EXT '?b=' $vbseo_arr27['blog_id'] . '&page=' $vbseo_arr27['page']);

    Replace With
    PHP Code:
    if ($vbseo_arr27)
    {
    $_vsself = ('entry.' VBSEO_VB_EXT '?b=' $vbseo_arr27['blog_id'] . '&page=' $vbseo_arr27['page']);

    Find
    PHP Code:
    if ($vbseo_arr5)
    {
    $_vsself = ('blog.' VBSEO_VB_EXT '?b=' $vbseo_arr5['blog_id'] . '&goto=next');
    }
    else
    if (
    $vbseo_arr6)
    {
    $_vsself = ('blog.' VBSEO_VB_EXT '?b=' $vbseo_arr6['blog_id'] . '&goto=prev');

    Replace With
    PHP Code:
    if ($vbseo_arr5)
    {
    $_vsself = ('entry.' VBSEO_VB_EXT '?b=' $vbseo_arr5['blog_id'] . '&goto=next');
    }
    else
    if (
    $vbseo_arr6)
    {
    $_vsself = ('entry.' VBSEO_VB_EXT '?b=' $vbseo_arr6['blog_id'] . '&goto=prev');

    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

  12. #12
    Senior Member Cor van Noorloos's Avatar
    Real Name
    Cor van Noorloos
    Join Date
    Mar 2008
    Location
    Werkendam, The Netherlands
    Posts
    178
    Liked
    0 times
    Blog Entries
    1
    thanks

  13. #13
    Junior Member
    Real Name
    Prox
    Join Date
    Jul 2010
    Posts
    5
    Liked
    0 times
    Awesome, thanks!

  14. #14
    Member
    Real Name
    understated
    Join Date
    Mar 2010
    Posts
    77
    Liked
    0 times

    Smile

    Works good; thanks Mert!

  15. #15
    Senior Member KURTZ's Avatar
    Real Name
    Christian
    Join Date
    May 2008
    Location
    Italy
    Posts
    287
    Liked
    2 times
    Blog Entries
    6
    yeah, this fixes the trouble with the blogs ... but unfortunately the suite is too much bugged ... :S anyway thanks Mert

Page 1 of 2 1 2 LastLast

Similar Threads

  1. Facebook "like" Button for Vbulletin
    By Salty in forum General Discussion
    Replies: 156
    Last Post: 03-10-2012, 07:40 AM
  2. "Relevant Replacements"
    By maksam in forum General Discussion
    Replies: 6
    Last Post: 10-08-2008, 12:52 AM
  3. Arabic "CUSTOM CHARACTER REPLACEMENTS"
    By KoC in forum General Discussion
    Replies: 1
    Last Post: 05-04-2008, 11:17 AM
  4. Replies: 5
    Last Post: 09-09-2006, 04:11 AM

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
  •