Web Wiz - Green Windows Web Hosting

  New Posts New Posts RSS Feed - Couple small PM bugs with workarounds
  FAQ FAQ  Forum Search   Events   Register Register  Login Login

Couple small PM bugs with workarounds

 Post Reply Post Reply
Author
stevehal View Drop Down
Groupie
Groupie


Joined: 07 December 2003
Status: Offline
Points: 32
Post Options Post Options   Thanks (1) Thanks(1)   Quote stevehal Quote  Post ReplyReply Direct Link To This Post Topic: Couple small PM bugs with workarounds
    Posted: 14 October 2011 at 8:14pm
Hi,
 
I found a few small bugs in the PM system of 10.03. I am posting my workarounds if that is OK.
 
Our forum has been around quite a while, and I have an archive of about 700 PM's since I am admin of the forum. The limit is 100.
 
Every time I would go to the forum, I would get the warning popup message saying I was over my limit, even though there is no inbox limit for admins (group 1). So to remove the popup from appearing for the admin group 1, I went to Includes/pm_check_inc.asp and added this around line 80, enclosing the popup message code in an if statement:
 
If intGroupID <> 1 then
    <Popup message code is here>
End If
 
Also, the percentage bar would overscroll the table boundary, all the way off the page. So to fix that I did this on these files in the root folder:
 
In pm_inbox.asp I added right above the HTML table with the bar graph (around line 378):
 
If intNumOfPMs > intPmInbox Then intNumOfPMs = intPmInbox
 
I did similar in the pm_outbox.asp at around line 365:
 
If intNumOfPMs > intPmOutbox Then intNumOfPMs = intPmOutbox
 
With the above, the percentage slider will stay within the table boundary.
 
Hope the above is useful!
 
Thanks,
 
Steve


Edited by stevehal - 15 October 2011 at 2:53am
Back to Top
WebWiz-Bruce View Drop Down
Admin Group
Admin Group
Avatar
Web Wiz Developer

Joined: 03 September 2001
Location: Bournemouth
Status: Offline
Points: 9844
Post Options Post Options   Thanks (0) Thanks(0)   Quote WebWiz-Bruce Quote  Post ReplyReply Direct Link To This Post Posted: 15 October 2011 at 10:37am
Thanks stevehal.

Will look at adding these changes to the next release.
Back to Top
 Post Reply Post Reply

Forum Jump Forum Permissions View Drop Down

Forum Software by Web Wiz Forums® version 12.08
Copyright ©2001-2026 Web Wiz Ltd.


Become a Fan on Facebook Follow us on X Connect with us on LinkedIn Web Wiz Blogs
About Web Wiz | Contact Web Wiz | Terms & Conditions | Cookies | Privacy Notice

Web Wiz is the trading name of Web Wiz Ltd. Company registration No. 05977755. Registered in England and Wales.
Registered office: Web Wiz Ltd, Unit 18, The Glenmore Centre, Fancy Road, Poole, Dorset, BH12 4FB, UK.

Prices exclude VAT at 20% unless otherwise stated. VAT No. GB988999105 - $, € prices shown as a guideline only.

Copyright ©2001-2026 Web Wiz Ltd. All rights reserved.