Author |
Topic |
|
Mike359
Starting Member
Canada
11 Posts |
Posted - 06 April 2005 : 13:13:32
|
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
|
Do you already have the Avatar MOD installed? |
eXtremeGossip |
|
|
Mike359
Starting Member
Canada
11 Posts |
Posted - 06 April 2005 : 14:16:43
|
Nope. Why Will I need it installed? |
"Let the Obsession beign. Again" |
|
|
Jorrit787
Average Member
Netherlands
681 Posts |
Posted - 06 April 2005 : 14:41:00
|
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 |
|
|
Shaggy
Support Moderator
Ireland
6780 Posts |
Posted - 07 April 2005 : 12:30:55
|
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.” |
|
|
Mike359
Starting Member
Canada
11 Posts |
Posted - 08 April 2005 : 11:45:27
|
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" |
|
|
Shaggy
Support Moderator
Ireland
6780 Posts |
Posted - 08 April 2005 : 12:17:21
|
"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.” |
|
|
Mike359
Starting Member
Canada
11 Posts |
Posted - 11 April 2005 : 11:44:50
|
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 |
|
|
Shaggy
Support Moderator
Ireland
6780 Posts |
Posted - 11 April 2005 : 12:38:05
|
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.” |
|
|
|
Topic |
|