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 MOD-Group
 MOD Add-On Forum (W/O Code)
 How to add a custom cell color
 New Topic  Topic Locked
 Printer Friendly
Author Previous Topic Topic Next Topic  

evol
Junior Member

China
157 Posts

Posted - 04 March 2004 :  11:01:32  Show Profile
In Admin Section->Font/Table Color Code Configuration,How to add a custom cell color?
Then it can be uesd in forum code.
thanks

Who am i?
I lost my dream!

miperez
Junior Member

Spain
243 Posts

Posted - 04 March 2004 :  12:12:33  Show Profile
Hi, evol.

You are not limited to the listed colours at all, there is no MOD needed for this. I have manually typed the hex code for some colours in that field (#F6F6FD, for instance) and it works fine.

Best Regards

Mikel Perez

"Hell is the place where everything test perfectly, and nothing works"
Go to Top of Page

evol
Junior Member

China
157 Posts

Posted - 04 March 2004 :  12:37:40  Show Profile
oh thanks miperez
my means is add a custom cell color in code and when you add some cells in the forum,then you can set it's color in Font/Table Color Code Configurationdirectly.
thanks again for your replay

Who am i?
I lost my dream!

Edited by - evol on 04 March 2004 12:38:13
Go to Top of Page

cripto9t
Average Member

USA
881 Posts

Posted - 05 March 2004 :  13:50:40  Show Profile
evol in "admin_config_colors.asp" add this code after a line like this " </tr>" & vbNewLine & _
"              <tr valign=""middle"">" & vbNewLine & _
			"                <td bgColor=""" & strPopUpTableColor & """ align=""right""><font face=""" & strDefaultFontFace & """ size=""" & strDefaultFontSize & """><b>New cell color:</b> </font></td>" & vbNewLine & _
			"                <td bgColor=""" & strPopUpTableColor & """><input type=""text"" name=""strNewCellColor"" size=""10"" maxLength=""20"" value=""" & chkExist(strNewCellColor) & """>" & vbNewLine & _
			"	         <a href=""JavaScript:openWindow3('pop_config_help.asp?mode=colors#colors')"">" & getCurrentIcon(strIconSmileQuestion,"","") & "</a></td>" & vbNewLine & _
			"              </tr>" & vbNewLine & _

Now in "config.asp" find this code:
Dim strShowPrinterFriendly, strShowTimer, strTimerPhrase, strShowFormatButtons, strShowSmiliesTable, strShowQuickReply
Dim SubCount, MySubCount

And add this right after
Dim strNewCellColor

And close to the bottom of the page add this
strNewCellColor = Application(strCookieURL & "STRNEWCELLCOLOR")

And when you want to use it
Response.Write "<td bgcolor=""" & strNewCellColor & """>" & vbNewLine & _

    _-/Cripto9t\-_
Go to Top of Page

evol
Junior Member

China
157 Posts

Posted - 14 March 2004 :  04:36:37  Show Profile
thanks cripto9t
it can work well

Who am i?
I lost my dream!
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.3 seconds. Powered By: Snitz Forums 2000 Version 3.4.07