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 Mod - Well, almost!
 New Topic  Topic Locked
 Printer Friendly
Author Previous Topic Topic Next Topic  

muddywellies
Junior Member

United Kingdom
156 Posts

Posted - 01 June 2007 :  09:50:22  Show Profile  Visit muddywellies's Homepage
I have forum 3.4.06 and today installed the Kinser/Hamlin Mod.
But as yet I have not seen an avatar. . .
Created an avatar folder in my forum Directory via ftp and used ftp to upload a test image. But thus far the MOD sits pretty idle in Admin Options.

Something simple missing somewhere - a link of some kind.

Am I correct in that 'admin' has to upload a range of different avatars for users to choose from?

Once I've tuned this MOD to work is there another MOD that enables users to upload their own avatars? And what are the security implications - if any?




I've got green fingers, but I'm all thumbs using a keyboard!

muddywellies
Junior Member

United Kingdom
156 Posts

Posted - 01 June 2007 :  10:52:32  Show Profile  Visit muddywellies's Homepage
Since posting I now have the test avatar visible in my own admin profile, but not yet visible in my posts. Remaining Q's still apply though.

I've got green fingers, but I'm all thumbs using a keyboard!
Go to Top of Page

Hermes
Junior Member

Croatia
113 Posts

Posted - 01 June 2007 :  11:11:15  Show Profile

Like Shaggy mention few topics bellow yours, to Guy with same problem; You must check modifications in topic.asp.
Most common mistake is with this part:
rM_NAME = 0
rM_RECEIVE_EMAIL = 1
rM_AIM = 2
rM_ICQ = 3
rM_MSN = 4
rM_YAHOO = 5
rM_PM = 6
rM_TITLE = 7
rMEMBER_ID = 8
rM_HOMEPAGE = 9
rM_LEVEL = 10
rM_POSTS = 11
rM_COUNTRY = 12
rM_Avatar = 13
rREPLY_ID = 14
rFORUM_ID = 15
rR_AUTHOR = 16
rTOPIC_ID = 17
rR_MESSAGE = 18
etc…

(this is just an example)

ASP Snitz Forum Upute za instalaciju
http://www.kairos.com.hr http://www.hermetizam.com Forum

not so newbie any more :)
Go to Top of Page

muddywellies
Junior Member

United Kingdom
156 Posts

Posted - 01 June 2007 :  11:25:45  Show Profile  Visit muddywellies's Homepage
You see that's just it!
I'd just checked through the very section you mention and, concerning your own posted line
rM_HOMEPAGE = 9

on BOTH the original code and the replacement code on the MOD the line ought to read
rM_HOMEPAGE = 8


BTW A 'pulling the hair out' smiley might be useful in forums.


I've got green fingers, but I'm all thumbs using a keyboard!
Go to Top of Page

Hermes
Junior Member

Croatia
113 Posts

Posted - 01 June 2007 :  11:44:22  Show Profile
Yes, but You must be careful.
The numbers depends on Mods that every individual has for himself.
Anyway you must not have two same number.

btw. You have very interesting website and forum.
Keep up with good work.

ASP Snitz Forum Upute za instalaciju
http://www.kairos.com.hr http://www.hermetizam.com Forum

not so newbie any more :)

Edited by - Hermes on 01 June 2007 11:45:12
Go to Top of Page

muddywellies
Junior Member

United Kingdom
156 Posts

Posted - 01 June 2007 :  12:07:35  Show Profile  Visit muddywellies's Homepage
3x checked changes to topic_asp. That file is not the problem file.

I've got green fingers, but I'm all thumbs using a keyboard!
Go to Top of Page

joe.rieger
Starting Member

Canada
12 Posts

Posted - 01 June 2007 :  13:52:06  Show Profile  Visit joe.rieger's Homepage
I had to turn on Allow Signatures in the forum config in order to display the avatars.
Go to Top of Page

muddywellies
Junior Member

United Kingdom
156 Posts

Posted - 01 June 2007 :  14:12:29  Show Profile  Visit muddywellies's Homepage
Good thought Joe. Unfortunately signatures already on and user signatures showing just no avatars.

I have just completed a check/reload of the topic_asp file to no avail.
Also did cache clear - just in case. No joy.

Another difficulty encountered with avatars under admin options/avatar set up when trying to upload a test image I receive
"Failed - Error - Upload path not found."

This is in spite of using full URL under 'Upload Avatars' and 'Avatar Destination'

I've got green fingers, but I'm all thumbs using a keyboard!
Go to Top of Page

Hermes
Junior Member

Croatia
113 Posts

Posted - 01 June 2007 :  17:21:57  Show Profile

Don't be offended if I ask you,
you did try put avatars in separate folder, and run Check Installation link in AdminPanel.

Beyond that, I have lack of ideas. Hope someone will help.


ASP Snitz Forum Upute za instalaciju
http://www.kairos.com.hr http://www.hermetizam.com Forum

