Community Support Forums — WordPress® ( Users Helping Users ) — 2011-12-20T09:50:27-05:00 http://www.primothemes.com/forums/feed.php?f=40&t=13079 2011-12-20T09:50:27-05:00 http://www.primothemes.com/forums/viewtopic.php?t=13079&p=57815#p57815 <![CDATA[s2Member v111220 / Source Code: s2member\i...]]>
s2Member v111220
Source Code: s2member\includes\classes\tracking-codes.inc.php
Docs updated: December 20, 2011, 9:50 am

Open for public discussion.
(!-- s-words :: --)n/a(!-- :: s-words --)

Statistics: Posted by System Robot — December 20th, 2011, 9:50 am


]]>
2011-12-07T01:03:34-05:00 http://www.primothemes.com/forums/viewtopic.php?t=13079&p=55497#p55497 <![CDATA[s2Member v111206 / Source Code: s2member\i...]]>
s2Member v111206
Source Code: s2member\includes\classes\tracking-codes.inc.php
Docs updated: December 7, 2011, 1:03 am

Open for public discussion.
(!-- s-words :: --)n/a(!-- :: s-words --)

Statistics: Posted by System Robot — December 7th, 2011, 1:03 am


]]>
2011-11-05T19:26:22-05:00 http://www.primothemes.com/forums/viewtopic.php?t=13079&p=51871#p51871 <![CDATA[s2Member v111105 / Source Code: s2member\i...]]>
s2Member v111105
Source Code: s2member\includes\classes\tracking-codes.inc.php
Docs updated: November 5, 2011, 8:26 pm

Open for public discussion.
(!-- s-words :: --)n/a(!-- :: s-words --)

Statistics: Posted by System Robot — November 5th, 2011, 7:26 pm


]]>
2011-10-29T20:35:22-05:00 http://www.primothemes.com/forums/viewtopic.php?t=13079&p=49966#p49966 <![CDATA[s2Member v111029 / Source Code: s2member\i...]]>
s2Member v111029
Source Code: s2member\includes\classes\tracking-codes.inc.php
Docs updated: October 29, 2011, 9:35 pm

Open for public discussion.
(!-- s-words :: --)n/a(!-- :: s-words --)

Statistics: Posted by System Robot — October 29th, 2011, 8:35 pm


]]>
2011-10-17T15:39:29-05:00 http://www.primothemes.com/forums/viewtopic.php?t=13079&p=47760#p47760 <![CDATA[s2Member v111017 / Source Code: s2member\i...]]>
s2Member v111017
Source Code: s2member\includes\classes\tracking-codes.inc.php
Docs updated: October 17, 2011, 1:39 pm

Open for public discussion.
(!-- s-words :: --)n/a(!-- :: s-words --)

Statistics: Posted by System Robot — October 17th, 2011, 3:39 pm


]]>
2011-10-11T14:35:24-05:00 http://www.primothemes.com/forums/viewtopic.php?t=13079&p=46161#p46161 <![CDATA[s2Member v111011 / Source Code: s2member\i...]]>
s2Member v111011
Source Code: s2member\includes\classes\tracking-codes.inc.php
Docs updated: October 11, 2011, 12:35 pm

Open for public discussion.
(!-- s-words :: --)n/a(!-- :: s-words --)

Statistics: Posted by System Robot — October 11th, 2011, 2:35 pm


]]>
2011-10-03T15:47:48-05:00 http://www.primothemes.com/forums/viewtopic.php?t=13079&p=44291#p44291 <![CDATA[s2Member v111003 / Source Code: s2member\i...]]>
s2Member v111003
Source Code: s2member\includes\classes\tracking-codes.inc.php
Docs updated: October 3, 2011, 1:47 pm

Open for public discussion.
(!-- s-words :: --)n/a(!-- :: s-words --)

Statistics: Posted by System Robot — October 3rd, 2011, 3:47 pm


]]>
2011-10-03T03:41:21-05:00 http://www.primothemes.com/forums/viewtopic.php?t=13079&p=42998#p42998 <![CDATA[s2Member v111002 / Source Code: s2member\i...]]>
s2Member v111002
Source Code: s2member\includes\classes\tracking-codes.inc.php
Docs updated: October 3, 2011, 1:41 am

