Author |
Topic  |
|
Micael Ström
Starting Member
Sweden
43 Posts |
Posted - 11 May 2003 : 08:52:52
|
I made the changes suggested in http://forum.snitz.com/forum/topic.asp?ARCHIVE=true&TOPIC_ID=36791, in @tomic's Advanced Color Picker.
I changed: bgcolor=""" & strCategoryCellColor & """ to: background=""" & strImageURL & strCategoryCellBGImage & """ bgcolor=""" & strCategoryCellColor & """ and: bgcolor=""" & strHeadCellColor & """ to: background=""" & strImageURL & strHeadCellBGImage & """ bgcolor=""" & strHeadCellColor & """
I also added the suggested code in config.asp.
I used the search and replacetool in Dreamweaver 4, and it all went just fine. After uploading the hole filepackage, i got an "undeterminated string constant" error, pointing at the end of the made changes. I'm not familiar with writing code, a little help on this one would be appreciated.
I have placed a textcopy of default.asp here. I guess the error is now spread troughout all files in my forumdirectory  |
|
Nikkol
Forum Moderator
    
USA
6907 Posts |
|
Nikkol
Forum Moderator
    
USA
6907 Posts |
|
Micael Ström
Starting Member
Sweden
43 Posts |
Posted - 11 May 2003 : 11:48:52
|
Thats because I restored it with a backup. Here's a testforum though. The errormessage is the same but the filename differs. I´m backspacing my way trough the files, one by one. And I will not use that search an replace tool once more...
Microsoft VBScript compilation error '800a0409' Unterminated string constant inc_poll.asp, line 88 Response.Write " valign=""middle"" background=""" & strImageURL & strHeadCellBGImage & """ bgcolor=""" & strHeadCellColor & """ -------------------------------------------------------------------------------------------------------------------------------^
I´ve placed a txt-copy of inc_poll.asp here. Check out a "fixed" copy of it here. Do you agree about this is the right thing to do -backspacing I mean? Or is there a better way of fixing the prob? Thanks anyway. |
 |
|
DoraMoon
Average Member
  
Taiwan
661 Posts |
Posted - 11 May 2003 : 12:46:18
|
hi~ Micael,
yes, i think it may just something wrong when you do the find/replace work..  background=""" & strImageURL & strHeadCellBGImage & """ bgcolor=""" & strHeadCellColor & """ >" & vbNewline should be like this.. background=""" & strImageURL & strHeadCellBGImage & """ bgcolor=""" & strHeadCellColor & """>" & vbNewline there CAN NOT have a extra "Break Line" appear.....
you may need to do your find/replace work again. and make sure it did'nt have one more [Enter] pressing at the end of replaced string this time. and if your editor can setup the "break line" symbol visible in code, turn it on, then you'll see that mistake more clearly.
and i know there're many good tool recommended by Snitz users here can do this find/replace job easily. what i'm using one (EditPlus, it also can correct your wrong code in a second.(it can find/replace a whole paragraph, even some break lines in it.) if you still got trouble to fix your problem, maybe try searching forum here to get another suitable text editor to do this find/replace work.  |
 |
|
Micael Ström
Starting Member
Sweden
43 Posts |
Posted - 11 May 2003 : 14:20:25
|
Well, i´m almost done doing it all one-by-one. Just finished file no 24 of 31 (so far).  I think I´ll complete the work the old fashioned way, and do the rest by hand. Thanks for the editorlink though. The Editplus editor will come in handy later on... |
 |
|
Micael Ström
Starting Member
Sweden
43 Posts |
Posted - 11 May 2003 : 18:17:19
|
Ok, Im done. What am I supposed to see in the Admin section? The @tomic's Advanced Color Picker with Cell BG Images MOD does´nt show up. Where and what should I look for? There is no errormessages either. What to do?  The database is updated: /FORUM/STRCATEGORYCELLBGIMAGE invisible.gif /FORUM/STRHEADCELLBGIMAGE invisible.gif
|
 |
|
hayleypink
Junior Member
 
Haiti
145 Posts |
Posted - 15 May 2003 : 11:28:46
|
i have downloaded this mod from snitz nitz but there is no read me?!!
can someone help me: hayleypink@aol.com |
 |
|
OneWayMule
Dev. Team Member & Support Moderator
    
Austria
4969 Posts |
|
Micael Ström
Starting Member
Sweden
43 Posts |
Posted - 16 May 2003 : 08:18:49
|
quote: Originally posted by Micael Ström
Ok, Im done. What am I supposed to see in the Admin section? The @tomic's Advanced Color Picker with Cell BG Images MOD does´nt show up. Where and what should I look for? There is no errormessages either. What to do?  The database is updated: /FORUM/STRCATEGORYCELLBGIMAGE invisible.gif /FORUM/STRHEADCELLBGIMAGE invisible.gif
Anybody? |
 |
|
DoraMoon
Average Member
  
Taiwan
661 Posts |
Posted - 16 May 2003 : 10:11:32
|
hi~ Micael,
i think that MOD just add some extra settings to admin_config_colors.asp if you've already done the necessary modification to that file, you should be can find the Background Image setting in Admin Section / Font/Table Color Code Configuration.   |
 |
|
|
Topic  |
|