oCommunity Suite v3.2

Users Manual

Topics IndexTroubleshooting

Account Protection :: Variable Substitution

Variable substitution allows you to personalize your messages by including the person's real name or location.

In your text you put placeholders, called variables, which are automatically replaced with the user's details. It is possible to define a text to be placed if the user information is not available.

Format
The variable format is as follows:

${variable,'text_if_empty'}

The variable can be one of the following:
- full_name
- first_name
- last_name
- country
- state
- city

The 'text_if_empty' is used if the information about the particular variable is not available. Not that the text must be enclosed in single or double quotes.

Example
For example, we can write the following message text

Hey ${first_name,"there"},

I stumbled upon your profile and noticed your country was ${country,"not listed"}. I live in Chicago would very much like us to be friends.

Cheers
John

A user with first name Jessica, living in Paris, France would receive the following message

Hey Jessica,

I stumbled upon your profile and noticed your country was France. I live in Chicago would very much like us to be friends.

Cheers
John

A user who have not published any information about him/her would receive the following message

Hey there,

I stumbled upon your profile and noticed your country was not listed. I live in Chicago would very much like us to be friends.

Cheers
John


Should you have any problems installing and running the suite, please email our 24/7 support line at support@ocommunity.net.

Thank you for using our product.
oCommunity Suite

Web:www.ocommunity.net
Email:info@ocommunity.net

Copyright 2013 Sophisticated LLC, All rights reserved. Terms and Conditions & Privacy Policy
www.oCommunity.net is in no way affiliated to www.myspace.com or any other Online Community website.