Author |
Topic |
|
riffle
Starting Member
10 Posts |
Posted - 11 January 2003 : 05:11:19
|
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
|
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. |
|
|
sminh
Starting Member
11 Posts |
Posted - 11 January 2003 : 19:26:16
|
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! |
|
|
riffle
Starting Member
10 Posts |
Posted - 12 January 2003 : 04:13:56
|
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 |
|
|
Hamlin
Advanced Member
United Kingdom
2386 Posts |
Posted - 12 January 2003 : 05:57:04
|
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 />" |
|
|
Hamlin
Advanced Member
United Kingdom
2386 Posts |
Posted - 12 January 2003 : 05:58:15
|
riffle do you have a link to your forum? |
|
|
sminh
Starting Member
11 Posts |
Posted - 12 January 2003 : 10:24:20
|
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!! |
|
|
Hamlin
Advanced Member
United Kingdom
2386 Posts |
Posted - 12 January 2003 : 10:32:38
|
Your welcome |
|
|
riffle
Starting Member
10 Posts |
Posted - 13 January 2003 : 02:02:14
|
no hamlin, my webspace got screwed up, so i took the forum offline, and am testing it on my IIS now on my pc.. |
|
|
|
Topic |
|