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

 All Forums
 Help Groups for Snitz Forums 2000 Users
 Help: MOD Implementation
 Advanced Color Control
 New Topic  Topic Locked
 Printer Friendly
Author Previous Topic Topic Next Topic  

[DISA]Jumpman
Junior Member

Denmark
137 Posts

Posted - 15 July 2002 :  17:42:02  Show Profile  Visit [DISA]Jumpman's Homepage
I'm trying to install Advanced Color Control in my forum v. 3.3.05 but my code in admin_config_colors.asp look like this:

		Response.Write	">7 (36 pt)</option>" & vbNewLine & _
" </select>" & vbNewLine & _
" <a href=""JavaScript:openWindow3('pop_config_help.asp#fontsize')""><img src=""" & strImageUrl & "icon_smile_question.gif"" border=""0""></a></td>" & vbNewLine & _
" </tr>" & vbNewLine & _
" <tr valign=""top"">" & vbNewLine & _
" <td bgColor=""" & strPopUpTableColor & """ align=""right""><font face=""" & strDefaultFontFace & """ size=""" & strDefaultFontSize & """><b>Base Background Color:</b> </font></td>" & vbNewLine & _
" <td bgColor=""" & strPopUpTableColor & """><input type=""text"" name=""strPageBGColor"" size=""10"" value="""
if strPageBGColor <> "" then Response.Write(strPageBGColor)
Response.Write """>" & vbNewLine & _
" <a href=""JavaScript:openWindow3('pop_config_help.asp#colors')""><img src=""" & strImageUrl & "icon_smile_question.gif"" border=""0""></a></td>" & vbNewLine & _
" </tr>" & vbNewLine & _
" <tr valign=""top"">" & vbNewLine & _
" <td bgColor=""" & strPopUpTableColor & """ align=""right""><font face=""" & strDefaultFontFace & """ size=""" & strDefaultFontSize & """><b>Default Font Color:</b> </font></td>" & vbNewLine & _
" <td bgColor=""" & strPopUpTableColor & """><input type=""text"" name=""strDefaultFontColor"" size=""10"" value="""
if strDefaultFontColor <> "" then Response.Write(strDefaultFontColor)
Response.Write """>" & vbNewLine & _


And the code in the Advanced Color Control 3.3.x i have downloaded from snitz Mod Exchange look like this:

  <tr>
<td bgColor="<% =strPopUpTableColor %>" align="right"><font face="<% =strDefaultFontFace %>" size="<% =strDefaultFontSize %>"><b>Base Background Image:</b> </font></td>
<td bgColor="<% =strPopUpTableColor %>">
<input type="text" onChange='document.all.previewPageBgImage.style.backgroundImage = "url(" + this.value + ")";' id="strPageBgImage" name="strPageBgImage" size="15" value="<% if strPageBgImage <> "" then Response.Write(strPageBgImage) else '## do nothing %>">
<span id="previewPageBgImage" style="background-image: url('<%=strPageBgImage%>');" align=absmiddle>    </span>
</td>
</td><td bgColor="<% =strPopUpTableColor %>"><a href="JavaScript:openWindow3('pop_config_help.asp#bgimages')"><img src="<%= strImageURL %>icon_smile_question.gif" align=absmiddle border="0"></a>
</tr>
<tr valign="top">
<td bgColor="<% =strPopUpTableColor %>" align="right"><font face="<% =strDefaultFontFace %>" size="<% =strDefaultFontSize %>"><b>Default Font Color:</b> </font></td>
<td bgColor="<% =strPopUpTableColor %>"><% doColorMixer "DefaultFontColor", strDefaultFontColor, "text" %></td>
</tr>
<tr valign="top">
<td bgColor="<% =strPopUpTableColor %>" align="right"><font face="<% =strDefaultFontFace %>" size="<% =strDefaultFontSize %>"><b>Link Color:</b> </font></td>
<td bgColor="<% =strPopUpTableColor %>"><% doColorMixer "LinkColor", strLinkColor, "text" %></td>
</tr>


I don't know how to chance all that code in Advanced Color Control.asp plz help me

_barbara
Junior Member

Germany
123 Posts

Posted - 15 July 2002 :  18:34:42  Show Profile
You can replace your existing admin_config_colors.asp with the one which came with the Advanced Color Control Mod (keep a backup in case of uninstall). Indeed the instruction at http://www.ls3k.com/snitz/stuff/ACCReadme.html is a bit misleading at this point as this is not an additional file but a modified version of a file which comes with the standard snitz forum.

Barbara

Go to Top of Page

[DISA]Jumpman
Junior Member

Denmark
137 Posts

Posted - 16 July 2002 :  05:42:46  Show Profile  Visit [DISA]Jumpman's Homepage
quote:

You can replace your existing admin_config_colors.asp with the one which came with the Advanced Color Control Mod (keep a backup in case of uninstall). Indeed the instruction at http://www.ls3k.com/snitz/stuff/ACCReadme.html is a bit misleading at this point as this is not an additional file but a modified version of a file which comes with the standard snitz forum.



Can't do that be course i have my snitz forum on my root then the code don't fit and the Advanced Color Control NOWRAP Right stop working becourse it won't save and hold it plz help me with the code

Edited by - [DISA]Jumpman on 16 July 2002 10:50:01
Go to Top of Page

_barbara
Junior Member

Germany
123 Posts

Posted - 16 July 2002 :  17:17:46  Show Profile
Can you be more specific? What do you mean with, the code doesn't fit?

As for the nowrap feature, I don't know much about. All I know is that it doesn't work reliably, seems to depend on your browser.

Barbara

Go to Top of Page

[DISA]Jumpman
Junior Member

Denmark
137 Posts

Posted - 16 July 2002 :  17:56:48  Show Profile  Visit [DISA]Jumpman's Homepage
Ok my Advanced_Color_Control.asp you can see here:
http://www.clandisa.dk/test/advanced_color_control.txt

And the Advanced_Color_Control.asp i just downloaded you can see here:
http://www.clandisa.dk/test/advanced_color_control_new.txt

Hope you can see what i meen :-)
Go to Top of Page

_barbara
Junior Member

Germany
123 Posts

Posted - 17 July 2002 :  14:19:39  Show Profile
The code of the two pages indeed looks quite different but that doesn't matter. It's just a different way of putting html into asp pages.

As for the nowrap right configuration I see now what your problem is. You're right, the file which comes with the mod doesn't save it. Try the following: search for these lines,
 

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")%>>



and replace with (changed parts in red)
 
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")%>>


Good luck,

Barbara
I just tested it and it works.

Go to Top of Page

[DISA]Jumpman
Junior Member

Denmark
137 Posts

Posted - 18 July 2002 :  13:35:39  Show Profile  Visit [DISA]Jumpman's Homepage
quote:

 
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")%>>




Thanks thats work thank you very much :-)
Go to Top of Page

_barbara
Junior Member

Germany
123 Posts

Posted - 18 July 2002 :  15:07:14  Show Profile
you're welcome .

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