The forum of the forums
Welcome to the Official Support Forum of Forumotion!

To take full advantage of everything offered by our forum, please log in if you are already a member, or join our community if you've not yet.



Create a free forum like this one.

Java Madness

View previous topic View next topic Go down

Solved Java Madness

Post by MegaMaster on Sun 23 Oct - 10:14

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 Sun 23 Oct - 15:44; edited 1 time in total

MegaMaster
New Member

Posts : 24
Reputation : 1
Language : english

Back to top Go down

Solved Re: Java Madness

Post by LGforum on Sun 23 Oct - 10:23

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 Sun 23 Oct - 11:01; edited 1 time in total

LGforum
Hyperactive

Male Posts : 2260
Reputation : 258
Language : English
Location : UK

http://www.avacweb.com/

Back to top Go down

Solved Re: Java Madness

Post by MegaMaster on Sun 23 Oct - 10:37

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.

MegaMaster
New Member

Posts : 24
Reputation : 1
Language : english

Back to top Go down

Solved Re: Java Madness

Post by LGforum on Sun 23 Oct - 11:02

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

And make sure your not Javascript with Java. They are different things.

LGforum
Hyperactive

Male Posts : 2260
Reputation : 258
Language : English
Location : UK

http://www.avacweb.com/

Back to top Go down

Solved Re: Java Madness

Post by MegaMaster on Sun 23 Oct - 11:25

lol sorry, no you know how inexperienced I am.

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

MegaMaster
New Member

Posts : 24
Reputation : 1
Language : english

Back to top Go down

Solved Re: Java Madness

Post by LGforum on Sun 23 Oct - 11:40

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 Sun 23 Oct - 11:59; edited 1 time in total

LGforum
Hyperactive

Male Posts : 2260
Reputation : 258
Language : English
Location : UK

http://www.avacweb.com/

Back to top Go down

Solved Re: Java Madness

Post by MegaMaster on Sun 23 Oct - 11:43

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.

MegaMaster
New Member

Posts : 24
Reputation : 1
Language : english

Back to top Go down

Solved Re: Java Madness

Post by LGforum on Sun 23 Oct - 11:58

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

LGforum
Hyperactive

Male Posts : 2260
Reputation : 258
Language : English
Location : UK

http://www.avacweb.com/

Back to top Go down

Solved Re: Java Madness

Post by MegaMaster on Sun 23 Oct - 12:22

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?

MegaMaster
New Member

Posts : 24
Reputation : 1
Language : english

Back to top Go down

Solved Re: Java Madness

Post by LGforum on Sun 23 Oct - 12:33

You can disable right click.

LGforum
Hyperactive

Male Posts : 2260
Reputation : 258
Language : English
Location : UK

http://www.avacweb.com/

Back to top Go down

Solved Re: Java Madness

Post by MegaMaster on Sun 23 Oct - 13:04

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.

MegaMaster
New Member

Posts : 24
Reputation : 1
Language : english

Back to top Go down

Solved Re: Java Madness

Post by LGforum on Sun 23 Oct - 15:00

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.

LGforum
Hyperactive

Male Posts : 2260
Reputation : 258
Language : English
Location : UK

http://www.avacweb.com/

Back to top Go down

Solved Re: Java Madness

Post by MegaMaster on Sun 23 Oct - 15:41

lol okay thank you for all your help again.

Problem Solved Smile

MegaMaster
New Member

Posts : 24
Reputation : 1
Language : english

Back to top Go down

Solved Re: Java Madness

Post by Sanket on Sun 23 Oct - 15:44

Since this thread is marked solved, I will lock this thread & archive it.


Sanket Smile


Sanket
ForumGuru

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

http://webartzforum.com

Back to top Go down

View previous topic View next topic Back to top


 
Permissions in this forum:
You cannot reply to topics in this forum