Register   Login
     
  Latest Posts  
RE: Can't delete single image
by markjjordan on 1/10/2009 3:43 AM
RE: Property Agent Email help please
by skat004 on 1/10/2009 3:39 AM
RE: Can't delete single image
by markjjordan on 1/10/2009 3:38 AM
RE: Property Agent Email help please
by swebster on 1/10/2009 1:34 AM
RE: Can't delete single image
by juliedc on 1/10/2009 1:20 AM
RE: Can't delete single image
by markjjordan on 1/10/2009 1:15 AM
Can't delete single image
by juliedc on 1/10/2009 12:42 AM
Property Agent Email help please
by skat004 on 1/09/2009 11:03 PM
RE: Has pay-per-ad. been added yet?
by skat004 on 1/09/2009 10:48 PM
Title Bar Text
by sootfoot on 1/09/2009 6:00 PM
  Forums  
Subject: ENH: Request for Tokens, Archive Module
Prev Next
You are not authorized to post a reply.

Author Messages
goBlanksUser is Offline
Gold Membership
Nuke Wiz
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 McCullochUser is Offline
Administrators
Nuke Master
Nuke Master
Posts:12823


6/05/2008 7:59 AM  
I can add the [USERID]/[AUTHORID] token in.

Scott McCulloch
Site Administrator
goBlanksUser is Offline
Gold Membership
Nuke Wiz
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 McCullochUser is Offline
Administrators
Nuke Master
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
goBlanksUser is Offline
Gold Membership
Nuke Wiz
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 McCullochUser is Offline
Administrators
Nuke Master
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
goBlanksUser is Offline
Gold Membership
Nuke Wiz
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 McCullochUser is Offline
Administrators
Nuke Master
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
goBlanksUser is Offline
Gold Membership
Nuke Wiz
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 CraigUser is Offline
Gold Membership
Nuke Super Newbie
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 ...)

goBlanksUser is Offline
Gold Membership
Nuke Wiz
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 CraigUser is Offline
Gold Membership
Nuke Super Newbie
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 McCullochUser is Offline
Administrators
Nuke Master
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
You are not authorized to post a reply.
Forums > Modules > News Articles > ENH: Request for Tokens, Archive Module



ActiveForums 3.7