Logged Out
Create an Account
Login:
Password:

Forgot your password?
Custom bbcode for Magelo

Custom bbcode for Magelo
[Back to Index]  [Bottom of Thread]
Thread Tags
Primary: [General]
Secondary: None
[url=http://eq.magelo.com/profile/104800][img]http://eq.sig.magelo.com/104800.png[/img][/url]


Can anyone help me make a custom bbcode so people can use [magelo=104800] (104800 = their Magelo character ID) and get their Magelo sig to appear on my forums?



--
Followers of Nobility
Give this a shot:

Regular Expression Search:

/\[magelo=(\d+)]/i

Replacement Text:

<a href="http://eq.magelo.com/profile/$1"><img src="eq.sig.magelo.com/$1.png"></a>

--
It's all in the reflexes.
This is what I used for the replacement text:

<a href="http://eq.magelo.com/profile/$1" target="_blank"><img src="http://eq.sig.magelo.com/$1.png" border="0" /></a>
Ahh yes, target="_blank" and border=0. Both worthwhile additions.

--
It's all in the reflexes.
Thanks, to both of you.

I appreciate the help!

--
Followers of Nobility


[Back to Index]  [Top of Thread]