View Full Version : New Sticky for iPhone Programming Forum: [ CODE ] tags
dejo
Jul 16, 2009, 03:18 PM
Can we add a Sticky to the iPhone Programming forum requesting users to please enclose code snippets in the [ CODE ] tags? It just makes comprehension so much easier for those of us trying to respond. Thanks.
xUKHCx
Jul 16, 2009, 04:23 PM
Seems like a reasonable suggestion, I'll add one when I get on a computer.
SilentPanda
Jul 16, 2009, 04:25 PM
As a coder myself, please report any posts that need code, html, php, etc tags and I'd be more than happy to insert them in. It makes the code so much easier to read and understand!
xUKHCx
Jul 16, 2009, 06:08 PM
Sticky created here:
Posting code, please use the [CODE] tags (http://forums.macrumors.com/showthread.php?t=747660)
Hopefully that covers the points you want, if not PM me or post here and I'll address them.
dejo
Jul 16, 2009, 06:42 PM
Perfect! Thank you so much!
alphaod
Jul 24, 2009, 04:12 PM
Is there a way we can disable BBCode from being processed when they are in the code tags?
xUKHCx
Jul 24, 2009, 04:37 PM
Is there a way we can disable BBCode from being processed when they are in the code tags?
You should be able to use the tags.
With [noparse] tags:
[noparse]Example (www.donotparsethis.com)
Without:
Example (www.donotparsethis.com)
Eraserhead
Jul 24, 2009, 04:48 PM
Would it be possible to enable that by default?
xUKHCx
Jul 24, 2009, 04:52 PM
Would it be possible to enable that by default?
Possibly I'll have to ask those who know.
Is it a common problem with posting code that items get parsed by vBulletin when they shouldn't?
Is it beneficial in all/majority of cases to have the items not parsed?
Eraserhead
Jul 24, 2009, 05:01 PM
Is it a common problem with posting code that items get parsed by vBulletin when they shouldn't?
-setValue:(NSObject *)foo forKey:(NSString *)bar;)
-setValue:(NSObject *)foo forKey:(NSString *)bar;)
-setValue:(NSObject *)foo forKey:(NSString *)bar;)
Ah - it already appears to work pretty well... This seems to have already been fixed :p.
Is it beneficial in all/majority of cases to have the items not parsed?
I'd say so.
kainjow
Jul 24, 2009, 06:06 PM
I sometimes like to use BBCode within the [code] tag, to put emphasis on something.
vBulletin® v3.8.6, Copyright ©2000-2012, Jelsoft Enterprises Ltd.