Open for public discussion.
(!-- s-words :: --)n/a(!-- :: s-words --)

Statistics: Posted by System Robot — October 3rd, 2011, 3:41 am


]]>
2011-09-27T05:26:48-05:00 http://www.primothemes.com/forums/viewtopic.php?t=13079&p=41244#p41244 <![CDATA[s2Member v110927 / Source Code: s2member\i...]]>
s2Member v110927
Source Code: s2member\includes\classes\tracking-codes.inc.php
Docs updated: September 27, 2011, 3:26 am

Open for public discussion.
(!-- s-words :: --)n/a(!-- :: s-words --)

Statistics: Posted by System Robot — September 27th, 2011, 5:26 am


]]>
2011-09-26T21:03:25-05:00 http://www.primothemes.com/forums/viewtopic.php?t=13079&p=40000#p40000 <![CDATA[s2Member v110926 / Source Code: s2member\i...]]>
s2Member v110926
Source Code: s2member\includes\classes\tracking-codes.inc.php
Docs updated: September 26, 2011, 7:03 pm

Open for public discussion.
(!-- s-words :: --)n/a(!-- :: s-words --)

Statistics: Posted by System Robot — September 26th, 2011, 9:03 pm


]]>
2011-09-17T16:20:47-05:00 http://www.primothemes.com/forums/viewtopic.php?t=13079&p=38142#p38142 <![CDATA[s2Member v110915 / Source Code: s2member\i...]]>
s2Member v110915
Source Code: s2member\includes\classes\tracking-codes.inc.php
Docs updated: September 17, 2011, 2:20 pm

Open for public discussion.
(!-- s-words :: --)n/a(!-- :: s-words --)

Statistics: Posted by System Robot — September 17th, 2011, 4:20 pm


]]>
2011-09-14T01:28:00-05:00 http://www.primothemes.com/forums/viewtopic.php?t=13079&p=36723#p36723 <![CDATA[s2Member v110913 / Source Code: s2member\i...]]>
s2Member v110913
Source Code: s2member\includes\classes\tracking-codes.inc.php
Docs updated: September 13, 2011, 11:28 pm

Open for public discussion.
(!-- s-words :: --)n/a(!-- :: s-words --)

Statistics: Posted by System Robot — September 14th, 2011, 1:28 am


]]>
2011-09-13T12:03:05-05:00 http://www.primothemes.com/forums/viewtopic.php?t=13079&p=35451#p35451 <![CDATA[s2Member v110912 / Source Code: s2member\i...]]>
s2Member v110912
Source Code: s2member\includes\classes\tracking-codes.inc.php
Docs updated: September 13, 2011, 10:03 am

Open for public discussion.
(!-- s-words :: --)n/a(!-- :: s-words --)

Statistics: Posted by System Robot — September 13th, 2011, 12:03 pm


]]>
2011-08-15T15:14:12-05:00 http://www.primothemes.com/forums/viewtopic.php?t=13079&p=31572#p31572 <![CDATA[s2Member v110815 / Source Code: s2member\i...]]>
s2Member v110815
Source Code: s2member\includes\classes\tracking-codes.inc.php
Docs updated: August 15, 2011, 4:14 pm

