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

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

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


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

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

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


]]>
2011-11-05T19:25:41-05:00 http://www.primothemes.com/forums/viewtopic.php?t=13017&p=51783#p51783 <![CDATA[s2Member v111105 / Source Code: s2member\i...]]>
s2Member v111105
Source Code: s2member\includes\classes\labels.inc.php
Docs updated: November 5, 2011, 8:25 pm

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

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


]]>
2011-10-29T20:34:33-05:00 http://www.primothemes.com/forums/viewtopic.php?t=13017&p=49878#p49878 <![CDATA[s2Member v111029 / Source Code: s2member\i...]]>
s2Member v111029
Source Code: s2member\includes\classes\labels.inc.php
Docs updated: October 29, 2011, 9:34 pm

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

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


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

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

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


]]>
2011-10-11T14:34:30-05:00 http://www.primothemes.com/forums/viewtopic.php?t=13017&p=46072#p46072 <![CDATA[s2Member v111011 / Source Code: s2member\i...]]>
s2Member v111011
Source Code: s2member\includes\classes\labels.inc.php
Docs updated: October 11, 2011, 12:34 pm

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

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


]]>
2011-10-03T15:46:55-05:00 http://www.primothemes.com/forums/viewtopic.php?t=13017&p=44203#p44203 <![CDATA[s2Member v111003 / Source Code: s2member\i...]]>
s2Member v111003
Source Code: s2member\includes\classes\labels.inc.php
Docs updated: October 3, 2011, 1:46 pm

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

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


]]>
2011-10-03T03:40:25-05:00 http://www.primothemes.com/forums/viewtopic.php?t=13017&p=42910#p42910 <![CDATA[s2Member v111002 / Source Code: s2member\i...]]>
s2Member v111002
Source Code: s2member\includes\classes\labels.inc.php
Docs updated: October 3, 2011, 1:40 am

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

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


]]>
2011-09-27T05:25:51-05:00 http://www.primothemes.com/forums/viewtopic.php?t=13017&p=41156#p41156 <![CDATA[s2Member v110927 / Source Code: s2member\i...]]>
s2Member v110927
Source Code: s2member\includes\classes\labels.inc.php
Docs updated: September 27, 2011, 3:25 am

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

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


]]>
2011-09-26T21:02:42-05:00 http://www.primothemes.com/forums/viewtopic.php?t=13017&p=39912#p39912 <![CDATA[s2Member v110926 / Source Code: s2member\i...]]>
s2Member v110926
Source Code: s2member\includes\classes\labels.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:02 pm


]]>
2011-09-17T16:19:32-05:00 http://www.primothemes.com/forums/viewtopic.php?t=13017&p=38056#p38056 <![CDATA[s2Member v110915 / Source Code: s2member\i...]]>
s2Member v110915
Source Code: s2member\includes\classes\labels.inc.php
Docs updated: September 17, 2011, 2:19 pm

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

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


]]>
2011-09-14T01:27:24-05:00 http://www.primothemes.com/forums/viewtopic.php?t=13017&p=36637#p36637 <![CDATA[s2Member v110913 / Source Code: s2member\i...]]>
s2Member v110913
Source Code: s2member\includes\classes\labels.inc.php
Docs updated: September 13, 2011, 11:27 pm

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

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


]]>
2011-09-13T12:02:26-05:00 http://www.primothemes.com/forums/viewtopic.php?t=13017&p=35365#p35365 <![CDATA[s2Member v110912 / Source Code: s2member\i...]]>
s2Member v110912
Source Code: s2member\includes\classes\labels.inc.php
Docs updated: September 13, 2011, 10:02 am

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

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


]]>
2011-08-15T14:11:45-05:00 http://www.primothemes.com/forums/viewtopic.php?t=13017&p=31472#p31472 <![CDATA[s2Member v110815 / Source Code: s2member\i...]]>
s2Member v110815
Source Code: s2member\includes\classes\labels.inc.php
Docs updated: August 15, 2011, 3:12 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\labels.inc.php ?php /** * Membership Level Labels. * * 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\Roles_Caps * @since 3.5 */ if ( realpath ( __FILE__ ) === realpath ( $_SERVER [ "SCRIPT_FILENAME" ] ) ) exit ( "Do not access this file directly." ) ; /**/ if ( ! class_exists ( "c_ws_plugin__s2member_labels" ) ) { /** * Membership Level Labels. * * @package s2Member\Roles_Caps * @since 3.5 */ class c_ws_plugin__s2member_labels { /** * Configures Label translations. * * @package s2Member\Roles_Caps * @since 3.5 * * @attaches-to: ``add_action("init");`` * * @return null */ public static function config_label_translations ( ) { do_action ( "ws_plugin__s2member_before_config_label_translations" , get_defined_vars ( ) ) ; /**/ if ( $GLOBALS [ "WS_PLUGIN__" ] [ "s2member" ] [ "o" ] [ "apply_label_translations" ] ) add_filter ( "gettext_with_context" , "c_ws_plugin__s2member_labels::_label_translations" , 10 , 3 ) ; /**/ do_action ( "ws_plugin__s2member_after_config_label_translations" , get_defined_vars ( ) ) ; /**/ return ; /* Return for uniformity. */ } /** * A sort of callback function that deals with Label translations. * * @package s2Member\Roles_Caps * @since 3.5 * * @attaches-to: ``add_filter("gettext_with_context");`` * * @param str $translation Expects a string; already translated. * @param str $text The original text, passed in by the calling Filter. * @param str $context Contextual specification for this translation. * @return str The ``$translation``, after translations applied by this routine. */ public static function _label_translations ( $translation = FALSE , $text = FALSE , $context = FALSE ) { if ( $text && $context && stripos ( $context , "User role" ) === 0 && ( $role = $text ) ) { if ( preg_match ( "/^(Free )?Subscriber$/i" , $role ) && ! empty ( $GLOBALS [ "WS_PLUGIN__" ] [ "s2member" ] [ "o" ] [ "level0_label" ] ) ) $translation = $GLOBALS [ "WS_PLUGIN__" ] [ "s2member" ] [ "o" ] [ "level0_label" ] ; /**/ else if ( preg_match ( "/^s2Member Level ([0-9]+)$/i" , $role , $m ) && ! empty ( $GLOBALS [ "WS_PLUGIN__" ] [ "s2member" ] [ "o" ] [ "level" . $m [ 1 ] . "_label" ] ) ) $translation = $GLOBALS [ "WS_PLUGIN__" ] [ "s2member" ] [ "o" ] [ "level" . $m [ 1 ] . "_label" ] ; /**/ $translation = apply_filters ( "_ws_plugin__s2member_label_translations" , $translation , get_defined_vars ( ) ) ; } /**/ return $translation ; /* Return translation. */ } } } ? [ full view ]s2member\includes\classes\labels.inc.php Source Code Documentation Packages ( Overview ) Classes Deprecated Todo Index Source Code(!-- :: s-words --)

