Snitz Forums 2000
Snitz Forums 2000
Home | Profile | Register | Active Topics | Members | Search | FAQ
Username:
Password:
Save Password
Forgot your Password?

 All Forums
 Help Groups for Snitz Forums 2000 Users
 Help: MOD Implementation
 Undeterminated string in Atomic BGImage mod
 New Topic  Topic Locked
 Printer Friendly
Author Previous Topic Topic Next Topic  

Micael Ström
Starting Member

Sweden
43 Posts

Posted - 11 May 2003 :  08:52:52  Show Profile  Visit Micael Ström's Homepage  Send Micael Ström an ICQ Message
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

Posted - 11 May 2003 :  08:56:35  Show Profile
what's the line number where the error occurs?

Nikkol ~ Help Us Help You | ReadMe | 3.4.03 fixes | security fixes ~
Go to Top of Page

Nikkol
Forum Moderator

USA
6907 Posts

Posted - 11 May 2003 :  08:58:52  Show Profile
also, if your forum is located at the same place as the site in your profile, i'm not seeing any error

Nikkol ~ Help Us Help You | ReadMe | 3.4.03 fixes | security fixes ~
Go to Top of Page

Micael Ström
Starting Member

Sweden
43 Posts

Posted - 11 May 2003 :  11:48:52  Show Profile  Visit Micael Ström's Homepage  Send Micael Ström an ICQ Message
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.
Go to Top of Page

DoraMoon
Average Member

Taiwan
661 Posts

Posted - 11 May 2003 :  12:46:18  Show Profile
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.
Go to Top of Page

Micael Ström
Starting Member

Sweden
43 Posts

Posted - 11 May 2003 :  14:20:25  Show Profile  Visit Micael Ström's Homepage  Send Micael Ström an ICQ Message
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...
Go to Top of Page

Micael Ström
Starting Member

Sweden
43 Posts

Posted - 11 May 2003 :  18:17:19  Show Profile  Visit Micael Ström's Homepage  Send Micael Ström an ICQ Message
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


Go to Top of Page

hayleypink
Junior Member

Haiti
145 Posts

Posted - 15 May 2003 :  11:28:46  Show Profile
i have downloaded this mod from snitz nitz but there is no read me?!!

can someone help me: hayleypink@aol.com
Go to Top of Page

OneWayMule
Dev. Team Member & Support Moderator

Austria
4969 Posts

Posted - 15 May 2003 :  11:38:45  Show Profile  Visit OneWayMule's Homepage  Send OneWayMule an ICQ Message
quote:
Originally posted by hayleypink

i have downloaded this mod from snitz nitz but there is no read me?!!

can someone help me: hayleypink@aol.com



Installation instructions can be found here.

My MODs:
Birthdays - Custom Policy - F.A.Q. Administration - Forum Rules - Guestbook
Links Manager - MyOwnGoogle - Profile Views - Search Log - WebSearch

Useful stuff:
Forum and MOD Installation - MOD Installation Guide - Snitz v3.4.05 Readme - Free ASP Hosts - Support Snitz
Go to Top of Page

Micael Ström
Starting Member

Sweden
43 Posts

Posted - 16 May 2003 :  08:18:49  Show Profile  Visit Micael Ström's Homepage  Send Micael Ström an ICQ Message
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?
Go to Top of Page

DoraMoon
Average Member

Taiwan
661 Posts

Posted - 16 May 2003 :  10:11:32  Show Profile
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.
Go to Top of Page
  Previous Topic Topic Next Topic  
 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.36 seconds. Powered By: Snitz Forums 2000 Version 3.4.07