Snitz Forums 2000
Snitz Forums 2000
Home | Profile | Register | Active Topics | Members | Search | FAQ
Username:
Password:
Save Password
Forgot your Password?

 All Forums
 Snitz Forums 2000 MOD-Group
 MOD Add-On Forum (W/O Code)
 Search MOD in send message...
 New Topic  Topic Locked
 Printer Friendly
Author Previous Topic Topic Next Topic  

zbenggg
Junior Member

Israel
227 Posts

Posted - 26 December 2002 :  13:16:11  Show Profile
Hello,

I look in Snitz here this:



There is MOD ?

Thanks

I love Israel

zbenggg
Junior Member

Israel
227 Posts

Posted - 27 December 2002 :  06:54:36  Show Profile
Hello ???
Please...

I love Israel
Go to Top of Page

GauravBhabu
Advanced Member

4288 Posts

Posted - 27 December 2002 :  06:59:16  Show Profile
What Mod you are looking for? Screen shot seems to be of Quick Reply option.
Go to Top of Page

zbenggg
Junior Member

Israel
227 Posts

Posted - 27 December 2002 :  07:08:59  Show Profile
I'm sorry that I do not know English is good,
I know that much don't understnd me and therefore do not answer me,
I will explain myself once more:

I search MOD Put that send an Reply/topic in the forum of the pushbutton will show as those he already under pressure.
Really like here.

My server is slow and the member send an Reply/topic and then press times and in the end 2 Reply/topic are sent
Therefore I truly need it...

Thank you

I love Israel
Go to Top of Page

GauravBhabu
Advanced Member

4288 Posts

Posted - 27 December 2002 :  08:45:50  Show Profile
You mean submit button should be disabled once the user clicks it, so that it can not be pressed again?
Go to Top of Page

zbenggg
Junior Member

Israel
227 Posts

Posted - 27 December 2002 :  09:01:38  Show Profile
Yes,
accurately !!!

I love Israel
Go to Top of Page

GauravBhabu
Advanced Member

4288 Posts

Posted - 27 December 2002 :  09:01:54  Show Profile
File inc_code.js

Find the following function begining at line 485 in file inc_code.js. Add the statements in red as shown. Let me know if it works.

function validate(){
	if (document.PostTopic.Subject) {
		if (trim(document.PostTopic.Subject.value)=="") {
			alert("You must enter a Subject")
			return false
		}
	}
	if (document.PostTopic.Message) {
		if (trim(document.PostTopic.Message.value)=="") {
			alert("You must enter a Message")
			return false
		}
	}
	document.PostTopic.Submit.disabled=true;
	document.PostTopic.Submit.value='Please Wait...';
	document.PostTopic.Submit.style.cursor='wait';
	return true
}
Go to Top of Page

zbenggg
Junior Member

Israel
227 Posts

Posted - 27 December 2002 :  09:09:12  Show Profile
Not work...

I love Israel
Go to Top of Page

GauravBhabu
Advanced Member

4288 Posts

Posted - 27 December 2002 :  09:23:38  Show Profile
Can you post how your modified code looks like
Go to Top of Page

zbenggg
Junior Member

Israel
227 Posts

Posted - 27 December 2002 :  09:26:58  Show Profile
Yes...

function validate(){
	if (document.PostTopic.Subject) {
		if (trim(document.PostTopic.Subject.value)=="") {
			alert("éù ìäæéï ðåùà...")
			return false
		}
	}
	if (document.PostTopic.Message) {
		if (trim(document.PostTopic.Message.value)=="") {
			alert("éù ìäæéï àú úåëï ääåãòä...")
			return false
		}
	}
	document.PostTopic.Submit.disabled=true;
	document.PostTopic.Submit.value='Please Wait...';
	document.PostTopic.Submit.style.cursor='wait';
	return true
}

function ResetForm(form) {
	var where_to= confirm("Do you really want to Reset the Form Fields?");
	if (where_to== true) {
		form.reset();
	}
}

//code below found here:  http://www.marzie.com/devtools/javascript/functions.asp

function ltrim(s) {
	return s.replace( /^\s*/, "" );
}
function rtrim(s) {
	return s.replace( /\s*$/, "" );
}
function trim ( s ) {
	return rtrim(ltrim(s));
}

I love Israel
Go to Top of Page

GauravBhabu
Advanced Member

4288 Posts

Posted - 27 December 2002 :  09:39:06  Show Profile
Works for me at my forum. Strange!
Go to Top of Page

zbenggg
Junior Member

Israel
227 Posts

Posted - 27 December 2002 :  09:42:08  Show Profile

More somebody...

I love Israel
Go to Top of Page

davemaxwell
Access 2000 Support Moderator

USA
3020 Posts

Posted - 27 December 2002 :  10:25:01  Show Profile  Visit davemaxwell's Homepage  Send davemaxwell an AOL message  Send davemaxwell an ICQ Message  Send davemaxwell a Yahoo! Message
Isn't that just flood control, which was added in with v3.4.xx??

Dave Maxwell
Barbershop Harmony Freak
Go to Top of Page

zbenggg
Junior Member

Israel
227 Posts

Posted - 27 December 2002 :  10:31:10  Show Profile
Yes...
Flood Control in ON
But to want also the this.

Thanks

I love Israel
Go to Top of Page

DoraMoon
Average Member

Taiwan
661 Posts

Posted - 27 December 2002 :  11:04:09  Show Profile
hi~ zbenggg,
just try it again! GauravBhabu's code work great for me... (thx! GB )
i also can't think about why it wo'nt work for you.....

maybe let us know what's the detail of "not work" situation...
and also try posting a blank message or blank topic subject.
to see if the popup alert window show or not.
Go to Top of Page

zbenggg
Junior Member

Israel
227 Posts

Posted - 27 December 2002 :  12:39:57  Show Profile
Is work sometimes...
But thanks

I love Israel
Go to Top of Page
  Previous Topic Topic Next Topic  
 New Topic  Topic Locked
 Printer Friendly
Jump To:
Snitz Forums 2000 © 2000-2021 Snitz™ Communications Go To Top Of Page
This page was generated in 0.32 seconds. Powered By: Snitz Forums 2000 Version 3.4.07