Statistics: Posted by System Robot — August 15th, 2011, 2:11 pm


]]>
2011-07-11T17:28:14-05:00 http://www.primothemes.com/forums/viewtopic.php?t=13017&p=27680#p27680 <![CDATA[s2Member v110710 / Source Code: s2member\i...]]>
s2Member v110710
Source Code: s2member\includes\classes\labels.inc.php
Docs updated: July 11, 2011, 6:28 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\labels.inc.php ?php /** * Membership Level Labels. * * 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\Roles_Caps * @since 3.5 */ if ( realpath ( __FILE__ ) === realpath ( $_SERVER [ "SCRIPT_FILENAME" ] ) ) exit ( "Do not access this file directly." ) ; /**/ if ( ! class_exists ( "c_ws_plugin__s2member_labels" ) ) { /** * Membership Level Labels. * * @package s2Member\Roles_Caps * @since 3.5 */ class c_ws_plugin__s2member_labels { /** * Configures Label translations. * * @package s2Member\Roles_Caps * @since 3.5 * * @attaches-to: ``add_action("init");`` * * @return null */ public static function config_label_translations ( ) { do_action ( "ws_plugin__s2member_before_config_label_translations" , get_defined_vars ( ) ) ; /**/ if ( $GLOBALS [ "WS_PLUGIN__" ] [ "s2member" ] [ "o" ] [ "apply_label_translations" ] ) add_filter ( "gettext_with_context" , "c_ws_plugin__s2member_labels::_label_translations" , 10 , 3 ) ; /**/ do_action ( "ws_plugin__s2member_after_config_label_translations" , get_defined_vars ( ) ) ; /**/ return ; /* Return for uniformity. */ } /** * A sort of callback function that deals with Label translations. * * @package s2Member\Roles_Caps * @since 3.5 * * @attaches-to: ``add_filter("gettext_with_context");`` * * @param str $translation Expects a string; already translated. * @param str $text The original text, passed in by the calling Filter. * @param str $context Contextual specification for this translation. * @return str The ``$translation``, after translations applied by this routine. */ public static function _label_translations ( $translation = FALSE , $text = FALSE , $context = FALSE ) { if ( $text && $context && stripos ( $context , "User role" ) === 0 && ( $role = $text ) ) { if ( preg_match ( "/^(Free )?Subscriber$/i" , $role ) && ! empty ( $GLOBALS [ "WS_PLUGIN__" ] [ "s2member" ] [ "o" ] [ "level0_label" ] ) ) $translation = $GLOBALS [ "WS_PLUGIN__" ] [ "s2member" ] [ "o" ] [ "level0_label" ] ; /**/ else if ( preg_match ( "/^s2Member Level ([0-9]+)$/i" , $role , $m ) && ! empty ( $GLOBALS [ "WS_PLUGIN__" ] [ "s2member" ] [ "o" ] [ "level" . $m [ 1 ] . "_label" ] ) ) $translation = $GLOBALS [ "WS_PLUGIN__" ] [ "s2member" ] [ "o" ] [ "level" . $m [ 1 ] . "_label" ] ; /**/ $translation = apply_filters ( "_ws_plugin__s2member_label_translations" , $translation , get_defined_vars ( ) ) ; } /**/ return $translation ; /* Return translation. */ } } } ? [ full view ]s2member\includes\classes\labels.inc.php Source Code Documentation Packages ( Overview ) Classes Deprecated Todo Index Source Code(!-- :: s-words --)

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


]]>
2011-07-09T06:08:21-05:00 http://www.primothemes.com/forums/viewtopic.php?t=13017&p=25312#p25312 <![CDATA[s2Member v111220 / Source Code: s2member\i...]]>
s2Member v111220
Source Code: s2member\includes\classes\labels.inc.php
Docs updated: December 20, 2011, 9:49 am

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

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


]]>