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
 avatar add on mod
 New Topic  Topic Locked
 Printer Friendly
Author Previous Topic Topic Next Topic  

guessme
Banned User

393 Posts

Posted - 18 August 2003 :  19:25:11  Show Profile  Visit guessme's Homepage
I can not get the page to load get a 550 error. "admin_avatar_home.asp". Can't quite figure out this " remove above line & _ ".


" </UL>" & vbNewLine & _
" </font></td>" & vbNewLine & _
" </tr>" & vbNewLine
'##### My Avatar addon 1-1 : remove above line & _ and add below 11 lines



This is what it says:
" </tr>" & vbNewLine
'##### My Avatar addon 1-1 : remove above line & _ and add below 11 lines
Response.Write " <tr>" & vbNewLine & _
" <td bgcolor=""" & strHeadCellColor & """ align=""center""><font face=""" & strDefaultFontFace & """ size=""" & strDefaultFontSize & """ color=""" & strHeadFontColor & """><b> My Avatar Addon Setting </b></font></td>" & vbNewLine & _
" </tr>" & vbNewLine & _
" <tr>" & vbNewLine & _
" <td bgcolor=""" & strPopUpTableColor & """><font face=""" & strDefaultFontFace & """ size=""" & strDefaultFontSize & """>" & vbNewLine & _
" <br /><UL>" & vbNewLine & _
" <LI><a href=""admin_my_avatar.asp"">My Avatar Addon</a>    </LI>" & vbNewLine & _
" <LI><a href=""admin_unapproved_avatar.asp"">Approve/Hold Avatars</a>    </LI>" & vbNewLine & _
" </UL>" & vbNewLine & _
" </font></td>" & vbNewLine & _
" </tr>" & vbNewLine
'########## My Avatar addon ########## (Remember below line add Response.Write !!)
Response.Write " </table>" & vbNewLine & _
" </td>" & vbNewLine & _
" </tr>" & vbNewLine & _
"</table><BR>"

WriteFooter
Response.End
%>


Edited by - guessme on 18 August 2003 19:32:04

Nikkol
Forum Moderator

USA
6907 Posts

Posted - 18 August 2003 :  19:29:47  Show Profile
if that is your exact code, it looks like you did remove the & _ ... what is the exact error message you are getting? turn off friendly error messages in your browser to see.

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

guessme
Banned User

393 Posts

Posted - 18 August 2003 :  19:35:45  Show Profile  Visit guessme's Homepage
I didn't see i piece of code [the response write] so i installed it and now i get this.

Microsoft VBScript compilation error '800a0401'

Expected end of statement

/Ken/admin_avatar_home.asp, line 75

Response.Write " <tr>" & vbNewLine & _
---------------^


Edited by - guessme on 18 August 2003 19:37:23
Go to Top of Page

Nikkol
Forum Moderator

USA
6907 Posts

Posted - 18 August 2003 :  19:36:52  Show Profile
make sure that the line above that one doesn't end with & _

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

guessme
Banned User

393 Posts

Posted - 18 August 2003 :  19:38:16  Show Profile  Visit guessme's Homepage
It does, i will change it.

Go to Top of Page

guessme
Banned User

393 Posts

Posted - 18 August 2003 :  19:39:57  Show Profile  Visit guessme's Homepage
That did it. Until my next problem. Thank You!!!

Oops! found one already.

Microsoft VBScript compilation error '800a03ea'

Syntax error

/Ken/admin_review_avatar.asp, line 119

' "<td bgcolor=""" & strForumFirstCellColor & """ align=""center""><font face=""" & strDefaultFontFace & """ size=""" & strDefaultFontSize & """ color=""" & strDefaultFontColor & """> " & AvatarMemberNAME & " </td>" & vbNewLine & _
^


Edited by - guessme on 18 August 2003 19:43:27
Go to Top of Page

Nikkol
Forum Moderator

USA
6907 Posts

Posted - 18 August 2003 :  19:45:48  Show Profile
there shouldn't be a syntax error since that line is commented out. unless of course the line above it ends with & _

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

guessme
Banned User

393 Posts

Posted - 18 August 2003 :  19:50:07  Show Profile  Visit guessme's Homepage
Response.Write "<tr>" & vbNewLine & _
"<td bgcolor=""" & strForumFirstCellColor & """ align=""center""> <img src=""" & AvatarURL & """ & width=""" & intAvatarWidth & """ height=""" & intAvatarHeight & """ border=""" & intAvatarBorder & """> </td>" & vbNewLine & _
"<td bgcolor=""" & strForumFirstCellColor & """ align=""center""><font face=""" & strDefaultFontFace & """ size=""" & strDefaultFontSize & """ color=""" & strDefaultFontColor & """> " & AvatarURL & " </td>" & vbNewLine & _
"<td bgcolor=""" & strForumFirstCellColor & """ align=""center""><font face=""" & strDefaultFontFace & """ size=""" & strDefaultFontSize & """ color=""" & strDefaultFontColor & """> " & AvatarName & " </td>" & vbNewLine & _
' "<td bgcolor=""" & strForumFirstCellColor & """ align=""center""><font face=""" & strDefaultFontFace & """ size=""" & strDefaultFontSize & """ color=""" & strDefaultFontColor & """> " & AvatarMemberNAME & " </td>" & vbNewLine & _

Go to Top of Page

Nikkol
Forum Moderator

USA
6907 Posts

Posted - 18 August 2003 :  19:51:13  Show Profile
you've messed something up. you've got lines commented out and a & _ at the end of a line, but the next line starting with an if statement. you might just want to start over since you may have more errors after fixing this one.

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

guessme
Banned User

393 Posts

Posted - 18 August 2003 :  19:59:23  Show Profile  Visit guessme's Homepage
I think I am able to just use theres because that part is working now. Thanks again.

Go to Top of Page

guessme
Banned User

393 Posts

Posted - 18 August 2003 :  20:05:31  Show Profile  Visit guessme's Homepage
Wish i would have know that before i pulled all my hair out. Its working on all of them. Thanks again.


Edited by - guessme on 18 August 2003 20:05:57
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.43 seconds. Powered By: Snitz Forums 2000 Version 3.4.07