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 Problem
 New Topic  Topic Locked
 Printer Friendly
Author Previous Topic Topic Next Topic  

riffle
Starting Member

10 Posts

Posted - 11 January 2003 :  05:11:19  Show Profile
the avatar admin is working, the avatars appear in the regiteration form too, but therez a image with a cross sign under the persons nick if he selects an avatar, when he posts, i redid the topic.asp section using the readme, but still no luck..


u can also see my topic.asp file @ simmerdown1.netfirms.com/topic.zip

Edited by - riffle on 11 January 2003 05:21:25

Hamlin
Advanced Member

United Kingdom
2386 Posts

Posted - 11 January 2003 :  07:35:18  Show Profile
The only think I notice in your topic.asp is that you have missed out one section...

This code 586-588

			if strCountry = "1" and trim(Reply_MemberCountry) <> "" then
				Response.Write	"                <font color=""" & strForumFontColor & """ face=""" & strDefaultFontFace & """ size=""" & strFooterFontSize & """><small>" & Reply_MemberCountry & "</small></font><br />" & vbNewLine
			end if


Should have the following above it...

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


So it will end up like this...

		 	if Reply_MemberAvatar <> "noavatar.gif" then
		 		    response.write"		<img src=""" & Reply_MemberAvatar & """ width=""" & intAvatarWidth & """ height=""" & intAvatarHeight & """ border=""" & intAvatarBorder & """><br /><br />"
		 	end if					
			if strCountry = "1" and trim(Reply_MemberCountry) <> "" then
				Response.Write	"                <font color=""" & strForumFontColor & """ face=""" & strDefaultFontFace & """ size=""" & strFooterFontSize & """><small>" & Reply_MemberCountry & "</small></font><br />" & vbNewLine
			end if


There is nothing else wrong with that I can see.
Go to Top of Page

sminh
Starting Member

11 Posts

Posted - 11 January 2003 :  19:26:16  Show Profile  Visit sminh's Homepage
ok, i have a few problems with this, firstly in the profile screen where you select the avatar, the list is listed in alphabetical order but reversed, (starts with z and goes down to a).

also there seems to be blank space below the actual avatar picture, under the users name.

any help is appreciated!
Go to Top of Page

riffle
Starting Member

10 Posts

Posted - 12 January 2003 :  04:13:56  Show Profile
ah ok hamlin, i redid topic.asp and well it partly works now...
meaning that new users who register and select an avatar whilst registering , have the avatar under their nicknames, but when existing members edit their profiles and choose an avatar, it doesnt appear, the same cross sign appears under their nicks, and when they go to their profiles again, in the avatar list no avatar is selected :/, could u shed some light here please, thnx


herez wht i mean:

New User registers and selects avatar while registering in his profile>>

Avatar appears perfectly when he posts >>

Registered User Edits his profile to select an avatar>>

When Registered user posts he gets this>>

And in his profile this >>


hope tht makes my prob clear
riffle

Edited by - riffle on 12 January 2003 04:33:56
Go to Top of Page

Hamlin
Advanced Member

United Kingdom
2386 Posts

Posted - 12 January 2003 :  05:57:04  Show Profile
quote:
Originally posted by sminh

ok, i have a few problems with this, firstly in the profile screen where you select the avatar, the list is listed in alphabetical order but reversed, (starts with z and goes down to a).


In the file inc_avatar.asp change this line

strSql = strSql & " ORDER BY " & strTablePrefix & "AVATAR.A_NAME DESC;"

To
strSql = strSql & " ORDER BY " & strTablePrefix & "AVATAR.A_NAME ASC;"


quote:
Originally posted by sminh
also there seems to be blank space below the actual avatar picture, under the users name.

any help is appreciated!


If you mean in topic.asp then yes that is correct.

However look for these two lines and remove the code in red.
response.write"		<img src=""" & Reply_MemberAvatar & """ width=""" & intAvatarWidth & """ height=""" & intAvatarHeight & """ border=""" & intAvatarBorder & """><br /><br />"

And
response.write"		<img src=""" & Member_Avatar & """ width=""" & intAvatarWidth & """ height=""" & intAvatarHeight & """ border=""" & intAvatarBorder & """><br /><br />"
Go to Top of Page

Hamlin
Advanced Member

United Kingdom
2386 Posts

Posted - 12 January 2003 :  05:58:15  Show Profile
riffle do you have a link to your forum?
Go to Top of Page

sminh
Starting Member

11 Posts

Posted - 12 January 2003 :  10:24:20  Show Profile  Visit sminh's Homepage
Thanks Hamlin!

I tried the first bit and it worked!

so did the second bit, but its better with it there. When i first installed the mod there was two lines blank, but when i installed it a second time, there were just one line blank, which is fine.

Once again, Thank you!!
Go to Top of Page

Hamlin
Advanced Member

United Kingdom
2386 Posts

Posted - 12 January 2003 :  10:32:38  Show Profile
Your welcome
Go to Top of Page

riffle
Starting Member

10 Posts

Posted - 13 January 2003 :  02:02:14  Show Profile
no hamlin, my webspace got screwed up, so i took the forum offline, and am testing it on my IIS now on my pc..
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.33 seconds. Powered By: Snitz Forums 2000 Version 3.4.07