goBlanks Gold Membership
 Nuke Wiz Posts:175

 |
| 6/04/2008 5:59 PM |
|
I've recently been using the archive module to display my bloggers. What I've recently found out with templating the module is I can't pass [USERID] or [AUTHORID] into a hyperlink. [AUTHORFULLNAME] works fine but also displays the user full name.
I'm trying to add a photo from an external profile module to display with the user name by passing in a user token. Anyone have any ideas on this? Anyone have a working example? Or could you add this feature Scott? |
|
My DNN Projects: NortheastOK.com, goBlanks.com |
|
|
Scott McCulloch Administrators
 Nuke Master Posts:12823


 |
| 6/05/2008 7:59 AM |
|
| I can add the [USERID]/[AUTHORID] token in. |
|
Scott McCulloch Site Administrator |
|
|
goBlanks Gold Membership
 Nuke Wiz Posts:175

 |
| 6/06/2008 5:59 PM |
|
| This would be great! I'm sure others would find this useful as well........... |
|
My DNN Projects: NortheastOK.com, goBlanks.com |
|
|
Scott McCulloch Administrators
 Nuke Master Posts:12823


 |
| 6/11/2008 7:00 AM |
|
Actually, I went to add this in, there is an [AUTHORID] token already. This is available in listing.item and view.item Where are you trying to use it? A complete list of tokens can be found here |
|
Scott McCulloch Site Administrator |
|
|
goBlanks Gold Membership
 Nuke Wiz Posts:175

 |
| 6/11/2008 3:13 PM |
|
Scott, I've applied a custom template for the Archive Module displaying authors. The archive module has 3 settings. View by date, category, or author. If I remember right. Each display would be setup by a default display template, or a custom template added under module settings. I'm doing this under the Module settings or Module display settings. Not sure as I'm out of town and have no access to my dev. I'll be getting back over the weekend and will double check on this. |
|
My DNN Projects: NortheastOK.com, goBlanks.com |
|
|
Scott McCulloch Administrators
 Nuke Master Posts:12823


 |
| 6/12/2008 5:51 AM |
|
| Oh your talking about the archives module, when I re-looked at this yesterday, I looked in the main module :( |
|
Scott McCulloch Site Administrator |
|
|
goBlanks Gold Membership
 Nuke Wiz Posts:175

 |
| 6/13/2008 7:36 PM |
|
Posted By Scott McCulloch on 6/12/2008 5:51 AM
Oh your talking about the archives module, when I re-looked at this yesterday, I looked in the main module :(
You got it! I just went back and double checked on these tokens and they don't work. I have not checked the latest release though. Has they been added by any chance? I'll install the latest release in a couple days....... |
|
My DNN Projects: NortheastOK.com, goBlanks.com |
|
|
Scott McCulloch Administrators
 Nuke Master Posts:12823


 |
| 6/18/2008 7:56 AM |
|
| Can you try the latest release? It should have [AUTHORID] in it. |
|
Scott McCulloch Site Administrator |
|
|
goBlanks Gold Membership
 Nuke Wiz Posts:175

 |
| 6/18/2008 4:50 PM |
|
Works Great Scott! Now with [AUTHORID] exposed, this should allow for any other modules that have a user photo to display in the "Archives Module". I currently tested this with Rodneys ST userprofile module and works great. Thanks, and I hope others find this just as useful............. |
|
My DNN Projects: NortheastOK.com, goBlanks.com |
|
|
Joe Craig Gold Membership
 Nuke Super Newbie Posts:21

 |
| 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 ...) |
|
|
|
|
goBlanks Gold Membership
 Nuke Wiz Posts:175

 |
| 6/22/2008 9:55 AM |
|
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 |
|
My DNN Projects: NortheastOK.com, goBlanks.com |
|
|
Joe Craig Gold Membership
 Nuke Super Newbie Posts:21

 |
| 6/22/2008 3:30 PM |
|
Thanks. That's exactly what I needed. And if Scott is listening ... I also see that you have a private message link to users here in the forum. How did you accomplish that? |
|
|
|
|
Scott McCulloch Administrators
 Nuke Master Posts:12823


 |
| 6/23/2008 8:04 AM |
|
Hi Joe, Here is an article describing how to do it. |
|
Scott McCulloch Site Administrator |
|
|