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
 Photo/Avatar mod
 New Topic  Topic Locked
 Printer Friendly
Author Previous Topic Topic Next Topic  

Mike359
Starting Member

Canada
11 Posts

Posted - 06 April 2005 :  13:13:32  Show Profile
I know I posted this before a long time ago but I have a very serious proublem on my hands and I need a quick fix around it. I want they person's photo in their profile to to be their avatar. No I went to the links that the users replied and they didn't work they came up with a subscrit error. I attempted to debug it but only made matters worse. SO heres my question. I am running the newst version 3.4.05 and could someone just send me a modifed version of Topic.Asp? I know that might sound noobish of me but I spent all nigth retrying and debugging and it just did not work.

-Mike

"Let the Obsession beign. Again"

Jorrit787
Average Member

Netherlands
681 Posts

Posted - 06 April 2005 :  14:14:27  Show Profile  Visit Jorrit787's Homepage  Send Jorrit787 an AOL message  Send Jorrit787 a Yahoo! Message
Do you already have the Avatar MOD installed?

eXtremeGossip
Go to Top of Page

Mike359
Starting Member

Canada
11 Posts

Posted - 06 April 2005 :  14:16:43  Show Profile
Nope.
Why Will I need it installed?

"Let the Obsession beign. Again"
Go to Top of Page

Jorrit787
Average Member

Netherlands
681 Posts

Posted - 06 April 2005 :  14:41:00  Show Profile  Visit Jorrit787's Homepage  Send Jorrit787 an AOL message  Send Jorrit787 a Yahoo! Message
Because that will make it easier to make the modifications. The Avatar MOD basically does what you want to get done, except that it doesn't display the picture you want.

eXtremeGossip
Go to Top of Page

Shaggy
Support Moderator

Ireland
6780 Posts

Posted - 07 April 2005 :  12:30:55  Show Profile
See here, making sure to read everything.

Search is your friend!


Search is your friend
“I was having a mildly paranoid day, mostly due to the
fact that the mad priest lady from over the river had
taken to nailing weasels to my front door again.”
Go to Top of Page

Mike359
Starting Member

Canada
11 Posts

Posted - 08 April 2005 :  11:45:27  Show Profile
No no no no!
Sorry but i've been there.
It screwed up.
Could someone send me topic.asp? with the modified code?

"Let the Obsession beign. Again"
Go to Top of Page

Shaggy
Support Moderator

Ireland
6780 Posts

Posted - 08 April 2005 :  12:17:21  Show Profile
"It screwed up"? Not excatly helpful in finding a solution if there's a problem with the code provided. What exactly happened?


Search is your friend
“I was having a mildly paranoid day, mostly due to the
fact that the mad priest lady from over the river had
taken to nailing weasels to my front door again.”
Go to Top of Page

Mike359
Starting Member

Canada
11 Posts

Posted - 11 April 2005 :  11:44:50  Show Profile
quote:
Originally posted by Shaggy

"It screwed up"? Not excatly helpful in finding a solution if there's a problem with the code provided. What exactly happened?





Sorry bout that Shaggy! Just in a rush. Well I have 3.4.05 and I did what the code told me but I got a sub script not defined ASP error in topic.asp. Is there a 3.4.05 modification that can help me with this?

I get this error:
http://www.polarismapcentral.com/forum/topic.asp?TOPIC_ID=62

"Let the Obsession beign. Again"

Edited by - Mike359 on 11 April 2005 11:59:31
Go to Top of Page

Shaggy
Support Moderator

Ireland
6780 Posts

Posted - 11 April 2005 :  12:38:05  Show Profile
Could have sworn I fixed that way back when. Have a look at the code I posted again, you'll find two uses of the getCurrentIcon function to which you'll need to add the dimensions you want to display the photos at. The first is in the changes mad to lines 582-585, add the code in green to what you've already added and remove the width and height attributes from the third argument:
if strPicture = 1 and trim(Reply_MemberPhoto) <> "" then
	Response.Write	"                " & getCurrentIcon(trim(Reply_MemberPhoto) & "|64|64", ChkString(Reply_MemberName,"display"), "") & "<br />" & vbNewLine
end if
and similarly in the changes I provided for lines 790-793, edit it so it looks like the following:
if strPicture = 1 and trim(Member_Photo) <> "" then
	Response.Write	"                " & getCurrentIcon(trim(Member_Photo) & "|64|64", ChkString(Member_Name,"display"), "") & "<br />" & vbNewLine
end if

Search is your friend
“I was having a mildly paranoid day, mostly due to the
fact that the mad priest lady from over the river had
taken to nailing weasels to my front door again.”
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