MyBB Community Forums
Add Tenor Gif to your post - Printable Version

+- MyBB Community Forums (https://community.mybb.com)
+-- Forum: Resources (https://community.mybb.com/forum-8.html)
+--- Forum: MyCodes (https://community.mybb.com/forum-117.html)
+--- Thread: Add Tenor Gif to your post (/thread-236139.html)



Add Tenor Gif to your post - numanme - 2022-07-25

Add Tenor Gif to your post 


https://tenor.com/


Regular Expression

\[GIF\](.*?)\[/GIF\]


Replacement

<div class="tenor-gif-embed" data-postid="$1" data-share-method="host" data-aspect-ratio="1" data-width="30%"><a </a></div> <script type="text/javascript" async src="https://tenor.com/embed.js"></script>

In the tenor.com gif link copy the code at the end of the link
https://tenor.com/view/gary-numan-gif-20211507

[GIF]20211507[/GIF]

Toungue