Approval/Upgrade/Denial Template Variables
From TMM Wiki
Jump to navigationJump to search
Approval/Denial Template Variables
The following is the list of template variables that are available on the "page_approval" and "page_denial" templates for your site/tour. These templates are displayed to surfers upon successful/failed signups only if you have not specified an Approval URL/Denial URL for the tour. Please also keep in mind that these variables may differ from what is available on your install depending on your version. To see a full list for your specific version, you can use the smarty {debug} tool to see the full list of available smarty template variables.
Member
- {$member.memberid}
- {$member.identid}
- {$member.loginid}
- {$member.networkid}
- {$member.refurl_lookup_id}
- {$member.status}
- {$member.trial}
- {$member.joined}
- {$member.expired}
- {$member.last_login}
- {$member.stamp}
- {$member.siteid}
- {$member.username}
- {$member.password}
- {$member.cryptpass}
- {$member.ip}
- {$member.email}
- {$member.session}
- {$member.mailok}
- {$member.flat_price}
- {$member.first_login}
- {$member.third_party_partner_id}
- {$member.cascadeid}
- {$member.cascade_item_id}
- {$member.token}
- {$member.original_username}
- {$member.renamed}
- {$member.marked}
- {$member.max_password_display_time}
- {$member.member_subscription_id}
- {$member.memberidx}
- {$member.billerid}
- {$member.statid}
- {$member.cost}
- {$member.cost_charge}
- {$member.spent}
- {$member.refunded}
- {$member.charges}
- {$member.next_rebill}
- {$member.optionid}
- {$member.rebills}
- {$member.active}
- {$member.expires}
- {$member.nats_expires}
- {$member.biller_expires}
- {$member.original_optionid}
- {$member.created_date}
- {$member.loginid_assigned}
- {$member.identid_assigned}
- {$member.passthrough1}
- {$member.passthrough2}
- {$member.passthrough3}
- {$member.passthrough4}
- {$member.passthrough5}
- {$member.defaulted_optionid}
- {$member.forced_optionid}
- {$member.member_identid}
- {$member.member_loginid}
- {$member.firstname}
- {$member.lastname}
- {$member.address1}
- {$member.address2}
- {$member.zip}
- {$member.city}
- {$member.country}
- {$member.state}
- {$member.shipping_firstname}
- {$member.shipping_lastname}
- {$member.shipping_address1}
- {$member.shipping_address2}
- {$member.shipping_zip}
- {$member.shipping_city}
- {$member.shipping_country}
- {$member.shipping_state}
- {$member.phone}
- {$member.xsell_success}
- {$member.xsell_message}
- {$member.custom1}
- {$member.custom2}
- {$member.custom3}
- {$member.custom4}
- {$member.custom5}
- {$member.last_modified}
- {$member.campaignid}
- {$member.programid}
- {$member.tourid}
- {$member.adtoolid}
- {$member.subid1}
- {$member.subid2}
- {$member.countryid}
- {$member.promotionalid}
Site
- {$site.siteid}
- {$site.networkid}
- {$site.site}
- {$site.deleted}
- {$site.name}
- {$site.type}
- {$site.hidden}
- {$site.date_added}
- {$site.date_live}
- {$site.network}
- {$site.reuse_active}
- {$site.no_personal_member_info}
- {$site.mobile_tour}
- {$site.site_group_id}
- {$site.featured}
Option
- {$option.optionid}
- {$option.siteid}
- {$option.networkid}
- {$option.deleted}
- {$option.enabled}
- {$option.orderid}
- {$option.option_type_id}
- {$option.billerid}
- {$option.programid}
- {$option.legacy}
- {$option.biller_details} - will be an array of the biller codes and settings for this option
- {$option.details.initial}
- {$option.details.initial_days}
- {$option.details.rebill}
- {$option.details.rebill_days}
- {$option.details.name}
- {$option.details.packageid}
- {$option.details.no_old_members}
- {$option.details.hidden}
- {$option.details.initial_free}
- {$option.details.package_upgrade_allowed}
- {$option.details.enable_global_package_upgrade}
- {$option.details.token_rebuy_allowed}
- {$option.details.ncr_email}
Upgrade Approval/Denial Template Variables
The "page_upgrade_approval" and "page_upgrade_denial" templates have the $member and $site template variables, but not the $option template variable.