For those of you that use DNNfusion "MyProfile" and MyMessages"
I thought I'd share with you my integration techniques on how to pass the "userid" to show an image display of the user in their listings and a way for instant messaging.
Ventrian Property Agent V1.4.11. Links can be placed in your template.html files "Listing.Item.html", "View.Item.html", "Featured.Item.html". Available tokens [DISPLAYNAME][FULLNAME][USERNAME][USERID], I have not tested all.
1. Text:{A href="http://4states.net/COMMUNITY/Members/tabid/62/uid/[USERID]/Default.aspx">[DISPLAYNAME]{/A}
2. Image:{A href="http://4states.net/COMMUNITY/Members/tabid/62/uid/[AUTHORID]/Default.aspx" class="CommandButton">{img src="http://4states.net/desktopmodules/dnnfusion_myprofile/controls/profileimage.aspx?userid=[USERID]&w=80" border=0>{/a}
3. Messages:{a href="/tabid/68/anon/y/sendto/[USERID]/Default.aspx">{img src="/images/icon_pm.gif" border="0">{/a}
Remember to update the links to display your correct tabid's, and the proper location of your own image icon for messaging. You also need to change "{" to "<" and "}" to ">".
My site is still in developement so I have no live examples at this time. Once I go live, hopefully in January, I'll also be packaging my custom templates and sharing with the community new templates for Cars, Classifieds, Realty, and Employment.
Merry Christmas!
|