Posted By Joe Craig on 6/21/2008 5:32 PM
How do you get the photo displayed given AUTHORID?
Also, since this site is using ActiveForums, is there a way to use the UserProfile photo in ActiveForums? (I realize that I'm asking this in absolutely the wrong place, but ... you guys seem to know what you're talking about ...)
What I've done in the "NA Archives Module" is :
1. Set module to "Author Mode"
2. Change layout to "Custom"
3. Enter my own html
Add something like this:
< div style="float:left; padding:2px" >< a href="[LINK]" >< img src="/DesktopModules/Smart-Thinker%20-%20UserProfile/Profile.ashx?id=[AUTHORID]" alt="[AUTHORDISPLAYNAME]" width="35" border="0" / >< /a >< /div >
< div style="float:left; padding:2px" >< a href="[LINK]" class="paLink" >[AUTHORFULLNAME] ([COUNT])
Excluding all the extra spaces in there. and make sure to change your classes for CSS or remove them.....
EDIT NOTE:
You will see I've used both [AUTHORID] and [AUTHORDISPLAYNAME] in the image link. Make sure to use only these tags. [AUTORHDISPLAYNAME] was only used for xhtml purposes. There are other tags that you can use too for display, just remember [AUTHORID] for image dispay with ST UP |