Snitz Forums 2000
Snitz Forums 2000
Home | Profile | Register | Active Topics | Members | Search | FAQ
Username:
Password:
Save Password
Forgot your Password?

 All Forums
 Snitz Forums 2000 DEV-Group
 DEV Bug Reports (Closed)
 v3.3 BUG+FIX: Topic Nowrap Right option not saving
 Forum Locked  Topic Locked
 Printer Friendly
Author Previous Topic Topic Next Topic  

DarrenLuxton
Junior Member

184 Posts

Posted - 28 February 2002 :  17:37:09  Show Profile
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  Show Profile  Visit Nathan's Homepage
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
Go to Top of Page

Davio
Development Team Member

Jamaica
12217 Posts

Posted - 28 February 2002 :  23:37:47  Show Profile
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
Go to Top of Page

Nathan
Help Moderator

USA
7664 Posts

Posted - 01 March 2002 :  00:01:20  Show Profile  Visit Nathan's Homepage
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
Go to Top of Page

RichardKinser
Snitz Forums Admin

USA
16655 Posts

Posted - 01 March 2002 :  00:38:10  Show Profile
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
Go to Top of Page

RichardKinser
Snitz Forums Admin

USA
16655 Posts

Posted - 01 March 2002 :  00:40:01  Show Profile
If you do a view source when you are in the Font/Table Color Code Configuration you'll notice that both items are checked.
Go to Top of Page

Nathan
Help Moderator

USA
7664 Posts

Posted - 01 March 2002 :  00:43:44  Show Profile  Visit Nathan's Homepage
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
Go to Top of Page

RichardKinser
Snitz Forums Admin

USA
16655 Posts

Posted - 01 March 2002 :  00:49:02  Show Profile
a remnant from ASP-DEV Forums. All instances of the variables without the str prefix have been removed in v3.4 as well.
Go to Top of Page

RichardKinser
Snitz Forums Admin

USA
16655 Posts

Posted - 01 March 2002 :  00:51:16  Show Profile
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 & _
Go to Top of Page

DarrenLuxton
Junior Member

184 Posts

Posted - 01 March 2002 :  06:54:34  Show Profile
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

Go to Top of Page

HuwR
Forum Admin

United Kingdom
20595 Posts

Posted - 01 March 2002 :  10:41:38  Show Profile  Visit HuwR's Homepage
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.

Go to Top of Page
  Previous Topic Topic Next Topic  
 Forum Locked  Topic Locked
 Printer Friendly
Jump To:
Snitz Forums 2000 © 2000-2021 Snitz™ Communications Go To Top Of Page
This page was generated in 0.18 seconds. Powered By: Snitz Forums 2000 Version 3.4.07