Web Wiz - Green Windows Web Hosting

  New Posts New Posts RSS Feed - Design Issue: Admin Checkbox
  FAQ FAQ  Forum Search   Events   Register Register  Login Login

Topic ClosedDesign Issue: Admin Checkbox

 Post Reply Post Reply Page  123>
Author
djlurch View Drop Down
Groupie
Groupie
Avatar

Joined: 05 January 2005
Location: United States
Status: Offline
Points: 58
Direct Link To This Post Topic: Design Issue: Admin Checkbox
    Posted: 21 December 2006 at 1:36am
When I admin a forum, the popup window has a checkbox labeled: Show moved icon in last forum.

If I uncheck it, then click OK, the settings are save, the page is reloaded, and the checkbox is checked again.

This is not the expected behavior. I expect the form to display an accurate view of the values in the database, not what the programmer thinks I might want to do. In fact I almost never want the moved icon/link to appear.

Is there a way this can be fixed?

I'd prefer the checkbox to be be unchecked if the value would dictate that it is unknown or unchecked.




Edited by djlurch - 21 December 2006 at 1:36am
Back to Top
iSec View Drop Down
Senior Member
Senior Member
Avatar

Joined: 13 February 2005
Status: Offline
Points: 1140
Direct Link To This Post Posted: 21 December 2006 at 2:14am

To make it so that the 'Show moved icon in last forum' is unchecked by default do this:

1- Open the file: pop_up_topic_admin.asp
2- Go to line 461
3- Locate this code:
 
<input type="checkbox" name="moveIco" value="true" checked /><% = strTxtShowMovedIconInLastForum %></td>
 
4- Edit the value in red from checked to unchecked.
5- Save teh file, that's all.


Edited by Info_Tech - 21 December 2006 at 2:18am
Back to Top
djlurch View Drop Down
Groupie
Groupie
Avatar

Joined: 05 January 2005
Location: United States
Status: Offline
Points: 58
Direct Link To This Post Posted: 21 December 2006 at 6:58am
Info Tech:

Thanks for the response. Your post shows me that

a) You agree with my assessment

or

b) You have way too much free time to hack scripts...for me!


Back to Top
djlurch View Drop Down
Groupie
Groupie
Avatar

Joined: 05 January 2005
Location: United States
Status: Offline
Points: 58
Direct Link To This Post Posted: 21 December 2006 at 7:11am
It was line 553 in my code. Actually I just removed the checked word.

However, this doesn't fix the issue. At all. The solution just toggles the checkbox off. The value should be filled with the current value for that post.
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
Direct Link To This Post Posted: 21 December 2006 at 9:22am
Any moved posts is shown as moved icon in the last forum, the feature is only put there for your convenience so the admin can override the feature when moving a post.
Back to Top
dpyers View Drop Down
Senior Member
Senior Member


Joined: 12 May 2003
Status: Offline
Points: 3937
Direct Link To This Post Posted: 21 December 2006 at 9:58am
Personally, I prefer having the check box on so moved posts ar flagged as such automatically.

Lead me not into temptation... I know the short cut, follow me.
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
Direct Link To This Post Posted: 21 December 2006 at 11:05am
It seems to be a bit of a personal choice and is only applied when you first move the post and not at a later time, which is why the value is not set by a database flag.

By default when you move a post it will leave a flag in the old forum that the post has been moved, however, because not everyone wants this a simple checkbox is added so at the time when you move the post you can select to not have the post flagged with a moved icon in the old forum.


Edited by -boRg- - 21 December 2006 at 11:06am
Back to Top
iSec View Drop Down
Senior Member
Senior Member
Avatar

Joined: 13 February 2005
Status: Offline
Points: 1140
Direct Link To This Post Posted: 21 December 2006 at 3:29pm
Originally posted by djlurch djlurch wrote:

Info Tech:

Thanks for the response. Your post shows me that

a) You agree with my assessment

or

b) You have way too much free time to hack scripts...for me!
 
You asked if it could be fixed, you didn't ask if we agree or disagree. The only thing you needed to do is have the "Un" included in the code... but to make it simpler for you I thought of telling you where to go to do it.
Back to Top
 Post Reply Post Reply Page  123>

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.