Author |
Topic |
|
Intrepidone
Average Member
Canada
515 Posts |
Posted - 08 July 2001 : 08:51:12
|
Just a note here for you. In Netscape (4.08), if no BGImage is selected screws up the cells
I used Richards noavatar.gif image and renamed it to noimage.gif and now if I decide to have No BGImages, I type in noimage.gif and it then works fine in Netscape. Maybe make a note of this when people install the MOD, or set it as a default value if no image is selected.
Here is noimage.gif save target as for noimage.gif
While I am here, your Colour Temp Import/Export. It will Export ok but I cannot Import. This is the err I get while Importing.
ErrCode=Invalid import line
I am just looking at that now so if I find the prob I wil let you know.
Intrepidone
Edited by - Intrepidone on 08 July 2001 11:08:37 |
|
mfindlay
Junior Member
USA
144 Posts |
Posted - 08 July 2001 : 22:49:05
|
Thanks for the tip on the no-image. I will post it to the zipfile along with a comment. Regarding the import, Let me know if I can help you debug.
|
|
|
mfindlay
Junior Member
USA
144 Posts |
Posted - 08 July 2001 : 22:57:07
|
quote:
Your Colour Temp Import/Export. It will Export ok but I cannot Import. This is the err I get while Importing.
ErrCode=Invalid import line
This is caused by the import function not being able to find the string " SET " as part of the import string. Had you manually altered the import file by any chance?
|
|
|
Intrepidone
Average Member
Canada
515 Posts |
Posted - 09 July 2001 : 13:13:08
|
quote:
This is caused by the import function not being able to find the string " SET " as part of the import string. Had you manually altered the import file by any chance?
Yes I did edit the admin_color_impexp.asp
I added C_STRHEADCELLBGIMAGE = '" & rs("C_STRHEADCELLBGIMAGE") & "', C_STRCATEGORYCELLBGIMAGE = '" & rs("C_STRCATEGORYCELLBGIMAGE") & "', C_STRFORUMBGIMAGE = '" & rs("C_STRFORUMBGIMAGE") & "',
I have these settings in the db under HuwRs FORUM_COLOURS also, but even before I edited and added these changes, it still would not import. I thought maybe it was because these settings were in the db and not in the admin_color_impexp.asp so thats why I added them.
If I click on a setting like Sage Computer Services:darkstation in the Sample_Color_Templates.txt file you provided it comes up with only 1 ErrCode=Invalid import line but if I click on one like Sage Computer Services:SageComputerServices it comes up with multipleErrCode=Invalid import line
I can Export one, and if I try to Import one that I exported (after manually editing the export file's TMPLNAME so the system recognizes it as one not already installed - which by the way is a cool feauture you added there) it comes up with only one ErrCode.
I dble checked the .txt files that it exports and made sure all the spelling was correct as in the .asp file and in the FORUM_COLOURS table and still cannot figure it out.
Randy |
|
|
Intrepidone
Average Member
Canada
515 Posts |
Posted - 09 July 2001 : 13:20:25
|
I just exported one and here are the results
TechcareDefault
Randy |
|
|
mfindlay
Junior Member
USA
144 Posts |
Posted - 09 July 2001 : 19:59:57
|
quote:
I just exported one and here are the results
TechcareDefault
Randy
The problem is in my code:
Look in file admin_color_impexp.asp around line 117 you will see the following:
nPos = InStrRev(1,str," SET ",1)
It should read:
nPos = InStrRev(str," SET ")
Programmer error for sure! I was copying and pasting from a InStr() function and did not strip off the numeric parms from the InStr(). This hosed the InStrRev!
My sincere apologies for all the confusion!
Edited by - mfindlay on 09 July 2001 21:44:00 |
|
|
|
Topic |
|