minibb®
A place to try it out
in a different mode
.org
Paint It Yourself
Test Skins
 · Reply · Forums · Polls · Register · Search · Statistics · Manual ·
Anything Else miniBB Demo / Anything Else /   

testing 123

simmering
Registered Starter Male

#1 · Posted: 28 Nov 2006 10:55 · Edited by: simmering 
$pattern[]="/<a href=\"([^<>\n\r ]+?)\" rel=\"external\">[ ]<img  
src=\"(.+?)\" alt=\"\" style=\"width:[0-9]+px\"><\/a>/i";$pattern[]="/
<a href=\"([^<>\n\r ]+?)\" rel=\"external\">[ ]<img src=\"(.+?)\" alt=
\"\" style=\"width:[0-9]+px\"><\/a>/i";





if(substr_count($msg,'<img')>0) $msg=str_replace('align=""', ' 
', $msg); if(substr_count($msg,'"nofollow"></a>')>0) $msg=str_replace 
('"nofollow"></a>', '"nofollow">URL</a>', $msg); return $msg; } 
I'm a html-freak

Anything Else miniBB Demo / Anything Else / testing 123 ↑ Top

Your Reply Click this icon to move up to the quoted message

 


You are welcome to post anonymously, by entering a nickname with no password (if the similar Username has not been taken yet), or by leaving both fields empty. If you have a forums account, you can also sign in from this page without posting a message, or sign in and post at once.
 
Online now: Guests - 1
Members - 0
Most users ever online: 522 [12 Sep 2015 15:43]
Guests - 522 / Members - 0
  miniBB Demo Powered by Bulletin Board Software miniBB ®