Hello and welcome to our community! Is this your first visit?
Register
Enjoy an ad free experience by logging in. Not a member yet? Register.
Results 1 to 9 of 9
  1. #1
    Senior Coder alykins's Avatar
    Join Date
    Apr 2011
    Posts
    1,742
    Thanks
    41
    Thanked 191 Times in 190 Posts

    Please wrap your code using the [code] tag!

    I am hoping this can be moved to sticky or inside the sticky somewhere. I stumbled upon it the other night and i notice a lot of "new" coders stop here first, and also notice a lot of new forum members (correspondingly the new coders) usually miss wrapping their code in the code tags.

    I wrote this thread as a sample that I will resolve after a while (unless it gets moved) but the [noparse] tags allow you to put various [ ] code tags inside the forum textbox with out it "firing"

    more directed for the [code] tags, for all those posting code, please wrap it in the [code][/code] tags for ease of reading... also don't forget the "/" in the trailing [/code] tag... alternatively you can highlight your selection and then click the "#" button in the (spanning top-horizontal) toolbar off to the right


    [noparse]

    [code]
    blah blah blah
    [/code]

    [/noparse]

    I code C hash-tag .Net
    Reference: W3C W3CWiki .Net Lib
    Validate: html CSS
    Debug: Chrome FireFox IE

  • #2
    Registered User
    Join Date
    Jun 2011
    Posts
    1,063
    Thanks
    12
    Thanked 241 Times in 240 Posts
    nice post. i didnt know the [noparse] so I kept saying use [.code] take out the period lol

  • #3
    Senior Coder alykins's Avatar
    Join Date
    Apr 2011
    Posts
    1,742
    Thanks
    41
    Thanked 191 Times in 190 Posts
    Quote Originally Posted by Sammy12 View Post
    nice post. i didnt know the [noparse] so I kept saying use [.code] take out the period lol
    isn't it fun? it was also fun nesting all the [noparse]'s to make the post look right

    I code C hash-tag .Net
    Reference: W3C W3CWiki .Net Lib
    Validate: html CSS
    Debug: Chrome FireFox IE

  • #4
    New Coder
    Join Date
    Jul 2011
    Posts
    24
    Thanks
    0
    Thanked 3 Times in 3 Posts
    This thread would most likely have more of a chance of being stickied if it had a better title, maybe something along the lines of "How to write [CODE] on the forums without it execiting"

  • #5
    The fat guy next door VIPStephan's Avatar
    Join Date
    Jan 2006
    Location
    Halle (Saale), Germany
    Posts
    8,676
    Thanks
    6
    Thanked 1,008 Times in 981 Posts
    Well, Apostropartheid contacted me with a proposal for a new sticky thread a while ago which also included the reminder to use [CODE][/CODE] tags. However, so far this hasn’t been done as it would require a clean-up of the existing stickies because it would just become too many which will lead to further ignorance due to information overload.

    The thing is that people who post their plain code without the BB code tags are often those people that show complete ignorance to any rules/suggestions anyway, so they wouldn’t read this one either, even if it was a sticky with huge font size and blinking colors. But I’m gonna remind Apostropartheid and see how it turns out.

    And by the way: You can get info on all BB code tags/formatting you can use in this forum on http://www.codingforums.com/misc.php?do=bbcode. This is where I also learned about [noparse]. I found that page by clicking on the link at the bottom of each thread where it says what’s allowed, that BB code and Smileys are on, etc.

  • #6
    Senior Coder
    Join Date
    Aug 2010
    Location
    High Point, NC
    Posts
    3,338
    Thanks
    5
    Thanked 363 Times in 360 Posts
    hmm Too bad that when a new member signs up for the forum, there should be a "must read" rules and regs page BEFORE any new post is allowed. lol They could even take a test and if they fail, they cant post their question!
    Teed

  • #7
    Senior Coder alykins's Avatar
    Join Date
    Apr 2011
    Posts
    1,742
    Thanks
    41
    Thanked 191 Times in 190 Posts
    thanks VIP for the link- I had forgotten exactly how I had stumbled upon it.

    @teed... I think your idea is Amazing; although i doubt it will/would be implemented i agree... i think it would force users into viewing all the common practices we use/like-to-see and also help eliminate the bots... also it would technically be a "pain in the *" but i think that would weed out all but the dedicated users who are willing to learn and do things correctly and better themselves

    in addition... since VIP was talking about how he had mentioned to Apost about redoing the stickies... if they are getting redone it might be useful to add in some of WA's comments in the javascript forum sticky of how to post a javascript question
    where this forum does not get a lot of subject 1, it does see subjects 2,5,&6 often enough (imo) just food for thought to the powers that be

    I code C hash-tag .Net
    Reference: W3C W3CWiki .Net Lib
    Validate: html CSS
    Debug: Chrome FireFox IE

  • #8
    The fat guy next door VIPStephan's Avatar
    Join Date
    Jan 2006
    Location
    Halle (Saale), Germany
    Posts
    8,676
    Thanks
    6
    Thanked 1,008 Times in 981 Posts
    Moved that to forum feedback since it fits better here. And by the way: Apostropartheid is currently working on cleaning up the sticky mess in the HTML/CSS forum.

  • #9
    The Apostate Apostropartheid's Avatar
    Join Date
    Oct 2007
    Posts
    3,215
    Thanks
    16
    Thanked 265 Times in 263 Posts
    Hi guys,

    I did cut down the stickies in the HTML & CSS forums from 5 to 3. The [code][/code] rule is added in the rules amendment, but it must be noted that it will likely be ignored, as the new thread page already displays a reminder to do this.


  •  

    Posting Permissions

    • You may not post new threads
    • You may not post replies
    • You may not post attachments
    • You may not edit your posts
    •