MyBB Community Forums

Full Version: MyCode Help(First TIme Making a Custom MyCode)
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
This is the first time I'm making a MyCode, so, please, help me. Ok, I want to make a MyCode like this:
[Image: image.php?name=ALT.acrox999&bg=backgroun...&type=full]
See that? So, here's what I'm asking. How to make a MyCode, if we input something like:
ALT.acrox999
and it will replace the "{name}" with ALT.acrox999.
http://jamlegendsig.netii.net/image.php?name={name}&bg=background3.png&type=full
I don't know how to explain. But please, help.
Regular expression:
\[jg\](.*?)\[/jg\]

Replacement:
<img src="http://jamlegendsig.netii.net/image.php?name=$1&bg=background3.png&type=full" alt="$1 sig" />

Example:
[jw]ALT.acrox999[/jw]

Works on localhost :p
YAY! Thanks! Its working!

Off-Topic:You know a RSS Bot plugin that can post RSS Feeds both from our site and other sites?