Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

TagsDescriptionNotes
{client.id_code}IDe.g. "1501"
{client.status}Statuse.g. "Active"
{contact.first_name}First Name 
{contact.last_name}Last Name 
{contact.company}Company Name 
{contact.address1}Address 1 
{contact.address2}Address 2 
{contact.city}City 
{contact.state}State 
{contact.country}Country 
{contact.zip}Zip / Postal code 
{contact.email}Email Address 
{contact.date_added}Member Datee.g. "2016-05-05 11:18:56"

Service Tags

The Service Tags consists of the following:

TagsDescriptionNotes
 {package.name}Package Namee.g. "DirectAdmin Bronze"
{package.description}Package Text Description 
{package.description_html}Package HTML Description 
{package.status}Package Statuse.g. "Active"
{service.name}Label 
{service.date_added}Date Added 
{service.date_renews}Date Renews 
{service.date_last_renewed}Date Last Renewed 
{service.date_suspended}Date Suspended 
{service.date_canceled}Date Canceled 
{service.status}Statuse.g. "Active"
{module.name}Module Name 
{module.label}Module Row Label 
Expand
titleAdditional Tags

Due to the nature of tag objects containing several fields, many of which are likely irrelevant for use in email templates, but may be useful to you in certain circumstances, a dump of the tags are shown below.

Code Block
languagephp
titleThe {contact} object
collapsetrue
stdClass Object
        (
            [id] => 1
            [client_id] => 1
            [user_id] => 
            [contact_type] => primary
            [contact_type_id] => 
            [first_name] => Bill
            [last_name] => Lang
            [title] => 
            [company] => Phillips Data, Inc.
            [email] => yourname@yourdomain.com
            [address1] => PO BOX 25423
            [address2] => 
            [city] => Anaheim
            [state] => CA
            [zip] => 92825
            [country] => US
            [date_added] => 2016-05-05 11:16:56
            [contact_type_name] => 
            [contact_type_is_lang] => 
        )
Code Block
languagephp
titleThe {client} object
collapsetrue
stdClass Object
        (
            [id] => 1
            [id_format] => {num}
            [id_value] => 1500
            [user_id] => 2
            [client_group_id] => 1
            [primary_account_id] => 
            [primary_account_type] => 
            [status] => active
            [id_code] => 1500
            [contact_id] => 1
            [first_name] => Bill
            [last_name] => Lang
            [company] => Phillips Data, Inc.
            [email] => yourname@yourdomain.com
            [address1] => PO BOX 25423
            [address2] => 
            [city] => Anaheim
            [state] => CA
            [zip] => 92825
            [country] => US
            [group_name] => General
            [company_id] => 1
            [username] => yourname@yourdomain.com
            [two_factor_mode] => none
            [two_factor_key] => 
            [two_factor_pin] => 
            [date_added] => 2016-05-05 11:16:56
        )

Service Tags

The Service Tags consists of the following:

TagsDescriptionNotes
 {package.name}Package Namee.g. "DirectAdmin Bronze"
{package.description}Package Text Description 
{package.description_html}Package HTML Description 
{package.status}Package Statuse.g. "Active"
{service.name}Label 
{service.date_added}Date Added 
{service.date_renews}Date Renews 
{service.date_last_renewed}Date Last Renewed 
{service.date_suspended}Date Suspended 
{service.date_canceled}Date Canceled 
{service.status}Statuse.g. "Active"
{module.name}Module Name 
{module.label}Module Row Label 
Expand
titleAdditional Tags

Due to the nature of tag objects containing several fields, many of which are likely irrelevant for use in email templates, but may be useful to you in certain circumstances, a dump of the tags are shown below.

Code Block
languagephp
titleThe {service} object
collapsetrue
 stdClass Object
        (
            [id] => 1
            [parent_service_id] => 
            [package_group_id] => 1
            [id_format] => {num}
            [id_value] => 1
            [pricing_id] => 1
            [client_id] => 2
            [module_row_id] => 2
            [coupon_id] => 
            [qty] => 1
            [override_price] => 
            [override_currency] => 
            [status] => active
            [date_added] => 2016-05-05 11:44:22
            [date_renews] => 2016-06-05 11:44:22
            [date_last_renewed] => 
            [date_suspended] => 
            [date_canceled] => 
            [id_code] => 1
            [fields] => Array
                (
                    [0] => stdClass Object
                        (
                            [key] => direct_admin_domain
                            [value] => stellarvps.com
                            [serialized] => 0
                            [encrypted] => 0
                        )

                    [1] => stdClass Object
                        (
                            [key] => direct_admin_email
                            [value] => youremail@yourdomain.com
                            [serialized] => 0
                            [encrypted] => 0
                        )

                    [2] => stdClass Object
                        (
                            [key] => direct_admin_ip
                            [value] => 62.65.82.167
                            [serialized] => 0
                            [encrypted] => 0
                        )

                    [3] => stdClass Object
                        (
                            [key] => direct_admin_password
                            [value] => 01283hekles98i12ayhew834854juhfredw
                            [serialized] => 0
                            [encrypted] => 1
                        )

                    [4] => stdClass Object
                        (
                            [key] => direct_admin_username
                            [value] => stellar
                            [serialized] => 0
                            [encrypted] => 0
                        )

                )

            [package_pricing] => stdClass Object
                (
                    [id] => 1
                    [package_id] => 1
                    [pricing_id] => 1
                    [term] => 1
                    [period] => month
                    [price] => 5.0000
                    [setup_fee] => 0.0000
                    [cancel_fee] => 0.0000
                    [currency] => USD
                )

            [package] => stdClass Object
                (
                    [id] => 1
                    [id_format] => {num}
                    [id_value] => 1
                    [module_id] => 3
                    [name] => DirectAdmin Bronze
                    [description] => 
                    [description_html] => 
                    [qty] => 
                    [module_row] => 2
                    [module_group] => 
                    [taxable] => 0
                    [single_term] => 0
                    [status] => active
                    [company_id] => 1
                    [prorata_day] => 
                    [prorata_cutoff] => 
                )

            [options] => Array
                (
                )

            [name] => stellarvps.com
        )
