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 - First post but not others
 New Topic  Topic Locked
 Printer Friendly
Author Previous Topic Topic Next Topic  

hizgan
Starting Member

26 Posts

Posted - 14 April 2005 :  10:41:37  Show Profile
I have installed the mod on my 3.4.05 forum and it seem to work fine but soon relise that the avatars are appearing on the first post only, other people replying does not show an avatar.

Any ideas.

masterao
Senior Member

Sweden
1678 Posts

Posted - 14 April 2005 :  11:15:38  Show Profile  Visit masterao's Homepage
Make sure you have added all the necessary code to topic.asp. I guess that you have only added the mod-changes for the topic (sub GetFirst).

Jan
===========
FR Portal Forums | Active Users 4.0.20 Mod
Go to Top of Page

hizgan
Starting Member

26 Posts

Posted - 14 April 2005 :  11:29:13  Show Profile
I have checked it over and over but it looks like readme suggests.

It does not mention sub getfirst
Go to Top of Page

masterao
Senior Member

Sweden
1678 Posts

Posted - 14 April 2005 :  15:01:11  Show Profile  Visit masterao's Homepage
If you post a link to a text-version of topic.asp, I can take a look at it.

Jan
===========
FR Portal Forums | Active Users 4.0.20 Mod
Go to Top of Page

hizgan
Starting Member

26 Posts

Posted - 14 April 2005 :  16:35:57  Show Profile
Hi

Thanks for your help, the link is

http://www.degalyianforum.co.uk/topic.txt

Hiren.
Go to Top of Page

masterao
Senior Member

Sweden
1678 Posts

Posted - 14 April 2005 :  16:57:39  Show Profile  Visit masterao's Homepage
You missed to add the avatar code for replies.

In your topic.asp:

Look for this on line 587:
quote:
if strCountry = "1" and trim(Reply_MemberCountry) <> "" then


Directly above that line, add the following:
quote:
		 	if Reply_MemberAvatar <> "noavatar.gif" then
		 		    response.write"		<img src=""" & Reply_MemberAvatar & """ width=""" & intAvatarWidth & """ height=""" & intAvatarHeight & """ border=""" & intAvatarBorder & """><br /><br />"
		 	end if



That should make avatars appear for replies as well.

Jan
===========
FR Portal Forums | Active Users 4.0.20 Mod
Go to Top of Page

hizgan
Starting Member

26 Posts

Posted - 15 April 2005 :  05:16:09  Show Profile
Thanks for that its worked a treat.
Go to Top of Page

masterao
Senior Member

Sweden
1678 Posts

Posted - 15 April 2005 :  11:13:58  Show Profile  Visit masterao's Homepage
You're welcome.

Jan
===========
FR Portal Forums | Active Users 4.0.20 Mod
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.23 seconds. Powered By: Snitz Forums 2000 Version 3.4.07