Click here to Skip to main content
65,938 articles
CodeProject is changing. Read more.
Articles
(untagged)

Code Project Tips & Tricks FAQ

0.00/5 (No votes)
16 Mar 2010 1  
This is an FAQ for the Tips & Tricks section. It can be modified by any Silver member.

Table of Contents

  1. How do I add a tip or trick?

    From the home page, go here:

    PostTipTrick.png

    Next, enter your text or "subject." Make sure to that your subject is between 20 and 250 characters, and between 3 and 50 words.

    enter-a-subjcet.png

    Then, begin typing your related tags in the subject field. If existing tags are related to what you begin to enter, a dropdown will appear with those tags which you can select from.

    select-tag.png


  2. When I paste my content things get messy. How does pasting from a seperate program work?

    If you have your content typed in another program and want to cut and paste it into the window, make note of the options below.

    The default, "Auto detect," will interpret whether you have written in HTML or plain text and convert it accordingly. If you paste it once and it doesn't work, do a re-paste. See example below:

    Input:

    auto-detect-window.png

    Result:

    auto-detect-preview.png

    If you select the option: "<" means "start of a HTML tag" if you have written your post in HTML the editor will read it as HTML. See example below:

    Input:

    means-HTML-input.png

    Result:

    means-HTML-result.png

    If you select the option: "<" should be shown as "<" if you have written angle brackets (> in your plain text post and wish them to appear like angle brackets without any changes, select this option. See example below:

    Input:

    should-be-shown-as-input.png

    Change upon pasting in window:

    should-be-shown-as-change.png

    Result:

    should-be-shown-as-result.png

    If you wish everything to be wrapped inside a code block, also called a <pre> block, select the "warap in PRE block" option. See example below:

    Input:

    wrap-in-pre-input.png

    Change upon pasting in window:

    wrap-in-pre-change.png

    Result:

    wrap-in-pre-preview.png

    Or at any point if you check "Plain text only. Ignore HTML tags and entities" you will get code in plain text regardless of what you paste.

    Input:

    plain-text-only-input.png

    Change upon pasting in window:

    plain-text-only-change.png

    Result:

    plain-text-only-result.png

  3. I used paragraph tags and now there are huge spaces in my Tip/Trick. What gives?

    If you are posting via HTML, you may notice excessive spacing between headings, paragraphs, and lists. Try not using <p> tags even if you are using HTML, and spacing your HTML like this:

    <h2>Here is my Main Heading</h2>
    This is paragraph text
    <pre lang="cs">// This is a C# code snippet</pre>
    Notice how there are no spaces between tags. It will look better this way
  4. I have code I want to upload too, where can I do that?

    The best option is if you have a place to host images or source zip files yourself, and can use that URL. If you don't, then there are a few options:

    • Google Docs is easy if you have a Google account
    • Start the process of creating an article on Code Project, and leave it as composing status, but save the URL link to the file you need
    • Email us at submit@codeproject.com and we'd be happy to help host it for you.

  5. Why does my Tips & Tricks post say "Pending?"

    Pending status means that a Tips & Tricks post is awaiting approval from the Code Project community. The vast majority of new Tips & Tricks post on Code Project need a couple of tiny improvements because they do not sufficiently explain the code and purpose of the post.

  6. Why is there content moderation at the Code Project?

    Certain user-submitted content on the site is subject to moderation. The purpose of moderation is to stop the publication of obviously inappropriate material, plagiarised content or content that is not of sufficient quality to be published at that point.

    Moderation is available to members who have contributed enough to the community that the system considers them a good judge of what is and isn't acceptable. If you suddenly find moderation buttons available to you then thank you - you've done a lot for the community and we would now like to give you the opportunity to do even more.

    If you have an author reputation of Silver or higher, you will have access to the moderation queue. It looks like this:

    article-moderation.jpg

    From there you can hover over the checkbox to get the following dropdown:

    article-moderation-2.jpg

    The way the moderation works is you have to receive five "Approve" items to be published, or five "Report / Needs help" items to reach a different post status. If five members Approve your post it will become live and available for all to see. If five members either "Report" or mark your post as "Needs help" your post status will become "Closed" and you will receive an email notification indicating who closed the post, why, and what to do:

    If you wish to revise and reopen your post based on the feedback from these members then simply go to [link to post provided] and click the "Update my article" link. This will enable you to edit and update your post and will re-open your post for other members to enjoy.

    If an author has genuinely tried to provide a decent material, even if they may need some encouraging to improve it, then the item should be approved by moderators.

  7. A user told me my article would work better as a tip/trick, and I can't figure out how to post it myself. Help?

    Email us at submit@codeproject.com and we'd be happy to walk you through, or post it for you.

License

This article has no explicit license attached to it but may contain usage terms in the article text or the download files themselves. If in doubt please contact the author via the discussion board below.

A list of licenses authors might use can be found here