Register   Login
     
  Latest Posts  
RE: Lightbox not working on 2.04?
by wallacea on 12/02/2008 12:31 AM
RE: Lightbox not working on 2.04?
by smcculloch on 12/02/2008 12:20 AM
RE: Facebook-like Tagging People in Pictures...
by swebster on 12/02/2008 12:13 AM
Lightbox not working on 2.04?
by wallacea on 12/01/2008 11:45 PM
News Article css
by daviking on 12/01/2008 7:04 PM
RE: File Expiration Date
by jcochran on 12/01/2008 6:35 PM
RE: Set default value
by mariusm on 12/01/2008 6:29 PM
New Module - File Search
by jcochran on 12/01/2008 6:21 PM
RE: Display Name
by blob150 on 12/01/2008 3:07 PM
How to replicate the paging control at the top of the photos grid
by markjjordan on 12/01/2008 3:05 PM
  Forums  
Subject: Private Messages & Property Agent
Prev Next
You are not authorized to post a reply.

Author Messages
tmalerUser is Offline
Gold Membership
Nuke Wiz
Nuke Wiz
Posts:170


2/15/2007 1:10 PM  

I am trying to create a link in Property Agent View.Item.html file that ties into the Private Messages module.  I have tried a couple of scenarios but with no luck.  Is there a way to pass the USER ID in a string? 

[USERID]/Default.aspx">[CUSTOM:ContactName]

It takes you to the page but the user name does not display inside the composed message.

Thanks for any help!

Tim Maler
DNN Wear


Tim Maler
www.dvdlit.com
Dax DavisUser is Offline
Gold Membership
Nuke Master
Nuke Master
Posts:333


2/15/2007 3:02 PM  
That's a great idea. I've had several projects that I could have used Property Agent for, if it had been out, and communicating with the agent or the office was a requirement. Nice.

Dax
Scott McCullochUser is Offline
Administrators
Nuke Master
Nuke Master
Posts:12548


2/16/2007 5:17 AM  
Yes, there is a way to pass the UserID in, here is an article about it. (article is about active forums but same method applies)

Scott McCulloch
Site Administrator
tmalerUser is Offline
Gold Membership
Nuke Wiz
Nuke Wiz
Posts:170


2/16/2007 6:49 AM  
Thanks Scott! I added the full URL with the [USERID] but when it goes the Private Messages module it does not add the user to the composed message.

Also, is it possible to add the “User” that is posting the listing in the URL like [POSTUSERID].  This way the user the makes the post he\she will receive the Private Message.

Tim Maler
www.dvdlit.com
tmalerUser is Offline
Gold Membership
Nuke Wiz
Nuke Wiz
Posts:170


2/17/2007 8:20 AM  

This works as well.  I created a custom field called LoginName and added the token inside of the string.  So when the user adds a new record he\she can enter their username and it will display automatically in the string.

http://www.truelawyers.com/MyAccount/Contact/PersonalMessenger/tabid/293/pmType/Compose/sendto/[CUSTOM:LoginName]/Default.aspx

 


Tim Maler
www.dvdlit.com
Scott McCullochUser is Offline
Administrators
Nuke Master
Nuke Master
Posts:12548


2/18/2007 3:12 AM  
The agent enhancements will make this a lot easier because it will have a [USERID] token.

This will save you using the custom field for login.

Scott McCulloch
Site Administrator
anna tarrantUser is Offline
Gold Membership
Nuke Addict
Nuke Addict
Posts:69

3/18/2007 3:25 AM  

Hi, 

I've got this all set up with your latest release (with [USERID] token).  The link works but the user ID does not populate the 'send to' field. 

My code is:

Anything wrong here?

Thanks,

Anna


Anna Tarrant | Website Design Hampshire, Web Design Hampshire UK | www.meoncreative.com
anna tarrantUser is Offline
Gold Membership
Nuke Addict
Nuke Addict
Posts:69

3/18/2007 3:29 AM  

