Author |
Topic  |
|
ikalota
Starting Member
37 Posts |
Posted - 30 August 2004 : 14:11:43
|
I downloaded and installed this mod. I am able to see all the colors in the admin font/color table config, but they are not clickable. I thought, I could click on it and then get a color palette to choose the color I want it changed to. The downloaded MOD zip file didnt have any readme file. I wish there was some help included with this mod just like most of the other mods.
Help Please... |
Edited by - ikalota on 30 August 2004 14:16:12 |
|
@tomic
Senior Member
   
USA
1790 Posts |
Posted - 30 August 2004 : 15:27:26
|
Sorry about that. It's a terribly old MOD and will add that tonight but for now here is the readme:
NOTE: admin_config_colors_withBGImages.asp **** RENAME THIS TO admin_config_colors.asp **** This was a bad mistake on my part to have this file named something else. I will fix that this within 12 hours of posting this.
icon_color.gif
pop_color.asp
File to edit: inc_icon_files.asp
Add this icon reference to inc_iconfiles.asp: Const strIconColor = "icon_color.gif|15|15"
Place the ASP files in your forum directory.
Upload the Images to your icon directory. This includes icon_color.gif and all of the background gradients or whatever gradients you want to use for your website. For best results, make your own gradients!
No set-up should be necessary besides adding one line to inc_iconfiles.asp. Once these files are in place log into the admin area of your site and you can select colors by clicking on the desired color and the current color in the database is shown to the right to help in those crucial color decisions. Type in the name of the gradient file you are using.
@tomic |
SportsBettingAcumen.com |
 |
|
ikalota
Starting Member
37 Posts |
Posted - 30 August 2004 : 16:29:19
|
Thanks very much.. @tomic... I figured out the renaming piece, but was missing the other lines. Anyways.. I think after I add the line in icon files, it will work now.. Appreciate your prompt reply.
ONE MORE THING... I have seen this webiste .. I believe it is yours... www.skepticfriends.org ... some beautiful work you guys have done..
Is it possible to get the Main page's code MOD.. I would like to create at my main page very much like this one with Snitz pages integrated...
Thanks much... |
 |
|
shdwphnx
Starting Member
6 Posts |
Posted - 02 September 2004 : 10:39:34
|
I am also having some trouble implementing this mod.
Following the instructions in this thread, I was able to get the Color Picker portion working with no problems. However, I am unable to get the Background Image portion to function. It does not seem to save the image files I select, and the cell backgrounds do not change to use the images.
I suspect I need to edit several of the ASP pages to add the variables for them in. Unfortunately, my coding knowledge is rather limited, and I am unable to figure out which variables, or where they need to go.
Any assistance would be greatly appreciated. |
 |
|
@tomic
Senior Member
   
USA
1790 Posts |
Posted - 02 September 2004 : 11:43:36
|
I'm really sorry I missed this. I haven't looked at the code in so long I didn't realize so much was missing from the setup. This is also needed for config.asp:
============================================ CONFIG.ASP ============================================
Near line 127 or after all dim's add:
Dim strHeadCellBGImage, strCategoryCellBGImage
Near line 400 or after all the other application variables add:
strHeadCellBGImage = Application(strCookieURL & "STRHEADCELLBGIMAGE") strCategoryCellBGImage = Application(strCookieURL & "STRCATEGORYCELLBGIMAGE")
====================================================================================== AND run the dbs file included to add the 2 database fields for the background images!! ======================================================================================
@ |
SportsBettingAcumen.com |
 |
|
shdwphnx
Starting Member
6 Posts |
Posted - 02 September 2004 : 14:34:41
|
quote: I'm really sorry I missed this. I haven't looked at the code in so long I didn't realize so much was missing from the setup. This is also needed for config.asp:
============================================ CONFIG.ASP ============================================
Near line 127 or after all dim's add:
Dim strHeadCellBGImage, strCategoryCellBGImage
Near line 400 or after all the other application variables add:
strHeadCellBGImage = Application(strCookieURL & "STRHEADCELLBGIMAGE") strCategoryCellBGImage = Application(strCookieURL & "STRCATEGORYCELLBGIMAGE")
====================================================================================== AND run the dbs file included to add the 2 database fields for the background images!! ======================================================================================
That fixed it so it is now saving the image file I select on the configuration page. It is still not actually using it anywhere though. Do I need to add "BGIMAGE=strHeadCellBGImage" or something to some <TABLE> or <TD> references now? |
 |
|
@tomic
Senior Member
   
USA
1790 Posts |
Posted - 02 September 2004 : 14:48:24
|
Ugh! Yes!
I can't do it right now as I am off on an emergency call and won't be back for hours but I will check this on a clean Snitz install within 8 hours or so and get that in there. I can't believe this was out there for so long with so much missing.
I will fix that up, though and it should be much, much easier.
If you want to try on your own, save your original code for pages you want this to appear on like default.asp,forum.asp and wherever else and look for the following code:
============================================= bgcolor=""" & strHeadCellColor & """ =============================================
After it add:
=========================================================
background=""" & strImageURL & strHeadCellBGImage & """ ==========================================================
Note: Add the space before!
So it looks like:
bgcolor=""" & strHeadCellColor & """ background=""" & strImageURL & strHeadCellBGImage & """
Now look for: ========================================================== bgcolor=""" & strCategoryCellColor & """ ==========================================================
Add this after it:
===========================================================
background=""" & strImageURL & strCategoryCellBGImage & """ =========================================================== Note: Add the space before!
So it should look like this:
bgcolor=""" & strCategoryCellColor & """ background=""" & strImageURL & strCategoryCellBGImage & """
This is really all there is to it. forum.asp only has the header and no category(at leastr in my code.
If you want, you can also add this the same way to MOD's
It sort of depends on your taste but a quick search and replace will have this done in 10 minutes or so. Just watch the spaces between the paste so it doesn't all run together.
@ |
SportsBettingAcumen.com |
Edited by - @tomic on 03 September 2004 14:25:41 |
 |
|
@tomic
Senior Member
   
USA
1790 Posts |
Posted - 03 September 2004 : 01:32:08
|
Thanks for the heads up on the missing readme items. The download has been updated.
@ |
SportsBettingAcumen.com |
 |
|
shdwphnx
Starting Member
6 Posts |
Posted - 03 September 2004 : 13:28:44
|
Thank you very much for the fast responses. Everything's working beautifully now. |
 |
|
|
Topic  |
|