Author |
Topic  |
|
muddywellies
Junior Member
 
United Kingdom
156 Posts |
Posted - 01 June 2007 : 09:50:22
|
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
|
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! |
 |
|
Hermes
Junior Member
 
Croatia
113 Posts |
Posted - 01 June 2007 : 11:11:15
|
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 :) |
 |
|
muddywellies
Junior Member
 
United Kingdom
156 Posts |
Posted - 01 June 2007 : 11:25:45
|
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! |
 |
|
Hermes
Junior Member
 
Croatia
113 Posts |
|
muddywellies
Junior Member
 
United Kingdom
156 Posts |
Posted - 01 June 2007 : 12:07:35
|
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! |
 |
|
joe.rieger
Starting Member
Canada
12 Posts |
Posted - 01 June 2007 : 13:52:06
|
I had to turn on Allow Signatures in the forum config in order to display the avatars. |
 |
|
muddywellies
Junior Member
 
United Kingdom
156 Posts |
Posted - 01 June 2007 : 14:12:29
|
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! |
 |
|
Hermes
Junior Member
 
Croatia
113 Posts |
|
muddywellies
Junior Member
 
United Kingdom
156 Posts |
Posted - 01 June 2007 : 18:09:12
|
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! |
 |
|
MaD2ko0l
Senior Member
   
United Kingdom
1053 Posts |
Posted - 01 June 2007 : 18:56:04
|
do u have any other mod installed that may be conflicting with it in some way? |
© 1999-2010 MaD2ko0l |
 |
|
muddywellies
Junior Member
 
United Kingdom
156 Posts |
Posted - 02 June 2007 : 01:52:01
|
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! |
 |
|
muddywellies
Junior Member
 
United Kingdom
156 Posts |
Posted - 02 June 2007 : 02:30:19
|
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! |
 |
|
thermal_seeker
Junior Member
 
United Kingdom
430 Posts |
Posted - 02 June 2007 : 08:30:46
|
I also have this
and thats in at around line 767 on a base topic.asp after this
Dave |
No good at coding, but I can plough a field !! |
 |
|
muddywellies
Junior Member
 
United Kingdom
156 Posts |
Posted - 02 June 2007 : 09:30:58
|
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! |
 |
|
|
Topic  |
|