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/Code)
 Color Picker MOD 3.3
 New Topic  Topic Locked
 Printer Friendly
Author Previous Topic Topic Next Topic  

@tomic
Senior Member

USA
1790 Posts

Posted - 21 August 2001 :  16:35:49  Show Profile  Visit @tomic's Homepage  Send @tomic an ICQ Message
I'm not sure if it was necessary, but I wanted to make sure this MOD worked for the latest release of Snitz so I recoded it last night to be sure.

None of this is my work. It was all done by Podge and Big9erfan some time ago and I just love it!

http://www.skepticfriends.org/download/color_picker_MOD.zip

Just unzip and upload to your forum directory and this is ready to rumble.

I also have tons of bandwidth to burn so if anyone wants a good, stable download home for MODs, let me know.

@tomic

Adul
Starting Member

37 Posts

Posted - 28 August 2001 :  14:32:09  Show Profile  Visit Adul's Homepage  Send Adul an AOL message  Send Adul an ICQ Message
What does it do exactly?

Go to Top of Page

@tomic
Senior Member

USA
1790 Posts

Posted - 28 August 2001 :  16:25:36  Show Profile  Visit @tomic's Homepage  Send @tomic an ICQ Message
Instead of guessing what #339966 or whitesmoke looks like you have a bar that shows what the current color is and if you click on the little color icon a set of boxes pops up and if you click on a color your selection is filled in.

Makes color selection much easier.

@tomic

Go to Top of Page

Arioch
Starting Member

USA
24 Posts

Posted - 30 August 2001 :  15:33:58  Show Profile  Visit Arioch's Homepage  Send Arioch an AOL message
I installed and tried to use the mod, but when i try to save changes, i get this error

quote:

Microsoft VBScript runtime error '800a000d'

Type mismatch: 'SetConfigValue'

/admin_config_colors.asp, line 56



any thoughts?

-Dave
http://granturismoforums.com
Go to Top of Page

gwhit
Starting Member

5 Posts

Posted - 30 August 2001 :  16:02:30  Show Profile
Try replacing

<%
if Request.Form("Method_Type") = "Write_Configuration" then
for each key in Request.Form
if left(key,3) = "str" or left(key,3) = "int" then
strDummy = SetConfigValue(1, key, ChkString(Request.Form(key),"SQLstring"))
end if
next


Application(strCookieURL & "ConfigLoaded") = ""

%>


with




<%
if Request.Form("Method_Type") = "Write_Configuration" then
for each key in Request.Form
if left(key,3) = "str" or left(key,3) = "int" then
strSql = "UPDATE " & strTablePrefix & "CONFIG_NEW "
strSql = strSql & " SET C_VALUE = '" & ChkString(Request.Form(key),"SQLstring") & "'"
strSQL = strSQL & " WHERE C_VARIABLE = '" & key & "' "
my_Conn.Execute (strSql)
end if
next


Application(strCookieURL & "ConfigLoaded") = ""

%>



Go to Top of Page

Arioch
Starting Member

USA
24 Posts

Posted - 30 August 2001 :  16:28:07  Show Profile  Visit Arioch's Homepage  Send Arioch an AOL message
Yep, that worked!

Thanks,

-Dave
http://granturismoforums.com
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.19 seconds. Powered By: Snitz Forums 2000 Version 3.4.07