Author |
Topic |
|
jrountree
Starting Member
20 Posts |
Posted - 16 November 2002 : 23:01:55
|
Hey, if this is not a crime...
can anyone tell me how i edit the items listed after people post? if this helps to describe what I'm talking about. I mainly need the asp file that will allow me to do this.
|
Edited by - ruirib on 17 November 2002 06:34:56 |
|
ruirib
Snitz Forums Admin
Portugal
26364 Posts |
|
jrountree
Starting Member
20 Posts |
Posted - 16 November 2002 : 23:09:02
|
okay, see I own a car website...designated to performance systems.
And my forums are devided into domestic car makes. Can i make the register form have car make model and year and then have that and city and state posted in that little section?
I'm pretty well rounded with coding but somethings lose me with asp, haven't worked with it much. umm, if you can just tell me how to get the city and state to show up or maybe a reduced version of their picture that is available in the registrar, i'd be thankful. |
|
|
jrountree
Starting Member
20 Posts |
Posted - 16 November 2002 : 23:27:12
|
crap, it's right in front of me on topic.asp - i see all the getMember_name and all that and "Display" and all that but I have no clue where to start. Any ideas? |
|
|
ruirib
Snitz Forums Admin
Portugal
26364 Posts |
Posted - 16 November 2002 : 23:41:37
|
This the code that shows the current data: member name, rank, posts and country. Just add the info you want starting from here. This code starts at line# 579:
if strShowRank = 2 or strShowRank = 3 then
Response.Write " " & getStar_Level(Reply_MemberLevel, Reply_MemberPosts) & "<br />" & vbNewLine
end if
Response.Write " </p>" & vbNewLine & _
" <p>" & vbNewLine
if strCountry = "1" and trim(Reply_MemberCountry) <> "" then
Response.Write " <font color=""" & strForumFontColor & """ face=""" & strDefaultFontFace & """ size=""" & strFooterFontSize & """><small>" & Reply_MemberCountry & "</small></font><br />" & vbNewLine
end if
Response.Write " <font color=""" & strForumFontColor & """ face=""" & strDefaultFontFace & """ size=""" & strFooterFontSize & """><small>" & Reply_MemberPosts & " Posts</small></font></p></td>" & vbNewLine & _
|
Snitz 3.4 Readme | Like the support? Support Snitz too |
|
|
jrountree
Starting Member
20 Posts |
Posted - 17 November 2002 : 00:13:34
|
okay okay, i know you are probably sick of answering me...how would i make it load City, State? I mean, what is the line i should enter there - i've got the code up.
Also, is there a way to reduce the picture and shove it in there too?and if there isn't a picture, just leave it blank? I mean - I'm more of a coldfusion boy, but i'm wanting to do my site in asp for once. |
|
|
ruirib
Snitz Forums Admin
Portugal
26364 Posts |
Posted - 17 November 2002 : 06:33:18
|
Showing the member city and state, in terms of the code to show the info, is no different than showing the country:
Response.Write " <font color=""" & strForumFontColor & """ face=""" & strDefaultFontFace & """ size=""" & strFooterFontSize & """><small>" & Reply_MemberCountry & "</small></font><br />" & vbNewLine
All that would need to be changed would be the red part. Of course, there is another issue here: city and state are not being retrieved from the database now, so they would need to be retrieved and several indexes to the fields in the arrReplyData would need to be changed.
That means several code changes. I'm moving this to the Mod W/O forum code and maybe someone else can help you with those changes (I don't do that stuff normally). If in a couple of days noone helps ya then drop me an email and I'll code the changes for you.
Regarding the picture issue I don't think you should display the user picture there. The picture that can be specified by the users in their profile as no size restrictions and that would have negative consequences, either way: not changing the size would mean possible variations in the size of the left column, changing the size could probably make some of the pictures completely distorted.
If you want install the Avatar mod, which restrains the size of the pictures that can be used. Then, if the users want, they can maybe send you their pics in an avatar image size to be used instead of the available Avatar pictures. |
Snitz 3.4 Readme | Like the support? Support Snitz too |
|
|
ruirib
Snitz Forums Admin
Portugal
26364 Posts |
|
|
Topic |
|