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
<?xml version="1.0" encoding="UTF-8"?> | |
<xs:schema targetNamespace="http://projecttincan.com/tincan.xsd" elementFormDefault="qualified" xmlns="http://projecttincan.com/tincan.xsd" xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns:tc="http://projecttincan.com/tincan.xsd"> | |
<xs:element name="tincan" type="tincan"> | |
</xs:element> | |
<xs:complexType name="tincan"> | |
<xs:sequence> | |
<xs:element name="activities" type="activities" maxOccurs="unbounded"/> | |
</xs:sequence> | |
</xs:complexType> | |
<xs:complexType name="activity"> |
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 | |
if(!class_exists('WPLMS_Customizer_Plugin_Class')) | |
{ | |
class WPLMS_Customizer_Plugin_Class // We'll use this just to avoid function name conflicts | |
{ | |
public function __construct(){ | |
add_filter('login_redirect',array($this, 'buddypress_login_redirection'),100,3); | |
} // END public function __construct | |
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 | |
if(!class_exists('WPLMS_Customizer_Plugin_Class')) | |
{ | |
class WPLMS_Customizer_Plugin_Class // We'll use this just to avoid function name conflicts | |
{ | |
public function __construct(){ | |
add_filter('wplms_course_stats_list',array($this,'add_custom_course_stat')); | |
add_action('wplms_course_stats_process',array($this,'process_custom_course_stat'),10,7); | |
} // END public function __construct |
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 | |
/** | |
* Template Name: New Start Course Page | |
*/ | |
/*=================================================*/ | |
/* INSTALLATION NOTESwplms_unit_header | |
/* 1. Add this file to the WPLMS Child theme | |
/* 2. Edit the Course status/start course page and select the page template "New Start Course Page" | |
/* 3. Verify this page is selected in the WPLMS -> Course manager -> Take this course page |
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 | |
/** | |
* Template Name: Members Access Only | |
*/ | |
if(!is_user_logged_in()) | |
wp_die('<h2>'.__('This Page is only accessible to Members','vibe').'</h2>'.'<p>'.__('The page is only accessible to site Users, please register in site to see this content.','vibe').'</p>',__('Members only page','vibe'),array('back_link'=>true)); | |
get_header(); |
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
/*-----------------------------------------------------------------------------------*/ | |
/* Course Product | |
/* | |
/* USAGE : xx is course id | |
/* [course_product id="xx" details="price"] | |
/* [course_product id="xx" details="sku"] | |
/* [course_product id="xx" details="sales"] | |
/* [course_product id="xx" details="note"] | |
/* Above shortcode can also be used on certificate pages and remove the id field: |
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 | |
get_header(); | |
if ( have_posts() ) : while ( have_posts() ) : the_post(); | |
$title=get_post_meta(get_the_ID(),'vibe_title',true); | |
if(!isset($title) || !$title || (vibe_validate($title))){ | |
?> |
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 | |
if(!class_exists('WPLMS_Customizer_Plugin_Class')) | |
{ | |
class WPLMS_Customizer_Plugin_Class // We'll use this just to avoid function name conflicts | |
{ | |
public function __construct(){ | |
add_filter('wplms_download_mod_stats_fields',array($this,'custom_wplms_download_mod_stats_fields'),10,2); | |
add_action('wplms_mod_stats_process',array($this,'custom_wplms_mod_stats_process'),10,7); | |
} // END public function __construct |
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 | |
if(!class_exists('WPLMS_Customizer_Plugin_Class')) | |
{ | |
class WPLMS_Customizer_Plugin_Class // We'll use this just to avoid function name conflicts | |
{ | |
public function __construct(){ | |
add_filter('wplms_login_widget_action',array($this,'mycustom_login_url')); | |
} // END public function __construct | |
public function activate(){ |
OlderNewer