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: General / Classic ASP versions(v3.4.XX)
 Member Pictures
 New Topic  Topic Locked
 Printer Friendly
Next Page
Author Previous Topic Topic Next Topic
Page: of 2

netranger
Starting Member

8 Posts

Posted - 09 April 2003 :  09:41:51  Show Profile  Visit netranger's Homepage
Does anyone know what the proper dimensions are for the image that members link to in their profile? If a member wants to link to their image and have it appear in their profile, what width and height in pixels should it be?

Thanks.

Regards,
Paul Armstrong

Nyxsys IT Solutions Inc.

OneWayMule
Dev. Team Member & Support Moderator

Austria
4969 Posts

Posted - 09 April 2003 :  09:48:30  Show Profile  Visit OneWayMule's Homepage  Send OneWayMule an ICQ Message
The image is automatically resized to 150x150 pixels.

My MODs:
Birthdays - Custom Policy - F.A.Q. Administration - Forum Rules - Guestbook
Links Manager - MyOwnGoogle - Profile Views - Search Log - WebSearch

Useful stuff:
Forum and MOD Installation - MOD Installation Guide - Snitz v3.4.05 Readme - Free ASP Hosts - Support Snitz
Go to Top of Page

netranger
Starting Member

8 Posts

Posted - 09 April 2003 :  13:00:51  Show Profile  Visit netranger's Homepage
Thanks. That helps a lot.

Regards,
Paul Armstrong

Nyxsys IT Solutions Inc.
Go to Top of Page

OneWayMule
Dev. Team Member & Support Moderator

Austria
4969 Posts

Posted - 09 April 2003 :  13:03:54  Show Profile  Visit OneWayMule's Homepage  Send OneWayMule an ICQ Message
You're welcome

My MODs:
Birthdays - Custom Policy - F.A.Q. Administration - Forum Rules - Guestbook
Links Manager - MyOwnGoogle - Profile Views - Search Log - WebSearch

Useful stuff:
Forum and MOD Installation - MOD Installation Guide - Snitz v3.4.05 Readme - Free ASP Hosts - Support Snitz
Go to Top of Page

tinem
Junior Member

Denmark
209 Posts

Posted - 13 July 2003 :  03:43:42  Show Profile  Send tinem an ICQ Message
Where canI write that the picture has to be 150x150 so the member can see this information? I tried uploading my picture 125x147 but it's look silly. So what can I do?
Please help, thanks.

This account was hacked by that very honest guy, Image. Better take care with your personal data, if you register to his forums or he will hack into your account here, as well.
Go to Top of Page

Roland
Advanced Member

Netherlands
9335 Posts

