Page member
From TMM Wiki
Jump to navigationJump to search
page_member
We offer this template to display member information to the member by passing in their username and email.
By default in this template you will see:
{if $member} Username: {$member.username} {/if}
Here you can edit and add in any available smarty variables for the member and can see whats available for use using this smarty code: {$member|@debug_print_var}
An example of the data available for use on this template:
Array (95) memberid => "7" identid => "5" loginid => "2" networkid => "0" refurl_lookup_id => "2" landing_page_lookup_id => "0" status => "1" trial => "1" joined => "1475710629" expired => "0" last_login => "0" stamp => "1475710629" siteid => "1" username => "aasdfa" ip => "168430180" email => "test@testmail.com" mailok => "1" flat_price => "0" first_login => "0" third_party_partner_id => "0" cascadeid => "1" cascade_item_id => "2" token => "0" original_username => "aasdfa" renamed => "0" marked => "0" token_hash => "67b730f0a0b5d7b961d979ea204513eb" max_password_display_time => "1475711529" member_subscription_id => "7" memberidx => "NETBILLING:113097149209" billerid => "3" statid => "957f58e9dd3a27" cost => "0" cost_charge => "0" spent => "100" refunded => "0" charges => "1" next_rebill => "1477093029" optionid => "2" rebills => "0" active => "1" upgradeid => "" expires => "1477093029" nats_expires => "1477093029" biller_expires => "0" original_optionid => "2" created_date => "1475710621" loginid_assigned => "0" identid_assigned => "0" gateway_token => "113097149208" passthrough1 => "" passthrough2 => "" passthrough3 => "" passthrough4 => "" passthrough5 => "" forced_optionid => "0" defaulted_optionid => "0" bin_hash => "d63ee0ccfe221eaae4e380bd80275bd2b6bf9..." trial_leftover_time => "0" member_identid => "5" member_loginid => "2" firstname => "test" lastname => "test" address1 => "2 test" address2 => "" zip => "" city => "test" country => "US" state => "NJ" shipping_firstname => "" shipping_lastname => "" shipping_address1 => "" shipping_address2 => "" shipping_zip => "" shipping_city => "" shipping_country => "" shipping_state => "" phone => "" xsell_success => "0" xsell_message => "" custom1 => "" custom2 => "" custom3 => "" custom4 => "" custom5 => "" last_modified => "0" campaignid => "0" programid => "2" tourid => "1" adtoolid => "0" subid1 => "0" subid2 => "0" countryid => "840" promotionalid => "0" subscriptions => Array (1)
Visit this page
In order to see this page, your member will need to visit the url for this template: <linkdomain>/signup/member.php?username=<replace>&email=<replace>