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)
 My Avatar Addon for Avatar MOD 3.4
 New Topic  Topic Locked
 Printer Friendly
Previous Page | Next Page
Author Previous Topic Topic Next Topic
Page: of 4

DoraMoon
Average Member

Taiwan
661 Posts

Posted - 11 November 2002 :  20:42:20  Show Profile
hi~ terryp,
glad you did it!
about the getStar_Level, just change this.. (in my_avatar_show.asp)
getStar_Level(Members_MemberLevel, Members_MemberPosts)
to this
getStar_Level(Members_MemberID,Members_MemberLevel, Members_MemberPosts)

it's mean if you have another modded file use this getStar_Level, you'll need to add a extra "Member ID" variable when you call this function.

and also one thing remind you... i can't register in your forum...
something wrong with register.asp file.
you'd better check it soon....
Go to Top of Page

terryp
Junior Member

United Kingdom
174 Posts

Posted - 11 November 2002 :  21:24:33  Show Profile  Visit terryp's Homepage
Lummy, thanks DM..again. It kind of explains why no one new has been in for a while, I shall beat myself severly with a celery stick.

I seem to be all sorted now......if you need a hand with translations give me a yell any time.

Go to Top of Page

richfed
Average Member

United States
999 Posts

Posted - 13 November 2002 :  05:15:43  Show Profile  Visit richfed's Homepage
I think I found a little bug in this ...

Someone tried to post an Avatar URL link, and I received the automatically generated e-mail back as "undeliverable." So, I tested that function myself.

Again, undeliverable. Here's what the e-mail address ends up looking like:

To: "Admin" <richfed@mohicanpress.com,webmaster@mohicanpress.com>

The second part is Admin's e-mail [I was logged in as Admin when I did this, so Admin would be the "user."].

Rich
[size=1]A Complete Idiot's Guide to MOD Implementation || On the Trail of the Last of the Mohicans[/size=1]
Go to Top of Page

DoraMoon
Average Member

Taiwan
661 Posts

Posted - 13 November 2002 :  06:48:07  Show Profile
hi~ Rich,
the send mail notification code show on the end of pop_add_avatar.asp file. (sub AutoEmail())
about line.253
strRecipients = strSender & "," & email

i can't test this mail feature from my pws server, just heard someone said you can add a "," to seperate multi mail recipients... i think maybe some mail components do not surport this...

i really do'nt understand very well about this email stuff, someone help me please... maybe rewrite this send mail code section.

and Rich, i think maybe you can just change above line to
strRecipients = strSender
or
strRecipients = "oooo @ avatarAdmin.ooo...."
forget sending the comfirm message to user, the main purpose here just want to remind Admin there are some user submitted avatars waiting for approved...

someone help me this... thanks.
Go to Top of Page

richfed
Average Member

United States
999 Posts

Posted - 16 November 2002 :  07:23:05  Show Profile  Visit richfed's Homepage
Found something else, though perhaps it's something I did wrong when copying:

When editing avatars, after the changes are made the avatar name appears twice in the review, like this: avatarname, avatarname

The avatar image itself appears normally. However, a user would see the above when selecting an avatar from their profile or the legend.

This is only happening with new or edited avatars since I added this mod ...

Rich
[size=1]A Complete Idiot's Guide to MOD Implementation || On the Trail of the Last of the Mohicans[/size=1]
Go to Top of Page

DoraMoon
Average Member

Taiwan
661 Posts

Posted - 16 November 2002 :  10:35:04  Show Profile
hi~ Rich,
thanks for finding bugs for me ....

the duplicate name problem did'nt occur to me when i test again and again...
but i really make a lots mistakes in admin_edit_avatar.asp modify.
it should'nt show the Approve/Hold table when edit general/non-user_submitted avatars.

at beginning, there is another file to do this approve/hold work... but i just too lazy.. i think there are almost the same code with admin_edit_avatar.asp, why not integrated them together to save a extra new file.... and of couse, i missing a lots thing in the code copy/insert...

