| Author |
Topic Search Topic Options
|
djlurch
Groupie
Joined: 05 January 2005
Location: United States
Status: Offline
Points: 58
|
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
|
 |
iSec
Senior Member
Joined: 13 February 2005
Status: Offline
Points: 1140
|
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
|
 |
djlurch
Groupie
Joined: 05 January 2005
Location: United States
Status: Offline
Points: 58
|
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!
|
 |
djlurch
Groupie
Joined: 05 January 2005
Location: United States
Status: Offline
Points: 58
|
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.
|
 |
WebWiz-Bruce
Admin Group
Web Wiz Developer
Joined: 03 September 2001
Location: Bournemouth
Status: Offline
Points: 9844
|
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.
|
|
|
 |
dpyers
Senior Member
Joined: 12 May 2003
Status: Offline
Points: 3937
|
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.
|
 |
WebWiz-Bruce
Admin Group
Web Wiz Developer
Joined: 03 September 2001
Location: Bournemouth
Status: Offline
Points: 9844
|
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
|
|
|
 |
iSec
Senior Member
Joined: 13 February 2005
Status: Offline
Points: 1140
|
Posted: 21 December 2006 at 3:29pm |
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.
|
 |