Forums Index > Mewsoft > Minor Updates and bug fixes > Boardawy Update 1.45
mewsoft First Post Posted on: 07-28-09 03:28 PM
Boardawy Update 1.45

This update solves the issue with multiple post submisstions that happens with users on slow connections and to avoid multiple click on the submit buttons for new posts and new topics. If yu do not have these issues no need to update.

How to update

update the cgi files:

PostReply.pm
PostTopic.pm
Configuration.pm

update the language file Forum.pm or just do these changes:

new_post_submit~==~<input name="Post" type="submit" value="Submit" class="Buttons" onClick="document.NewPost.SubAction.value='Submit'; mySubmit(); return false;">

new_post_preview~==~<input name="Preview" type="submit" value="Preview" class="Buttons" onClick="document.NewPost.SubAction.value='Preview'; mySubmit(); return false;">

post_new_topic_submit~==~< input name="Post" type="submit" value="Submit" class="Buttons" onClick="document.NewPost.SubAction.value='Submit'; mySubmit(); return false;">

post_new_topic_preview~==~<input name="Preview" type="submit" value="Preview" class="Buttons" onClick="document.NewPost.SubAction.value='Preview'; mySubmit(); return false;">

Update the templates:
NewTopic.html, NewPost.html

or do the following changes in both templates:

change the line:
<input type="hidden" name="VisualEditorSwitch" value="">

to:

  <input type="hidden" name="VisualEditorSwitch" value="">
  <input type="hidden" name="SubAction" value="">

change the line:
function mySubmit() {

to:

function mySubmit() {

 document.NewPost.Post.disabled=true;
 document.NewPost.Preview.disabled=true;

That's it.

Thank you


Mewsoft Support
www.mewsoft.com

mewsoft Reply #: 1 Posted on: 07-28-09 07:09 PM
Notify Emails

Please update the cgi file Forum.pm to fix the Topic Emails Notifications for users subscribing to these topics. This  update was released after the above release so you need to download the package again from our site.


Mewsoft Support
www.mewsoft.com