Author |
Topic |
|
Sparty
Starting Member
USA
45 Posts |
Posted - 26 February 2001 : 23:20:06
|
To See a demo goto:
www.orionfaction.com/com You can also see there how I redid the announcements to fit the forum better.
THIS MOD TAKES MAYBE 5 to 10 minutes MAX!!!
On the left column, on Ezboard, I guess you can display a picture. So I took the M_PHOTO_URL link from a members profile and am displaying it on the left column of topics...if they have something there. So here's what you gotta do..
Oh, I also did this, So Resnitz will let me keep my Developer Status...since I've been really inactive lately....hehe
Anyways...all this mod happens in Topic.asp
Line 137 In the SQL add this to the line between M_Country and REPLY.REPLYID (at least that's where I added it
& strMemberTablePrefix & "MEMBERS.M_PHOTO_URL, "
Around line 266 you'll see: strSql = strSql & strMemberTablePrefix & "MEMBERS.M_COUNTRY, "
After that line add:
strSql = strSql & strMemberTablePrefix & "MEMBERS.M_PHOTO_URL, "
After line 347 which should be a BR tag, you'll add this: [red] <%If LEN(rs("M_PHOTO_URL")) > 8 then%> <img src="<%=rs("M_PHOTO_URL")%>" border=0 width=100 height=100><Br> <%end if%> [red] Then down at right around line 468 where it says sub GetFirst(), and repeat the steps about at lines 469 (SQL) and after line 505. (IF STATEMENT)
That should do it. I did a length of 8 on the URL part, just incase someone put "http://" in there and saves it that way with no picture link there.
Sparty Who is trying to become more active :-)
Edited by - Sparty on 26 February 2001 23:20:51
Edited by - Sparty on 26 February 2001 23:22:21
Edited by - Sparty on 26 February 2001 23:32:24 |
|
rick7165
Senior Member
USA
1094 Posts |
|
Sparty
Starting Member
USA
45 Posts |
Posted - 26 February 2001 : 23:33:59
|
THat's just too funny....
See I haven't been around in about 3 or 4 months...OH WELL...I tried.
Sparty |
|
|
rick7165
Senior Member
USA
1094 Posts |
Posted - 01 March 2001 : 03:56:47
|
Here is a Clean topic.asp file that works.
A File has been attached. Download it by clicking on the Paper Clip icon:
Test Site www.eastpasco.com Running on HuwR's SR4 release. Colors and Graphic scheme done by Richard Kinser. |
|
|
James
Average Member
USA
539 Posts |
Posted - 18 March 2001 : 11:17:36
|
quote:
A File has been attached. Download it by clicking on the Paper Clip icon:
You got me . I went looking for this file attachment mod and them realized this was done with a url and forum code.
-
*Interested in Radio Control* *The RC Web Board - http://www.rcwebboard.com/* |
|
|
|
Topic |
|