MoneyBoard - Money Making Forums

Full Version: Xfire Mycode
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
Hello this displays your xfire miniprofile over the forum.
Here what you have to do,


Regular Expression *
PHP Code:
\[xfire\](.*?)\[/xfire\] 

Replacement *
PHP Code:
<a href="http://profile.xfire.com/$1"><img src="http://miniprofile.xfire.com/bg/sh/type/0/$1.png" /></a

Usage:
To use this in posts, use [xfire]username[/xfire]

Demo:

[Image: 37692913.png]

This will be useful for gaming communities and forums.

Thank you :)
Reference URL's