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)
 MOD: admin_config_colors Turbo! v3.4.xx
 New Topic  Topic Locked
 Printer Friendly
Next Page
Author Previous Topic Topic Next Topic
Page: of 3

D3mon
Senior Member

United Kingdom
1685 Posts

Posted - 23 August 2002 :  11:57:19  Show Profile  Visit D3mon's Homepage
Here's the Turbo version with 'Color Picker' integration for maximum ease of use.
crafted by @tomic ~ D3mon ~ Azaniah ~ Nathan
There's a bit more to installing this one than the Plus! version.

http://www.buildyourown.org.uk/snitz/admin_config_colors_turbo.txt
http://www.buildyourown.org.uk/snitz/pop_color_turbo.txt
http://www.buildyourown.org.uk/snitz/icon_color.gif

Just rename to .asp and remove the _turbo from the top two filenames to use.
Then, add this line in to your inc_iconfiles.asp
Const strIconColor = "icon_color.gif|15|15"



Snitz 'Speedball' : Site Integration Mod : Friendly Registration Mod
"In war, the victorious strategist only seeks battle after the victory has been won"

Edited by - D3mon on 01 September 2002 06:38:45

mafe
Starting Member

44 Posts

Posted - 23 August 2002 :  14:05:35  Show Profile
'Color Picker' is not there :D

Edited by - mafe on 23 August 2002 14:06:11
Go to Top of Page

D3mon
Senior Member

United Kingdom
1685 Posts

Posted - 23 August 2002 :  14:56:27  Show Profile  Visit D3mon's Homepage
files look ok. What problem did you have?


Snitz 'Speedball' : Site Integration Mod : Friendly Registration Mod
"In war, the victorious strategist only seeks battle after the victory has been won"
Go to Top of Page

rick7165
Senior Member

USA
1094 Posts

Posted - 23 August 2002 :  15:00:02  Show Profile  Visit rick7165's Homepage
Hey D3mon I talked to Azaniah this morning and he has already updated this code you have here and put in the Javascript stuff. He posted it here:
http://forum.snitz.com/forum/topic.asp?TOPIC_ID=33234&whichpage=2

Test Site:
EastPasco Huw's Code 3.3.10 SQL 2000
Huwr's Modified Code
Email
Go to Top of Page

D3mon
Senior Member

United Kingdom
1685 Posts

Posted - 23 August 2002 :  15:10:36  Show Profile  Visit D3mon's Homepage
Yeah I know. We kinda both wrote the same thing at the same time! This code is a combination of work from me, Azaniah, @tomic and I believe the original release was from Nathan.


Snitz 'Speedball' : Site Integration Mod : Friendly Registration Mod
"In war, the victorious strategist only seeks battle after the victory has been won"
Go to Top of Page

mafe
Starting Member

44 Posts

Posted - 23 August 2002 :  15:13:38  Show Profile
nope, the link for the color picker is not there
Go to Top of Page

mafe
Starting Member

44 Posts

Posted - 23 August 2002 :  15:16:19  Show Profile
dsfkjhgkjfdsh .... hmmmm wait.....

it doesnt apperar the icon... but the link is in the asp..... hmmmm it doesnt appear a broken icon....

done.... the problem is that the icon is missing... and even it doesnt show a broken image link... but i fixed it... thanks

Edited by - mafe on 23 August 2002 15:21:51
Go to Top of Page

mafe
Starting Member

44 Posts

Posted - 23 August 2002 :  15:28:32  Show Profile
u need to add

Const strIconColor = "icon_color.gif|15|15"

to inc_iconfiles.asp
Go to Top of Page

D3mon
Senior Member

United Kingdom
1685 Posts

Posted - 23 August 2002 :  15:30:04  Show Profile  Visit D3mon's Homepage
DOH! My bad.
Thanks for letting me know.


Snitz 'Speedball' : Site Integration Mod : Friendly Registration Mod
"In war, the victorious strategist only seeks battle after the victory has been won"
Go to Top of Page

Schwanke
New Member

77 Posts

