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
  How To Install MyBB | MyBB Installation Guide BreShiE 2 1,406 03-10-2012, 06:33 AM
Last Post: BreShiE
  [TUT] How to make a MyCode [MyBB] Laughynose 10 4,711 07-30-2011, 04:36 PM
Last Post: Kewlz
  MyBB question @OMNI or any other mybb Guru's 0xE9 13 29,557 07-28-2011, 01:29 PM
Last Post: Pompano
  How to Make your MYBB Central Plugin Compatible with new Mybb Billy Mays 3 2,123 07-12-2011, 06:40 PM
Last Post: Billy Mays
  Mybb MyCode - Subscript and Superscript RPicard 0 1,128 12-18-2009, 12:28 PM
Last Post: RPicard

Forum Jump:


Users browsing this thread: 1 Guest(s)