Welcome Visitor, Please Login or Register Now Thursday, March 28, 2024 02:13 PM 
Forums Index > Mewsoft > Minor Updates and bug fixes > Boardawy Update 1.45
New Topic   New Reply
Search for:
Author Message
mewsoft mewsoft's personal page
Administrator Team Member
Posts: 5381 Display member's posts
Joined: 03-28-24 02:13 PM
Location: knxoville, TN, USA
Member Offline
View Member's Profile Visit member's website Mewsoft Corporation Send private message ICQ Messenger: ICQ AIM Messenger: AIM YIM Messenger: Yahoo MSN Messenger: MSN
 
Back to top
Boardawy Update 1.45 Edit Delete Reply with quote Quote
First Post Posted on: 07-28-09 03:28 PM next post first post

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 mewsoft's personal page
Administrator Team Member
Posts: 5381 Display member's posts
Joined: 03-28-24 02:13 PM
Location: knxoville, TN, USA
Member Offline
View Member's Profile Visit member's website Mewsoft Corporation Send private message ICQ Messenger: ICQ AIM Messenger: AIM YIM Messenger: Yahoo MSN Messenger: MSN
 
Back to top
Notify Emails Edit Delete Reply with quote Quote
Reply #: 1 Posted on: 07-28-09 07:09 PM last post previous post

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

Page 1 of 1
Go to page:

New Topic   New Reply Mark Unread
Jump to:  
Delete   Move     Lock   +Favorits   +Notify   Print