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

 All Forums
 Snitz Forums 2000 MOD-Group
 MOD Add-On Forum (W/Code)
 how to "modify/break" avatar addon?
 New Topic  Reply to Topic
 Printer Friendly
Author Previous Topic Topic Next Topic  

GeekTragedy
Starting Member

6 Posts

Posted - 17 September 2005 :  12:49:20  Show Profile  Visit GeekTragedy's Homepage  Reply with Quote
I am using snitz v. 3.4.05, and I have the avatar MOD installed.

I've also installed the DoraMoon avatar addon and everything is working rather well.

However, I know I haven't magaged to "modify/break" the code they way I was supposed to in the admin_add_avatar.asp, admin_edit_avatar.asp, and admin_review_avatar.asp files. I figure this is largely due to the fact that I know nothing about coding terms, and so I have no idea what "modify/break" is telling me to do.

Below I have copied the three segments of code that I am supposed to "modify/break" (DoraMoon's instructions are still imbedded in the code). If someone could show me what these sections are supposed to look like after you "modify/break" them, it would help me out a lot.

Thanks for your time.


From the admin_add_avatar.asp file:

Trim(ChkString(avatarName,"display")) & """ size=""40""></td>" & vbNewLine & _
" </tr>" & vbNewLine & _
" <tr>" & vbNewLine & _
" <td bgcolor=""" & strPopUpTableColor & """ align=""right""><font face=""" & strDefaultFontFace & """ size=""" & strDefaultFontSize & """ color=""" & strDefaultFontColor & """><b> Reserve for Member: </b></font></td>" & vbNewLine & _
" <td bgcolor=""" & strPopUpTableColor & """><select name=""AvatarMemberID"">" & vbNewLine
'##### My Avatar addon 1-1 : modify/break above line and add below 1 section
' " <td bgcolor=""" & strPopUpTableColor & """><select name=""AvatarMemberID""><option value=""0"">none</option>" & vbNewLine
response.write "<option value=""-9"" style=""background-color:#FFEBEC""> Admin Only</option>" & vbNewLine & _
"<option value=""-8"" style=""background-color:#FFEBEC""> Admin/Moder</option>" & vbNewLine & _
"<option value=""-7"" style=""background-



From the admin_edit_avatar.asp file:

Trim(ChkString(avatarName,"display")) & """ size=""40""></td>" & vbNewLine & _
" </tr>" & vbNewLine & _
" <tr>" & vbNewLine & _
" <td bgcolor=""" & strPopUpTableColor & """ align=""right""><font face=""" & strDefaultFontFace & """ size=""" & strDefaultFontSize & """ color=""" & strDefaultFontColor & """><b> Reserve for Member: </b></font></td>" & vbNewLine & _
" <td bgcolor=""" & strPopUpTableColor & """><select name=""AvatarMemberID"">" & vbNewLine
'##### My Avatar addon 1-5 : modify/break above line and add below 1 section
' " <td bgcolor=""" & strPopUpTableColor & """><select name=""AvatarMemberID""><option value=""0"">none</option>" & vbNewLine
response.write "<option value=""-9"" style=""background-color:#FFEBEC""" & chkSelect(avatarMemID,-9) & "> Admin Only</option>" & vbNewLine & _
"<option value=""-8"" style=""background-color:#FFEBEC""" & chkSelect(avatarMemID,-8) & "> Admin/Moder</option>" & vbNewLine & _
"<option value=""-7"" style=""background-color:#FEF1FF""" &


From the admin_review_avatar.asp file:

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 & """> "
'##### My Avatar addon 1-1 : modify/break above line and add below 1 section
' "<td bgcolor=""" & strForumFirstCellColor & """ align=""center""><font face=""" & strDefaultFontFace & """ size=""" & strDefaultFontSize & """ color=""" & strDefaultFontColor & """> " & AvatarMemberNAME & " </td>" & vbNewLine & _
if AvatarMEMBERID > 0 then
response.write AvatarMemberNAME
else
<

www.geektragedy.com

MarkJH
Senior Member

United Kingdom
1722 Posts

Posted - 17 September 2005 :  13:15:06  Show Profile  Visit MarkJH's Homepage  Reply with Quote
I think that's trying to say that you need to incorporate the line below the '##### My Avatar addon... into the line above.

So for instance, change the bit from the admin_add_avatar.asp from:

" <td bgcolor=""" & strPopUpTableColor & """><select name=""AvatarMemberID"">" & vbNewLine
'##### My Avatar addon 1-1 : modify/break above line and add below 1 section
' " <td bgcolor=""" & strPopUpTableColor & """><select name=""AvatarMemberID""><option value=""0"">none</option>" & vbNewLine

to:

" <td bgcolor=""" & strPopUpTableColor & """><select name=""AvatarMemberID""><option value=""0"">none</option>" & vbNewLine

then, add the rest of DoraMoon's code beneath that line.<

Bandlink.net - http://www.bandlink.net/
Bandlink Music Forums - http://www.bandlink.net/forum/
Go to Top of Page

GeekTragedy
Starting Member

6 Posts

Posted - 17 September 2005 :  16:45:56  Show Profile  Visit GeekTragedy's Homepage  Reply with Quote
Thanks man!

That fixed the trouble I was having with the addon for two of the files. Still couldn't seem to get the admin_review_avatar.asp right though. For some reason I still kept getting errors with it.

However, it seems that if I just leave that file unmodified from where it was at after the avatar MOD, everything works just fine. So I'm not exactly sure what DoraMoon's code was supposed to do for that file.

Whatever it was supposed to do, from the tests I've done, it seems I can live without it.

Thanks again.<

www.geektragedy.com
Go to Top of Page

MarkJH
Senior Member

United Kingdom
1722 Posts

Posted - 18 September 2005 :  07:21:39  Show Profile  Visit MarkJH's Homepage  Reply with Quote
You're welcome. <

Bandlink.net - http://www.bandlink.net/
Bandlink Music Forums - http://www.bandlink.net/forum/
Go to Top of Page
  Previous Topic Topic Next Topic  
 New Topic  Reply to Topic
 Printer Friendly
Jump To:
Snitz Forums 2000 © 2000-2021 Snitz™ Communications Go To Top Of Page
This page was generated in 0.11 seconds. Powered By: Snitz Forums 2000 Version 3.4.07