New Sticky for iPhone Programming Forum: [ CODE ] tags

Discussion in 'Site and Forum Feedback' started by dejo, Jul 16, 2009.

  1. dejo Moderator

    dejo

    Staff Member

    Joined:
    Sep 2, 2004
    Location:
    The Centennial State
    #1
    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.
     
  2. xUKHCx Administrator emeritus

    xUKHCx

    Joined:
    Jan 15, 2006
    Location:
    The Kop
    #2
    Seems like a reasonable suggestion, I'll add one when I get on a computer.
     
  3. SilentPanda Moderator emeritus

    SilentPanda

    Joined:
    Oct 8, 2002
    Location:
    The Bamboo Forest
    #3
    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!
     
  4. dejo thread starter Moderator

    dejo

    Staff Member

    Joined:
    Sep 2, 2004
    Location:
    The Centennial State
  5. alphaod macrumors Core

    alphaod

    Joined:
    Feb 9, 2008
    Location:
    NYC
    #6
    Is there a way we can disable BBCode from being processed when they are in the code tags?
     
  6. xUKHCx Administrator emeritus

    xUKHCx

    Joined:
    Jan 15, 2006
    Location:
    The Kop
    #7
    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]
     
  7. Eraserhead macrumors G4

    Eraserhead

    Joined:
    Nov 3, 2005
    Location:
    UK
    #8
    Would it be possible to enable that by default?
     
  8. xUKHCx Administrator emeritus

    xUKHCx

    Joined:
    Jan 15, 2006
    Location:
    The Kop
    #9
    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?
     
  9. Eraserhead macrumors G4

    Eraserhead

    Joined:
    Nov 3, 2005
    Location:
    UK
    #10
    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.

    I'd say so.
     
  10. kainjow Moderator emeritus

    kainjow

    Joined:
    Jun 15, 2000
    #11
    I sometimes like to use BBCode within the [code] tag, to put emphasis on something.
     

Share This Page