Community Support Forums — WordPress® ( Users Helping Users ) — 2011-12-20T09:50:34-05:00 http://www.primothemes.com/forums/feed.php?f=40&t=13093 2011-12-20T09:50:34-05:00 http://www.primothemes.com/forums/viewtopic.php?t=13093&p=57829#p57829 <![CDATA[s2Member v111220 / Source Code: s2member\i...]]>
s2Member v111220
Source Code: s2member\includes\classes\utils-captchas.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:41-05:00 http://www.primothemes.com/forums/viewtopic.php?t=13093&p=55511#p55511 <![CDATA[s2Member v111206 / Source Code: s2member\i...]]>
s2Member v111206
Source Code: s2member\includes\classes\utils-captchas.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:29-05:00 http://www.primothemes.com/forums/viewtopic.php?t=13093&p=51885#p51885 <![CDATA[s2Member v111105 / Source Code: s2member\i...]]>
s2Member v111105
Source Code: s2member\includes\classes\utils-captchas.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:28-05:00 http://www.primothemes.com/forums/viewtopic.php?t=13093&p=49980#p49980 <![CDATA[s2Member v111029 / Source Code: s2member\i...]]>
s2Member v111029
Source Code: s2member\includes\classes\utils-captchas.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:36-05:00 http://www.primothemes.com/forums/viewtopic.php?t=13093&p=47774#p47774 <![CDATA[s2Member v111017 / Source Code: s2member\i...]]>
s2Member v111017
Source Code: s2member\includes\classes\utils-captchas.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:33-05:00 http://www.primothemes.com/forums/viewtopic.php?t=13093&p=46175#p46175 <![CDATA[s2Member v111011 / Source Code: s2member\i...]]>
s2Member v111011
Source Code: s2member\includes\classes\utils-captchas.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:57-05:00 http://www.primothemes.com/forums/viewtopic.php?t=13093&p=44305#p44305 <![CDATA[s2Member v111003 / Source Code: s2member\i...]]>
s2Member v111003
Source Code: s2member\includes\classes\utils-captchas.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:33-05:00 http://www.primothemes.com/forums/viewtopic.php?t=13093&p=43012#p43012 <![CDATA[s2Member v111002 / Source Code: s2member\i...]]>
s2Member v111002
Source Code: s2member\includes\classes\utils-captchas.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:54-05:00 http://www.primothemes.com/forums/viewtopic.php?t=13093&p=41258#p41258 <![CDATA[s2Member v110927 / Source Code: s2member\i...]]>
s2Member v110927
Source Code: s2member\includes\classes\utils-captchas.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:31-05:00 http://www.primothemes.com/forums/viewtopic.php?t=13093&p=40014#p40014 <![CDATA[s2Member v110926 / Source Code: s2member\i...]]>
s2Member v110926
Source Code: s2member\includes\classes\utils-captchas.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:56-05:00 http://www.primothemes.com/forums/viewtopic.php?t=13093&p=38156#p38156 <![CDATA[s2Member v110915 / Source Code: s2member\i...]]>
s2Member v110915
Source Code: s2member\includes\classes\utils-captchas.inc.php
Docs updated: September 17, 2011, 2:21 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:06-05:00 http://www.primothemes.com/forums/viewtopic.php?t=13093&p=36737#p36737 <![CDATA[s2Member v110913 / Source Code: s2member\i...]]>
s2Member v110913
Source Code: s2member\includes\classes\utils-captchas.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:12-05:00 http://www.primothemes.com/forums/viewtopic.php?t=13093&p=35465#p35465 <![CDATA[s2Member v110912 / Source Code: s2member\i...]]>
s2Member v110912
Source Code: s2member\includes\classes\utils-captchas.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:30-05:00 http://www.primothemes.com/forums/viewtopic.php?t=13093&p=31586#p31586 <![CDATA[s2Member v110815 / Source Code: s2member\i...]]>
s2Member v110815
Source Code: s2member\includes\classes\utils-captchas.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\utils-captchas.inc.php ?php /** * Captcha utilities. * * 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\Utilities * @since 3.5 */ if ( realpath ( __FILE__ ) === realpath ( $_SERVER [ "SCRIPT_FILENAME" ] ) ) exit ( "Do not access this file directly." ) ; /**/ if ( ! class_exists ( "c_ws_plugin__s2member_utils_captchas" ) ) { /** * Captcha utilities. * * @package s2Member\Utilities * @since 3.5 */ class c_ws_plugin__s2member_utils_captchas { /** * Verifies a reCaptcha code though a connection to Google®. * * @package s2Member\Utilities * @since 3.5 * * @param str $challenge The value of `recaptcha_challenge_field` during form submisson. * @param str $response The value of `recaptcha_response_field` during form submission. * @return bool True if ``$response`` is valid, else false. */ public static function recaptcha_code_validates ( $challenge = FALSE , $response = FALSE ) { $post_vars = array ( "privatekey" = $GLOBALS [ "WS_PLUGIN__" ] [ "s2member" ] [ "c" ] [ "recaptcha" ] [ "private_key" ] , "remoteip" = $_SERVER [ "REMOTE_ADDR" ] , "challenge" = $challenge , "response" = $response ) ; /**/ return preg_match ( "/^true/i" , trim (c_ws_plugin__s2member_utils_urls:: remote ( "http://www.google.com/recaptcha/api/verify" , $post_vars ) ) ) ; } /** * Builds a reCaptcha JavaScript `script` tag for display. * * @package s2Member\Utilities * @since 3.5 * * @param str $theme Optional. The theme used in display. Defaults to `clean`. * @param str $tabindex Optional. Value of `tabindex=""` attribute. Defaults to `-1`. * @param str $error Optional. An error message to display. * @return str HTML markup for JavaScript tag. */ public static function recaptcha_script_tag ( $theme = FALSE , $tabindex = FALSE , $error = FALSE ) { $theme = ( $theme ) ? $theme : "clean" ; /* Defaults to the `clean` theme style. */ $tabindex = ( strlen ( $tabindex ) ) ? (int) $tabindex : - 1 ; /* -1 default. */ /**/ $options = 'script type="text/javascript"' . "if(typeof RecaptchaOptions !== 'object'){ var RecaptchaOptions = {theme: '" . c_ws_plugin__s2member_utils_strings:: esc_sq ( $theme ) . "', lang: '" . c_ws_plugin__s2member_utils_strings:: esc_sq ( $GLOBALS [ "WS_PLUGIN__" ] [ "s2member" ] [ "c" ] [ "recaptcha" ] [ "lang" ] ) . "', tabindex: " . $tabindex . " }; }" . '/script' . "\n" ; $adjustments = 'script type="text/javascript"' . "if(typeof jQuery === 'function'){ jQuery('td a[id^=\"recaptcha\"]').removeAttr('tabindex'); }" . '/script' ; /**/ return $options . 'script type="text/javascript" src="' . esc_attr ( 'https://www.google.com/recaptcha/api/challenge?k=' . urlencode ( $GLOBALS [ "WS_PLUGIN__" ] [ "s2member" ] [ "c" ] [ "recaptcha" ] [ "public_key" ] ) ) . '' . ( ( $error ) ? '&error=' . urlencode ( $error ) : '' ) . '"/script' . $adjustments ; } } } ? [ full view ]s2member\includes\classes\utils-captchas.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:29-05:00 http://www.primothemes.com/forums/viewtopic.php?t=13093&p=27756#p27756 <![CDATA[s2Member v110710 / Source Code: s2member\i...]]>
s2Member v110710
Source Code: s2member\includes\classes\utils-captchas.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\utils-captchas.inc.php ?php /** * Captcha utilities. * * 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\Utilities * @since 3.5 */ if ( realpath ( __FILE__ ) === realpath ( $_SERVER [ "SCRIPT_FILENAME" ] ) ) exit ( "Do not access this file directly." ) ; /**/ if ( ! class_exists ( "c_ws_plugin__s2member_utils_captchas" ) ) { /** * Captcha utilities. * * @package s2Member\Utilities * @since 3.5 */ class c_ws_plugin__s2member_utils_captchas { /** * Verifies a reCaptcha code though a connection to Google®. * * @package s2Member\Utilities * @since 3.5 * * @param str $challenge The value of `recaptcha_challenge_field` during form submisson. * @param str $response The value of `recaptcha_response_field` during form submission. * @return bool True if ``$response`` is valid, else false. */ public static function recaptcha_code_validates ( $challenge = FALSE , $response = FALSE ) { $post_vars = array ( "privatekey" = $GLOBALS [ "WS_PLUGIN__" ] [ "s2member" ] [ "c" ] [ "recaptcha" ] [ "private_key" ] , "remoteip" = $_SERVER [ "REMOTE_ADDR" ] , "challenge" = $challenge , "response" = $response ) ; /**/ return preg_match ( "/^true/i" , trim (c_ws_plugin__s2member_utils_urls:: remote ( "http://www.google.com/recaptcha/api/verify" , $post_vars ) ) ) ; } /** * Builds a reCaptcha JavaScript `script` tag for display. * * @package s2Member\Utilities * @since 3.5 * * @param str $theme Optional. The theme used in display. Defaults to `clean`. * @param str $tabindex Optional. Value of `tabindex=""` attribute. Defaults to `-1`. * @param str $error Optional. An error message to display. * @return str HTML markup for JavaScript tag. */ public static function recaptcha_script_tag ( $theme = FALSE , $tabindex = FALSE , $error = FALSE ) { $theme = ( $theme ) ? $theme : "clean" ; /* Defaults to the `clean` theme style. */ $tabindex = ( strlen ( $tabindex ) ) ? (int) $tabindex : - 1 ; /* -1 default. */ /**/ $s = 'script type="text/javascript"' . "if(typeof RecaptchaOptions !== 'object'){ var RecaptchaOptions = {theme: '" . c_ws_plugin__s2member_utils_strings:: esc_sq ( $theme ) . "', lang: '" . c_ws_plugin__s2member_utils_strings:: esc_sq ( $GLOBALS [ "WS_PLUGIN__" ] [ "s2member" ] [ "c" ] [ "recaptcha" ] [ "lang" ] ) . "', tabindex: " . $tabindex . " }; }" . '/script' . "\n" ; /**/ return $s . 'script type="text/javascript" src="' . esc_attr ( 'https://www.google.com/recaptcha/api/challenge?k=' . urlencode ( $GLOBALS [ "WS_PLUGIN__" ] [ "s2member" ] [ "c" ] [ "recaptcha" ] [ "public_key" ] ) ) . '' . ( ( $error ) ? '&error=' . urlencode ( $error ) : '' ) . '"/script' ; } } } ? [ full view ]s2member\includes\classes\utils-captchas.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:10:30-05:00 http://www.primothemes.com/forums/viewtopic.php?t=13093&p=25388#p25388 <![CDATA[s2Member v111220 / Source Code: s2member\i...]]>
s2Member v111220
Source Code: s2member\includes\classes\utils-captchas.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:10 am


]]>