Support Forums

Full Version: Mybb MyCode - MyThumb
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
Title: MyThumb
Description: Generates a thumbnail for the url specified in the tags.
Regular Expression:
Code:
\[thumb\](.*?)\[/thumb\]

Replacement:
Code:
<a href="$1" target="_blank"><img src="http://www.iwebtool2.com/img/?r=YOURSITESURL&domain=$1"></a>

Change "YOURSITESURL" to your URL (including "http://").

Syntax:
Code:
[thumb]The full URL of the site[/thumb]

Demo: http://betarelease.net/showthread.php?ti...186#pid186
I saw how you tested this, I don't really see the point.
(12-19-2009, 08:17 PM)Kirtaner Wrote: [ -> ]I saw how you tested this, I don't really see the point.

No specific point. I just think it's really cool and will come in handy at some point.
I edited it to also act as a link. Now it can be used as an alternative to the [url] tag.