Page 1 of 3 123 Last
  • Jump to page:
    #1
  1. Newbie :P
    Devshed Frequenter (2500 - 2999 posts)

    Join Date
    Jan 2001
    Location
    In the PHP Engine :-)
    Posts
    2,880
    Rep Power
    21

    Exclamation New users - HOW TO POST A QUESTION - READ THIS FIRST


    ##########################################
    Originally posted by JeffCT on 10-19-2001 03:51 PM in PHP Forum
    Edited by SilkySmooth on 24th of June 2003
    ##########################################

    I figured this was necessary because a lot of people come in and post threads without thinking, and without realizing that there is no possible way they could get help because of the way they posted the question. Here are some general guidelines.

    USE SEARCH FIRST!

    There is a pretty good chance that unless you have some
    really odd or unique problem that it has been addressed on this
    forum before (or even hundreds of times before for some issues).

    Use the forum's search feature first to see if there are already some good threads on the subject. It's easy to search - just click the "Search" button at the top right of the page.

    Be DESCRIPTIVE

    I cannot stress this enough. We cannot possibly help you if you simply post a thread, copy and paste your whole script and say "it has errors what's wrong with it?". Keep this in mind:

    1. Explain to us what your script DOES (or what it's supposed to do).

    2. Explain to us what exactly the error is. Is it a Javascript error? Your own error reporting? Database error? Or is it just not doing what you want?

    3. Remember that you know a lot more about your script than we do. Don't assume we know just what it does.

    Don't use stupid topic names

    Post a descriptive topic name! Give a short summary of your problem IN THE SUBJECT. Don't use attention getting subjects. They don't get attention. They repel attention and annoy people.

    Here's a great list of topic subjects YOU SHOULD NOT POST by freebsd:

    1) Help me
    2) Hello
    3) You must know the answer
    4) Please help this female newbie
    5) Something wrong
    6) Come on PHP gurus
    7) This one for you
    8) Just wondering
    9) This is too complicated for me
    10) possible?
    11) Very urgent
    12) I have a question
    13) Stupid question
    14) Newbie needs help
    15) pulling my hair out
    16) this is driving me nuts

    Generally ANYTHING similar to those is unacceptable. Just post your problem.

    Here is a good example of a way to post a question about ereg() and regular expressions / validating emails

    "Need ereg regular expression help"

    or even better:

    "validating emails w/ ereg() regular expressions"

    These are bad examples:

    "I can't figure this out!"
    "Stupid question..."
    "Female newbie needs regex help"
    "Help me! Urgent!"

    ONLY POST THE PART OF YOUR SCRIPT THAT HAS PROBLEMS!

    PLEASE do not post your entire script in a message. And if you have to use 2 messages that's a good indication that you're going to annoy people. Only post the part of your script where you have problems. That's it. Just a very small piece of it. It's not hard. Just find the part you think doesn't work and post that. WE DON'T WANT TO SEE YOUR ENTIRE SCRIPT. And if you post the entire script it's going to take us a lot longer to find the problem.

    PUT YOUR CODE IN in vB code!!!

    Hundreds of times per week we see people post a huge ugly script right into the message. There's a problem with that. The tabs don't work. There's no syntax highlighting. That makes it difficult to read!

    There's a really neat vB code built in that will format and syntax highlight your code when you post it. You can use that easy PHP button right above the box where you type your message. The result will look like this:

    PHP Code:
    // this is some easy to read PHP code

    if($your_code_is_easy_to_read)
    {
         
    people_like_it();

    Or if you are using other languages use [...code] [.../code] tags around it for similar effect. (REMOVE PERIODS)

    If you get an error on a certain LINE, tell us what's on that line and what's on the few lines above it!

    It's not too helpful when you mention an error on a certain line but don't tell us what code is on that line. Because errors can sometimes be caused by lines of code above the one the error is mentioned on, please post a few lines above that line.

    Only you know what "doesn't work" means

    Please tell us what your script is supposed to do and why it "doesn't work". Or if you don't feel like explaining what the whole script is, at least tell us what the offending code is supposed to do. When you come in and say "it doesn't work" or just "it has errors", that means NOTHING. There could be a million things wrong and no one will know where to look.

    If you're not going to take the advice, don't ask for help.

    Often times, people post questions about their script with the wrong mindset from the very beginning. Soon they are receiving replies, and silently debugging their code, making no effort to even acknowledge the people helping them! It becomes one sided, and the poster isn't aware that many of the people helping them hope to learn something as well! Letting people know of your progress and how their suggestions apply (or do not apply) will not only help you figure out your problem quicker, but you'll be returning the favor to those of us who learn more by helping.

    In even worse scenarios, sometimes the poster will argue back even when they don't know what they're talking about. Hey - if you know it all, don't ask for help.

    When people give you free code that may solve your problem, by all means, try it out! And if it's not what you need, at least thank them.

    And if people post code that is over your head, ask them for an explanation. Too many times I see great solutions posted, then the original poster doesn't understand it and goes hunting around the manual and finds some function they think will solve their problem but really has Nothing to do with their problem! The solution you are given may not always be something you are totally familiar with, so just ask for a better explanation!

    Remember when people help you, they are doing YOU a favor

    Regardless of how big your ego is, it is NOT someone else's privilege to debug Your code. It is not their privilege to have them help you. It is YOURS. Remember that when people help you they are doing YOU a favor. You are not doing them a favor by letting them see your incredible application. Be patient, help people out by posting good descriptions of what you need help with, and not snapping at people with garbage such as "if you aren't going to help don't waste my time replying".
  2. #2
  3. No Profile Picture
    Junior Member
    Devshed Newbie (0 - 499 posts)

    Join Date
    Sep 2003
    Location
    Australia
    Posts
    5
    Rep Power
    0
    Thanks for the advice Silky.
    One question... I've noticed that, when using the code tags... and depending on the length of the code... the page side-scrolls dramatically.
    Is there something that can be done to avoid this?
  4. #3
  5. Newbie :P
    Devshed Frequenter (2500 - 2999 posts)

    Join Date
    Jan 2001
    Location
    In the PHP Engine :-)
    Posts
    2,880
    Rep Power
    21
    fluke,

    There isn't really anything you can do about it unless you manually edit it. There are times when writing code that you will have very long lines, sometimes it is easier to truncate them sometimes it isn't.

    If the line is as simple as a PHP Echo and it isn't really relevant to the problem / question then just truncate it down otherwise if you think it is important to your problem / question leave it in.

    HTH
    ---------------------
    -- SilkySmooth --
    ---------------------
    Proxy
  6. #4
  7. No Profile Picture
    Registered User
    Devshed Newbie (0 - 499 posts)

    Join Date
    Oct 2003
    Posts
    1
    Rep Power
    0
    Thank you for this, the search tip was so obvious yet exactly the one I needed !
    Cheers
    RD
  8. #5
  9. No Profile Picture
    Contributing User
    Devshed Newbie (0 - 499 posts)

    Join Date
    Jul 2001
    Location
    South Yorkshire
    Posts
    442
    Rep Power
    23
    If we believe that our post has gone too far down the list and not had a reply, as we okay to "BUMP" them to top of list agian?

    Thanks.
  10. #6
  11. Newbie :P
    Devshed Frequenter (2500 - 2999 posts)

    Join Date
    Jan 2001
    Location
    In the PHP Engine :-)
    Posts
    2,880
    Rep Power
    21
    pgudge, no, this is considered rude as it could be that people have read your question and do not know the answer. Also you have to remember that people like myself who are prominent on DevShed are not actually living here, we do not sit here 24/7, but when we do come, the more experienced of us which actually look for threads which have not received replies before we look at threads that have received replies.

    So posting a bump will not only annoy people but it could also have the disadvantage that experienced users will miss it because it has been replied to.

    Of course there is also a second option, not bumping the post but supplying more information, perhaps you didn't describe the question / problem properly the first time or you have fixed part of the problem etc, in this case it might be a good idea to add more info which will of course at the same time bump you to the top of the list, but you still run the risk that the experienced users here may not view your thread.

    HTH
    ---------------------
    -- SilkySmooth --
    ---------------------
    Proxy
  12. #7
  13. No Profile Picture
    Contributing User
    Devshed Newbie (0 - 499 posts)

    Join Date
    Jul 2001
    Location
    South Yorkshire
    Posts
    442
    Rep Power
    23
    I totaly understand all that, SS, I wasn't going to do it after about 2 hours, I meant as in a week or so.

    Personally I would edit my post to reflect changes but the replying would work. And when ever I come along to DS I tend to look for 0 reply posts to try and help whilst i'm here, wish I had more time.

    Thanks for that.
  14. #8
  15. No Profile Picture
    Registered User
    Devshed Newbie (0 - 499 posts)

    Join Date
    Aug 2003
    Location
    MA
    Posts
    25
    Rep Power
    0
    Well, I am sure I have fallen into this catagory. My biggest problem is that I don't know the topic or term to use for what I am trying to accomplish. That is mostly the reason why I hardly ever post. Right now I am curious as to opinions to Style sheets.
  16. #9
  17. Banned
    Devshed Newbie (0 - 499 posts)

    Join Date
    Nov 2003
    Location
    New York
    Posts
    5
    Rep Power
    0
    It would be great if there was a way to subscribe to a post without replying. So that I could receive e-mail of a response without having to return and check. Is this possible. Thanks for the pointers. I'll take heed to them. I'm just lurking to learn right now and would hate to reply simply to be aware of responses.
  18. #10
  19. No Profile Picture
    Got source?
    Devshed Regular (2000 - 2499 posts)

    Join Date
    Mar 2003
    Location
    Laguna Niguel, California, USA
    Posts
    2,331
    Rep Power
    14
    You can subscribe to a thread without having to post. Underneath the related threads section there is a subscribe button.
  20. #11
  21. No Profile Picture
    Registered User
    Devshed Newbie (0 - 499 posts)

    Join Date
    Mar 2004
    Posts
    2
    Rep Power
    0

    Thumbs up Very informative


    I just registered, and this was excellent information on what to do and what not to do.

    Only problem is this: I am quite new to javascript and am more of a designer. So, often, I am not sure which part of the script is the one causing problems. And sometimes, could it not be a different part of the script that is also impacting on a particular bug or is causing weird behaviours?

    Of course, I understand the good sense in only posting the part of the code that gives the problems... But for newbies like me, we just don't know...
  22. #12
  23. Newbie :P
    Devshed Frequenter (2500 - 2999 posts)

    Join Date
    Jan 2001
    Location
    In the PHP Engine :-)
    Posts
    2,880
    Rep Power
    21
    rightBrainer,

    The simple solution to this problem is to instead post a link to where the file can be access or alternatively you could upload the file so people can download the code and look at it.
    ---------------------
    -- SilkySmooth --
    ---------------------
    Proxy
  24. #13
  25. This tagline is not long enoug
    Devshed Novice (500 - 999 posts)

    Join Date
    Aug 2003
    Location
    Toronto, ON Canada! I AM CANADIAN
    Posts
    863
    Rep Power
    15
    Originally Posted by SilkySmooth
    rightBrainer,

    The simple solution to this problem is to instead post a link to where the file can be access or alternatively you could upload the file so people can download the code and look at it.
    To further that idea a little, if you want to become an active member of this forum, it would be suggestible to make things available permanently. IMHO, it's a detrement to the forum, for links to go into 404 status, becuase imagine that you have another user with your problem, or something similar... they won't be able to see the example in it's complete form.

    That being said, if you plan on linking outside of devshed, it would be beneficial for it to stay in that location. Think about the people that do take the time to search through the forum to find their solution, but when they do find it all the examples of code, are off of the site and no longer available, so please do be courteous when linking off site, make it stick!
  26. #14
  27. Winemaster
    Devshed Beginner (1000 - 1499 posts)

    Join Date
    Jul 2004
    Location
    Sendai, Japan
    Posts
    1,355
    Rep Power
    163
    I'm wondering if a mod could stick this thread to the top of other forums too - in particular the CSS Help forum and the Web Design Help forum.
    I like sitting here and trying to help people with their problems - it's challenging and rewarding (maybe that's a sad reflection on my life - I don't know). However, I get frustrated by the stupidity and plain uselessness of the titles some people give their questions. Here are a few examples of not thinking before you type and being generally unhelpful...



    I know there's a good list of examples at the top of this thread, but I thought a few real examples might be useful. Now, I know it must seem like I have too much freetime, but I just wanted to make a point and hopefully get this stickied on the other forums too.

    Cheers.
    Last edited by BonRouge; June 8th, 2005 at 07:52 AM.
  28. #15
  29. No Profile Picture
    Registered User
    Devshed Newbie (0 - 499 posts)

    Join Date
    Oct 2005
    Posts
    5
    Rep Power
    0
    Thanks for the tips. Never thought of searching before and it sorted my website problem without me having to spend hours explaining.
Page 1 of 3 123 Last
  • Jump to page:

IMN logo majestic logo threadwatch logo seochat tools logo