Open for public discussion.
(!-- s-words :: --)Source Code Documentation Packages ( Overview ) Classes Deprecated Todo Index Source Code jQuery(window).load(function(){ if(typeof location.hash === 'string' && location.hash.match(/^#/)) jQuery('olli'+location.hash).addClass('hilite'); }); jQuery(window).bind('hashchange', function(){ if(typeof location.hash === 'string' && location.hash.match(/^#/)) jQuery('olli').removeClass('hilite'); jQuery('olli'+location.hash).addClass('hilite'); }); [ full view ]s2member\includes\classes\tracking-codes.inc.php ?php /** * Tracking Codes. * * Copyright: © 2009-2011 * {@link http://www.websharks-inc.com/ WebSharks, Inc.} * ( coded in the USA ) * * Released under the terms of the GNU General Public License. * You should have received a copy of the GNU General Public License, * along with this software. In the main directory, see: /licensing/ * If not, see: {@link http://www.gnu.org/licenses/}. * * @package s2Member\Tracking * @since 3.5 */ if ( realpath ( __FILE__ ) === realpath ( $_SERVER [ "SCRIPT_FILENAME" ] ) ) exit ( "Do not access this file directly." ) ; /**/ if ( ! class_exists ( "c_ws_plugin__s2member_tracking_codes" ) ) { /** * Tracking Codes. * * @package s2Member\Tracking * @since 3.5 */ class c_ws_plugin__s2member_tracking_codes { /** * Displays Signup Tracking Codes. * * These are stored inside s2Member's Transient Queue by the IPN processor. * * Tracking Codes are only displayed/processed one time. * s2Member will display Tracking Codes in (1) of these 4 locations: * * o On the Return URL / Thank-You Page, after returning from your Payment Gateway. * o Otherwise, on the Registration Form, after returning from your Payment Gateway. * o Otherwise, if possible, on the Login Form *( in the footer )* after Registration is completed. * o Otherwise, in the footer of your WordPress® theme, as soon as possible; or after the Customer's very first login. * * @package s2Member\Tracking * @since 3.5 * * @attaches-to: ``add_action("login_footer");`` * @attaches-to: ``add_action("wp_footer");`` * @also-called-by: {@link s2Member\Tracking\c_ws_plugin__s2member_tracking_codes::generate_all_tracking_codes()} * * @return null After displaying possible Tracking Code(s). */ public static function display_signup_tracking_codes ( ) { do_action ( "ws_plugin__s2member_before_display_signup_tracking_codes" , get_defined_vars ( ) ) ; /**/ if ( ( ! empty ( $_COOKIE [ "s2member_tracking" ] ) && ( $subscr_or_txn_id = c_ws_plugin__s2member_utils_encryption:: decrypt ( $_COOKIE [ "s2member_tracking" ] ) ) ) || ( ( $reg_cookies = c_ws_plugin__s2member_register_access:: reg_cookies_ok ( ) ) && extract ( $reg_cookies ) && ( $subscr_or_txn_id = $subscr_id ) ) ) { if ( ( $code = get_transient ( $transient = "s2m_" . md5 ( "s2member_transient_signup_tracking_codes_" . $subscr_or_txn_id ) ) ) ) { delete_transient ( $transient ) ; /* Only display this ONE time. Delete transient immediately. */ /**/ echo 'img src="' . esc_attr ( site_url ( "/?s2member_delete_tracking_cookie=1" ) ) . '" alt="." style="width:1px; height:1px; border:0;" /' . "\n" ; /**/ eval ( 'foreach(array_keys(get_defined_vars())as$__v)$__refs[$__v]=&$$__v;' ) ; do_action ( "ws_plugin__s2member_during_display_signup_tracking_codes" , get_defined_vars ( ) ) ; unset ( $__refs , $__v ) ; /* Unset defined __refs, __v. */ /**/ if ( is_multisite ( ) && c_ws_plugin__s2member_utils_conds:: is_multisite_farm ( ) && ! is_main_site ( ) ) { echo do_shortcode ( $code ) . "\n" ; /* No PHP here. */ } else /* Otherwise, safe to allow PHP code. */ { echo do_shortcode (c_ws_plugin__s2member_utilities:: evl ( $code ) ) ; } } } /**/ do_action ( "ws_plugin__s2member_after_display_signup_tracking_codes" , get_defined_vars ( ) ) ; /**/ return ; /* Return for uniformity. */ } /** * Displays Modification Tracking Codes. * * These are stored inside s2Member's Transient Queue by the IPN processor. * * Tracking Codes are only displayed/processed one time. * s2Member will display Tracking Codes in (1) of these 3 locations: * * o On the Return URL / Thank-You Page, after returning from your Payment Gateway. * o Otherwise, if possible, on the Login Form *( in the footer )* after returning from your Payment Gateway. * o Otherwise, in the footer of your WordPress® theme, as soon as possible; or after the Customer's next login. * * @package s2Member\Tracking * @since 110815 * * @attaches-to: ``add_action("login_footer");`` * @attaches-to: ``add_action("wp_footer");`` * @also-called-by: {@link s2Member\Tracking\c_ws_plugin__s2member_tracking_codes::generate_all_tracking_codes()} * * @return null After displaying possible Tracking Code(s). */ public static function display_modification_tracking_codes ( ) { do_action ( "ws_plugin__s2member_before_display_modification_tracking_codes" , get_defined_vars ( ) ) ; /**/ if ( ( ! empty ( $_COOKIE [ "s2member_tracking" ] ) && ( $subscr_or_txn_id = c_ws_plugin__s2member_utils_encryption:: decrypt ( $_COOKIE [ "s2member_tracking" ] ) ) ) || ( ( $reg_cookies = c_ws_plugin__s2member_register_access:: reg_cookies_ok ( ) ) && extract ( $reg_cookies ) && ( $subscr_or_txn_id = $subscr_id ) ) ) { if ( ( $code = get_transient ( $transient = "s2m_" . md5 ( "s2member_transient_modification_tracking_codes_" . $subscr_or_txn_id ) ) ) ) { delete_transient ( $transient ) ; /* Only display this ONE time. Delete transient immediately. */ /**/ echo 'img src="' . esc_attr ( site_url ( "/?s2member_delete_tracking_cookie=1" ) ) . '" alt="." style="width:1px; height:1px; border:0;" /' . "\n" ; /**/ eval ( 'foreach(array_keys(get_defined_vars())as$__v)$__refs[$__v]=&$$__v;' ) ; do_action ( "ws_plugin__s2member_during_display_modification_tracking_codes" , get_defined_vars ( ) ) ; unset ( $__refs , $__v ) ; /* Unset defined __refs, __v. */ /**/ if ( is_multisite ( ) && c_ws_plugin__s2member_utils_conds:: is_multisite_farm ( ) && ! is_main_site ( ) ) { echo do_shortcode ( $code ) . "\n" ; /* No PHP here. */ } else /* Otherwise, safe to allow PHP code. */ { echo do_shortcode (c_ws_plugin__s2member_utilities:: evl ( $code ) ) ; } } } /**/ do_action ( "ws_plugin__s2member_after_display_modification_tracking_codes" , get_defined_vars ( ) ) ; /**/ return ; /* Return for uniformity. */ } /** * Displays Capability Tracking Codes. * * These are stored inside s2Member's Transient Queue by the IPN processor. * * Tracking Codes are only displayed/processed one time. * s2Member will display Tracking Codes in (1) of these 3 locations: * * o On the Return URL / Thank-You Page, after returning from your Payment Gateway. * o Otherwise, if possible, on the Login Form *( in the footer )* after returning from your Payment Gateway. * o Otherwise, in the footer of your WordPress® theme, as soon as possible; or after the Customer's next login. * * @package s2Member\Tracking * @since 110815 * * @attaches-to: ``add_action("login_footer");`` * @attaches-to: ``add_action("wp_footer");`` * @also-called-by: {@link s2Member\Tracking\c_ws_plugin__s2member_tracking_codes::generate_all_tracking_codes()} * * @return null After displaying possible Tracking Code(s). */ public static function display_ccap_tracking_codes ( ) { do_action ( "ws_plugin__s2member_before_display_ccap_tracking_codes" , get_defined_vars ( ) ) ; /**/ if ( ( ! empty ( $_COOKIE [ "s2member_tracking" ] ) && ( $subscr_or_txn_id = c_ws_plugin__s2member_utils_encryption:: decrypt ( $_COOKIE [ "s2member_tracking" ] ) ) ) || ( ( $reg_cookies = c_ws_plugin__s2member_register_access:: reg_cookies_ok ( ) ) && extract ( $reg_cookies ) && ( $subscr_or_txn_id = $subscr_id ) ) ) { if ( ( $code = get_transient ( $transient = "s2m_" . md5 ( "s2member_transient_ccap_tracking_codes_" . $subscr_or_txn_id ) ) ) ) { delete_transient ( $transient ) ; /* Only display this ONE time. Delete transient immediately. */ /**/ echo 'img src="' . esc_attr ( site_url ( "/?s2member_delete_tracking_cookie=1" ) ) . '" alt="." style="width:1px; height:1px; border:0;" /' . "\n" ; /**/ eval ( 'foreach(array_keys(get_defined_vars())as$__v)$__refs[$__v]=&$$__v;' ) ; do_action ( "ws_plugin__s2member_during_display_ccap_tracking_codes" , get_defined_vars ( ) ) ; unset ( $__refs , $__v ) ; /* Unset defined __refs, __v. */ /**/ if ( is_multisite ( ) && c_ws_plugin__s2member_utils_conds:: is_multisite_farm ( ) && ! is_main_site ( ) ) { echo do_shortcode ( $code ) . "\n" ; /* No PHP here. */ } else /* Otherwise, safe to allow PHP code. */ { echo do_shortcode (c_ws_plugin__s2member_utilities:: evl ( $code ) ) ; } } } /**/ do_action ( "ws_plugin__s2member_after_display_ccap_tracking_codes" , get_defined_vars ( ) ) ; /**/ return ; /* Return for uniformity. */ } /** * Displays Specific Post/Page Tracking Codes. * * These are stored inside s2Member's Transient Queue, by BOTH the IPN & Return-Data processors. * * Specific Post/Page Tracking Codes are only displayed/processed one time. * s2Member will display Tracking Codes in the footer of your theme. * * @package s2Member\Tracking * @since 3.5 * * @attaches-to: ``add_action("login_footer");`` * @attaches-to: ``add_action("wp_footer");`` * @also-called-by: {@link s2Member\Tracking\c_ws_plugin__s2member_tracking_codes::generate_all_tracking_codes()} * * @return null After displaying possible Tracking Code(s). */ public static function display_sp_tracking_codes ( ) { do_action ( "ws_plugin__s2member_before_display_sp_tracking_codes" , get_defined_vars ( ) ) ; /**/ if ( ! empty ( $_COOKIE [ "s2member_sp_tracking" ] ) && ( $txn_id = c_ws_plugin__s2member_utils_encryption:: decrypt ( $_COOKIE [ "s2member_sp_tracking" ] ) ) ) { if ( ( $code = get_transient ( $transient = "s2m_" . md5 ( "s2member_transient_sp_tracking_codes_" . $txn_id ) ) ) ) { delete_transient ( $transient ) ; /* Only display this ONE time. Delete transient immediately. */ /**/ echo 'img src="' . esc_attr ( site_url ( "/?s2member_delete_sp_tracking_cookie=1" ) ) . '" alt="." style="width:1px; height:1px; border:0;" /' . "\n" ; /**/ eval ( 'foreach(array_keys(get_defined_vars())as$__v)$__refs[$__v]=&$$__v;' ) ; do_action ( "ws_plugin__s2member_during_display_sp_tracking_codes" , get_defined_vars ( ) ) ; unset ( $__refs , $__v ) ; /* Unset defined __refs, __v. */ /**/ if ( is_multisite ( ) && c_ws_plugin__s2member_utils_conds:: is_multisite_farm ( ) && ! is_main_site ( ) ) { echo $code . "\n" ; /* No PHP here. */ } else /* Otherwise, it's safe to allow PHP code. */ { eval ( "?" . $code ) ; } } } /**/ do_action ( "ws_plugin__s2member_after_display_sp_tracking_codes" , get_defined_vars ( ) ) ; /**/ return ; /* Return for uniformity. */ } /** * Generates/returns all Tracking Codes integrated with s2Member. * * This method may be used in areas where s2Member needs to build tracking codes in a more dynamic way. * * @package s2Member\Tracking * @since 110720 * * @return str HTML output for all Tracking Codes integrated with s2Member. */ public static function generate_all_tracking_codes ( ) { ob_start ( ) ; /* Begin output buffering so we can "return". */ /**/ c_ws_plugin__s2member_tracking_codes:: display_signup_tracking_codes ( ) ; c_ws_plugin__s2member_tracking_codes:: display_modification_tracking_codes ( ) ; c_ws_plugin__s2member_tracking_codes:: display_ccap_tracking_codes ( ) ; c_ws_plugin__s2member_tracking_codes:: display_sp_tracking_codes ( ) ; /**/ return apply_filters ( "ws_plugin__s2member_generate_all_tracking_codes" , ob_get_clean ( ) , get_defined_vars ( ) ) ; } } } ? [ full view ]s2member\includes\classes\tracking-codes.inc.php Source Code Documentation Packages ( Overview ) Classes Deprecated Todo Index Source Code(!-- :: s-words --)

Statistics: Posted by System Robot — August 15th, 2011, 3:14 pm


]]>
2011-07-11T17:30:03-05:00 http://www.primothemes.com/forums/viewtopic.php?t=13079&p=27742#p27742 <![CDATA[s2Member v110710 / Source Code: s2member\i...]]>
s2Member v110710
Source Code: s2member\includes\classes\tracking-codes.inc.php
Docs updated: July 11, 2011, 6:30 pm

Open for public discussion.
(!-- s-words :: --)Source Code Documentation Packages ( Overview ) Classes Deprecated Todo Index Source Code jQuery(window).load(function(){ if(typeof location.hash === 'string' && location.hash.match(/^#/)) jQuery('olli'+location.hash).addClass('hilite'); }); jQuery(window).bind('hashchange', function(){ if(typeof location.hash === 'string' && location.hash.match(/^#/)) jQuery('olli').removeClass('hilite'); jQuery('olli'+location.hash).addClass('hilite'); }); [ full view ]s2member\includes\classes\tracking-codes.inc.php ?php /** * Tracking Codes. * * Copyright: © 2009-2011 * {@link http://www.websharks-inc.com/ WebSharks, Inc.} * ( coded in the USA ) * * Released under the terms of the GNU General Public License. * You should have received a copy of the GNU General Public License, * along with this software. In the main directory, see: /licensing/ * If not, see: {@link http://www.gnu.org/licenses/}. * * @package s2Member\Tracking * @since 3.5 */ if ( realpath ( __FILE__ ) === realpath ( $_SERVER [ "SCRIPT_FILENAME" ] ) ) exit ( "Do not access this file directly." ) ; /**/ if ( ! class_exists ( "c_ws_plugin__s2member_tracking_codes" ) ) { /** * Tracking Codes. * * @package s2Member\Tracking * @since 3.5 */ class c_ws_plugin__s2member_tracking_codes { /** * Displays Signup Tracking Codes. * * These are stored inside s2Member's Transient Queue by the IPN processor. * * Tracking Codes are only displayed/processed one time. * s2Member will display Tracking Codes in (1) of these 3 locations: * * o If possible, on the Registration Form, after returning from your Payment Gateway. * o Otherwise, if possible, on the Login Form *( in the footer )* after Registration is completed. * o Otherwise, in the footer of your WordPress® theme, as soon as possible; or after the Customer's very first login. * * @package s2Member\Tracking * @since 3.5 * * @attaches-to: ``add_action("login_footer");`` * @attaches-to: ``add_action("wp_footer");`` * * @return null After displaying possible Tracking Code(s). */ public static function display_signup_tracking_codes ( ) { do_action ( "ws_plugin__s2member_before_display_signup_tracking_codes" , get_defined_vars ( ) ) ; /**/ if ( ( ( $reg_cookies = c_ws_plugin__s2member_register_access:: reg_cookies_ok ( ) ) && extract ( $reg_cookies ) ) || ( ! empty ( $_COOKIE [ "s2member_signup_tracking" ] ) && ( $subscr_id = c_ws_plugin__s2member_utils_encryption:: decrypt ( $_COOKIE [ "s2member_signup_tracking" ] ) ) ) ) { if ( ( $code = get_transient ( $transient = "s2m_" . md5 ( "s2member_transient_signup_tracking_codes_" . $subscr_id ) ) ) ) { delete_transient ( $transient ) ; /* Only display this ONE time. Delete transient immediately. */ /**/ echo 'img src="' . esc_attr ( site_url ( "/?s2member_delete_signup_tracking_cookie=1" ) ) . '" alt="." style="width:1px; height:1px; border:0;" /' . "\n" ; /**/ eval ( 'foreach(array_keys(get_defined_vars())as$__v)$__refs[$__v]=&$$__v;' ) ; do_action ( "ws_plugin__s2member_during_display_signup_tracking_codes" , get_defined_vars ( ) ) ; unset ( $__refs , $__v ) ; /* Unset defined __refs, __v. */ /**/ if ( is_multisite ( ) && c_ws_plugin__s2member_utils_conds:: is_multisite_farm ( ) && ! is_main_site ( ) ) { echo do_shortcode ( $code ) . "\n" ; /* No PHP here. */ } else /* Otherwise, safe to allow PHP code. */ { echo do_shortcode (c_ws_plugin__s2member_utilities:: evl ( $code ) ) ; } } } /**/ do_action ( "ws_plugin__s2member_after_display_signup_tracking_codes" , get_defined_vars ( ) ) ; /**/ return ; /* Return for uniformity. */ } /** * Displays Specific Post/Page Tracking Codes. * * These are stored inside s2Member's Transient Queue, by BOTH the IPN & Return-Data processors. * * Specific Post/Page Tracking Codes are only displayed/processed one time. * s2Member will display Tracking Codes in the footer of your theme. * * @package s2Member\Tracking * @since 3.5 * * @attaches-to: ``add_action("wp_footer");`` * * @return null After displaying possible Tracking Code(s). */ public static function display_sp_tracking_codes ( ) { do_action ( "ws_plugin__s2member_before_display_sp_tracking_codes" , get_defined_vars ( ) ) ; /**/ if ( ! empty ( $_COOKIE [ "s2member_sp_tracking" ] ) && ( $txn_id = c_ws_plugin__s2member_utils_encryption:: decrypt ( $_COOKIE [ "s2member_sp_tracking" ] ) ) ) { if ( ( $code = get_transient ( $transient = "s2m_" . md5 ( "s2member_transient_sp_tracking_codes_" . $txn_id ) ) ) ) { delete_transient ( $transient ) ; /* Only display this ONE time. Delete transient immediately. */ /**/ echo 'img src="' . esc_attr ( site_url ( "/?s2member_delete_sp_tracking_cookie=1" ) ) . '" alt="." style="width:1px; height:1px; border:0;" /' . "\n" ; /**/ eval ( 'foreach(array_keys(get_defined_vars())as$__v)$__refs[$__v]=&$$__v;' ) ; do_action ( "ws_plugin__s2member_during_display_sp_tracking_codes" , get_defined_vars ( ) ) ; unset ( $__refs , $__v ) ; /* Unset defined __refs, __v. */ /**/ if ( is_multisite ( ) && c_ws_plugin__s2member_utils_conds:: is_multisite_farm ( ) && ! is_main_site ( ) ) { echo $code . "\n" ; /* No PHP here. */ } else /* Otherwise, it's safe to allow PHP code. */ { eval ( "?" . $code ) ; } } } /**/ do_action ( "ws_plugin__s2member_after_display_sp_tracking_codes" , get_defined_vars ( ) ) ; /**/ return ; /* Return for uniformity. */ } } } ? [ full view ]s2member\includes\classes\tracking-codes.inc.php Source Code Documentation Packages ( Overview ) Classes Deprecated Todo Index Source Code(!-- :: s-words --)

Statistics: Posted by System Robot — July 11th, 2011, 5:30 pm


]]>
2011-07-09T06:09:54-05:00 http://www.primothemes.com/forums/viewtopic.php?t=13079&p=25374#p25374 <![CDATA[s2Member v111220 / Source Code: s2member\i...]]>
s2Member v111220
Source Code: s2member\includes\classes\tracking-codes.inc.php
Docs updated: December 20, 2011, 9:50 am

Open for public discussion.
(!-- s-words :: --)n/a(!-- :: s-words --)

Statistics: Posted by System Robot — July 9th, 2011, 6:09 am


]]>