MyBB Community Forums

Full Version: Custom Postbit Links
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
Howdy,

Trying to add some custom post bit data but get the security error. Here is the line:

{$post[Steam ID: <a href="http://steamcommunity.com/id/{$post['fid4']}">{$post['fidx']}</a>]}

So how does one go about making happy/bypassing the security measures?

Thanks in Advanced,

Scroll
You have HTML and PHP all in one line of code, even BBCode i think.

Where is this supposed to go?
(2012-04-08, 07:34 AM)Scroll Tro0L Wrote: [ -> ]Howdy,

Trying to add some custom post bit data but get the security error. Here is the line:

{$post[Steam ID: <a href="http://steamcommunity.com/id/{$post['fid4']}">{$post['fidx']}</a>]}

So how does one go about making happy/bypassing the security measures?

Thanks in Advanced,

Scroll
Your variable has link and another variable inside.

It should be

Quote:Steam ID: <a href="http://steamcommunity.com/id/{$post['fid4']}">{$post['fid4']}</a>
@ Johhny

That worked!

Thank you very much. I thought that the $post part was necessary from the beginning.

Edit: I'll post my second question on another thread.