WorldsEndless
Forum Replies Created
-
Forum: Plugins
In reply to: [WP Cassify] Single-login Cassify bypassWow… other CAS plugins (e.g. Cas Maestro) simply have a built-in way in which you can input a parameter to allow regular WordPress authentication. Needing to create a new template on the backend, then create a new front-end page, just for this purpose seems prohibitively difficult
I made the following from the pro filters, which does the checking:
function membership_okay(){
if (function_exists (“pmpro_membership_content_filter”)) {
$hasaccess = pmpro_has_membership_access(NULL, NULL, true);
if(is_array($hasaccess))
{
//returned an array to give us the membership level values
$post_membership_levels_ids = $hasaccess[1];
$post_membership_levels_names = $hasaccess[2];
$hasaccess = $hasaccess[0];
}
return $hasaccess;
}
return true; // default to a true return if membership pro is not installed
}I found the problem: the theme relies on ACF and doesn’t actually perform the_content(), which is necessary to make things work. What checks should I make to find out whether the user is valid per paid memberships pro?
Is there some hook required in a theme to make these things work?
I’m using a custom theme that was developed for my client. I’ve tried individual page restrictions but nothing seems to happen. I’m not sure if it would be related that making it a password protected page (out-of-the-box option) also doesn’t work.
Forum: Plugins
In reply to: [CAS Maestro] CAS Authentication FailedI solved this for myself when I learned that I had the “serverpath” set wrong: I had it as “cas/ticket”, which allowed me to get to the log-in screen but no farther. Changing it to only “cas” fixed the problem.
Forum: Plugins
In reply to: [CAS Maestro] CAS Authentication FailedWas a solution found for this? Immediately after install I’m having the same problem.
Forum: Plugins
In reply to: [Free counter] Can't display hitsDisabling and re-enabling the counter didn’t work. However, uninstalling and reinstalling DID work; thanks!
Forum: Plugins
In reply to: [Free counter] Can't display hitsI have downloaded the new version. I notice no changes; the problem is still the same.
Forum: Plugins
In reply to: [Free counter] Can't display hitsIt is still the same for me, and update says I have the latest version. I cannot see my hits, and changing my style does nothing. What should I do?