This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<div> | |
<span data-ms-show="auth"> | |
<a href="https://customer.memberspace.com/content/public_id?display=inline">content</a> | |
</span> | |
<span data-ms-hide="auth"> | |
This content is only available if you are a subscriber. | |
</span> | |
</div> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
const handleMemberInfo = ({ detail }) => { | |
const { memberInfo } = detail; | |
if (memberInfo) { | |
window.location = `https://foundersummithq.webflow.io/members/${memberInfo.id}` | |
} | |
} | |
document.addEventListener('MemberSpace.member.info', handleMemberInfo); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Gem::Ext::BuildError: ERROR: Failed to build gem native extension. | |
current directory: /Users/bennick/.rvm/gems/ruby-2.7.2@memberspace/gems/puma-4.3.5/ext/puma_http11 | |
/Users/bennick/.rvm/rubies/ruby-2.7.2/bin/ruby -I /Users/bennick/.rvm/rubies/ruby-2.7.2/lib/ruby/2.7.0 -r ./siteconf20210118-53766-1ibe64v.rb extconf.rb | |
checking for BIO_read() in -lcrypto... yes | |
checking for SSL_CTX_new() in -lssl... yes | |
checking for openssl/bio.h... yes | |
checking for DTLS_method() in openssl/ssl.h... yes | |
checking for TLS_server_method() in openssl/ssl.h... yes | |
checking for SSL_CTX_set_min_proto_version in openssl/ssl.h... yes |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
class AbcStore_Module extends Core_ModuleBase | |
{ | |
public function subscribeEvents() | |
{ | |
Backend::$events->addEvent('threetwentynyaffiliate:onGetReferralCommission', $this, 'on_get_referral_commission'); | |
} | |
public function on_get_referral_commission($referral, $original_commission) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// Inside of click event listener | |
// Get image file name that is stored as the img id | |
var code = $(img_element).attr('id'); | |
// Create an option and insert it into the select dropdown | |
$(product_option_select_dropdown).append("<option value='" + code + "'>" + code + "</option>"); | |
// Select the newly created option | |
$(product_option_select_dropdown).value = code; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/*****************************/ | |
/* Action for Create button */ | |
/*****************************/ | |
$("form#search_form").submit( function(event) { | |
event.preventDefault(); | |
// get word from input form | |
word = $(this).children("input:text").val().toUpperCase(); | |
word_len = word.length; | |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<? if ($product->grouped_products->count): ?> | |
< label style="display:none;" for="product_id"><?= h($product->grouped_menu_label) ?></label> | |
<select id="product_id" name="product_id" style="display:none;" onchange="$(this).getForm().submit()"> | |
<? foreach ($product->grouped_products as $grouped_product): ?> | |
<option <?= option_state(post('product_id'), $grouped_product->id) ?> | |
value="<?= $grouped_product->id ?>"> | |
<?= h($grouped_product->grouped_option_desc) ?> | |
</option> | |
<? endforeach ?> | |
</select> |