Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
[1.8] Imgur Album
#1
With this MyCode you are able to embed Imgur Albums to your Posts. This is youseful for Slideshows und more Pictures with more simplified Posts.

Title: Imgur Album

Short Description: What you want

Regular Expression
Code:
\[imguralbum\](.*?)\[/imguralbum\]

Replacement
Code:
<blockquote class="imgur-embed-pub" lang="en" data-id="$1"><a href="$1">View post on imgur.com</a></blockquote><script async src="//s.imgur.com/min/embed.js" charset="utf-8"></script>


Usage:
First get the link from the Imgur Album like this one: https://imgur.com/a/YS3lo Next insert this into the code.

[imguralbum]a/YS3lo[/imguralbum]

Note:
This does only work for your own Albums. It does not work for Gallery Posts.
Reply
#2
Can we see demo (maybe screenshot or something) of how it works?
MyBB Translator & helper
Please do not PM me requesting free support or help for your forums.
You can see my paid services here.
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)