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.
Page 1 of 2 12 LastLast
Results 1 to 15 of 21
  1. #1
    Regular Coder
    Join Date
    Jul 2008
    Posts
    136
    Thanks
    18
    Thanked 0 Times in 0 Posts

    Review/Test Requested

    I have made a very simple submit form, I was wondering what everyone thought, so here it is. It is fairly straightforward to use, do whatever you want with it.

  • #2
    New Coder
    Join Date
    Aug 2008
    Posts
    34
    Thanks
    0
    Thanked 2 Times in 2 Posts
    it works. it's kinda basic, and kinda absurd but i guess that's in keeping with the site's theme.

    Not sure if this is a programming exercise or you are going to expand upon it but you might want to include some html parsing if you expect people to use the create page features. Keep at it.

  • #3
    Regular Coder
    Join Date
    Jul 2008
    Posts
    136
    Thanks
    18
    Thanked 0 Times in 0 Posts
    Alright, what do you mean by html parsing? I googled it and didn't really understand what was being said. Yes this is more of a programming exercise as I'm trying to learn as I go. I mean I think I got the basics of it, it's supposed to structure my document somehow? I don't really get why I would need one.

  • #4
    Supreme Master coder! _Aerospace_Eng_'s Avatar
    Join Date
    Dec 2004
    Location
    In a place far, far away...
    Posts
    19,291
    Thanks
    2
    Thanked 1,043 Times in 1,019 Posts
    The form is basic. I think you should look into something like fckeditor or tinymce. What he is saying about the html is you should allow users to put in their own custom html but this could be tricky as it may not be valid html.

    I think fckeditor is lighter in terms of number files that need to be uploaded than tinymce. You could also look into something like this: http://www.dynamicdrive.com/dynamici...iwyg/index.htm
    ||||If you are getting paid to do a job, don't ask for help on it!||||

  • #5
    Regular Coder
    Join Date
    Jul 2008
    Posts
    136
    Thanks
    18
    Thanked 0 Times in 0 Posts
    So basically with something like tinymce it's a pre-made form for me to use? I guess I was basically going to slowly create something like that, though I'm not big into using pre-made code like this, it's more for the learning experience for me, though I guess I should learn not to do everything myself. I mean I just don't know if I would feel like it's mine, you know?

  • #6
    The Apostate Apostropartheid's Avatar
    Join Date
    Oct 2007
    Posts
    3,215
    Thanks
    16
    Thanked 265 Times in 263 Posts
    It's...well, I miaowed at mine, and it didn't really do much. I guess I don't see much the POINT in it, although I did get a good laugh from this.

  • #7
    Regular Coder
    Join Date
    Sep 2007
    Location
    AZ, USA
    Posts
    685
    Thanks
    6
    Thanked 46 Times in 46 Posts
    Theres not a whole lot to the whole thing, but what there is works perfectly. I agree; HTML parsing is a logical next step.

  • #8
    Regular Coder
    Join Date
    Jul 2008
    Posts
    136
    Thanks
    18
    Thanked 0 Times in 0 Posts
    How would I get started HTML parsing though, I've been reading about it, but what I've been reading hasn't really been helpful.

  • #9
    Supreme Master coder! _Aerospace_Eng_'s Avatar
    Join Date
    Dec 2004
    Location
    In a place far, far away...
    Posts
    19,291
    Thanks
    2
    Thanked 1,043 Times in 1,019 Posts
    Just allow certain html to be used or allow custom html to be used period just be careful on what you allow. You won't want javascript because someone could hijack your page.
    ||||If you are getting paid to do a job, don't ask for help on it!||||

  • #10
    Regular Coder
    Join Date
    Jul 2008
    Posts
    136
    Thanks
    18
    Thanked 0 Times in 0 Posts
    So I should allow people to type
    Code:
    <p></p>
    instead of the button I have that inserts the [PARA][/PARA]? What about the people who don't readily know html codes, should I have both the button and allow certain html code?

  • #11
    Regular Coder FWDrew's Avatar
    Join Date
    Apr 2008
    Location
    Missouri
    Posts
    380
    Thanks
    38
    Thanked 45 Times in 43 Posts
    You can use the php
    Code:
    strip_tags()
    function and allow whatever tags you like:
    http://us3.php.net/strip-tags

    Regards,

    Drew
    Dev-Tips.com || Employee at the Envato Network || My Portfolio

  • #12
    Regular Coder
    Join Date
    Jul 2008
    Posts
    136
    Thanks
    18
    Thanked 0 Times in 0 Posts
    Well I haven't gotten around to changing the tags yet (or allowing html, I'm happy with the [BOLD][/BOLD] I'm using for now), but I have changed the buttons so they surround the text now, so it's a lot easier to get what you want now. So it's somewhat decent now.

  • #13
    New Coder
    Join Date
    Jul 2008
    Location
    Newcastle, UK
    Posts
    92
    Thanks
    3
    Thanked 7 Times in 5 Posts
    First Thoughts: *no comment*
    Design - Good
    n/a

    Design - Bad
    That blue background does not fit the site.
    The font 'Tahoma' does not look good on Sites. Documents is what it's for.
    It looks cluttered.

    Technical
    Validates
    What does it do?
    Ever thought of spammers?
    Beyond Moodle

  • #14
    Regular Coder
    Join Date
    Jul 2008
    Posts
    136
    Thanks
    18
    Thanked 0 Times in 0 Posts
    I don't use the Tahoma font...?
    *Sigh* many people told me about the blue background I suppose I should change it, I just can't find anything else I like. I've tried other sites, and gone to color sites, but nothing that I really like. I've thought of spammers, don't really care at this point, this is the form I use for submitting to my main site, and I'll use if for creating a cooking site once I've perfected it.

    Looking cluttered is new to me, what can I do about that? Just space things out more?

  • #15
    The Apostate Apostropartheid's Avatar
    Join Date
    Oct 2007
    Posts
    3,215
    Thanks
    16
    Thanked 265 Times in 263 Posts
    To be honest, white or shades of dark grey are probably going to be the best background you can find, and are seemingly the most popular, too.


  •  
    Page 1 of 2 12 LastLast

    Posting Permissions

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