not so newbie any more :)
Go to Top of Page

muddywellies
Junior Member

United Kingdom
156 Posts

Posted - 01 June 2007 :  18:09:12  Show Profile  Visit muddywellies's Homepage
No offence taken. Yes I have separate folder, and the only way images can get into the folder is by a direct ftp transfer thus far, and the installation check ran fine.

I've got green fingers, but I'm all thumbs using a keyboard!
Go to Top of Page

MaD2ko0l
Senior Member

United Kingdom
1053 Posts

Posted - 01 June 2007 :  18:56:04  Show Profile  Visit MaD2ko0l's Homepage
do u have any other mod installed that may be conflicting with it in some way?

© 1999-2010 MaD2ko0l
Go to Top of Page

muddywellies
Junior Member

United Kingdom
156 Posts

Posted - 02 June 2007 :  01:52:01  Show Profile  Visit muddywellies's Homepage
I have Proeders image MOD, the animated smiley MOD and the Gatekeeper anti-spam MOD.

I've got green fingers, but I'm all thumbs using a keyboard!
Go to Top of Page

muddywellies
Junior Member

United Kingdom
156 Posts

Posted - 02 June 2007 :  02:30:19  Show Profile  Visit muddywellies's Homepage
It's been pointed out that my failure to have avatars show up is most likely in the changed file topic.asp so I've pasted the following lines which I changed from my live file. The (numbers) are those where the code would be found in the original unaltered file. I'm running Snitz 2000 v3.4.06

(96)
96strSql = "SELECT M.M_NAME, M.M_RECEIVE_EMAIL, M.M_AIM, M.M_ICQ, M.M_MSN, M.M_YAHOO" & _
97", M.M_TITLE, M.M_HOMEPAGE, M.MEMBER_ID, M.M_LEVEL, M.M_POSTS, M.M_COUNTRY, M.M_AVATAR_URL" & _

(131)
129 Member_Posts = rsTopic("M_POSTS")
130 Member_Country = rsTopic("M_COUNTRY")
131 Member_Avatar = rsTopic("M_AVATAR_URL")

(309)
Line287 '## Forum_SQL
288 strSql = "SELECT M.M_NAME, M.M_RECEIVE_EMAIL, M.M_AIM, M.M_ICQ, M.M_MSN, M.M_YAHOO"
289 strSql = strSql & ", M.M_TITLE, M.MEMBER_ID, M.M_HOMEPAGE, M.M_LEVEL, M.M_POSTS, M.M_COUNTRY, M.M_AVATAR_URL"

(515)
Line 490 rM_NAME = 0
rM_RECEIVE_EMAIL = 1
rM_AIM = 2
rM_ICQ = 3
rM_MSN = 4
rM_YAHOO = 5
rM_TITLE = 6
rMEMBER_ID = 7
rM_HOMEPAGE = 8
rM_LEVEL = 9
rM_POSTS = 10
rM_COUNTRY = 11
rM_Avatar = 12
rREPLY_ID = 13
rFORUM_ID = 14
rR_AUTHOR = 15
rTOPIC_ID = 16
rR_MESSAGE = 17
rR_LAST_EDIT = 18
rR_LAST_EDITBY = 19
rR_SIG = 20
rR_STATUS = 21
rR_DATE = 22
if CanShowSignature = 1 then
rM_SIG = 23
Line 544 end if

(552)
528 Reply_MemberLevel = arrReplyData(rM_LEVEL, iForum)
529 Reply_MemberPosts = arrReplyData(rM_POSTS, iForum)
530 Reply_MemberCountry = arrReplyData(rM_COUNTRY, iForum)
531 Reply_MemberAvatar = arrReplyData(rM_Avatar, iForum)


I've got green fingers, but I'm all thumbs using a keyboard!
Go to Top of Page

thermal_seeker
Junior Member

United Kingdom
430 Posts

Posted - 02 June 2007 :  08:30:46  Show Profile
I also have this

if Member_Avatar <> "noavatar.gif" then
response.write" <img src=""" & Member_Avatar & """ width=""" & intAvatarWidth & """ height=""" & intAvatarHeight & """ border=""" & intAvatarBorder & """><br /><br />"
end if


and thats in at around line 767 on a base topic.asp after this

	if strShowRank = 2 or strShowRank = 3 then
Response.Write " " & getStar_Level(Member_Level, Member_Posts) & "<br />" & vbNewLine
end if
Response.Write " </p>" & vbNewLine & _
" <p>" & vbNewLine


Dave

No good at coding, but I can plough a field !!
Go to Top of Page

muddywellies
Junior Member

United Kingdom
156 Posts

Posted - 02 June 2007 :  09:30:58  Show Profile  Visit muddywellies's Homepage
Well spotted! I've posted separately because I think it's warranted and provided an explanation regarding the omission.

I've got green fingers, but I'm all thumbs using a keyboard!
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