Author |
Topic  |
|
DarrenLuxton
Junior Member
 
184 Posts |
Posted - 28 February 2002 : 17:37:09
|
I'm getting a problem in the table cofig under admin options whenever i select No Wrap Rigth, and hit submit, it appears successfull, then when i go back into config to check, it;s turned itself off again
any ideas?
Edited by - Davio on 01 March 2002 12:54:58 |
|
Nathan
Help Moderator
    
USA
7664 Posts |
Posted - 28 February 2002 : 19:21:32
|
This appears to be a bug, and my searches came up dry. So I moved it here.
Nathan Bales - Romans 15:13 --------------------------------- Snitz Exchange | Mod Resource |
 |
|
Davio
Development Team Member
    
Jamaica
12217 Posts |
Posted - 28 February 2002 : 23:37:47
|
Can you post a link to your forum? Also email me a username and password for an administrator account. Is this is standard version of the 3.3.03 version of the forums? Have you made any modifications to your files?
I am doubting this is bug. I was wrong. 
Edited by - Davio on 01 March 2002 10:53:07 |
 |
|
Nathan
Help Moderator
    
USA
7664 Posts |
Posted - 01 March 2002 : 00:01:20
|
http://66.189.200.59/3303/ The only thing I have change on this fresh install of 3.3.03 is the email config. Like Darren sais. . . when you set the no wrap right to "on" it changes back to "off" after you submit it. *Is attempting to find out why now*
Nathan Bales - Romans 15:13 --------------------------------- Snitz Exchange | Mod Resource |
 |
|
RichardKinser
Snitz Forums Admin
    
USA
16655 Posts |
Posted - 01 March 2002 : 00:38:10
|
on line #307 of admin_config_colors.asp change this:
<tr valign="top"> <td bgColor="<% =strPopUpTableColor %>" align="right"><font face="<% =strDefaultFontFace %>" size="<% =strDefaultFontSize %>"><b>Topic NOWRAP Right:</b> </font></td> <td bgColor="<% =strPopUpTableColor %>"><font face="<% =strDefaultFontFace %>" size="<% =strDefaultFontSize %>"> On: <input type="radio" class="radio" name="strTopicNoWrapRight" value="1" <% if (lcase(strTopicNoWrapRight) = "1" or lcase(TopicNoWrapRight) = "1") then Response.Write("checked")%>> Off: <input type="radio" class="radio" name="strTopicNoWrapRight" value="0" <% if (lcase(strTopicNoWrapRight) <> "1" or lcase(TopicNoWrapRight) <> "1") then Response.Write("checked")%>> <a href="JavaScript:openWindow3('pop_config_help.asp#nowrap')"><img src="<%= strImageURL %>icon_smile_question.gif" border="0"></a> </font></td> </tr>
to this:
<tr valign="top"> <td bgColor="<% =strPopUpTableColor %>" align="right"><font face="<% =strDefaultFontFace %>" size="<% =strDefaultFontSize %>"><b>Topic NOWRAP Right:</b> </font></td> <td bgColor="<% =strPopUpTableColor %>"><font face="<% =strDefaultFontFace %>" size="<% =strDefaultFontSize %>"> On: <input type="radio" class="radio" name="strTopicNoWrapRight" value="1" <% if (lcase(strTopicNoWrapRight) <> "0" or lcase(TopicNoWrapRight) <> "0") then Response.Write("checked")%>> Off: <input type="radio" class="radio" name="strTopicNoWrapRight" value="0" <% if (lcase(strTopicNoWrapRight) = "0" or lcase(TopicNoWrapRight) = "0") then Response.Write("checked")%>> <a href="JavaScript:openWindow3('pop_config_help.asp#nowrap')"><img src="<%= strImageURL %>icon_smile_question.gif" border="0"></a> </font></td> </tr>
this is already fixed in v3.4 |
 |
|
RichardKinser
Snitz Forums Admin
    
USA
16655 Posts |
Posted - 01 March 2002 : 00:40:01
|
If you do a view source when you are in the Font/Table Color Code Configuration you'll notice that both items are checked. |
 |
|
Nathan
Help Moderator
    
USA
7664 Posts |
Posted - 01 March 2002 : 00:43:44
|
Well, either both checked or nither checked, depending on wether it was 1 or 0
I fixed it like this:
On: <input type="radio" class="radio" name="strTopicNoWrapRight" value="1" <% if strTopicNoWrapRight = "1" then Response.Write("checked")%>> Off: <input type="radio" class="radio" name="strTopicNoWrapRight" value="0" <% if strTopicNoWrapRight = "0" then Response.Write("checked")%>>
I do not know why the lcase and the TopicsNoWrapRight without the "str" were there. . .
Nathan Bales - Romans 15:13 --------------------------------- Snitz Exchange | Mod Resource
Edited by - Nathan on 01 March 2002 00:49:31 |
 |
|
RichardKinser
Snitz Forums Admin
    
USA
16655 Posts |
Posted - 01 March 2002 : 00:49:02
|
a remnant from ASP-DEV Forums. All instances of the variables without the str prefix have been removed in v3.4 as well. |
 |
|
RichardKinser
Snitz Forums Admin
    
USA
16655 Posts |
Posted - 01 March 2002 : 00:51:16
|
this is what we are using in v3.4:
" On: <input type=""radio"" class=""radio"" name=""strTopicNoWrapRight"" value=""1""" if (lcase(strTopicNoWrapRight) <> "0") then Response.Write(" checked") Response.Write ">" & vbNewLine & _ " Off: <input type=""radio"" class=""radio"" name=""strTopicNoWrapRight"" value=""0""" if (lcase(strTopicNoWrapRight) = "0") then Response.Write(" checked") Response.Write ">" & vbNewLine & _ |
 |
|
DarrenLuxton
Junior Member
 
184 Posts |
Posted - 01 March 2002 : 06:54:34
|
Thanks guys, that helped, i changed the line at #307, and it's now working perfect, however, i have one more problem, which i think maybe related to this, not sure.
in the PM section, when you reply to a PM, it still doesn't wrap the text, so your reply box is way off the right screen, and you've gotta scroll to find it.
Any ideas on this one
www.paladinsofasheron.org
|
 |
|
HuwR
Forum Admin
    
United Kingdom
20595 Posts |
Posted - 01 March 2002 : 10:41:38
|
quote:
in the PM section, when you reply to a PM, it still doesn't wrap the text, so your reply box is way off the right screen, and you've gotta scroll to find it.
It may or may not be related, but is not a forum bug as PM's is a mod. You should therefore post this elswhere.
|
 |
|
|
Topic  |
|