BuddyDev

Search

[Resolved] rtMedia Activity URL Preview plugin blocked by Community Builder theme?

  • Keymaster
    (BuddyDev Team)
    Posts: 24577
    Brajesh Singh on #36034

    Hi Janet,
    Thank you for the patience.

    Please upgrade to Community Builder Pro 2.1.3. It is compatible with RT Media and RT Media Activity URL Preview addon.

    Please let me know if it works for you or not?

    Regards
    Brajesh

  • Participant
    Level: Enlightened
    Posts: 76
    Janet B on #36043

    Hi Brajesh,

    Thank *you* for sticking with it. I did upgrade the theme.
    Unfortunately, I am not seeing any preview if I paste directly into a new activity window.

    I reverted to the WP 2019 theme temporarily and confirmed that it worked there and then returned to the CB theme but did not see a preview.

    I also tried adding new group activity with the same result.

    This is an example from the JS console – 3 separate errors plus some nonce warnings that I skipped:

    at jquery.min.js?ver=3.5.1:2
    at Xe (jquery.min.js?ver=3.5.1:2)
    at Function.css (jquery.min.js?ver=3.5.1:2)
    at Object.get (jquery.min.js?ver=3.5.1:2)
    at init.cur (jquery.min.js?ver=3.5.1:2)
    at new init (jquery.min.js?ver=3.5.1:2)
    at Function.et [as Tween] (jquery.min.js?ver=3.5.1:2)
    at Object.createTween (jquery.min.js?ver=3.5.1:2)
    at Object.S.Animation.S.extend.tweeners.* (jquery.min.js?ver=3.5.1:2)
    at ct (jquery.min.js?ver=3.5.1:2)
    rtm-url-preview.min.js?ver=2.3.0:5 Uncaught TypeError: Cannot read property ‘indexOf’ of undefined
    at b (rtm-url-preview.min.js?ver=2.3.0:5)
    at HTMLDivElement.<anonymous> (rtm-url-preview.min.js?ver=2.3.0:5)
    at HTMLDivElement.dispatch (jquery.min.js?ver=3.5.1:2)
    at HTMLDivElement.v.handle (jquery.min.js?ver=3.5.1:2)
    rtm-url-preview.min.js?ver=2.3.0:5 Uncaught TypeError: Cannot read property ‘indexOf’ of undefined
    at b (rtm-url-preview.min.js?ver=2.3.0:5)
    at HTMLDivElement.<anonymous> (rtm-url-preview.min.js?ver=2.3.0:5)
    at HTMLDivElement.dispatch (jquery.min.js?ver=3.5.1:2)
    at HTMLDivElement.v.handle (jquery.min.js?ver=3.5.1:2)

    Please advise as to what additional information I can provide that might help.

    Janet

  • Keymaster
    (BuddyDev Team)
    Posts: 24577
    Brajesh Singh on #36044

    Hi Janet,
    I am sorry, I forgot to mention one change needed in teh activity url preview plugin.

    Please open plugins/rtmedia-activity-url-preview/app/assets/js/rtm-url-preview.js

    and on line 131, please change this

    
    urlText = this.value;
    

    to

    
    urlText = $(this).text();//this.value;
    

    Also, delete the rtm-url-preview.min.js file and rename the above file to rtm-url-preview.min.js file.

    That will take care of it.

    Regards
    Brajesh

  • Participant
    Level: Enlightened
    Posts: 76
    Janet B on #36050

    That did the trick 🙂
    I will need to keep track of this as rtMedia evolves but this is great progress.

    We will proceed from here and see how things go.

    Thank you very much!
    I’m really impressed with how well you support your products. It is uncommon and worth every penny of the membership.

    Janet

  • Keymaster
    (BuddyDev Team)
    Posts: 24577
    Brajesh Singh on #36054

    Hi Janet,
    Thank you for the kind words.
    I am glad I was able to assist. All the best with the project 🙂

    Have a great day!

    Regards
    Brajehs

  • Participant
    Level: Enlightened
    Posts: 76
    Janet B on #36163

    Hello,

    Quick question – All the theme customizations made previously were lost in this upgrade. Everything was returned to the default settings.

    I can look at a prior backup and compare every single one, but there are a lot and many changes were made.

    Is it possible to do this upgrade without resetting all the theme settings to defaults?

    Janet

  • Keymaster
    (BuddyDev Team)
    Posts: 24577
    Brajesh Singh on #36164

    Hi Janet,
    Theme upgrade will never reset the customizatons.

    Please make sure you did not click on “Reset settings”.

    Regards
    Brajesh

  • Participant
    Level: Enlightened
    Posts: 76
    Janet B on #36176

    Thank you – I must have reset it somehow the first time. After re-applying the upgrade on the backup it is fine.

    Janet

  • Keymaster
    (BuddyDev Team)
    Posts: 24577
    Brajesh Singh on #36189

    Hi Janet,
    No issues.
    I am glad the site is back to the stable state 🙂

    Regards
    Brajesh

  • Participant
    Level: Enlightened
    Posts: 76
    Janet B on #37332

    Hello,

    I have stepped away from this project for a bit, but was was told (and confirmed) that the URL link preview function has broken again.

    I noticed that the plugin had been updated, so I re-applied the change to the rtm-url-preview.min.js file you had requested as well, but it’s not working.

    No errors being displayed or logged, but no link preview either…

    Suggestions?

    Janet

The topic ‘ [Resolved] rtMedia Activity URL Preview plugin blocked by Community Builder theme?’ is closed to new replies.

This topic is: resolved