Alex Human
Forum Replies Created
-
Forum: Plugins
In reply to: [eRoom - Zoom Meetings & Webinars] Event in descending orderYou probably don’t understand what I mean. I understand that the plugin displays the last 3 published events, but they are displayed not by the date of the event, but by the date of their publication. thus, the nearest event is always lower, but should be on top.
In this case, you suggest placing events starting from late so that the nearest ones are at the top of the list, it breaks the brain))
Thanks for the tip. Of course, this is the best in recent times. If I succeed, of course I will write. By the way, you should do editing on the frontend in the Pro version. That would be cool.
@champsupertramp It doesn’t work. I’m so tired of this plugin. For 4 years, more and more bugs. It is impossible to work normally.
@champsupertramp No. Just the same connected custom templates. You mean you need to update them? I’ll try and write if it worked.
@champsupertramp I had to restore the previous version on all projects. This one I left to solve this problem.
### Begin Install Info ###
## Please include this information when posting support requests ##
— Site Info —
Site URL: https://***
Home URL: https://***
Multisite: No— Hosting Provider —
Host: DBH: localhost, SRV: ***
— User Browser —
Browser Name: Chrome<br/>
Browser Version: 79.0.3945.79<br/>
Browser User Agent String: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/79.0.3945.79 Safari/537.36<br/>
Platform: Windows<br/>
—- Current User Details —Role: administrator
— WordPress Configurations —
Version: 5.3
Language: ru_RU
Permalink Structure: /%postname%/
Active Theme: Richer child theme 1.0
Page On Front: Страница входа (#5304)
Page For Posts: (#0)
ABSPATH: /var/www/vh270350/data/www/***/
All Posts/Pages: 206
WP Remote Post: wp_remote_post() works
WP_DEBUG: Disabled
WP Table Prefix: Length: 3, Status: Acceptable
Memory Limit: 40MB— UM Configurations —
Version: 2.1.2
Upgraded From: 2.1.0-beta1
Current URL Method: SERVER_NAME
Cache User Profile: No
Generate Slugs on Directories: No
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://***/lp/
Account: https://***/account/
Members: https://***/members/
Register: https://***/registration/
Login: https://***/
Logout: https://***/logout/
Password Reset: https://***/password-reset/— UM Users Configuration —
Default New User Role: guest
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: 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: /login
Backend Register Screen for Guests: No
Redirect to alternative register page: /login
Access Control widget for Admins only: Yes
Enable the Reset Password Limit: Yes
Reset Password Limit: 150Disable Reset Password Limit for Admins: Yes
Blacklist Words: 6— UM Email Configurations —
Mail appears from: ***
Mail appears from address: info@***
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: No
Account Deleted Email: No
Password Reset Email: Yes
Password Changed Email: Yes— UM Total Users —
All Users(1530)
administrator(1)
subscriber(41)
um_admin(3)
contributor(124)
vippartner(105)
author(13)
guest(1246)
none(0)— UM Roles —
Administrator (administrator)
Starter Kit (subscriber)
Админ Модератор (um_admin)
Гость Верифицирован (contributor)
Модератор Автор (editor)
Партнер с пакетом (vippartner)
Спикер (author)
Гость (guest)— UM Custom Templates —
File: /var/www/vh270350/data/www/***/wp-content/themes/richer-child/ultimate-member/templates/profile-umcustom.php
File: /var/www/vh270350/data/www/***/wp-content/themes/richer-child/ultimate-member/templates/profile-userprofile.php— UM Email HTML Templates —
N/A
— Web Server Configurations —
PHP Version: 7.3.12
MySQL Version: 10.2.29
Web Server Info: Apache/2.4.6 () OpenSSL/1.0.2k-fips mod_fcgid/2.3.9 PHP/5.4.16— PHP Configurations —
PHP Memory Limit: 512M
PHP Upload Max Size: 50M
PHP Post Max Size: 50M
PHP Upload Max Filesize: 50M
PHP Time Limit: 30
PHP Max Input Vars: 100000
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: Enabled
Session Name: PHPSESSID
Cookie Path: /
Save Path: /var/www/vh270350/data/mod-tmp
Use Cookies: On
Use Only Cookies: On— WordPress Active Plugins —
Advanced Custom Fields: 5.8.7
Advanced Custom Fields: Theme Code: 1.4.1
Block Bad Queries (BBQ): 20191109
CB Change Mail Sender: 1.2.2
Classic Editor: 1.5
Contact Form 7: 5.1.6
Dynamic Widgets: 1.5.16
Event Organiser: 3.8.6
Event Organiser Posterboard: 3.0.1
Force First and Last Name as Display Name: 1.0
Login LockDown: v1.8.1
PlayerJS: 2.9
Popups – WordPress Popup: 1.9.3.8
Redirection: 4.5.1
Slider Revolution: 5.4.8.1
Sucuri Security – Auditing, Malware Scanner and Hardening: 1.8.22
Themify Icons Plugin: 1.0.6
UDS SMS: 1.0.0
Ultimate Member: 2.1.2
Ultimate Member – Online: 2.1.1
Username Changer: 3.1.3
User Role Editor: 4.52.1
User Submitted Posts: 20191110
Wise Chat: 2.8.1
WP-PostViews: 1.76.1
WPBakery Page Builder: 5.7
WP Translitera: p1.2.5
Дополнительные поля для профиля: 1.0### End Install Info ###
I just tried this. And Yes, it worked. Thanks.
@ridethetides I don’t need another plugin. If UM already supports profiles with login and name, then why is it so difficult to make another function that will work for example through nickname. A nickname can be changed in the profile, pre-setting for him the option of the unique content of the field.
Or any other field created in the profile in advance custom_profile_url
*Thanks for the plugin, but it’s not what I’m looking for. I can not change the login at the request of each user. I need them to be able to easily do it on their UM profile.
@ultimatemembersupport 5 years I have been using the plugin and 5 years I have been getting the same answer to this offer.
Make it possible to form a profile link not only by login but also by user field that will be unique. WordPress does not allow users to change username, so the user should be able to change their url as it is done in any social network.
PHP Fatal error: Uncaught Error: Call to a member function is_online() on null in line:126
My code:
125: global $um_online; 126: $user_online_status = ‘offline’; 127: $user_online_status = ($um_online->is_online($sponsor)) ? ‘online’ : ‘offline’;I understand that this plugin can not. I have been using it for 4 years in different projects)). Question is how can I do it by making changes to the code. At least through custom_fields where the user will specify a link to YouTube.
Forum: Plugins
In reply to: [Network Subsite User Registration] No duplication users on other sitesI came back. You wrote:
If you only give users one site to register on then this plugin will allow you to limit user registration to that one site. So if that’s what you want then it will work for you.
I will describe in more detail the essence of the product, perhaps still your plugin should work for me, as far as I understand.
I have there is site for example
multisite.loc
The network has the first demo demo.multisite.loc which is fully configured and created as a new Assembly when the user logs in.
Total we have a network: multisite.loc and the first demo demo.multisite.loc which is copied as the new default site when you create a new site on the network.
Now I as a super administrator create a website for a new client and call it client1.multisite.loc
The client makes the necessary settings and users begin to register on his website.
Now we have:
MultiSite multisite.loc
Demo demo.multisite.loc is used when creating a new site
Client site: client1.multisite.locAnd now it is important:
Site client1.multisite.loc begins its work, there are registered users and they should be within only this site. Registration works only on this site.
Next, the second client receives the client2 site.multisite.loc also begins to work already in the niche of business. Here also registration is only for this site, as it is another business.
*People on site1 and site2 are different people. Like 2 different companies.
Will your plugin allow users to be registered only within their sites? Judging by your words, it should work this way, because the user (client) is created manually, and the site is created by the administrator, and only then the client opens the registration for his site. But there you can not get a copy of the site, there is only content.
- This reply was modified 5 years, 6 months ago by Alex Human.
- This reply was modified 5 years, 6 months ago by Alex Human.
If you want more detail send me an email alexgminfo.dev @ gmail.com
It works for me so:
1. Create a field in the registration form ref_id
2. I place the shortcode of the form on the page that is listed as the profile page.
3. I got the site.loc/user/userlogin
4. Create a php file such as refsite.php and its codePHP
<?php // absolute URI in multisite aware environment $uParts = parse_url( home_url() ); $url = "{$uParts['scheme']}://{$uParts['host']}" . add_query_arg( NULL, NULL ); /* $url = $_SERVER['REQUEST_URI']; // получаем логин для сборки без multisite */ $uParts=explode('/', $url); $login = $uParts[4]; // get user id by login global $wpdb; $query = "SELECT * FROM wp_usermeta where meta_key = 'nickname' and meta_value = '{$login}'"; $sponsor = $wpdb->get_row( $query ); $sponsorID = $sponsor->user_id; if(!$sponsorID){ $sponsorID = 1; } // Take out the field user $fields = array('first_name', 'last_name', 'city_user', 'country', 'mobile_number', 'skype' ,); $user_fields = array(); for($i=0; $i<count($fields); $i++){ $query = $wpdb->get_row( "SELECT * FROM wp_usermeta where meta_key = '{$fields[$i]}' and user_id = '{$sponsorID}'"); $user_fields[$fields[$i]] = $query->meta_value; } $user_id = get_current_user_id(); ?>
JS
<script type="text/javascript"> jq = jQuery.noConflict(); jq(document).ready(function(){ jq('.um-field-ref_id input').val('<?php echo $sponsorID; ?>'); jq('.um-field-ref_id input').attr('readonly','readonly'); }
5. I connect this plugin in php profile page template
<?php require_once(__DIR__.'/php/lp.php'); ?>
6. Now in the field ref_id substitutes the id of the owner of the profile.
7. After registration, the user in the submitted field is specified and our ref_id
8. I see on the page of all who registered through my page
(Here’s another code but I’ll show you what it looks like)
https://drive.google.com/file/d/1_C4nbpncYIfGUv8CezffJdddts1hpX3J/view?usp=sharing