Posted - 24 August 2002 :  00:24:57  Show Profile  Visit Schwanke's Homepage
Can we make the color picker window resizeable? Right now I can only see the top half and I have to scroll to see the bottom half. Be much nicer if I could resize it and see all the colors at once. Easier to pick visually then having to visualy remember the ones on the other half.

Sorry. I love playing with color. :))

This reminds me I have to figure out how to do the same thing for some other of snitz's pop up windows. They pop up the wrong size or something and I have to scroll to see everything.. :(

<><
Go to Top of Page

joatham
Junior Member

United Kingdom
169 Posts

Posted - 24 August 2002 :  06:07:44  Show Profile  Visit joatham's Homepage
In inc_header.asp (I think) there will be some Javascript functions for opening windows. Add the text in red to the ones which can't be resized and they will become resizable:-

function openWindow4(url) {
popupWin = window.open(url,'new_page','width=400,height=525,resizable=yes')
}
Go to Top of Page

D3mon
Senior Member

United Kingdom
1685 Posts

Posted - 24 August 2002 :  06:13:40  Show Profile  Visit D3mon's Homepage
Can do yes, but here's the catch - you'd have to resize it every time you opened the window...
A clever piece of javascript could work out if there's enough room on the screen and open it out fully...


Snitz 'Speedball' : Site Integration Mod : Friendly Registration Mod
"In war, the victorious strategist only seeks battle after the victory has been won"

Edited by - D3mon on 24 August 2002 06:17:43
Go to Top of Page

D3mon
Senior Member

United Kingdom
1685 Posts

Posted - 24 August 2002 :  06:37:45  Show Profile  Visit D3mon's Homepage
Add in these two lines to pop_color.asp:

response.write "<head>" & vbCrlf & _
"<script language=""JavaScript"">" & vbCrlf & _

"if (window.screen.height >= 768)" & vbCrlf & _
" window.resizeTo(400,680); " & vbCrlf & _


Snitz 'Speedball' : Site Integration Mod : Friendly Registration Mod
"In war, the victorious strategist only seeks battle after the victory has been won"
Go to Top of Page

pweighill
Junior Member

United Kingdom
453 Posts

Posted - 24 August 2002 :  06:43:38  Show Profile
Or try this:

Add the following to admin_config_color.asp:


Response.Write "<script language=""JavaScript"" type=""text/javascript"">" & vbNewLine & _
"<!-- hide from JavaScript-challenged browsers" & vbNewLine & _
"function openWindowColor(url) {" & vbNewLine & _
" if (screen.height>700) {" & vbNewLine & _
" popupWin = window.open(url,'new_page','width=400,height=650,top=25,scrollbars=yes')" & vbNewLine & _
" } else {" & vbNewLine & _
" popupWin = window.open(url,'new_page','width=400,height=450,scrollbars=yes')" & vbNewLine & _
" }" & vbNewLine & _
"} " & vbNewLine & _
"// done hiding -->" & vbNewLine & _
"</script>"


And replace openWindow3('pop_color.asp
with openWindowColor('pop_color.asp
Go to Top of Page

joatham
Junior Member

United Kingdom
169 Posts

Posted - 24 August 2002 :  19:34:48  Show Profile  Visit joatham's Homepage
Good ideas; I'm no Javascript expert, so I assume they both work

By the way, I've just updated to 3.4.01 and installed the color picker, excellent MOD D3mon! It makes it so much easier to see what the results will be like before committing them. (And credit to the authors of the original color pickers too)

John
Go to Top of Page

Etymon
Advanced Member

United States
2385 Posts

Posted - 24 August 2002 :  22:31:32  Show Profile  Visit Etymon's Homepage

Ok, please update me here. I am lost!

What's the difference between this MOD (admin_config_colors Turbo! [v3.4]) and the other one you posted recently (admin_config_colors Plus! [v3.4])
Go to Top of Page
Page: of 3 Previous Topic Topic Next Topic  
Next Page
 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.27 seconds. Powered By: Snitz Forums 2000 Version 3.4.07