Mark Cutting
Forum Replies Created
-
@onedollarplugin sure – it’s here https://wordpress.org/plugins/ultimate-member/
@jmisic thanks, but Ultimate Member and Ultimate Membership are two different plugins.
@deanstagg you normally get that if the session has been cached, but expired (for example). If you repeat the same process using Incognito mode in your browser, does this behave in the same way ?
@mforetic any particular error messages being generated by SendMail itself ?
@pvaradero the waterfall seems to denote that most of the time is being spent on the receiving part, which I’m not convinced is because of UM. For example, Google Analytics (GA) takes almost 8 seconds to load.
I’d first take a look at the ADServer side of things, as that appears to be broken from what I can see. The CSS and JS components of the site are also being loaded synchronously which will slow things down considerably.
@theozefrench Go to Ultimate Member -> Settings -> EMail -> Enable “Use HTML for E-mails?” and save
This was changed in the 2.x tree so unless you enable this setting, the HTML will be stripped.
Hi @katering,
There’s a couple of ways of doing this. My preferred approach is to use a function (you’d place this in your functions.php file for your theme) like the below
add_action('init','set_redirect'); function set_redirect(){ global $pagenow; if( 'wp-login.php' == $pagenow ) { wp_redirect('YOUR CUSTOM PAGE URL'); exit(); } }You’d replace “YOUR CUSTOM PAGE URL” with the actual URL you want to use.
Or, you can use this one
// Hook the appropriate WordPress action add_action('init', 'prevent_wp_login'); function prevent_wp_login() { // WP tracks the current page - global the variable to access it global $pagenow; // Check if a $_GET['action'] is set, and if so, load it into $action variable $action = (isset($_GET['action'])) ? $_GET['action'] : ''; // Check if we're on the login page, and ensure the action is not 'logout' if( $pagenow == 'wp-login.php' && ( ! $action || ( $action && ! in_array($action, array('logout', 'lostpassword', 'rp', 'resetpass', 'register'))))) { // Load the home page url $page = get_bloginfo('url'); // Redirect to the home page wp_redirect($page); // Stop execution to prevent the page loading for any reason exit(); } }In this case, I am redirecting all requests to the homepage, but this can be any URL of your choosing.
Finally, you can disable wp-login.php if you are using UM to control the login and register process – you can still login and register without it.
@untitledseven Version 2.x of Ultimate Member was a complete shift away from the previous framework that 1.x worked under. As a result of this, version 2.x of the plugin is a major change noted here
https://ultimatemember.com/new-website-ultimate-member-2-0-update/
Essentially, the biggest change was moving away from the Redux Framework onto native WP functions and controls. This meant that the constants and functions needed to be re-written in order to integrate with the WordPress core.
You’re not alone in your thoughts, but I highly doubt that there will be another major “site breaking” change like this in future, given the backlash this caused within the community. In fairness to UM, they did notify well in advance that 2.x was a complete re-write, but I don’t think this was fully appreciated or understood by most users.
Forum: Plugins
In reply to: [Nextend Social Login and Register] Twitter Login Enables Admin bar by force.There’s a much better way you can do this…
Disable Admin Bar for All Users Except for Administrators
Paste this code in your theme’s functions.php file or your site-specific plugin.add_action('after_setup_theme', 'remove_admin_bar'); function remove_admin_bar() { if (!current_user_can('administrator') && !is_admin()) { show_admin_bar(false); } }Disable Admin Bar for All Users
If you want to disable it for all users, then simply put use this code in your theme’s functions.php file or your site-specific plugin./* Disable WordPress Admin Bar for all users but admins. */ show_admin_bar(false);Forum: Plugins
In reply to: [Nextend Social Login and Register] Files to exclude from minifyJust coming back here to close this thread, as it was indeed Litespeed. For those looking for the fix, you can find that here https://wordpress.org/support/topic/listed-exceptions-still-seem-to-be-cached/
Forum: Plugins
In reply to: [LiteSpeed Cache] Listed exceptions still seem to be cachedThanks very much for your help.
Greatly appreciated.
Regds
Forum: Plugins
In reply to: [LiteSpeed Cache] Listed exceptions still seem to be cachedHi Eric,
I have it working now – changed to /session/ with no asterisk – see https://tools.pingdom.com/#!/eYrrY/https://www.phenomlab.com/session/login
And report NRLKIXNZ
Forum: Plugins
In reply to: [LiteSpeed Cache] Listed exceptions still seem to be cachedAccording to this, it’s still hitting the cache
https://tools.pingdom.com/#!/bAzCcU/https://www.phenomlab.com/session/loginForum: Plugins
In reply to: [LiteSpeed Cache] Listed exceptions still seem to be cachedStill the same. Report HXTIXMHY