Snitz Forums 2000
Snitz Forums 2000
Home | Profile | Register | Active Topics | Members | Search | FAQ
 All Forums
 Snitz Forums 2000 MOD-Group
 MOD Add-On Forum (W/Code)
 how to "modify/break" avatar addon?

Note: You must be registered in order to post a reply.
To register, click here. Registration is FREE!
Before posting, make sure you have read this topic!

Screensize:
UserName:
Password:
Format Mode:
Format: BoldItalicizedUnderlineStrikethrough Align LeftCenteredAlign Right Horizontal Rule Insert HyperlinkInsert EmailInsert Image Insert CodeInsert QuoteInsert List
   
Message:

* HTML is OFF
* Forum Code is ON
Smilies
Smile [:)] Big Smile [:D] Cool [8D] Blush [:I]
Tongue [:P] Evil [):] Wink [;)] Clown [:o)]
Black Eye [B)] Eight Ball [8] Frown [:(] Shy [8)]
Shocked [:0] Angry [:(!] Dead [xx(] Sleepy [|)]
Kisses [:X] Approve [^] Disapprove [V] Question [?]

 
Check here to subscribe to this topic.
   

T O P I C    R E V I E W
GeekTragedy Posted - 17 September 2005 : 12:49:20
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
<
3   L A T E S T    R E P L I E S    (Newest First)
MarkJH Posted - 18 September 2005 : 07:21:39
You're welcome. <
GeekTragedy Posted - 17 September 2005 : 16:45:56
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.<
MarkJH Posted - 17 September 2005 : 13:15:06
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.<

Snitz Forums 2000 © 2000-2021 Snitz™ Communications Go To Top Of Page
This page was generated in 0.1 seconds. Powered By: Snitz Forums 2000 Version 3.4.07