Snitz Forums 2000
Snitz Forums 2000
Home | Profile | Register | Active Topics | Members | Search | FAQ
Username:
Password:
Save Password
Forgot your Password?

 All Forums
 Snitz Forums 2000 MOD-Group
 MOD Add-On Forum (W/O Code)
 Picture in profile, included in topics?
 New Topic  Topic Locked
 Printer Friendly
Author Previous Topic Topic Next Topic  

tduffy
Junior Member

146 Posts

Posted - 04 September 2002 :  01:20:47  Show Profile
I was wondering if there was a way with version 3.4, to make it where the picture that people have in their profile would show up next to their posts under their username and rank in topic.asp. I'm not sure how the avatar mod works, i've never seen it, but it sounds like it does something different than this.
If there was a way to take their picture url, and show the picture by their posts, that would be great. Any help on this would be greatly appreciated.

Edited by - tduffy on 04 September 2002 02:44:28

DoraMoon
Average Member

Taiwan
661 Posts

Posted - 04 September 2002 :  06:13:05  Show Profile
yeah~ i think there are a Mod can do this..
http://forum.snitz.com/forum/topic.asp?ARCHIVE=true&TOPIC_ID=18266
or
http://forum.snitz.com/forum/topic.asp?ARCHIVE=true&TOPIC_ID=2447

although they are all Old Mods, but i think this one should be VERY EASY to implement for new 3.4 (all you need just a little modificaiton to topic.asp file..)

and i also suggest you try the Avatar Mod. there are something different... but i think either show Photo or show Avatar image, we need consider the image size/file size and the link url correctly or not. and i think the Avatar Mod will more easy to control this...

~......~.~~
Go to Top of Page

tduffy
Junior Member

146 Posts

Posted - 04 September 2002 :  13:28:33  Show Profile
thanks for the links, but i need something that works with version 3.4.2, i'm not good at coding at all. I installed the avatar mod, and this doesn't do what i need it to do. I need to be able to have the users be able to add the url to their avatar themselves, and i can't get the avatar mod to do that. If anyone could help me on this, it would be great.
Go to Top of Page

DoraMoon
Average Member

Taiwan
661 Posts

Posted - 04 September 2002 :  15:02:03  Show Profile
hi~ tduffy

i know Richard have a sweet addon can do this...
let user assign his own Avatar link url... see here
http://forum.snitz.com/forum/topic.asp?ARCHIVE=true&TOPIC_ID=8087

