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)
 Podge's Color Templates MOD
 New Topic  Topic Locked
 Printer Friendly
Next Page
Author Previous Topic Topic Next Topic
Page: of 2

RichardKinser
Snitz Forums Admin

USA
16655 Posts

Posted - 30 April 2001 :  01:28:00  Show Profile
This is an older MOD, but the topic containing the info about it has been archived and is currently not available so I am posting it again.

quote:

If you are using v3.1 SR4 (actually it should work with just about any version), download this file:

http://www11.ewebcity.com/dssdbs/files/colortemplates.zip

Now unzip the file and upload the colortemplates.asp and admin_config_colors.asp to your forum directory.

There will already be an admin_config_colors.asp file so just overwrite it.

Now when you goto Admin Options --> Font/Table Color Code Configuration

you will have a new option at the top for color templates. the one labeled Default is the Default colors that the forum started with. Just click on Use Template and your colors will be back to the default colors.

George_Zhu
Starting Member

China
46 Posts

Posted - 30 April 2001 :  03:47:11  Show Profile  Visit George_Zhu's Homepage
Nice mod, I can use it correctly. BTY, if I wanna add some templates of my own, what should I do?

Go to Top of Page

RichardKinser
Snitz Forums Admin

USA
16655 Posts

Posted - 30 April 2001 :  03:52:24  Show Profile
Yes, anyone can use it.

To add other templates, just take a look at colortemplates.asp, you'll see how the existing templates are done, just use them as an example.
Go to Top of Page

kalak
Starting Member

13 Posts

Posted - 30 April 2001 :  14:04:29  Show Profile
very nice mod indeed!
Thanks you very much to save us some min.

Go to Top of Page

simonduz
Junior Member

161 Posts

Posted - 01 May 2001 :  06:52:29  Show Profile  Visit simonduz's Homepage  Send simonduz an ICQ Message  Send simonduz a Yahoo! Message
I would just like to add that the admin_config_colors replacement that pweighill wrote is pretty usefull also.
It's a popup color picker. Find it here.
http://forum.snitz.com/forum/link.asp?TOPIC_ID=7683

I have updated pweighill's file to include the templates. You can download it here.
http://easyromantic.121host.net/downloads/pop_color_chart.zip

simonduz
Thanks to both these people for the great tools!

http://easyromantic.121host.net -[test site]-
yada, yada.

Edited by - simonduz on 01 May 2001 07:31:06
Go to Top of Page

Aznknight
Senior Member

USA
1373 Posts

Posted - 06 May 2001 :  17:27:05  Show Profile  Send Aznknight an AOL message  Send Aznknight an ICQ Message
wow podge color templates mod is awesome! just tried it out and it's super neat.

compbining it with popup color picker was a nice touch simonduz. You forgot to include podge's colortemplates.asp page in your zip though

- Alan
www.iamviet.com
www.calvsa.net
Snitz Resource
Go to Top of Page

e3stone
Average Member

USA
885 Posts

Posted - 06 May 2001 :  22:07:53  Show Profile  Send e3stone an AOL message
What would be the easiest (or best) way to let the individual user select the color template of his or her choice? I know Alan implemented this on his site, but I believe that was just the table cell background and overall background color of the main page.

I'd like to let the users customize the site colors, if possible.

<-- Eric -->


http://insidewaco.com
Go to Top of Page

Aznknight
Senior Member

USA
1373 Posts

Posted - 06 May 2001 :  22:36:08  Show Profile  Send Aznknight an AOL message  Send Aznknight an ICQ Message
I couldn't think of a gracefully way to do what you're saying otherwise i woulda attempted something like that. It'll be neat if there's this feature to let the users set their own templates for the forums.

- Alan
www.iamviet.com
www.calvsa.net
Snitz Resource
Go to Top of Page

e3stone
Average Member

USA
885 Posts

Posted - 06 May 2001 :  22:45:42  Show Profile  Send e3stone an AOL message
Couldn't we just add all the color configuration fields to the members table then on the first page have a query pull those values and set the values in a cookie which is requested on all the pages? or would that slow the forum down too much?

<-- Eric -->


http://insidewaco.com
Go to Top of Page

Aznknight
Senior Member

USA
1373 Posts

Posted - 06 May 2001 :  23:42:08  Show Profile  Send Aznknight an AOL message  Send Aznknight an ICQ Message
Keyword here is "graceful", although that idea would probably work but you wouldn't want to bloat the forum_members table any more than it already is with all the extra forum layout variables and duch.

- Alan
www.iamviet.com
www.calvsa.net
Snitz Resource
Go to Top of Page

simonduz
Junior Member

161 Posts

Posted - 07 May 2001 :  07:37:57  Show Profile  Visit simonduz's Homepage  Send simonduz an ICQ Message  Send simonduz a Yahoo! Message
quote:
You forgot to include podge's colortemplates.asp page in your zip though

oops.. Thanks Aznknight. Overlooked that one. It's been added.
simonduz

http://easyromantic.121host.net -[test site]-
yada, yada.
Go to Top of Page

Azaniah
Senior Member

United Kingdom
1004 Posts

Posted - 08 May 2001 :  13:47:42  Show Profile  Visit Azaniah's Homepage
OK, this is a kind of comment plus a question all in one.

Firstly if you are using the standard 3.1sr4 package then you will recieve errors with the pop-up color config. Due to the following entry in the admin_config_colors.asp

strSql = strSql & " C_STRPAGEBGIMAGE = '" & Request.Form("strPageBGImage") & "', "

on line 63.

I have added this field to the CONIG table - and hurrah!! I don't get anymore error messages.

Now the question bit

I included the following in the <BODY> section of inc_top.asp

background="<%= strPageBGImage %>"

and I get nothing - Now I'm confused as to what if anything I am missing - If I hardcode an image it's fine.

Any suggestions?

Thanks

Go to Top of Page

Azaniah
Senior Member

United Kingdom
1004 Posts

Posted - 08 May 2001 :  14:06:31  Show Profile  Visit Azaniah's Homepage
I checked that.

There is only one instance of BGcolor in the inc_top.asp, in addition it does work with the hardcoded image (ie background="test.jpg").

I'm still none the wiser

Thanks for the reply tho' ...


Go to Top of Page

Azaniah
Senior Member

United Kingdom
1004 Posts

Posted - 08 May 2001 :  15:10:35  Show Profile  Visit Azaniah's Homepage
Being on the slow side ...

Could someone draft up a _setup.asp for this so I can see how you would script the addition of the DB Fieldname?

Thanks a bundle.

Azaniah

Go to Top of Page

HuwR
Forum Admin

United Kingdom
20579 Posts

Posted - 08 May 2001 :  16:23:19  Show Profile  Visit HuwR's Homepage
it sounds like you do not have a standard version of the forums, the STRPAGEBGIMAGE field is not a standard forum field.

Go to Top of Page

Ribkick
Junior Member

USA
296 Posts

Posted - 08 May 2001 :  18:44:42  Show Profile
This is great Richard, thank you. Also the easiest MOD so far LOL.

Too bad it doesn't have a way to edit the templates or create new ones....unless I'm missing something (probably)

Go to Top of Page
Page: of 2 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.38 seconds. Powered By: Snitz Forums 2000 Version 3.4.07