here is a fixed file... admin_edit_avatar-fix.zip
(just search '##### My Avatar addon 2- ..... 4 places)
i'll update the zip file later soon..... (Updated !!)
please apply these fix and try again..

Edited by - DoraMoon on 16 November 2002 11:22:04
Go to Top of Page

richfed
Average Member

United States
999 Posts

Posted - 16 November 2002 :  14:03:17  Show Profile  Visit richfed's Homepage
Found it; it was my mistake ... I had duplication of code.

But, good to have your updated file anyway! "Bug" squashed!!!!

Rich
[size=1]A Complete Idiot's Guide to MOD Implementation || On the Trail of the Last of the Mohicans[/size=1]
Go to Top of Page

Fletch_NZ
Starting Member

2 Posts

Posted - 28 November 2002 :  23:09:36  Show Profile
Dora, thanks for the great mod :)
This is only the second time I have modded (the first was the Avatar mod itself).
I seem to be having a problem with admin_avatar_home.asp. When I am in Admin mode and go to 'Avatar Setup', I get a '500 internal server error'
Maybe I am not sure what you mean by remove above line & _?
Do you mean replace the whole line then replace with the below 11 lines?

My code is below. I would be grateful for any help. Thanks :)

%>
<!--#INCLUDE FILE="config.asp"-->
<!--#INCLUDE FILE="inc_sha256.asp"-->
<!--#INCLUDE FILE="inc_header.asp" -->
<!--#INCLUDE FILE="inc_func_admin.asp" -->
<%
if Session(strCookieURL & "Approval") <> "15916941253" then
scriptname = split(request.servervariables("SCRIPT_NAME"),"/")
Response.Redirect "admin_login.asp?target=" & scriptname(ubound(scriptname))
end if
Response.Write " <table border=""0"" width=""100%"">" & vbNewLine & _
" <tr>" & vbNewLine & _
" <td width=""33%"" align=""left"" nowrap><font face=""" & strDefaultFontFace & """ size=""" & strDefaultFontSize & """>" & vbNewLine & _
" " & getCurrentIcon(strIconFolderOpen,"","") & " <a href=""default.asp"">All Forums</a><br />" & vbNewLine & _
" " & getCurrentIcon(strIconBar,"","") & getCurrentIcon(strIconFolderOpen,"","") & " <a href=""admin_home.asp"">Admin Section</a><br />" & vbNewLine & _
" " & getCurrentIcon(strIconBlank,"","") & getCurrentIcon(strIconBar,"","") & getCurrentIcon(strIconFolderOpenTopic,"","") & " Avatar Home<br /></font></td>" & vbNewLine & _
" </tr>" & vbNewLine & _
" </table>" & vbNewLine & _
"<table border=""0"" cellpadding=""0"" cellspacing=""0"" align=""center"">" & vbNewLine & _
" <tr>" & vbNewLine & _
" <td bgcolor=""" & strPopUpBorderColor & """>" & vbNewLine & _
" <table border=""0"" cellspacing=""1"" cellpadding=""1"">" & vbNewLine & _
" <tr>" & vbNewLine & _
" <td bgcolor=""" & strHeadCellColor & """><font face=""" & strDefaultFontFace & """ size=""" & strDefaultFontSize & """ color=""" & strHeadFontColor & """><b> Avatar Setup </b></font></td>" & vbNewLine & _
" </tr>" & vbNewLine & _
" <tr>" & vbNewLine & _
" <td bgcolor=""" & strPopUpTableColor & """><font face=""" & strDefaultFontFace & """ size=""" & strDefaultFontSize & """>" & vbNewLine & _
" <br /><UL>" & vbNewLine & _
" <LI><a href=""admin_avatar_settings.asp"">Avatar Settings</a>    </LI>" & vbNewLine & _
" <LI><a href=""admin_add_avatar.asp"">Add New Avatar</a>    </LI>" & vbNewLine & _
" <LI><a href=""admin_review_avatar.asp"">Review/Edit Avatars</a>    </LI>" & vbNewLine & _
" <LI><a href=""admin_avatar_mass_add.asp"">Mass Avatar Add</a>    </LI>" & vbNewLine & _
" </UL>" & vbNewLine & _
" </font></td>" & vbNewLine & _
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
Response.Write " </table>" & vbNewLine & _
" </td>" & vbNewLine & _
" </tr>" & vbNewLine & _
"</table><BR>"

WriteFooter
Response.End
%>
Go to Top of Page

Fletch_NZ
Starting Member

2 Posts

Posted - 29 November 2002 :  00:09:48  Show Profile
ps.......don't worry, I fixed it! :)

Fletch
Go to Top of Page

DoraMoon
Average Member

Taiwan
661 Posts

Posted - 29 November 2002 :  12:42:44  Show Profile
hi~ Fletch_NZ,
sorry for my bad instruction again and agian....
but i think if you got more Mods installed experience, then you'll know how to check these appropriate Response.Write .... syntax.

this situation really happen often....
........... & vbNewLine
'##### my modded code begin -- Remove & _ from above line
........
............
'##### my modded code end -- Add Response.Write to next line


in actually, it just for insert the comment/remark line to explain what that modified code doing. so we "break" the whole Response.Write.... &_ ...... &_ ..... & vbNewLine section, and insert several lines new code, and we need to do some adjustment to the Response.Write representation...

i really no good idea how to explain this clearly. but i think you'll know it after trying more Mods implement to your forum.

but the '500 internal server error' still a little strange... usually it seem problem cause from your server, not from modified code....

anyway, glad you fixed it finally.
Go to Top of Page

timcadieux
Starting Member

Belarus
45 Posts

Posted - 30 November 2002 :  23:33:04  Show Profile
i'd be more than happy just to grab the files from someone for whom they are working.. I uploaded all my avatars to my Avatars folder, then run the Mass Avatar Add....it adds them successfully, however, on the preview Screen, i canot see them even though i change the height & width to 64. Also, i click and Submit Show Avatar in Profile to yes and every time i go back to that screen, it's back at no. They do not show up on my Profile screen on the My Avatars List, not the Avatars Legend link, the links are always broken, am i doing something wrong? Feel free to e-mail me the docs at timcadieux@videotron.ca

quote:
why did you not post this at Snitz?


The main reasons why this was not posted at Snitz and why I might not post the bugs I find
directly at Snitz anymore are the ways "ruirib and HuwR" take pleasure to criticize just about
anything I post and seem to resent the fact that I want to improve and correct Snitz which, I agree,
serve as the original base for my own Forum.

These are some of the actions I find unacceptable:
ruirib and HuwR take fun to Delete some of my topics, of my replies, locked or move my topic.

A topic posted last week from me to Davio in "Help: MOD Implementation" Forum as been deleted.

Two replies in my topic as been deleted about a bug on snitz topic page:
http://forum.snitz.com/forum/topic.asp?whichpage=5.96&TOPIC_ID=44136#372029

A Fix to texanman as been deleted (first reply to texanman subject):
http://forum.snitz.com/forum/topic.asp?TOPIC_ID=66162

One of my Multi-Language Topic on Snitz has disappeared last night
Multi-Language and Multi-Language Skin3D
http://forum.snitz.com/forum/topic.asp?TOPIC_ID=40765

etc...

3 times I changed my password and the day after the same game start.

Since I send to HuwR a donation of $200 on December 22, 2006
this guy HuwR has never stop to pick on every thing I post on the Snitz Forum.
Go to Top of Page

DoraMoon
Average Member

Taiwan
661 Posts

Posted - 01 December 2002 :  01:01:05  Show Profile
hi~ timcadieux,

1. this avatar addon begin from one small file my_avatar.asp for 3.3. and have a lots change/update as far. so make sure you got the lastest package for 3.4 from SnitzBitz.
My Avatar Addon : http://www.snitzbitz.com/mods/details.asp?Version=All&mid=92

2. i have'nt tried the "Mass Avatar Add" yet, but i know it seem use some FSO method. so it maybe not work on all server situations....
can you see those added avatars from Admin Section/Avatar Home/Review/Edit Avatars ???

3. in my_avatar.asp screen, there are two section to show avatars..
** Available Avatars List ** something similar to the Avatars Legend. if those avatars added successful, them should be shown here.
** My Avatars List ** here only shown the avatars that user choose/assign for his own avatar.

4. in Admin Section/Avatar Home/My Avatar Addon, there are also two different turn On setting in My Avatars List Feature On/Off :
Feature ON (show my avatars only when edit profile)
Feature ON (show all avatars when edit profile)
if you choose the latter, then the avatars select box showing in profile when user edit it will just work as the original Avatar Mod.(it's also mean: user "choose" avatar from here NOT equal to "assign" his own avatar.)
(really hard to explain this by my poor english...)

5. the "Show Avatar in Profile" maybe also not the feature what you thinking.. it only effected when other users "view" a member's profile and the member's default avatar shown or not shown in his profile list.

6. i think i have a little confuse about what your real problem...
maybe let me know more deatail after you trying/playing this mod addon more.
Go to Top of Page

timcadieux
Starting Member

Belarus
45 Posts

Posted - 01 December 2002 :  09:30:35  Show Profile
thanx for tyhe quick response, that's service!! I'll try them ASAP and get right back to you.

quote:
Originally posted by DoraMoon

hi~ timcadieux,

1. this avatar addon begin from one small file my_avatar.asp for 3.3. and have a lots change/update as far. so make sure you got the lastest package for 3.4 from SnitzBitz.
My Avatar Addon : http://www.snitzbitz.com/mods/details.asp?Version=All&mid=92

2. i have'nt tried the "Mass Avatar Add" yet, but i know it seem use some FSO method. so it maybe not work on all server situations....
can you see those added avatars from Admin Section/Avatar Home/Review/Edit Avatars ???

3. in my_avatar.asp screen, there are two section to show avatars..
** Available Avatars List ** something similar to the Avatars Legend. if those avatars added successful, them should be shown here.
** My Avatars List ** here only shown the avatars that user choose/assign for his own avatar.

4. in Admin Section/Avatar Home/My Avatar Addon, there are also two different turn On setting in My Avatars List Feature On/Off :
Feature ON (show my avatars only when edit profile)
Feature ON (show all avatars when edit profile)
if you choose the latter, then the avatars select box showing in profile when user edit it will just work as the original Avatar Mod.(it's also mean: user "choose" avatar from here NOT equal to "assign" his own avatar.)
(really hard to explain this by my poor english...)

5. the "Show Avatar in Profile" maybe also not the feature what you thinking.. it only effected when other users "view" a member's profile and the member's default avatar shown or not shown in his profile list.

6. i think i have a little confuse about what your real problem...
maybe let me know more deatail after you trying/playing this mod addon more.


quote:
why did you not post this at Snitz?


The main reasons why this was not posted at Snitz and why I might not post the bugs I find
directly at Snitz anymore are the ways "ruirib and HuwR" take pleasure to criticize just about
anything I post and seem to resent the fact that I want to improve and correct Snitz which, I agree,
serve as the original base for my own Forum.

These are some of the actions I find unacceptable:
ruirib and HuwR take fun to Delete some of my topics, of my replies, locked or move my topic.

A topic posted last week from me to Davio in "Help: MOD Implementation" Forum as been deleted.

Two replies in my topic as been deleted about a bug on snitz topic page:
http://forum.snitz.com/forum/topic.asp?whichpage=5.96&TOPIC_ID=44136#372029

A Fix to texanman as been deleted (first reply to texanman subject):
http://forum.snitz.com/forum/topic.asp?TOPIC_ID=66162

One of my Multi-Language Topic on Snitz has disappeared last night
Multi-Language and Multi-Language Skin3D
http://forum.snitz.com/forum/topic.asp?TOPIC_ID=40765

etc...

3 times I changed my password and the day after the same game start.

Since I send to HuwR a donation of $200 on December 22, 2006
this guy HuwR has never stop to pick on every thing I post on the Snitz Forum.
Go to Top of Page

timcadieux
Starting Member

Belarus
45 Posts

Posted - 01 December 2002 :  18:52:38  Show Profile
2. Yes, i see the names and desc. of the files listed on the review page, but not the pictures themselves.

3. Under the available Avatars list, there are lots of names, but none of the pictures are showing.

4. I have the Feature ON/Show All Avatars.

quote:
Originally posted by DoraMoon

hi~ timcadieux,

1. this avatar addon begin from one small file my_avatar.asp for 3.3. and have a lots change/update as far. so make sure you got the lastest package for 3.4 from SnitzBitz.
My Avatar Addon : http://www.snitzbitz.com/mods/details.asp?Version=All&mid=92

2. i have'nt tried the "Mass Avatar Add" yet, but i know it seem use some FSO method. so it maybe not work on all server situations....
can you see those added avatars from Admin Section/Avatar Home/Review/Edit Avatars ???

3. in my_avatar.asp screen, there are two section to show avatars..
** Available Avatars List ** something similar to the Avatars Legend. if those avatars added successful, them should be shown here.
** My Avatars List ** here only shown the avatars that user choose/assign for his own avatar.

4. in Admin Section/Avatar Home/My Avatar Addon, there are also two different turn On setting in My Avatars List Feature On/Off :
Feature ON (show my avatars only when edit profile)
Feature ON (show all avatars when edit profile)
if you choose the latter, then the avatars select box showing in profile when user edit it will just work as the original Avatar Mod.(it's also mean: user "choose" avatar from here NOT equal to "assign" his own avatar.)
(really hard to explain this by my poor english...)

5. the "Show Avatar in Profile" maybe also not the feature what you thinking.. it only effected when other users "view" a member's profile and the member's default avatar shown or not shown in his profile list.

6. i think i have a little confuse about what your real problem...
maybe let me know more deatail after you trying/playing this mod addon more.


quote:
why did you not post this at Snitz?


The main reasons why this was not posted at Snitz and why I might not post the bugs I find
directly at Snitz anymore are the ways "ruirib and HuwR" take pleasure to criticize just about
anything I post and seem to resent the fact that I want to improve and correct Snitz which, I agree,
serve as the original base for my own Forum.

These are some of the actions I find unacceptable:
ruirib and HuwR take fun to Delete some of my topics, of my replies, locked or move my topic.

A topic posted last week from me to Davio in "Help: MOD Implementation" Forum as been deleted.

Two replies in my topic as been deleted about a bug on snitz topic page:
http://forum.snitz.com/forum/topic.asp?whichpage=5.96&TOPIC_ID=44136#372029

A Fix to texanman as been deleted (first reply to texanman subject):
http://forum.snitz.com/forum/topic.asp?TOPIC_ID=66162

One of my Multi-Language Topic on Snitz has disappeared last night
Multi-Language and Multi-Language Skin3D
http://forum.snitz.com/forum/topic.asp?TOPIC_ID=40765

etc...

3 times I changed my password and the day after the same game start.

Since I send to HuwR a donation of $200 on December 22, 2006
this guy HuwR has never stop to pick on every thing I post on the Snitz Forum.
Go to Top of Page

KC
Junior Member

USA
152 Posts

Posted - 02 December 2002 :  15:50:33  Show Profile  Visit KC's Homepage
A couple of Members on my 4x4 Evo2 site wanted me to look into adding Avitar's for my http://vales.com/Evo2 site.

They directed me to this Topic.

I won't be adding this Avitar Mod, but I do have some constructive advice for you from a long time Forum Maker.

Never EVER allow a linked image to be used in ANY type of Signature.

Not a Text Image Link, Avitar, anything that will show in every post they have ever made but not on your server.

An image link in a post?
Sure, you can always delete the Topic.
But 500 posts from the same guy with a "little red X" sig?
Naw.

I already have aspSmartUpload (free from here http://www.aspsmart.com/aspSmartUpload/ ) installed as I run a file sharing site.

I just added a bit a code to allow members to upload a specific sized Sig Image to the server that would auto display at the bottom of every post IF one existed on the server.

You might want to consider this approach to managing Member Avatars.

The concept is, there is no "saved" image link info, period.
forum.asp "looks" to see if the Member has a file with his ID on the server.
If so, it displays it.
If not, then it don't.

The main problem with any image that is "hard linked" is, once posted, thats it.
If the image can't be reached years down the road, it's the dreaded "Little Red X".

The trick is to make a members Image Dynamic for every post they have ever made or will make, and changable at will for the past and future.

I just added a couple of lines of code to the user profile page for a couple of buttons to manage their current Sig Image.



And to upload an image, they click the Upload Sig Image Button and get this little pop-up.



I use aspSmartUpload commands to make sure it's a .gif or .jpg file, then save it in a seperate directory RENAMED as (membernumber).Evo2 in this case.

NOte that I change the file Name AND Extention.
An {img src="blabla.xxx} html command does not care what the extention is.
It displays it as an Image, and therefore any real image format will display regardless of original format, hence no hassle.

By renaming the prefix of the file with the members ID, I just added a few FSO commands in topic.asp to see who made the post (or reply) beinging processed and displayed, and look in the server "Sig" directory to see if they had a file there.

If so, display it.
If not, display nothing.

Pretty simple code really, I put it near the top of Topic.asp where it reads the DB for all the post info...

- - -- -

'<!-- KC MOD TO USE SIG FILE UPLOAD -->

sigFileNew = Topic_Author &".evo2"
filespec="e:\Inetpub\vales.com\Evo2\sigs\" & sigFileNew
Set fsox = CreateObject("Scripting.FileSystemObject")
If (fsox.FileExists(filespec)) Then
Topic_Message = Replace(Topic_Message, "!~`1", "  <img src=""sigs/" & sigFileNew & " "">")

else
Topic_Message = Replace(Topic_Message, "!~`1", "")
end if
set fsox=nothing
'response.write formatStr(Topic_Message)

'<!-- END KC MOD FOR SIG UPLOAD -->
- - - - - - -

The !~`1 part of that statement is what I add to a members Text Sig to indicate they use a Sig at all, be it just text, and image, or both.

That way, IF the user indicated to "Display Sig" AND they actually have some sort of sig, it handles it.

For example, here is my "sig" on a typical post if I go in EDIT a POST mode:

!~`1 It's all how you look at things ©¿©¬

I have Text AND an image.
The code above see's I use a Sig.
It then looks to see if a pic with member ID.Evo2 exists.
If so, it add's that IMG commaned to the post and deletes the ~!`1 string.

If not, it just deletes the sting.

With this approach, where the no image links are "hard coded" themselves, you can manage them easy too.

I made a Sig Gallery Page http://vales.com/evo2/SigGallery.asp that shows all the Sigs on the server for that game.

You can click an image to see the profile of who uploaded it (the file name is the member number, remember?)
And though you won't see it, I set it so Mod's and Admins can delete offensive or oversized images on the spot.



I can't tell you what a blessing it is to me to be able to control what images a member has in their posts.
All I am suggesting is another "way to do it" you won't regret down the road.

I hope that helps, and "Mod ON" my man ;-}

Owner of vales.com and Elite Computers.
Go to Top of Page
Page: of 4 Previous Topic Topic Next Topic  
Previous Page | Next Page
 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.23 seconds. Powered By: Snitz Forums 2000 Version 3.4.07