and i think this pop_add_avatar.asp should still available on v3.4, all you need just change the including files to match 3.4 (if you do'nt care about these Response.Write....)

try this...
<!--#INCLUDE FILE="config.asp" -->
<!--#INCLUDE FILE="inc_sha256.asp"-->
<!--#INCLUDE FILE="inc_header_short.asp" -->
<!--#INCLUDE file="inc_func_secure.asp" -->

and
<!--#INCLUDE file="inc_header_short.asp" -->

then add a link to your inc_avatar.asp file... and look it is what your need or not..

BUT.... something need notice!! you can try search here, many posts talking about this problem..
  • if users assign a unavailable link.. you will see a lots X X on your forum.
  • if users link a big image 1Mb, even you restrict size in 64x64, it will slow down your forum.
  • if user link to a pornography image.. you'll busy to lock members..


just a little reminder ~~
Go to Top of Page

tduffy
Junior Member

146 Posts

Posted - 04 September 2002 :  15:26:32  Show Profile
good info, but you lost me, i'm not very good when it comes to programming, what files do i need? and will this work with 3.4
Go to Top of Page

DoraMoon
Average Member

Taiwan
661 Posts

Posted - 04 September 2002 :  15:40:06  Show Profile
well~~ i also not familiar about 3.4 code yet... try hard to studying...

i think maybe we'd better be patient and waiting a while..
there were a lots new 3.4 Mods will keep coming out.. and i know Aaron also have a new Avatar Mod will release soon..

so just awaiting.. i believe in someone will implement this Mod addon to fit v3.4...
Go to Top of Page

tduffy
Junior Member

146 Posts

Posted - 04 September 2002 :  15:46:18  Show Profile
i just tried to get that addon to work, and it won't for me
Go to Top of Page

DoraMoon
Average Member

Taiwan
661 Posts

Posted - 04 September 2002 :  16:15:41  Show Profile
ok~~ tduffy, if you already got the pop_add_avatar.asp file..
try modify it just as i said in above post..
replace the <!--#INCLUDE .... --> section in top and bottom.
so it will look like this in line.38
'## Part of the Avatar Mod by: Richard Kinser ##
'################################################################
%>
<!--#INCLUDE FILE="config.asp" -->
<!--#INCLUDE FILE="inc_sha256.asp"-->
<!--#INCLUDE FILE="inc_header_short.asp" -->
<!--#INCLUDE file="inc_func_secure.asp" -->

<%


and in line.123
<% end if %>
<!--#INCLUDE file="inc_header_short.asp" -->



then edit your inc_avatar.asp
find this in line.54
// End script -->
immediately above that line insert this:
function openWindowAvatar(url) { popupWin = window.open(url,'new_page','width=450,height=200')}

and find this line in line.62
" <td bgcolor=""" & strPopUpTableColor & """ align=""right""><font face=""" & strDefaultFontFace & """ size=""" & strDefaultFontSize & """><b> Avatar: </b></font></td><td>" & vbNewLine
and replace with these 4 lines..
" <td bgcolor=""" & strPopUpTableColor & """ align=""right""><font face=""" & strDefaultFontFace & """ size=""" & strDefaultFontSize & """><b> Avatar: </b>"
if Request.QueryString("mode") = "goEdit" then
Response.Write "<br><a href=""JavaScript:openWindowAvatar('pop_add_avatar.asp')""><small>Add your own Avatar</small></a>"
end if
Response.Write "</font></td><td>" & vbNewLine



i've tested this, it can work.... (when you edit your profile, you can find a link to let you add your own avatar url..)

~......~.~~
Go to Top of Page

tduffy
Junior Member

146 Posts

Posted - 04 September 2002 :  17:24:52  Show Profile
i did that and get this error

Microsoft VBScript compilation error '800a0409'

Unterminated string constant

/inc_avatar.asp, line 103

" <select name=""Avatar_URL"" size=""4"" onChange =""if (CheckNav(3.0,4.0)) URL.src=form.Avatar_URL.options[form.Avatar_URL.options.selectedIndex].value;"">
------------------------------------------------------------------------------------------------------------------------------------------------------------------^
Go to Top of Page

DoraMoon
Average Member

Taiwan
661 Posts

Posted - 04 September 2002 :  18:06:00  Show Profile
............

not sure what's going on.... we did'nt touch this line !?

but i think this line should be..
/inc_avatar.asp, line 103

" <select name=""Avatar_URL"" size=""4"" onChange =""if (CheckNav(3.0,4.0)) URL.src=form.Avatar_URL.options[form.Avatar_URL.options.selectedIndex].value;"">" & vbNewLine


here is a working inc_avatar.asp file (from Hamlin's 3.4 Avatar Mod..), if you did'nt change anything to this file. you can try to use this one...
inc_avatar.asp.txt
Go to Top of Page

tduffy
Junior Member

146 Posts

Posted - 04 September 2002 :  22:16:29  Show Profile
it works now, but it isn't the most user friendly thing, it would just be nice if there would be a way to use the picture that that they use as their picture url in their profile.
Go to Top of Page

RichardKinser
Snitz Forums Admin

USA
16655 Posts

Posted - 04 September 2002 :  22:42:27  Show Profile
try this file: http://kinser.121hosts.net/files/topic.zip

The only thing added to this topic.asp file, is the ability to view the user's Picture (that they specified in their profile), in each topic and reply. This is the topic.asp from v3.4.02 of this forum.

Right now it's set for 64x64
Go to Top of Page

tduffy
Junior Member

146 Posts

Posted - 04 September 2002 :  23:07:46  Show Profile
quote:
Originally posted by RichardKinser

try this file: http://kinser.121hosts.net/files/topic.zip

The only thing added to this topic.asp file, is the ability to view the user's Picture (that they specified in their profile), in each topic and reply. This is the topic.asp from v3.4.02 of this forum.

Right now it's set for 64x64

Thank you very much richard, that did the trick!!
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