Posted - 13 July 2003 :  06:38:34  Show Profile
the picture will be resized to 150x150 pixels, but when it's clicked on it'll show the image in its original size. This is the same as on MSN profiles (random example taken from http://memebers.msn.com/ : http://members.msn.com/?mpp=4263~4AAAAHAAACXwSnEb30oTk2Xzv18tRz*DSOuuQSkVLR5*vrzQE89QUzqw$$~4AAAAIAAAGymKZJlmKmdPY!QWUSTafGlGNfJTzRFU*mP4$)
Go to Top of Page

tinem
Junior Member

Denmark
209 Posts

Posted - 13 July 2003 :  07:24:30  Show Profile  Send tinem an ICQ Message
OK thanks. But if I want to make some change in the text under the image where can I do this? Which file, thanks.



This account was hacked by that very honest guy, Image. Better take care with your personal data, if you register to his forums or he will hack into your account here, as well.
Go to Top of Page

Roland
Advanced Member

Netherlands
9335 Posts

Posted - 13 July 2003 :  07:40:23  Show Profile
pop_profile.asp line 300:
						Response.Write	"<a href=""" & ChkString(rs("M_PHOTO_URL"), "displayimage") & """>" & getCurrentIcon(ChkString(rs("M_PHOTO_URL"), "displayimage") & "|150|150",ChkString(rs("M_NAME"),"display"),"hspace=""2"" vspace=""2""") & "</a><br /><font face=""" & strDefaultFontFace & """ size=""" & strDefaultFontSize & """>Click image for full picture</font>"


The red text is which shows below the image.
I think you want to add some text below the input field for the URL though, which is in inc_profile.asp in lines 187 to 202:
		if strPicture = "1" then
			Response.Write	"                    <tr>" & vbNewLine & _
					"                      <td align=""center"" bgcolor=""" & strCategoryCellColor & """ colspan=""2"">" & vbNewLine & _
					"                      <b><font face=""" & strDefaultFontFace & """ size=""" & strDefaultFontSize & """ color=""" & strCategoryFontColor & """>Picture </font></b></td>" & vbNewLine & _
					"                    </tr>" & vbNewLine & _
					"                    <tr>" & vbNewLine & _
					"                      <td bgColor=""" & strPopUpTableColor & """ align=""right"" valign=""middle"" nowrap><b><font face=""" & strDefaultFontFace & """ size=""" & strDefaultFontSize & """>Picture URL: </font></b></td>" & vbNewLine & _
					"                      <td bgColor=""" & strPopUpTableColor & """><font face=""" & strDefaultFontFace & """ size=""" & strDefaultFontSize & """><input name=""Photo_URL"" size=""25"" maxLength=""255"" value="""
			if strMode <> "Register" then
				if rs("M_PHOTO_URL") <> " " and lcase(rs("M_PHOTO_URL")) <> "http://" then Response.Write(ChkString(rs("M_PHOTO_URL"), "displayimage")) else Response.Write("http://")
			else
				Response.Write("http://")
			end if
			Response.Write	""">X</font></td>" & vbNewLine & _
					"                    </tr>" & vbNewLine
		end if ' strPicture

You might want to change the green code from valign=""middle"" to valign=""top""
In the place of the red X you can add a line break after which you can enter the necessary text (example: <font size=""" & strFooterFontSize & """ color=""" & strHiLiteFontColor & """>Image will be shown at 150x150 pixels!</font>)

I didn't test this, but it should work just fine.
Go to Top of Page

tinem
Junior Member

Denmark
209 Posts

Posted - 13 July 2003 :  09:07:13  Show Profile  Send tinem an ICQ Message
Thanks for you answer but I'm not sure that my code is exactly the same. Maybe it's because I have a translated version for danish and I'm not sure how this function. I have downloaded the danish file from here http://hifi-konsulenten.dk/snitzdk/forum.asp?FORUM_ID=1 but the owner of the forum is on holiday so I can't ask him and the mail is not working in the forum. :-(

I'm new to ASP but would really much like to understand how this forum is made because I think it's great and I want to use it on some others sites if I succeed in understanding how it works. :-)

My codes are - line 300-306
------
Response.Write "<a href=""" & ChkString(rs("M_PHOTO_URL"), "displayimage") & """>" & getCurrentIcon(ChkString(rs("M_PHOTO_URL"), "displayimage") & "|150|150",ChkString(rs("M_NAME"),"display"),"hspace=""2"" vspace=""2""") & "</a><br /><font face=""" & strDefaultFontFace & """ size=""" & strDefaultFontSize & """>" & fLang(strLangPop_Profile00190) & "</font>"
else
Response.Write getCurrentIcon(strIconPhotoNone,fLang(strLangPop_Profile00200),"hspace=""2"" vspace=""2""")
end if
Response.Write "</td>" & vbNewLine & _
" </tr>" & vbNewLine
end if ' strPicture
----------


This account was hacked by that very honest guy, Image. Better take care with your personal data, if you register to his forums or he will hack into your account here, as well.
Go to Top of Page

Roland
Advanced Member

Netherlands
9335 Posts

Posted - 13 July 2003 :  09:37:49  Show Profile
quote:
Originally posted by tinem

My codes are - line 300-306
------
Response.Write "<a href=""" & ChkString(rs("M_PHOTO_URL"), "displayimage") & """>" & getCurrentIcon(ChkString(rs("M_PHOTO_URL"), "displayimage") & "|150|150",ChkString(rs("M_NAME"),"display"),"hspace=""2"" vspace=""2""") & "</a><br /><font face=""" & strDefaultFontFace & """ size=""" & strDefaultFontSize & """>" & fLang(strLangPop_Profile00190) & "X</font>"
else
Response.Write getCurrentIcon(strIconPhotoNone,fLang(strLangPop_Profile00200),"hspace=""2"" vspace=""2""")
end if
Response.Write "</td>" & vbNewLine & _
" </tr>" & vbNewLine
end if ' strPicture
----------


Put the extra text where I put the red X.
Go to Top of Page

tinem
Junior Member

Denmark
209 Posts

Posted - 13 July 2003 :  11:34:04  Show Profile  Send tinem an ICQ Message
---------
The red text is which shows below the image.
I think you want to add some text below the input field for the URL though, which is in inc_profile.asp in lines 187 to 202:
---------
I did what you mentioned here but nothing happends. :-(

Maybe I schould wait and here what the danish are saying about my problem. :-)
But thanks.


This account was hacked by that very honest guy, Image. Better take care with your personal data, if you register to his forums or he will hack into your account here, as well.
Go to Top of Page

tinem
Junior Member

