Hide download button for a particular quota
Installation and Configuration
Try it now. I just did what was described above.
// Bring in Proxima Class
if (!is_file(APP_DIR . "/modules/jrXProximaWidgets/contrib/Proxima.php")) {
$_SESSION['jrXProximaWidgets_server_response'] = "ERROR: Proxima class file not found";
jrCore_location("{$_conf['jrCore_base_url']}{$_post['url_option']}");
}
require_once APP_DIR . "/modules/jrXProximaWidgets/contrib/Proxima.php";
$prx = new Proxima($_conf['jrXProximaWidgets_client_key']);
$prx->SetProximaUrl("{$_conf['jrXProximaWidgets_proxima_url']}/api");
$prx->SetSessionID($_SESSION['jrXProximaWidgets_local_session']['session_id']);
// Get logged in user data
$_rs = $prx->Get('user' . '/' . $_SESSION['jrXProximaWidgets_local_session']['_id']);
if ($_rs && $_rs['code'] == 200) {
// User OK
}
else {
// User not on system
}
{if $profile_quota_id == x}
"Memorialised"
{/if}