Not Solved How to embed tweets?
#1
Not Solved
Hello, how can I embed tweets?


I've tried this;

https://community.mybb.com/thread-228208...pid1381926

However if I do add it like this

   

it shows up all empty

   

So anything I do wrong?
Reply
#2
Not Solved
Your HTML has no closing </p> tag.
MyReactions - All Plugins

Can you still feel the butterflies?

Free never tasted like pudding.
Reply
#3
Not Solved
(2022-12-10, 05:06 PM)Matt Wrote: Your HTML has no closing </p> tag.

<blockquote class="twitter-tweet" data-lang="en"><p lang="en" dir="ltr"><a href="$1"></a></blockquote>
<script async src="//platform.twitter.com/widgets.js" charset="utf-8"></script></p>

<blockquote class="twitter-tweet" data-lang="en"><p lang="en" dir="ltr"></p><a href="$1"></a></blockquote>
<script async src="//platform.twitter.com/widgets.js" charset="utf-8"></script>

<blockquote class="twitter-tweet" data-lang="en"><p lang="en" dir="ltr"><a href="$1"></a></p></blockquote>
<script async src="//platform.twitter.com/widgets.js" charset="utf-8"></script>
Where exactly should I close it?
I tried to close it on 3 spots, but its all the same.
Reply
#4
Not Solved
The last one is correct.

If it’s still not working, try it with other content in the post. Do you have a URL to the page?
MyReactions - All Plugins

Can you still feel the butterflies?

Free never tasted like pudding.
Reply
#5
Not Solved
(2022-12-10, 08:00 PM)Matt Wrote: The last one is correct.

If it’s still not working, try it with other content in the post. Do you have a URL to the page?

Yes still not working. Even if I add some text to it, it stays all empty. 

https://jrocknroll.com/forum/showthread.php?tid=23
Reply
#6
Not Solved
There appears to still be something wrong with the MyCode then. Follow these steps: https://docs.mybb.com/1.8/faq/errors/#pa...ion-failed
MyReactions - All Plugins

Can you still feel the butterflies?

Free never tasted like pudding.
Reply
#7
Not Solved
(2022-12-10, 08:54 PM)Matt Wrote: There appears to still be something wrong with the MyCode then. Follow these steps: https://docs.mybb.com/1.8/faq/errors/#pa...ion-failed


Ah... got it fixed

This should be enabled: 

Miscellaneous Options
Yes, allow HTML in posts
Reply
#8
Not Solved
It’s probably the script tag that’s the issue there then. You don’t really want to enable HTML in posts as now anyone can use any HTML. Try putting the script tag in the footer template instead of the MyCode replacement.
MyReactions - All Plugins

Can you still feel the butterflies?

Free never tasted like pudding.
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)