|
|
|
Forum Newbie
      
Group: Forum Members
Last Login: 01/06/2006 09:09:05
Posts: 7,
Visits: 11
|
|
| I've been working with custom IFCodes lately, but I can't seem to make codes to work across multiple lines. Is this a limitation of the engine or am I writing the regular expressions wrongly? It just does not recognize codes when there is a newline between them. For example, the "code" code is unrecognized when are multiple lines of code inside. Although it seems to work here on the InstantForum boards... The "code" regex looks like this (I believe it's the default): \[code\](.*?)\[\/code\]
|
|
|
|
|
IF.NET 4.2 Coming Soon
      
Group: Administrators
Last Login: 2 days ago @ 11:53:33
Posts: 1,959,
Visits: 3,027
|
|
| Hi Andrew, Multiple lines within IFCode are supported. Could you send me a PM with your admin username and password with a link to your board. I'd like to investigate further. \[code\](.*?)\[\/code\] is indeed the default regular expression used. I look forward to your response
 Kindest Regards,
Ryan Healey Director / Developer
Explore our products... http://demos.instantasp.co.uk/
|
|
|
|
|
IF.NET 4.2 Coming Soon
      
Group: Administrators
Last Login: 2 days ago @ 11:53:33
Posts: 1,959,
Visits: 3,027
|
|
| Hi Andrew, Actually could you try the following code for your replace pattern on the code tag... <div style="margin:0px; padding:6px; border:1px #C8DBED solid; width:100%; overflow:auto;"><font face="Courier New" Size="1" color="#008000"><i>$1</i></font></div> Please let me know if this helps
 Kindest Regards,
Ryan Healey Director / Developer
Explore our products... http://demos.instantasp.co.uk/
|
|
|
|
|
Supreme Being
      
Group: Customers
Last Login: 30/12/2008 00:19:04
Posts: 693,
Visits: 2,419
|
|
|
|
|
|
Forum Newbie
      
Group: Forum Members
Last Login: 01/06/2006 09:09:05
Posts: 7,
Visits: 11
|
|
| It's not live yet. I don't think there's any way to get in from the "outside". I will continue to play around with it, now that I know it is at least possible (and not a limitation of IFCode). By the way, I'm using the "text-only" IFCode editor... (not the HTML editor).
|
|
|
|
|
Supreme Being
      
Group: Customers
Last Login: 30/12/2008 00:19:04
Posts: 693,
Visits: 2,419
|
|
My permission set allows for html insertion and the html editor... however, I was testing this with FireFox. The richtextbox does not support html with FireFox. I tried inserting code using IE and the multiple lines work with the code tag...
Either that or it is strictly a FireFox / IE thing???
Another question... Sometimes I notice code within a scrollable text box... Is this done with the code tag after so many lines or is it something else?
Thanks
..:: Bare ::.. http://www.livingformetal.com
|
|
|
|
|
Supreme Being
      
Group: Customers
Last Login: 30/12/2008 00:19:04
Posts: 693,
Visits: 2,419
|
|
|
|
|
|
Forum Newbie
      
Group: Forum Members
Last Login: 01/06/2006 09:09:05
Posts: 7,
Visits: 11
|
|
Ryan Healey (10/4/2005)
Hi Andrew, Actually could you try the following code for your replace pattern on the code tag... <div style="margin:0px; padding:6px; border:1px #C8DBED solid; width:100%; overflow:auto;"><font face="Courier New" Size="1" color="#008000"><i>$1</i></font></div> Please let me know if this helps Thanks Ryan, I'll try that.
|
|
|
|
|
|
| | |