Advertisement:

Author Topic: Embed Facebook BBCode  (Read 46088 times)

Offline dougiefresh

  • SMF Hero
  • ******
  • Posts: 2,767
  • Mod King
    • XPtsp.com Community
Re: Embed Facebook BBCode
« Reply #160 on: January 11, 2018, 03:41:28 PM »
Its safe to upgrade from version V3.7 by replacing the Subs-BBCode-Facebook.php file in Sources ??
That should be safe to do, since nothing much changed.

Offline dougiefresh

  • SMF Hero
  • ******
  • Posts: 2,767
  • Mod King
    • XPtsp.com Community
Re: Embed Facebook BBCode
« Reply #161 on: March 04, 2018, 09:53:15 PM »
Uploaded v3.9 - March 4th, 2018
o Fixed an issue that prevents BBC manager from showing bbcodes.

Offline dougiefresh

  • SMF Hero
  • ******
  • Posts: 2,767
  • Mod King
    • XPtsp.com Community
Re: Embed Facebook BBCode
« Reply #162 on: May 21, 2018, 10:23:44 PM »
Uploaded v3.10 - April 21st, 2018
o Made a few changes to the HTML header code, as suggested by UMH.
o Moved certain installer code from add_remove_hooks.php to main source file.
o Added package redirect to invoke previously mentioned installer code.



@UMH:  Thank you for the suggestions!  They have been included in this version!

Offline kitz

  • Jr. Member
  • **
  • Posts: 119
    • kitz.co.uk
Re: Embed Facebook BBCode
« Reply #163 on: August 16, 2018, 10:34:20 AM »
Having a problem with this mod.     I've had an older version installed (3.7) which worked fine thanks :)
 
... Until last night when a few people who were using ipads said they could no longer see any trace that there was a video embedded into the post, so I tried to upgrade to the latest version.    I have since I think been on a red herring chase thinking it was something to do Tapatalk, as I had difficulty removing the old version due to a minor file difference in one of the mobique files.

So tapatalk uninstalled, old version of this mod uninstalled.   
Tapatalk reinstalled, Embed FB BBCode 3.10 installed.

Now no-one can see any embedded FB videos and unless I switch on the option to include the url, then it looks like there is an empty post.

I've tried a reinstall but still nothing is working.
The button is there fine and it will add the {facebook} {/facebook} BBcode.  Just no video displayed.

Offline dougiefresh

  • SMF Hero
  • ******
  • Posts: 2,767
  • Mod King
    • XPtsp.com Community
Re: Embed Facebook BBCode
« Reply #164 on: August 16, 2018, 10:49:16 PM »
Interesting bug report.  I'll look into it.....

Offline kitz

  • Jr. Member
  • **
  • Posts: 119
    • kitz.co.uk
Re: Embed Facebook BBCode
« Reply #165 on: August 17, 2018, 12:08:51 PM »
Thank you.   If you need any more info let me know.
I haven't done any updates other than tapatalk for a while. I'm currently running SMF 2.0.15 with the following mods:

Code: [Select]
1. Embed Facebook BBCode 3.10
2. Tapatalk SMF 2.0 Plugin 4.5.2
3. GDPR Helper 1.0.4
4. Stop Spammer 2.3.9a
5. Ohara YouTube Embed 1.2.3
6. httpBL

Whilst at first it was just those with i-pads reporting problems, now no-one can view any videos past or present (even those that previously showed ok).

I don't think its relevant, but one of my users noticed that the FB code causes W3 errors with SMF's xhtml.

Offline kitz

  • Jr. Member
  • **
  • Posts: 119
    • kitz.co.uk
Re: Embed Facebook BBCode
« Reply #166 on: August 17, 2018, 11:04:15 PM »
Just had a quick look at Subs-BBCode-Facebook.php and not sure if this is relevant but  jssdk 2.3 is long since deprecated.  The latest version is 3.1

There also appears to have been a change in the url structure
$tag['content'] = '<div class="fb-video" data-href="https://www.facebook.com/video.php?v=' . $parts[5] . '" data-width="'

Video links are now in the format

<div class="fb-video" data-href="https://www.facebook.com/' . $fb_user . '/videos/' . $part . '/" data-width="500" data-show-text="false">


Apols if I've misunderstood your code or if you checked for that in the reg expression which Ive just noticed above that line.

Offline dougiefresh

  • SMF Hero
  • ******
  • Posts: 2,767
  • Mod King
    • XPtsp.com Community
Re: Embed Facebook BBCode
« Reply #167 on: October 13, 2018, 12:30:00 PM »
Uploaded v3.11 - October 13th, 2018
o No functionality change.
o Updated documentation to point to new website.



@kitz:  I apologize for the late response to your bug report.  I'll look into it!