Register   Login
     
  Latest Posts  
RE: News Articles Tokens
by spirit on 3/21/2010 10:27 PM
RE: News Articles Tokens
by ray-isc on 3/21/2010 3:04 PM
RE: Can'd add photo
by rsobari on 3/21/2010 10:17 AM
Tracking image/file clicks
by spirit on 3/21/2010 8:46 AM
Catcha doesnt seem to work
by chaloum on 3/20/2010 8:16 PM
RE: Recently created articles are not shown in list
by atriage on 3/20/2010 10:15 AM
RE: Recently created articles are not shown in list
by spirit on 3/20/2010 10:08 AM
RE: Introducing the most powerful News Slider for Ventrian News Articles
by jhoelz on 3/19/2010 9:29 PM
Rich Snippets for Review, Ratings etc!
by georgelew on 3/19/2010 7:49 PM
Recently created articles are not shown in list
by atriage on 3/19/2010 11:18 AM
  Forums  
Subject: Private Messages & Property Agent
Prev Next
You are not authorized to post a reply.

Author Messages
tmalerUser is Offline
Gold Membership
Ventrian Wiz
Ventrian Wiz
Posts:175


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


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


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
Ventrian Wiz
Ventrian Wiz
Posts:175


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
Ventrian Wiz
Ventrian Wiz
Posts:175


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


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
Ventrian Addict
Ventrian Addict
Posts:82

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
Ventrian Addict
Ventrian Addict
Posts:82

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


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


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
Ventrian Addict
Ventrian Addict
Posts:82

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
Ventrian Wiz
Ventrian Wiz
Posts:175


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
Ventrian Addict
Ventrian Addict
Posts:82

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
Ventrian Addict
Ventrian Addict
Posts:82

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


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


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
Ventrian Addict
Ventrian Addict
Posts:82

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