Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Mybb MyCode - MyThumb
#1
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
Robert Picard
http://www.rpicard.net
Reply
#2
I saw how you tested this, I don't really see the point.
Reply
#3
(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.
Robert Picard
http://www.rpicard.net
Reply


Possibly Related Threads…
Thread Author Replies Views Last Post
  [TUT] How to make a MyCode [MyBB] Laughynose 10 4,137 07-30-2011, 04:36 PM
Last Post: Kewlz
  How to Make your MYBB Central Plugin Compatible with new Mybb Billy Mays 3 1,894 07-12-2011, 06:40 PM
Last Post: Billy Mays
  Mybb MyCode - Subscript and Superscript RPicard 0 1,052 12-18-2009, 12:28 PM
Last Post: RPicard
  Mybb MyCode - MyRoll RPicard 0 633 12-18-2009, 11:25 AM
Last Post: RPicard

Forum Jump:


Users browsing this thread: 1 Guest(s)