Simple Machines Community Forum

Archived Boards and Threads... => Archived Boards => SMF Feedback and Discussion => Topic started by: rublind on December 05, 2006, 03:06:30 PM

Title: Custom BB Code SMF 1.1
Post by: rublind on December 05, 2006, 03:06:30 PM
So, in previous versions I was using the reg exp way and everything was fine, but now... eh..

What I want is to have a tag, then when you're on the forum, it's not visible, but if you're using an SSI function it will be. I did this via a $variable ? 'asdfjas' : '' in order to display stuff.

Basically, I don't get the type field, and I don't know how to use it such that nothing will be displayed when on the forum, but when using an SSI function, it will display how I want it to. I am willing to use the 'before' and 'after' attributes or the 'content' attribute.

I hope my explanation was clear, can anyone help me?