OK, cant use code...

Anna


Anna Tarrant | Website Design Hampshire, Web Design Hampshire UK | www.meoncreative.com
Scott McCullochUser is Offline
Administrators
Nuke Master
Nuke Master
Posts:12548


3/18/2007 3:33 AM  
There is a [USERNAME] token, are you following the article on how to link it up?

Scott McCulloch
Site Administrator
Scott McCullochUser is Offline
Administrators
Nuke Master
Nuke Master
Posts:12548


3/18/2007 3:33 AM  
http://www.ventrian.com/Resources/Articles/tabid/213/articleType/ArticleView/articleId/174/Integrating-Active-Forums--Private-Messages.aspx

Scott McCulloch
Site Administrator
anna tarrantUser is Offline
Gold Membership
Nuke Addict
Nuke Addict
Posts:69

3/18/2007 1:05 PM  
Hi Scott, thanks for that.

Out of interest, i am also using Smart-Thinker User Profile and I was wondering if it was possible to use a similar method to the above to link to the posting members Profile.

I've had a go but not managed to get it working so far. I think the problem is that [USERNAME] does not work for the string and that it actually needs [USERID]. Should this work? This is what I am trying to use:

..../tabid/62/ID/[USERID]/Default.aspx

It links to the page OK, but does not pick up the ID, neither does it when I use [USERNAME].

Anna

Anna Tarrant | Website Design Hampshire, Web Design Hampshire UK | www.meoncreative.com
tmalerUser is Offline
Gold Membership
Nuke Wiz
Nuke Wiz
Posts:170


3/18/2007 1:16 PM  

Anna

I am currently using the [USERNAME] in my URL and works great. Make sure you URL looks like this one.

http://www.truelawyers.com/MyAccount/Contact/PersonalMessenger/tabid/293/pmType/Compose/sendto/[USERNAME]/Default.aspx

You can see it here as well!

http://www.truelawyers.com/FindAnAttorney/tabid/304/agentType/View/PropertyID/98/Default.aspx

Tim Maler

Tim Maler
www.dvdlit.com
anna tarrantUser is Offline
Gold Membership
Nuke Addict
Nuke Addict
Posts:69

3/19/2007 1:28 AM  
Hi Tim,

Thanks for the help!

Unfortunately, I still cannot get tthis to work - although Private Messages works fine! I'm wondering if it is because I need a [USERID] token for Smart-Thinker modules and not [USERNAME]?

Great looking website by the way!

Anna

Anna Tarrant | Website Design Hampshire, Web Design Hampshire UK | www.meoncreative.com
anna tarrantUser is Offline
Gold Membership
Nuke Addict
Nuke Addict
Posts:69

3/19/2007 1:59 AM  
Right....

Just asked Smart-thinker and he confirmed that his modules need to user [USERID].

Scott, is there any possibility of this token being exposed? And maybe [DISPLAYNAME] too? This would be fantastic for personalisation.

Thanks,

Anna

Anna Tarrant | Website Design Hampshire, Web Design Hampshire UK | www.meoncreative.com
Scott McCullochUser is Offline
Administrators
Nuke Master
Nuke Master
Posts:12548


3/19/2007 2:09 AM  
I've made the change already offline, it will be available in the next 24 hours.

Scott McCulloch
Site Administrator
Scott McCullochUser is Offline
Administrators
Nuke Master
Nuke Master
Posts:12548


3/19/2007 2:09 AM  
DisplayName won't be exposed until I upgrade the minimum version however..

Scott McCulloch
Site Administrator
anna tarrantUser is Offline
Gold Membership
Nuke Addict
Nuke Addict
Posts:69

3/19/2007 2:58 AM  
Fantastic,

Thanks!

Anna Tarrant | Website Design Hampshire, Web Design Hampshire UK | www.meoncreative.com
You are not authorized to post a reply.
Forums > Modules > Property Agent > Private Messages & Property Agent



ActiveForums 3.7