Denmark
209 Posts

Posted - 15 July 2003 :  12:50:02  Show Profile  Send tinem an ICQ Message
I have made some changes in "Lang1030.asp" - line 1477.
----------
strLangPop_Profile00190 = "<b>Klik på billedet</b>, <br />for at se det med de korrekte dimensioner. <br />Default indstillingen er 150x150." '"Click image for full pic"
-----------
and it's function. But I can't figure out what to do if I want the caption to be "left" and not "center"?
I found this code in "inc_profile.asp"
--------
if strPicture = "1" then
Response.Write " <tr>" & vbNewLine & _
" <td align=""center"" bgcolor=""" & strCategoryCellColor & """ colspan=""2"">" & vbNewLine & _
" <b><font face=""" & strDefaultFontFace & """ size=""" & strDefaultFontSize & """ color=""" & strCategoryFontColor & """>" & fLang(strLangInc_Profile00200) & " </font></b></td>" & vbNewLine & _
" </tr>" & vbNewLine & _
" <tr>" & vbNewLine & _
" <td bgColor=""" & strPopUpTableColor & """ align=""right"" valign=""middle"" nowrap><b><font face=""" & strDefaultFontFace & """ size=""" & strDefaultFontSize & """>" & fLang(strLangInc_Profile00210) & " </font></b></td>" & vbNewLine & _
" <td bgColor=""" & strPopUpTableColor & """><font face=""" & strDefaultFontFace & """ size=""" & strDefaultFontSize & """><input name=""Photo_URL"" size=""25"" maxLength=""255"" value="""
if strMode <> "Register" then
if rs("M_PHOTO_URL") <> " " and lcase(rs("M_PHOTO_URL")) <> "http://" then Response.Write(ChkString(rs("M_PHOTO_URL"), "displayimage")) else Response.Write("http://")
else
Response.Write("http://")
end if
Response.Write """</font></td>" & vbNewLine & _
" </tr>" & vbNewLine
end if ' strPicture
if (strBio + strHobbies + strLNews + strQuote) > 0 then
if strMode <> "Register" then
strMyHobbies = rs("M_HOBBIES")
strMyLNews = rs("M_LNEWS")
strMyQuote = rs("M_QUOTE")
strMyBio = rs("M_BIO")
end if
--------------


This account was hacked by that very honest guy, Image. Better take care with your personal data, if you register to his forums or he will hack into your account here, as well.
Go to Top of Page

OneWayMule
Dev. Team Member & Support Moderator

Austria
4969 Posts

Posted - 15 July 2003 :  12:54:27  Show Profile  Visit OneWayMule's Homepage  Send OneWayMule an ICQ Message
Post a link to a txt version of your inc_profile.asp.

My MODs:
Birthdays - Custom Policy - F.A.Q. Administration - Forum Rules - Guestbook
Links Manager - MyOwnGoogle - Profile Views - Search Log - WebSearch

Useful stuff:
Forum and MOD Installation - MOD Installation Guide - Snitz v3.4.05 Readme - Free ASP Hosts - Support Snitz
Go to Top of Page

tinem
Junior Member

Denmark
209 Posts

Posted - 15 July 2003 :  13:14:51  Show Profile  Send tinem an ICQ Message
http://www.gaia-instituttet.dk/snitzDK/inc_profile.txt

This account was hacked by that very honest guy, Image. Better take care with your personal data, if you register to his forums or he will hack into your account here, as well.
Go to Top of Page

OneWayMule
Dev. Team Member & Support Moderator

Austria
4969 Posts

Posted - 15 July 2003 :  13:21:13  Show Profile  Visit OneWayMule's Homepage  Send OneWayMule an ICQ Message
Argh, sorry, I meant pop_profile.asp...

My MODs:
Birthdays - Custom Policy - F.A.Q. Administration - Forum Rules - Guestbook
Links Manager - MyOwnGoogle - Profile Views - Search Log - WebSearch

Useful stuff:
Forum and MOD Installation - MOD Installation Guide - Snitz v3.4.05 Readme - Free ASP Hosts - Support Snitz
Go to Top of Page

tinem
Junior Member

Denmark
209 Posts

Posted - 15 July 2003 :  13:36:24  Show Profile  Send tinem an ICQ Message
http://www.gaia-instituttet.dk/snitzDK/pop_profile.txt

This account was hacked by that very honest guy, Image. Better take care with your personal data, if you register to his forums or he will hack into your account here, as well.
Go to Top of Page
Page: of 2 Previous Topic Topic Next Topic  
Next Page
 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.5 seconds. Powered By: Snitz Forums 2000 Version 3.4.07