|
mycode help
|
|
09-02-2008, 08:38 AM
(This post was last modified: 09-02-2008 08:39 AM by pripatel93.)
Post: #1
|
|||
|
|||
|
mycode help
hello, i want to make a code for example like
[video]http://community.mybboard.net/thread-37140.html[/video] i want it so that it will support any url link. and that when you use the code [video] a button will appear in the thread. so when u use [video][/video] code. it will get a default image that i set. and use the url . so when u click the button it will automatically re-direct you to a site. ![]() i want it like the example above. but it takes too much code for the button above. Code: [url=http://community.mybboard.net/thread-37140.html]where i would just like it as Code: [video]http://community.mybboard.net/thread-37140.html[/video] |
|||
|
09-02-2008, 10:40 AM
Post: #2
|
|||
|
|||
|
RE: mycode help
Try this
Regular Expression: Code: \[video\](https?\://[^["<>]+?)\[/video\]Code: <a href="$1"><img src="myimage.jpg" alt="" /></a>Who is Yumi? It's still the KFC crazed person who can't spell names properly with annoying AlTeRnAtInG CaPiTaLs in the NaMe
|
|||
|
« Next Oldest | Next Newest »
|
Search
Member List
Calendar
Help

![[Image: 80v7iq1.png]](http://i5.tinypic.com/80v7iq1.png)



