Re: code tags Programming Software Development by Ancient Dragon Code tags: [noparse] [code=c++] // your code goes here [/code] [/noparse] I always manually type in the code tags you see above. I only takes a second or two to get great looking results. Re: Code tags Community Center Meta DaniWeb by VernonDozier … to last forever. (Such as using quote tags for code or using code tags for plaintext). Key word here is "… given the option of using code tags with or without syntax highlighting. Since code tags seemed to be the only game… and says nothing about only using code tags for code. We used code tags for non-code because that was the only tool… Re: code tags Community Center Meta DaniWeb by Dani … checking on the Software Dev forums twice daily and adding code tags to new posts when needed. We average about 70+ …to usability, it has the possibility of going off when code tags aren't necessary (it's not foolproof by any …implement it as a temporary last resort if not using `[code]` tags was so out of hand and moderators were completely unable… Re: Code tags Community Center Meta DaniWeb by Dani …can only go so far. The new behaviour of the code tags is 100% backwards compatible as long as they were … when bbcode is used to highlight code manually). However, using code tags for something outside of code to achieve a visual effect as… a result of the current way code tags happen to be handled cannot ever be guaranteed in … Code tags Community Center Meta DaniWeb by BestJewSinceJC Is it true that code tags now "know" what forum they're in? Because … forum, yet it got posted with the Java code tags instead of the regular code tags. If that is true, it's definitely cool… members won't be able to post with the other tags. But maybe I'm just going crazy. Re: Code tags Community Center Meta DaniWeb by Narue …;a visual effect as a result of the current way code tags happen to be >handled cannot ever be guaranteed in… future.[/B] Translation: "Bite me. You didn't use tags for the narrow purpose they were designed, so you don… something it isn't designed to do[/B] IIRC, code and quote tags were used to "exploit" the system because… Re: Code tags Community Center Meta DaniWeb by cwarn23 … post with the other tags[/QUOTE] Yes however I use to use code tags with no syntax a …lot for non-code text and now old posts…the many I've posted are highlighted in code when they are just important text. There are…-cut the displaying monospaced text just by using code tags. O'well, I guess some things do … Re: Code tags Community Center Meta DaniWeb by ~s.o.s~ …: ...but is still not enough since the original CODE tags didn't add line numbers. This auto-line numbering… feature kinda breaks posts in which code tags were used for the sole purpose of preserving formatting…the people who miss the old code tags to use [b][noparse][code=plain][/code][/noparse][/b].[code=plain] 1. Wake up … Re: Code tags Community Center Meta DaniWeb by cwarn23 … that the solution to this is not changing quote/code tags but instead adding a new tag which will simulate … community think. [QUOTE=cscgal;1040797]However, using code tags for something outside of code to achieve a visual effect as a result… of the current way code tags happen to be handled cannot ever be guaranteed in … Re: Code tags Community Center Meta DaniWeb by Dani … that we're not ensuring backwards compatibility with all your code tags? :) I am simply saying that if you knowingly use… them to last forever. (Such as using quote tags for code or using code tags for plaintext). However, I do understand that people…t want to parse bbcode or syntax highlight or just (code) if you do want to parse bbcode (and if … Re: code tags Community Center Meta DaniWeb by Rashakil Fol …d be best to detect code, and if the message has no code tags at all (and if code is detected), then ask the… user if they'd like code tags (automagically added) and then have a neat little interface where …they could drag and drop code tags around to the appropriate place if the detector got the… Re: code tags Community Center Meta DaniWeb by iamthwee …, the editor area displays a watermark reminding people to use code tags. Well is it working. Clearly not. ;) >User…detected), then ask the user if they'd like code tags (automagically added) and then have a neat little …interface where they could drag and drop code tags around to the appropriate place if the detector got… Re: code tags Community Center Meta DaniWeb by Dani …. In fact, the people who don't use [code] tags are almost always students, as the more experienced programmers …the forums (such as homework questions and not using code tags when appropriate). The watermark thing just went into effect… new posts in the software development forums and adding code tags manually. Over time, people will see that all … Re: Code tags Community Center Meta DaniWeb by VernonDozier … I use to use code tags with no syntax a lot for non-code text and now old …the many I've posted are highlighted in code when they are just important text. There …-cut the displaying monospaced text just by using code tags. O'well, I guess some things do …around it when I want to. However, the code syntax defaulting has been retroactive, so you have… Re: code tags Community Center Meta DaniWeb by iamthwee …s be honest. You guys thought that the code formatting on the cprogramming board was due to diligent… boards then enforce C code tags scripts else if board = python then enforce python code tags scripts [/CODE] And so on? I… automatically opening a window showing them how to use code tags. This would only be for the [B]first[/… Re: code tags Community Center Meta DaniWeb by Comatose … syntax in their post, and either ask them to use code tags, or automagically add them. Another solution, since some people have… a hard time figuring out how to stick stuff between code tags, is to have Dani modify vbullettin, and have a …link or another button for "post code", which loads a new window with a textbox, where… Re: code tags Community Center Meta DaniWeb by tgreer … as asking her to implement 10,000+ lines of code to insert code tags. :) P.P.S. If you're going to quote… someone, please use the [B]quote tags[/B]. Dani, what would… be cool is implementing PHP code to sense quotes and automagically insert quote tags. Get right on that, would you? Re: code tags Community Center Meta DaniWeb by Dani …showthread.php?t=78438), has multiple posts with code that isn't in [code] tags. Cleary, they face the same problem we … experienced community of programmers who are more used to using [code] tags. Who knows ... but the point of the matter is, … courses. If we can get through this week enforcing [code] tags, we can get through the rest of the year :) Re: code tags Community Center Meta DaniWeb by iamthwee …showthread.php?t=78438], has multiple posts with code that isn't in [code] tags. Cleary, they face the same problem we do…one liners. The system they use forces people to use code tags that contain curly brackets. Which is often the case when…you **joined** up and tried posting an entire program without code tags you'll know what I mean. You can't. … Re: code tags Community Center Meta DaniWeb by Narue …on ignorance, I simply informed them of the existence of code tags and added them manually. If they continually failed to …use code tags despite knowing about them, I gave them a vague …warning with the implication that not using code tags was against the rules. I never got past that … Re: Code tags Community Center Meta DaniWeb by Narue … that we're not ensuring backwards compatibility with all your code tags? [/quote] Um, you fail. This isn't a bug, it… code tags Programming Software Development by jimJohnson … complain that the new people don't use code tags please do not respond to me but for …me before: I was asked how to use code tags and i am sorry but this is what I… got you mean [code=c++] // your code here [/code] The only thing I could come … button at the top for comments and non code related if this is right let me know… code tags Community Center Meta DaniWeb by iamthwee … ppl here get ticked off when newbies persistantly post their code without code tags. Raise your hand? Yes I thought so. Anyhoo, I…? Thinking of a php parser to force ppl to use code tags when code is written, but there are so many languages on… Re: code tags Community Center Meta DaniWeb by Rashakil Fol …s their loss if they don't post using code tags, so who cares? (Of course, it's…personally care more about the large margins given when code tags are used. </attempt type="derail conversation…;Worst infinite loop, ever!") (newline) (f f)))[/code] This is what i'm talking about, above and below… Re: code tags Community Center Meta DaniWeb by iamthwee …syntax in their post, and either ask them to use code tags, or automagically add them. Or automatically spit out a message…, please enclose code with [kode][/kode] tags. How hard can it be? >I would… includes me and everyone else who has to read unformatted code. Something needs to be dun about it. FACT. If… Re: code tags Community Center Meta DaniWeb by iamthwee … all new posts in the software development forums and adding code tags manually. Over time, people will see that all posts have… code tags so they'll be inclined to use them too. Oh … Re: code tags Community Center Meta DaniWeb by Dani … one is to show the watermark reminding people to use code tags to all users in the forum right in the area… extra effort in daily to be on a lookout for code tags. Step three is to recruit new moderators if the current… Re: code tags Community Center Meta DaniWeb by tgreer cprogramming doesn't use a parser. They just tell people to use the code tags. Evidence, this thread: [URL="http://cboard.cprogramming.com/showthread.php?t=78438"]http://cboard.cprogramming.com/showthread.php?t=78438[/URL] If they were using a parser, all the code fragments would be "parsed" into code tags. Re: code tags Community Center Meta DaniWeb by tgreer … each and every post, sensing the presence of code and automatically applying code tags, on an advanced high-speed server so that…shared. I agree that I am irritated by posts without code tags, and aggresively moderate in those forums under my review. …magic bullet, I'd want to use it! But a code parser is not a workable solution, period. So, I … Re: code tags Community Center Meta DaniWeb by tgreer … syntax in their post, and either ask them to use code tags, or automagically add them. Or automatically spit out a message…, please enclose code with [kode][/kode] tags. How hard can it be?[/quote] The answer…