Community Support Forums — WordPress® ( Users Helping Users ) — 2011-12-20T09:52:18-05:00 http://www.primothemes.com/forums/feed.php?f=40&t=13280 2011-12-20T09:52:18-05:00 http://www.primothemes.com/forums/viewtopic.php?t=13280&p=58043#p58043 <![CDATA[s2Member v111220 / Source Code: s2member-p...]]>
s2Member v111220
Source Code: s2member-pro\includes\classes\utilities.inc.php
Docs updated: December 20, 2011, 9:52 am

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

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


]]>
2011-12-07T01:05:39-05:00 http://www.primothemes.com/forums/viewtopic.php?t=13280&p=55725#p55725 <![CDATA[s2Member v111206 / Source Code: s2member-p...]]>
s2Member v111206
Source Code: s2member-pro\includes\classes\utilities.inc.php
Docs updated: December 7, 2011, 1:05 am

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

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


]]>
2011-11-05T19:28:09-05:00 http://www.primothemes.com/forums/viewtopic.php?t=13280&p=52099#p52099 <![CDATA[s2Member v111105 / Source Code: s2member-p...]]>
s2Member v111105
Source Code: s2member-pro\includes\classes\utilities.inc.php
Docs updated: November 5, 2011, 8:28 pm

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

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


]]>
2011-10-29T20:38:00-05:00 http://www.primothemes.com/forums/viewtopic.php?t=13280&p=50195#p50195 <![CDATA[s2Member v111029 / Source Code: s2member-p...]]>
s2Member v111029
Source Code: s2member-pro\includes\classes\utilities.inc.php
Docs updated: October 29, 2011, 9:38 pm

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

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


]]>
2011-10-17T15:42:06-05:00 http://www.primothemes.com/forums/viewtopic.php?t=13280&p=47991#p47991 <![CDATA[s2Member v111017 / Source Code: s2member-p...]]>
s2Member v111017
Source Code: s2member-pro\includes\classes\utilities.inc.php
Docs updated: October 17, 2011, 1:42 pm

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

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


]]>
2011-10-11T14:37:57-05:00 http://www.primothemes.com/forums/viewtopic.php?t=13280&p=46391#p46391 <![CDATA[s2Member v111011 / Source Code: s2member-p...]]>
s2Member v111011
Source Code: s2member-pro\includes\classes\utilities.inc.php
Docs updated: October 11, 2011, 12:38 pm

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

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


]]>
2011-10-03T15:50:28-05:00 http://www.primothemes.com/forums/viewtopic.php?t=13280&p=44520#p44520 <![CDATA[s2Member v111003 / Source Code: s2member-p...]]>
s2Member v111003
Source Code: s2member-pro\includes\classes\utilities.inc.php
Docs updated: October 3, 2011, 1:50 pm

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

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


]]>
2011-10-03T03:44:26-05:00 http://www.primothemes.com/forums/viewtopic.php?t=13280&p=43227#p43227 <![CDATA[s2Member v111002 / Source Code: s2member-p...]]>
s2Member v111002
Source Code: s2member-pro\includes\classes\utilities.inc.php
Docs updated: October 3, 2011, 1:44 am

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

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


]]>
2011-09-27T05:28:49-05:00 http://www.primothemes.com/forums/viewtopic.php?t=13280&p=41469#p41469 <![CDATA[s2Member v110927 / Source Code: s2member-p...]]>
s2Member v110927
Source Code: s2member-pro\includes\classes\utilities.inc.php
Docs updated: September 27, 2011, 3:28 am

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

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


]]>
2011-09-26T21:05:23-05:00 http://www.primothemes.com/forums/viewtopic.php?t=13280&p=40225#p40225 <![CDATA[s2Member v110926 / Source Code: s2member-p...]]>
s2Member v110926
Source Code: s2member-pro\includes\classes\utilities.inc.php
Docs updated: September 26, 2011, 7:05 pm

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

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


]]>
2011-09-17T17:04:36-05:00 http://www.primothemes.com/forums/viewtopic.php?t=13280&p=38369#p38369 <![CDATA[s2Member v110915 / Source Code: s2member-p...]]>
s2Member v110915
Source Code: s2member-pro\includes\classes\utilities.inc.php
Docs updated: September 17, 2011, 3:04 pm

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

