![]() |
Quote:
|
No problem :)
You can pretty much add anything else by simply copy and pasting from the newreply template. I also added the 3 checkboxes below the reply form to support signatures, email notifications and url parsing. |
Nice I like it.
and there is a but I have a win xp so i get an error when I submit a reply line 356 error object expected |
As the man from Mars used to say, "I am only an egg". I tried looking at the proposed change to the showthread template, and when I unzipped the attachment mentioned in the OP, I saw two lines that had "extended ASCII" characters:
Code:
<td width="18%" bgcolor="#DFDFDF" valign="top"><normalfont><b>??? ?????:</b></normalfont> Code:
<input type="submit" class="bginput" value="?????????" |
1st mean Your reply
2nd mean Send or Submit |
Thank you very much.
|
Thank you for a nice hack!
I am using Windows Me... and also get an error when I submit a reply... something like "line 325..error, object expected". Did anyone else get this message and managed to fix it? I have been around this error message before on another page, and not for vb stuff (it was a geocities page) I then got rid of the error as I had chosen an image, but not included it (there was an empty box showing when looking at the html coding). I dare not change anything here tho... as I am not a pro! |
Yes, the HTML expert at our site managed to fix it. It seems like there is a call to a javascript function called "validate" and she added the validate function to the template. She found the source code of the validate function by looking at the page source for a post reply page, IIRC. If you need more information I can look it up for you.
|
Thanks, that would have been nice :)
I was almost thinking about un-installing this one until someone else took over! Appreciate it. |
Sorry, I don't check this forum every day. Here's the change made in a template, to avoid the javascript error caused by applying the template change suggested in the original post:
============= In Templates -> Show Thread Templates -> showthread Added <script language="javascript"> <!-- var postmaxchars = 20000; function validate(theform) { if (theform.message.value=="") { alert("Please complete the message field."); return false; } if (postmaxchars != 0) { if (theform.message.value.length > 20000) { alert("Your message is too long.\n\nReduce your message to 20000 characters.\nIt is currently "+theform.message.value.length+" characters long."); return false; } else { return true; } } else { return true; } } function checklength(theform) { if (postmaxchars != 0) { message = "\nThe maximum permitted length is 20000 characters."; } else { message = ""; } alert("Your message is "+theform.message.value.length+" characters long."+message); } //--> </script> After the other </script> tag in the head ============= Replace 20000 by the maximum post size at your board. |
All times are GMT. The time now is 02:27 AM. |
Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|