Code Block
languagephp
titleThe {module} object
collapsetrue
stdClass Object
        (
            [host_name] => directadmin-dev.blesta.com
            [name_servers] => Array
                (
                    [0] => dns1.blesta.com
                    [1] => dns2.blesta.com
                )

            [name] => DirectAdmin
            [label] => DirectAdmin 1
        )
Code Block
languagephp
titleThe {module} object
collapsetrue
stdClass Object
        (
            [id] => 1
            [id_format] => {num}
            [id_value] => 1
            [module_id] => 3
            [name] => DirectAdmin Bronze
            [description] => 
            [description_html] => 
            [qty] => 
            [module_row] => 2
            [module_group] => 
            [taxable] => 0
            [single_term] => 0
            [status] => active
            [company_id] => 1
            [prorata_day] => 
            [prorata_cutoff] => 
            [id_code] => 1
            [email_content] => Array
                (
                    [0] => stdClass Object
                        (
                            [lang] => en_us
                            [html] => <p>
	Your DirectAdmin account is now active, details below:<br />
	<br />
	Domain: {service.direct_admin_domain}<br />
	Username: {service.direct_admin_username}<br />
	Password: {service.direct_admin_password}<br />
	<br />
	To log into DirectAdmin please visit https://{module.host_name}:2222<br />
	Please update your name servers as soon as possible to the following:<br />
	<br />
	{% for name_server in module.name_servers %}<br />
	Name server: {name_server}{% endfor %}<br />
	<br />
	Thank you for your business!</p>

                            [text] => Your DirectAdmin account is now active, details below:

Domain: {service.direct_admin_domain}
Username: {service.direct_admin_username}
Password: {service.direct_admin_password}

To log into DirectAdmin please visit https://{module.host_name}:2222
Please update your name servers as soon as possible to the following:

{% for name_server in module.name_servers %}
Name server: {name_server}{% endfor %}

Thank you for your business!
                        )

                )

            [pricing] => Array
                (
                    [0] => stdClass Object
                        (
                            [id] => 1
                            [pricing_id] => 1
                            [package_id] => 1
                
Expand
titleAdditional Tags

Due to the nature of tag objects containing several fields, many of which are likely irrelevant for use in email templates, but may be useful to you in certain circumstances, a dump of the tags are shown below.

Code Block
languagephp
titleThe {contact} object
collapsetrue
stdClass Object
        (
            [idterm] => 1
             [client_id               [period] => 1month
            [user_id] => 
                [contact_typeprice] => primary5.0000
            [contact_type_id] => 
                 [firstsetup_namefee] => Bill0.0000
             [last_name] => Lang
               [titlecancel_fee] => 0.0000
            [company] => Phillips Data, Inc.
            [emailcurrency] => yourname@yourdomain.com
   USD
         [address1] => PO BOX 25423
            [address2] => 
)

              [city] => Anaheim)

            [statemeta] => CAstdClass Object
            [zip] => 92825
    (
                    [countryip] => US62.65.82.167
            [date_added] => 2016-05-05 11:16:56
     [package] => TestUserPackage
     [contact_type_name] => 
               [contact_type_is_lang] => user
        )
Code Block
languagephp
titleThe {client} object
collapsetrue
stdClass Object
        ()

            [idgroups] => 1Array
            [id_format] => {num}
  (
          [id_value] => 1500
            [user_id0] => stdClass 2Object
            [client_group_id] => 1
          (
  [primary_account_id] => 
            [primary_account_type] => 
            [statusid] => active1
              [id_code] => 1500
            [contact_idname] => 1DirectAdmin
            [first_name] => Bill
                [last_namedescription] => Lang
            [company] => Phillips Data, Inc.
            [emailtype] => yourname@yourdomain.comstandard
            [address1] => PO BOX 25423
            [address2company_id] => 1
              [city] => Anaheim
            [stateallow_upgrades] => CA1
            [zip] => 92825
            [country] => US
)

              [group_name] => General)

            [companyoption_idgroups] => 1Array
            [username] => yourname@yourdomain.com    (
            [two_factor_mode] => none    )

            [two_factor_keyip] => 62.65.82.167
            [two_factor_pinpackage] => TestUserPackage
            [date_addedtype] => 2016-05-05 11:16:56user
        )

If you have made a mistake you can click back and when you are finished click "preview".

...