The forum of the forums

Would you like to react to this message? Create an account in a few clicks or log in to continue.
The forum of the forums
3 posters

    Java Madness

    avatar
    MegaMaster
    New Member


    Posts : 24
    Reputation : 1
    Language : english

    Solved Java Madness

    Post by MegaMaster October 23rd 2011, 4:14 pm

    Hey everyone. I wanted to know if u could help me with something. Okay, so I am making a javascript that you put in an html script which allows you to post in a forum.

    I have an html form with headers and footers of the website. I am making a javascript that goes in the header of the page so when they click submit, whatever they wrote will be posted. I need help with it, I don't know how to start it.

    Thanks,
    Mega


    Last edited by MegaMaster on October 23rd 2011, 9:44 pm; edited 1 time in total
    LGforum
    LGforum
    Hyperactive


    Male Posts : 2265
    Reputation : 264
    Language : English
    Location : UK

    Solved Re: Java Madness

    Post by LGforum October 23rd 2011, 4:23 pm

    So your trying to make a new post box? Like the quick reply.

    Now thats NOT a short 5 minute project, it a rather advanced project, so i'd back out if you don't know sufficient HTML or Javascript. I'm currently working on making my own.

    You start by designing your post box, in a form (and table if you want for structure), then filling in the buttons (Bold, Italic, Quote) etc, and creating the javascript functions that these will perform on click.

    You then have to make the form actually work and post. So its going to need the tid automatically filled in, and others hidden values within the form. the tid being the most important. And then of course it needs to be added to your page.


    Last edited by LGforum on October 23rd 2011, 5:01 pm; edited 1 time in total
    avatar
    MegaMaster
    New Member


    Posts : 24
    Reputation : 1
    Language : english

    Solved Re: Java Madness

    Post by MegaMaster October 23rd 2011, 4:37 pm

    lol but i want help to do it. its not my fault i don't know enough Razz

    But, how would u make the java email script code.
    LGforum
    LGforum
    Hyperactive


    Male Posts : 2265
    Reputation : 264
    Language : English
    Location : UK

    Solved Re: Java Madness

    Post by LGforum October 23rd 2011, 5:02 pm

    What do you mean the java email script code? lol.

    And make sure your not Javascript with Java. They are different things.
    avatar
    MegaMaster
    New Member


    Posts : 24
    Reputation : 1
    Language : english

    Solved Re: Java Madness

    Post by MegaMaster October 23rd 2011, 5:25 pm

    lol sorry, no you know how inexperienced I am.

    I mean is there a java code that could help you post?
    LGforum
    LGforum
    Hyperactive


    Male Posts : 2265
    Reputation : 264
    Language : English
    Location : UK

    Solved Re: Java Madness

    Post by LGforum October 23rd 2011, 5:40 pm

    Yes... the code to make a post is a HTML form...

    Let me link you to my current one im wokring on.
    **LINK REMOVED- LGforum**

    Take a look there, right click and click View Source. Now have a look through the coding.
    And thats not even 50% done.

    (FYI, i linked you to that to see what is required and how much must be done, you CAN NOT steal or use any of my codes from that page)

    Now, that you have seen that, do you want to carry on trying to make a new reply box?


    Last edited by LGforum on October 23rd 2011, 5:59 pm; edited 1 time in total
    avatar
    MegaMaster
    New Member


    Posts : 24
    Reputation : 1
    Language : english

    Solved Re: Java Madness

    Post by MegaMaster October 23rd 2011, 5:43 pm

    Lol I already started. Don't worry I wouldn't steal your codes. I was offerend some, but didn't know how to get them to work. It really does take a long time.

    Mine is very different from yours. Mine has individual fields that will post automatically.
    LGforum
    LGforum
    Hyperactive


    Male Posts : 2265
    Reputation : 264
    Language : English
    Location : UK

    Solved Re: Java Madness

    Post by LGforum October 23rd 2011, 5:58 pm

    Right well lets take a look at yours and i'll tell you how to move forward.
    avatar
    MegaMaster
    New Member


    Posts : 24
    Reputation : 1
    Language : english

    Solved Re: Java Madness

    Post by MegaMaster October 23rd 2011, 6:22 pm

    Okay I sent you an email I wanted the site to be confidential as of now. Also, is there a way to disable people from viewing your source code?
    LGforum
    LGforum
    Hyperactive


    Male Posts : 2265
    Reputation : 264
    Language : English
    Location : UK

    Solved Re: Java Madness

    Post by LGforum October 23rd 2011, 6:33 pm

    You can disable right click.
    avatar
    MegaMaster
    New Member


    Posts : 24
    Reputation : 1
    Language : english

    Solved Re: Java Madness

    Post by MegaMaster October 23rd 2011, 7:04 pm

    1st - How can u disable right click?

    2nd - How do I make a code that condenses the information.

    3rd- You should be given the helper status for forumotion.
    LGforum
    LGforum
    Hyperactive


    Male Posts : 2265
    Reputation : 264
    Language : English
    Location : UK

    Solved Re: Java Madness

    Post by LGforum October 23rd 2011, 9:00 pm

    1st - A small bit of javascript. Its a common code, so very available on google. Just type in 'Disable right click javascript' or something.

    Just know though, that disabling right click doesn't stop people getting to your HTML. If you have a page on the internet then.. the HTML is viewable, no way of stopping that.

    2nd - It would be a javascript function. It would be kind of hard for me to show you an example, without getting deep down and properly looking through your form and helping you. But basically, making sure every text field has an ID within your form. Then the form on submit, calls a function which will get all the information out of the form, make a new piece of data with it, in which it will either send to you by email, or post or something.

    3rd - I'm flattered. But coding and scripting is fun, i do it for myself just as much haha.
    avatar
    MegaMaster
    New Member


    Posts : 24
    Reputation : 1
    Language : english

    Solved Re: Java Madness

    Post by MegaMaster October 23rd 2011, 9:41 pm

    lol okay thank you for all your help again.

    Problem Solved Smile
    Sanket
    Sanket
    ForumGuru


    Male Posts : 48766
    Reputation : 2830
    Language : English
    Location : Mumbai

    Solved Re: Java Madness

    Post by Sanket October 23rd 2011, 9:44 pm

    Since this thread is marked solved, I will lock this thread & archive it.
    Java Madness 2j4t5a8

    Sanket Smile


      Current date/time is September 23rd 2024, 1:31 am