Author |
Topic |
|
LarsBerg
Starting Member
10 Posts |
Posted - 15 February 2001 : 20:56:11
|
If you press the 'upper' 'Post Changes' button when editing a forum, and the auth type is 'Allowed member list', the memberlist will be cleared.
Lars Berg |
|
Davio
Development Team Member
Jamaica
12217 Posts |
Posted - 16 February 2001 : 13:00:33
|
I'm not able to reproduce this bug. Memberlist was still there when I pressed the upper Post Changes button. Lars, are you saying the memberlist is cleared when you submit the changes? Do you get this each time you edit the forum with the criteria you specified? Also it would be good to see what you're talking about. If you could give us a url and a temp. admin account just to confirm if it is really a bug.
*----*----*----*----*----*----*----*----* "Even when you feel you have nothing left, You still have prayer--And that's enough." *----*----*----*----*----*----*----*----* |
|
|
LarsBerg
Starting Member
10 Posts |
Posted - 16 February 2001 : 13:38:58
|
OK.
Goto http://support.ccd.as/
Username and password has been sendt to you email address. |
|
|
Davio
Development Team Member
Jamaica
12217 Posts |
Posted - 17 February 2001 : 06:54:29
|
Yep this is a bug, but is easy to fix. Open post.asp and search for:<input name="Submit" type="submit" value="<% =btn %>"> There should be 2 occurences. Change the first one to this:<input name="Submit" type="submit" value="<% =btn %>" onclick="selectUsers()"> The selectUsers() function wasn't being called when you submit the changes using the first "Post Changes" button.
*----*----*----*----*----*----*----*----* "Even when you feel you have nothing left, You still have prayer--And that's enough." *----*----*----*----*----*----*----*----* |
|
|
Reinsnitz
Snitz Forums Admin
USA
3545 Posts |
Posted - 17 February 2001 : 21:17:13
|
fixed in source of sf2k_31sr5a6.zip
Reinsnitz (Mike) ><)))'> "Therefore go and make disciples of all nations,..." Matthew 28:19a |
|
|
gor
Retired Admin
Netherlands
5511 Posts |
Posted - 19 February 2001 : 01:10:34
|
Re-opened this bug...
In Version 3.1 SR5 Alpha 6:
When adding a new Topic you get a javascript popup stating:
line 376 document.PostTopic.AuthUsers.Length is no object
and after that: Microsoft VBScript compilation error '800a0401'
Expected end of statement
/forum/post_info.asp, line 891
strSql = strSql & " FROM & strTablePrefix & "FORUM " ---------------------------------------------^
Pierre |
|
|
RichardKinser
Snitz Forums Admin
USA
16655 Posts |
Posted - 19 February 2001 : 01:17:54
|
A better solution would be to not put in the onclick="selectUsers()" on the first button. But, to only show the bottom row of buttons when Private Forums are enabled. There is no need for 2 submit buttons and 2 reset fields buttons. |
|
|
HuwR
Forum Admin
United Kingdom
20584 Posts |
Posted - 19 February 2001 : 06:12:56
|
you can not use the fix suggested here, this casusing topic posting to break.
you have added the selectUsers call to the wrong form, they are related by name
|
|
|
Reinsnitz
Snitz Forums Admin
USA
3545 Posts |
Posted - 19 February 2001 : 11:39:04
|
Huw? what are you suggesting?
Reinsnitz (Mike) ><)))'> "Therefore go and make disciples of all nations,..." Matthew 28:19a |
|
|
HuwR
Forum Admin
United Kingdom
20584 Posts |
Posted - 19 February 2001 : 12:06:13
|
Jus t pointing out why you can't use onclick in the foirst submit, since the comboboxes are not difined under all circumstances where these appear. Richards solution would be the best, removing the top set of buttons when the bottom appear.
|
|
|
Davio
Development Team Member
Jamaica
12217 Posts |
Posted - 19 February 2001 : 12:11:31
|
Ok, I didn't do extensive testing on the fix i suggested, but I would go with what Richard said too. No need for two post buttons.
*----*----*----*----*----*----*----*----* "Even when you feel you have nothing left, You still have prayer--And that's enough." *----*----*----*----*----*----*----*----* |
|
|
Reinsnitz
Snitz Forums Admin
USA
3545 Posts |
Posted - 19 February 2001 : 12:16:27
|
DOH! never mind... I was confused and thinking of something else completely...
Reinsnitz (Mike) ><)))'> "Therefore go and make disciples of all nations,..." Matthew 28:19a |
|
|
RichardKinser
Snitz Forums Admin
USA
16655 Posts |
|
HuwR
Forum Admin
United Kingdom
20584 Posts |
Posted - 19 February 2001 : 19:06:09
|
quote:
Yep this is a bug, but is easy to fix. Open post.asp and search for:<input name="Submit" type="submit" value="<% =btn %>"> There should be 2 occurences. Change the first one to this:<input name="Submit" type="submit" value="<% =btn %>" onclick="selectUsers()"> The selectUsers() function wasn't being called when you submit the changes using the first "Post Changes" button.
*----*----*----*----*----*----*----*----* "Even when you feel you have nothing left, You still have prayer--And that's enough." *----*----*----*----*----*----*----*----*
This what I was referring to when I said you couldn't fis it this way. I just checked on my forum, and the list gets posted whichever button I use.
I meant to add, the selectUsers() does not actually do anything other than select the list and could therfore be removed, I think I just used it for testing. the actually work is done by InsertSelection and movewhole list.
Edited by - huwr on 19 February 2001 19:10:21 |
|
|
Reinsnitz
Snitz Forums Admin
USA
3545 Posts |
Posted - 19 February 2001 : 22:47:03
|
fixed in the source of sf2k_31sr5a7.zip
Reinsnitz (Mike) ><)))'> "Therefore go and make disciples of all nations,..." Matthew 28:19a |
|
|
|
Topic |
|