Become a MacRumors Supporter for $50/year with no ads, ability to filter front page stories, and private forums.

dejo

Moderator emeritus
Original poster
Sep 2, 2004
15,982
454
The Centennial State
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.
 
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!
 
Is there a way we can disable BBCode from being processed when they are in the code tags?
 
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 [plain] tags.

With [plain] tags:

Code:
[plain][URL="www.donotparsethis.com"]Example[/URL][/plain]

Without:

Code:
[URL="www.donotparsethis.com"]Example[/URL]
 
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?
 
Is it a common problem with posting code that items get parsed by vBulletin when they shouldn't?

Code:
-setValue:(NSObject *)foo forKey:(NSString *)bar;)
HTML:
-setValue:(NSObject *)foo forKey:(NSString *)bar;)
PHP:
-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.
 
I sometimes like to use BBCode within the [code] tag, to put emphasis on something.
 
Register on MacRumors! This sidebar will go away, and you'll see fewer ads.