Forum Replies Created

Viewing 5 replies - 1 through 5 (of 5 total)
  • Thread Starter Cristhian Bacusoy

    (@cristhianbh98)

    @missveronicatv
    Well I just tested it out and It didn’t work either :c. I just notice that this error appears with some users. What I mean is that when I’m in ther users admin page, some users are appears and others not, then I disable the UM plugin and enter in a specific user single admin page and then active the UM plugin, the user single admin menu stop working when is showing the avatar.

    Thread Starter Cristhian Bacusoy

    (@cristhianbh98)

    Hi @champsupertramp

    I tested it out what you told me and unfortunately It didn’t work. Still got the same error.

    Thread Starter Cristhian Bacusoy

    (@cristhianbh98)

    I also tested it out on local and I got the same error, as I said before I have others wordpress website with the same wordpress version and UM version in the same hosting, I have a VPS, but just in only one wordpress website I am getting this error.

    I also tested leaving just UM actived and got the error.

    ### Begin Install Info ###
    
    ## Please include this information when posting support requests ##
    
    --- Site Info ---
    
    Site URL:					https://bli-us.com
    Home URL:					https://bli-us.com
    Multisite:					No
    
    --- Hosting Provider ---
    
    Host:						DBH: mysql.bli-us.com, SRV: bli-us.com
    
    --- User Browser ---
    
    Platform:                 Windows 
    Browser Name:             Chrome  
    Browser Version:          94.0.4606.61 
    User Agent String:        Mozilla/5.0 (Windows NT 10.0; Wi 
    			  n64; x64) AppleWebKit/537.36 (KH
                              TML, like Gecko) Chrome/94.0.460
                              6.61 Safari/537.36 Edg/94.0.992.
                              31
                              
    ---- Current User Details --
    
    Role: administrator
    
    --- WordPress Configurations ---
    
    Version:						5.8.1
    Language:					en_US
    Permalink Structure:			/%year%/%monthnum%/%day%/%postname%/
    Active Theme:				Hello Elementor Child 1.0
    Page On Front:				Home (#15)
    Page For Posts:				 (#0)
    ABSPATH:					/home/dh_eefede/bli-us.com/
    All Posts/Pages:				2
    WP Remote Post:           		wp_remote_post() works
    WP_DEBUG:                 			Disabled
    WP Table Prefix:          			Length: 10, Status: Acceptable
    Memory Limit:   				40MB
    
    --- UM Configurations ---
    
    Version:						2.2.5
    Upgraded From:            		2.1.17-alpha
    Current URL Method:			
    Cache User Profile:			Yes
    Generate Slugs on Directories:	Yes
    Force UTF-8 Encoding: 		No
    JS/CSS Compression: 			No
    Port Forwarding in URL: 		No
    Exclude CSS/JS on Home: 		No
    
    --- UM Pages Configuration ---
    
    User:						https://bli-us.com/user/
    Account:						https://bli-us.com/account/
    Members:					https://bli-us.com/members/
    Register:						https://bli-us.com/
    Login:						https://bli-us.com/login/
    Logout:						https://bli-us.com/logout/
    Password Reset:				https://bli-us.com/password-reset/
    
    --- UM Users Configuration ---
    
    Default New User Role: 		subscriber
    Profile Permalink Base:		user_login
    User Display Name:			field
    Force Name to Uppercase:		No
    Redirect author to profile: 		No
    Enable Members Directory:	No
    Use Gravatars: 				Yes
    Gravatar builtin image:		default
    	UM Avatar as blank Gravatar: 	No
    Require a strong password: 	On
    
    --- UM Access Configuration ---
    
    Panic Key: 								
    Global Site Access:						Site accessible to Everyone
    Backend Login Screen for Guests:			No
    Redirect to alternative login page:			
    Backend Register Screen for Guests:		No
    Redirect to alternative register page:		
    Access Control widget for Admins only: 		No
    Enable the Reset Password Limit:			No
    Blacklist Words: 							5
    
    --- UM Email Configurations ---
    
    Mail appears from:  			Bli-us
    Mail appears from address:  	[email protected]
    Use HTML for E-mails:   		Yes
    Account Welcome Email:  		Yes
    Account Activation Email:   	No
    Pending Review Email:   		No
    Account Approved Email: 		No
    Account Rejected Email: 		No
    Account Deactivated Email:  	Yes
    Account Deleted Email:  		Yes
    Password Reset Email:   		Yes
    Password Changed Email: 		Yes
    
    --- UM Total Users ---
    
    				All Users(361)
    administrator(3)
    subscriber(355)
    um_bli-us-admin(3)
    none(0)
    
    --- UM Roles ---
    
    				Administrator (administrator)
    Editor (editor)
    Author (author)
    Contributor (contributor)
    Subscriber (subscriber)
    Group Leader (group_leader)
    Translator (translator)
    Customer (customer)
    Shop manager (shop_manager)
    Anonymous (anonymous)
    Bli-us Admin (um_bli-us-admin)
    
    --- UM Custom Templates ---
    
    				N/A
    
    --- UM Email HTML Templates ---
    
    				N/A
    
    --- Web Server Configurations ---
    
    PHP Version:              			7.4.12
    MySQL Version:            			5.7.29
    Web Server Info:          			Apache
    
    --- PHP Configurations ---
    
    PHP Memory Limit:         			256M
    PHP Upload Max Size:      			512M
    PHP Post Max Size:        			512M
    PHP Upload Max Filesize:  			512M
    PHP Time Limit:           			120
    PHP Max Input Vars:       			1000
    PHP Arg Separator:        			&
    PHP Allow URL File Open:  			Yes
    
    --- Web Server Extensions/Modules ---
    
    DISPLAY ERRORS:           			N/A
    FSOCKOPEN:                			Your server supports fsockopen.
    cURL:                     			Your server supports cURL.
    SOAP Client:              			Your server has the SOAP Client enabled.
    SUHOSIN:                  			Your server does not have SUHOSIN installed.
    GD Library:               			PHP GD library is installed on your web server.
    Mail:                     			PHP mail function exist on your web server.
    Exif:				          PHP Exif library is installed on your web server.
    
    --- Session Configurations ---
    
    Session:                  			Disabled
    Session Name:             			PHPSESSID
    Cookie Path:              			/
    Save Path:                			/tmp
    Use Cookies:              			On
    Use Only Cookies:         			On
    
    --- WordPress Active Plugins ---
    
    				Admin Menu Restriction: 1.0.4
    Advanced Custom Fields: 5.10.2
    BigBlueButton: 3.0.0-beta.4
    Code Snippets: 2.14.2
    Disable Embeds: 1.5.0
    DreamHost Panel Login: 1.0.0
    Elementor: 3.4.4
    Elementor Header & Footer Builder: 1.6.4
    Elementor Pro: 3.4.1
    Essential Addons for Elementor: 4.9.2
    Essential Addons for Elementor - Pro: 4.4.9
    Import and export users and customers: 1.18.2
    Insert PHP Code Snippet: 1.3.2
    IP2Location Redirection: 1.24.0
    IP2Location Tags: 2.10.7
    LearnDash LMS: 3.4.2.1
    LearnDash LMS - Elementor: 1.0.3
    LearnDash LMS - Paid Memberships Pro: 1.3.1
    Loco Translate: 2.5.3
    Paid Memberships Pro: 2.6.2
    Paid Memberships Pro - Cancel on Next Payment Date: 0.4
    Paid Memberships Pro - Register Helper Add On: 1.7
    Ultimate Member: 2.2.5
    User Role Editor: 4.60.2
    WooCommerce: 5.7.1
    WP Mail SMTP: 3.0.3
    
    ### End Install Info ###
    Thread Starter Cristhian Bacusoy

    (@cristhianbh98)

    Hi, I could solve my problem, if anyone want to know how do this, just copy the next code.

    
    function wpt_user_has_submit($test_id = 0, $user_id = 0) {
    	global $wpdb;
    	$has_submit = false;
    	
    	$row = $wpdb->get_results( "SELECT * FROM wp_t_passings WHERE test_id = $test_id AND  respondent_id = $user_id LIMIT 1");
    		
    	if(count($row) > 0) {
    		$has_submit = true;
    	}
    	
    	return $has_submit;
    }
    

    You can call the function providing the user id and the test id you want to query, this return a boolean whether the user has submitted a test or not.

    Thread Starter Cristhian Bacusoy

    (@cristhianbh98)

    Hi Alexander, thank you for you answer and your time.

    I can see that in the add-on Wp-testing — Export there is a section where you can query users that did a specific test, I know beacuse I purchased that add-on, so I want to know if in that section you did a query to thee database or use a function to display the users.

    Great plugin btw.
    Regards.

Viewing 5 replies - 1 through 5 (of 5 total)