Statistics: Posted by System Robot — September 17th, 2011, 5:04 pm


]]>
2011-09-14T01:29:49-05:00 http://www.primothemes.com/forums/viewtopic.php?t=13280&p=36947#p36947 <![CDATA[s2Member v110913 / Source Code: s2member-p...]]>
s2Member v110913
Source Code: s2member-pro\includes\classes\utilities.inc.php
Docs updated: September 13, 2011, 11:29 pm

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

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


]]>
2011-09-13T12:04:42-05:00 http://www.primothemes.com/forums/viewtopic.php?t=13280&p=35675#p35675 <![CDATA[s2Member v110912 / Source Code: s2member-p...]]>
s2Member v110912
Source Code: s2member-pro\includes\classes\utilities.inc.php
Docs updated: September 13, 2011, 10:04 am

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

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


]]>
2011-08-15T15:18:07-05:00 http://www.primothemes.com/forums/viewtopic.php?t=13280&p=31783#p31783 <![CDATA[s2Member v110815 / Source Code: s2member-p...]]>
s2Member v110815
Source Code: s2member-pro\includes\classes\utilities.inc.php
Docs updated: August 15, 2011, 4:18 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-pro\includes\classes\utilities.inc.php ?php /** * s2Member Pro utilities. * * Copyright: © 2009-2011 * {@link http://www.websharks-inc.com/ WebSharks, Inc.} * ( coded in the USA ) * * This WordPress® plugin ( s2Member Pro ) is comprised of two parts: * * o (1) Its PHP code is licensed under the GPL license, as is WordPress®. * 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/}. * * o (2) All other parts of ( s2Member Pro ); including, but not limited to: * the CSS code, some JavaScript code, images, and design; * are licensed according to the license purchased. * See: {@link http://www.s2member.com/prices/} * * Unless you have our prior written consent, you must NOT directly or indirectly license, * sub-license, sell, resell, or provide for free; part (2) of the s2Member Pro Module; * or make an offer to do any of these things. All of these things are strictly * prohibited with part (2) of the s2Member Pro Module. * * Your purchase of s2Member Pro includes free lifetime upgrades via s2Member.com * ( i.e. new features, bug fixes, updates, improvements ); along with full access * to our video tutorial library: {@link http://www.s2member.com/videos/} * * @package s2Member\Utilities * @since 1.5 */ if ( realpath ( __FILE__ ) === realpath ( $_SERVER [ "SCRIPT_FILENAME" ] ) ) exit ( "Do not access this file directly." ) ; /**/ if ( ! class_exists ( "c_ws_plugin__s2member_pro_utilities" ) ) { /** * s2Member Pro utilities. * * @package s2Member\Utilities * @since 1.5 */ class c_ws_plugin__s2member_pro_utilities { /** * Converts Currency Codes to Currency Symbols ( deprecated ). * * @package s2Member\Utilities * @since 1.5 * * @param str $currency Expects a 3 character Currency Code. * @return str A Currency Symbol. Defaults to the `$` sign. * * @deprecated Starting with v110531, please use: * ``c_ws_plugin__s2member_utils_cur::symbol()`` */ public static function currency_symbol ( $currency = FALSE ) { return c_ws_plugin__s2member_utils_cur:: symbol ( $currency ) ; } /** * Expands a state/province abbrev into it's full version. * * This works for the United States and Canada only. * * @package s2Member\Utilities * @since 1.5 * * @param str $state A state/province abbreviation. * @param str $country A country code. One of `US|CA`. * @return str The full state/province name. */ public static function full_state ( $state = FALSE , $country = FALSE ) { static $lines ; /* Optimizes this routine for repeated usage. */ /**/ if ( strlen ( $state = strtoupper ( $state ) ) === 2 && preg_match ( "/^US|CA$/" , ( $country = strtoupper ( $country ) ) ) ) { if ( ! isset ( $lines [ $country ] ) ) /* If $lines are NOT already established. */ { if ( $country === "US" ) /* Handle lookups for the United States. */ { $txt = file_get_contents ( dirname ( dirname ( __FILE__ ) ) . "/usps-states.txt" ) ; } else if ( $country === "CA" ) /* Lookups for Canada. */ { $txt = file_get_contents ( dirname ( dirname ( __FILE__ ) ) . "/ca-provinces.txt" ) ; } /**/ $lines [ $country ] = preg_split ( "/[\r \n \t]+/" , trim ( strtoupper ( $txt ) ) ) ; } /**/ foreach ( $lines [ $country ] as $line ) /* Find full version. */ /**/ if ( $line = trim ( $line ) ) /* Do NOT process empty lines. */ { list ( $full , $abbr ) = preg_split ( "/;/" , trim ( $line ) ) ; if ( $abbr === $state && $full ) return ucwords ( $full ) ; } } /**/ return $state ; /* Full state name. */ } } } ? [ full view ]s2member-pro\includes\classes\utilities.inc.php Source Code Documentation Packages ( Overview ) Classes Deprecated Todo Index Source Code(!-- :: s-words --)

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


]]>
2011-07-11T17:36:17-05:00 http://www.primothemes.com/forums/viewtopic.php?t=13280&p=27945#p27945 <![CDATA[s2Member v110710 / Source Code: s2member-p...]]>
s2Member v110710
Source Code: s2member-pro\includes\classes\utilities.inc.php
Docs updated: July 11, 2011, 6:36 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-pro\includes\classes\utilities.inc.php ?php /** * s2Member Pro utilities. * * Copyright: © 2009-2011 * {@link http://www.websharks-inc.com/ WebSharks, Inc.} * ( coded in the USA ) * * This WordPress® plugin ( s2Member Pro ) is comprised of two parts: * * o (1) Its PHP code is licensed under the GPL license, as is WordPress®. * 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/}. * * o (2) All other parts of ( s2Member Pro ); including, but not limited to: * the CSS code, some JavaScript code, images, and design; * are licensed according to the license purchased. * See: {@link http://www.s2member.com/prices/} * * Unless you have our prior written consent, you must NOT directly or indirectly license, * sub-license, sell, resell, or provide for free; part (2) of the s2Member Pro Module; * or make an offer to do any of these things. All of these things are strictly * prohibited with part (2) of the s2Member Pro Module. * * Your purchase of s2Member Pro includes free lifetime upgrades via s2Member.com * ( i.e. new features, bug fixes, updates, improvements ); along with full access * to our video tutorial library: {@link http://www.s2member.com/videos/} * * @package s2Member\Utilities * @since 1.5 */ if ( realpath ( __FILE__ ) === realpath ( $_SERVER [ "SCRIPT_FILENAME" ] ) ) exit ( "Do not access this file directly." ) ; /**/ if ( ! class_exists ( "c_ws_plugin__s2member_pro_utilities" ) ) { /** * s2Member Pro utilities. * * @package s2Member\Utilities * @since 1.5 */ class c_ws_plugin__s2member_pro_utilities { /** * Converts Currency Codes to Currency Symbols ( deprecated ). * * @package s2Member\Utilities * @since 1.5 * * @param str $currency Expects a 3 character Currency Code. * @return str A Currency Symbol. Defaults to the `$` sign. * * @deprecated Starting with v110531, please use: * ``c_ws_plugin__s2member_utils_cur::symbol()`` */ public static function currency_symbol ( $currency = FALSE ) { return c_ws_plugin__s2member_utils_cur:: symbol ( $currency ) ; } /** * Expands a state/province abbrev into it's full version. * * This works for the United States and Canada only. * * @package s2Member\Utilities * @since 1.5 * * @param str $state A state/province abbreviation. * @param str $country A country code. One of `US|CA`. * @return str The full state/province name. */ public static function full_state ( $state = FALSE , $country = FALSE ) { static $lines ; /* Optimizes this routine for repeated usage. */ /**/ if ( strlen ( $state = strtoupper ( $state ) ) === 2 && preg_match ( "/^US|CA$/" , ( $country = strtoupper ( $country ) ) ) ) { if ( ! isset ( $lines [ $country ] ) ) /* If $lines are NOT already established. */ { if ( $country === "US" ) /* Handle lookups for the United States. */ { $txt = file_get_contents ( dirname ( dirname ( __FILE__ ) ) . "/usps-states.txt" ) ; } else if ( $country === "CA" ) /* Lookups for Canada. */ { $txt = file_get_contents ( dirname ( dirname ( __FILE__ ) ) . "/ca-provinces.txt" ) ; } /**/ $lines [ $country ] = preg_split ( "/[\r \n \t]+/" , trim ( strtoupper ( $txt ) ) ) ; } /**/ foreach ( $lines [ $country ] as $line ) /* Find full version. */ /**/ if ( $line = trim ( $line ) ) /* Do NOT process empty lines. */ { list ( $full , $abbr ) = preg_split ( "/;/" , trim ( $line ) ) ; if ( $abbr === $state && $full ) return ucwords ( $full ) ; } } /**/ return $state ; /* Full state name. */ } } } ? [ full view ]s2member-pro\includes\classes\utilities.inc.php Source Code Documentation Packages ( Overview ) Classes Deprecated Todo Index Source Code(!-- :: s-words --)

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


]]>
2011-07-09T06:16:46-05:00 http://www.primothemes.com/forums/viewtopic.php?t=13280&p=25575#p25575 <![CDATA[s2Member v111220 / Source Code: s2member-p...]]>
s2Member v111220
Source Code: s2member-pro\includes\classes\utilities.inc.php
Docs updated: December 20, 2011, 9:52 am

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

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


]]>