Register   Login
     
  Latest Posts  
RE: property sold!!! preselect search fields
by schwall on 9/06/2010 12:11 AM
RE: Main image and listing image
by smcculloch on 9/05/2010 6:12 PM
RE: Amazon S3 integration
by smcculloch on 9/05/2010 6:03 PM
RE: property sold!!! preselect search fields
by smcculloch on 9/05/2010 6:02 PM
RE: Property Manager as Classified Ads
by Rodney.Wimberly on 9/05/2010 5:14 PM
RE: property sold!!! preselect search fields
by j22 on 9/05/2010 12:34 PM
RE: [Suggestion] Review Form Features
by goblanks on 9/05/2010 11:26 AM
RE: property sold!!! preselect search fields
by schwall on 9/05/2010 10:26 AM
RE: property sold!!! preselect search fields
by KriDom on 9/05/2010 9:04 AM
RE: Property Agent Import&Export
by KriDom on 9/05/2010 8:51 AM
  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
Ventrian Master
Ventrian Master
Posts:262

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?


Jeff Blanks

My DNN Project: NortheastOK.com
Scott McCullochUser is Offline
Administrators
Ventrian Master
Ventrian Master
Posts:18570


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

Scott McCulloch
Site Administrator
goBlanksUser is Offline
Gold Membership
Ventrian Master
Ventrian Master
Posts:262

6/06/2008 5:59 PM  
This would be great! I'm sure others would find this useful as well...........

Jeff Blanks

My DNN Project: NortheastOK.com
Scott McCullochUser is Offline
Administrators
Ventrian Master
Ventrian Master
Posts:18570


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
Ventrian Master
Ventrian Master
Posts:262

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.

Jeff Blanks

My DNN Project: NortheastOK.com
Scott McCullochUser is Offline
Administrators
Ventrian Master
Ventrian Master
Posts:18570


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
Ventrian Master
Ventrian Master
Posts:262

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.......


Jeff Blanks

My DNN Project: NortheastOK.com
Scott McCullochUser is Offline
Administrators
Ventrian Master
Ventrian Master
Posts:18570


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
Ventrian Master
Ventrian Master
Posts:262

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.............

Jeff Blanks

My DNN Project: NortheastOK.com
Joe CraigUser is Offline
Gold Membership
Ventrian Addict
Ventrian Addict
Posts:54

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
Ventrian Master
Ventrian Master
Posts:262

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


Jeff Blanks

My DNN Project: NortheastOK.com
Joe CraigUser is Offline
Gold Membership
Ventrian Addict
Ventrian Addict
Posts:54

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
Ventrian Master
Ventrian Master
Posts:18570


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