InstantASP Community Forums
Home       Members    Calendar    Who's On
Welcome Guest ( Login | Register )
        



Different IFCode Expand / Collapse
Author
Message
Posted 28/05/2007 11:24:17
Forum Newbie

Forum NewbieForum NewbieForum NewbieForum NewbieForum NewbieForum NewbieForum NewbieForum Newbie

Group: Forum Members
Last Login: 27/09/2007 16:00:28
Posts: 2, Visits: 12
We have just launched our forums and as expected users are starting to test!

The IFCode used by 'Instant' for lets say color is:

[ color = "" ] text [ / color ]   (without spaces)

on some other forums they use

[color:red] text [/color]

What is the difference?

Post #12853
Posted 29/05/2007 09:15:49
Supreme Being

Supreme BeingSupreme BeingSupreme BeingSupreme BeingSupreme BeingSupreme BeingSupreme BeingSupreme Being

Group: Administrators
Last Login: 17/11/2008 13:47:50
Posts: 266, Visits: 598
Hi Tan,
We've merely opted for a different syntax closer to that used for HTML markup.


Kindest Regards,

James Trott
Developer

Post #12855
Posted 29/05/2007 13:24:04
Supreme Being

Supreme BeingSupreme BeingSupreme BeingSupreme BeingSupreme BeingSupreme BeingSupreme BeingSupreme Being

Group: Customers
Last Login: 11/06/2008 22:22:08
Posts: 146, Visits: 657
tans..

I had the same issue and ended up adding new IFCode so that those who post using syntax for other forums works with mine too.. i.e.

[color=Black][/color] <-- notice no quotes... was a code I used on my old ColdFusion site so when I ran the migration I noticed those popping up all over posts in the migrated topics... simply added it as an IFCode and it fixed the issue.

I add them and uncheck the "Display in Popup Dialog" option so you don't end up with multiple tags that do the same thing (at least in the popup IFCode window). 

I even added a new YouTube tag:

Friendly Name:

YouTube (Video Code is the value after v= in the url at YouTube.com)

Tag Example:

[youtube]Video Code[/youtube]

Actual Code to Insert:

[youtube][/youtube]

Search Pattern:

\[youtube](.+?)\[\/youtube\]

Replace Pattern:

<object width="425" height="350"><param name="movie" value="http://www.youtube.com/v/$1"></param><param name="wmode" value="transparent"></param><embed src="http://www.youtube.com/v/$1" type="application/x-shockwave-flash" wmode="transparent" width="425" height="350"></embed></object>

--

http://www.the-pork.net ... highly customized version of InstantForum. 

Post #12856
Posted 16/06/2007 13:17:28
Forum Newbie

Forum NewbieForum NewbieForum NewbieForum NewbieForum NewbieForum NewbieForum NewbieForum Newbie

Group: Forum Members
Last Login: 27/09/2007 16:00:28
Posts: 2, Visits: 12
Many thanks Cradz, didn't even dawn on me about doing that. i better get to work and start hunting around .

thanks for your help much appreciated

Post #12948
« Prev Topic | Next Topic »


Reading This Topic Expand / Collapse
Active Users: 0 (0 guests, 0 members, 0 anonymous members)
No members currently viewing this topic.
Forum Moderators: Ryan Healey, Mark Christianson, Bare, James Trott

Permissions Expand / Collapse

All times are GMT, Time now is 11:13am

Powered by InstantForum.NET v4.1.4 © 2008
Execution: 0.094. 8 queries. Compression Disabled.
Home | Products | Purchase | Support | Company | Contact Us
Privacy Statement | © 1999-2007 InstantASP Limited. All Rights Reserved.