thomei
Forum Replies Created
-
Forum: Plugins
In reply to: [Central Media Manager for Multisite] Load more button not visibleI don’t see a “Load more” button when I try to insert images from the media library into a post or page. When will this be fixed?
Forum: Plugins
In reply to: [Compliance by Hu-manity.co] Your advertising on dashboard doesn’t vanishes.Still not working…
Still telling bull xxxxx to admins outside EU!
Very annoying plugin.We’ll remove it, if this not changes soon.
We don’t need the EU overkill.
We don’t want this this idiotic dashboard advertising.We don’t trust developer, who are unable to program a working “Dismiss”-button
After many years this plugin has become unusable.
Sad.- This reply was modified 3 years, 9 months ago by Steven Stern (sterndata).
Forum: Plugins
In reply to: [Custom Login] “Lost your password?” is empty.The box wasn’t checked. But, The solution was simple:
1) Enable “Remove lost password text”-option and save.
2) Disable the option and save again.It seams the plugin does set the setting correct, if is was changed. But it seams not to read this setting as it should. (?)
Forum: Fixing WordPress
In reply to: How to filter usernames with “@” in it?Or even a better solution:
function username_noat_validation() { global $bp; if ( !empty( $_POST['signup_username'] ) ) if ( !valid_noat_username( $_POST['signup_username'] ) ){ $bp->signup->errors['signup_username'] = __( 'The @-symbol is not possible in the user name.', 'buddypress' ); } } add_action( 'bp_signup_validate', 'username_noat_validation'); function valid_noat_username($ucandidate) { $r1='/@/'; //At if(preg_match_all($r1,$ucandidate, $o)<1) return TRUE; return FALSE; }Forum: Fixing WordPress
In reply to: How to filter usernames with “@” in it?SOLVED!
The following code in functions.php does it:
function validate_username_noat (){ global $bp; $username = $bp->signup->username; if ($username){ $tld_index = strrpos($username,'.'); $tld = substr($username,$tld_index); if ($tld != '.edu'){ $bp->signup->errors['signup_username'] = 'Benutzernamen können nur Buchstaben, Zahlen, "." und "-" enthalten.'; } } } add_action( 'bp_loaded','bpdev_remove_bp_pre_user_login_action') ; function bpdev_remove_bp_pre_user_login_action(){ remove_action( 'pre_user_login', 'bp_core_strip_username_ats' ); } add_filter( 'validate_username','bpdev_restrict_at_in_username',10,2) ; function bpdev_restrict_at_in_username( $valid,$user_name ){ if ( preg_match('/@/',$user_name ) ) return false; return $valid; }Forum: Fixing WordPress
In reply to: How to filter usernames with “@” in it?Thank you very much for the replay! But this plugin is an overkill.
I found a more efficient solution.
(We are running BuddyPress.)
I added to functions.php:<?php add_action( 'bp_loaded','bpdev_remove_bp_pre_user_login_action') ; function bpdev_remove_bp_pre_user_login_action(){ remove_action( 'pre_user_login', 'bp_core_strip_username_ats' ); } add_filter( 'validate_username','bpdev_restrict_at_in_username',10,2) ; function bpdev_restrict_at_in_username( $valid,$user_name ){ if ( preg_match('/@/',$user_name ) ) return false; return $valid; }It’s working. But one issue is left:
But I’m still looking for a solution to change the error message to the user, because it says “@” is allowed.Many thanks for the quick answer!
Sounds very promising. We’ll test QSM. It all looks very solid so fare.Kind regards Thomy.
@katsushi-kawamori
Thank you very much.
V 3.13 Seams to work smooth now, on all pages.@mbrsolution
I can provide you the evidence, it doesn’t works. But not in public. Can I E-mail to you?I still could offer you information about this serious bug. But marketing talk seemed more important 5 months ago… sad!
@denn1947 Just forget this plugin. Without selling all your data to the developer, is’s useless, sice the last update.
@thomasplevy
Sorry for the late answer. There was a lot of other work to do….I’ve got a few pages running with the “de_CH_informal” set in WP. The following plug-ins fall back to de_CH (or even de_DE, if de_CH isn’t installed):
– bbpress
– budypress
– ninja-forms (and all its plugins)
– woocommerce (and many of its plugins)
– …The same is true for some themes.
Or, best of all: help us (the polyglots team) to reach at least 95% strings translated and approved, then the language pack will be created and distributed automatically.
Yes, I’ll, if our customer decides to stay with LifterLMS. It’s not my own decision.
The Swiss German translations are still very 😉 fussy in some parts. I’ll look in it. But first I’ve to bring the system running, because of Corona-crisis.
A lot of thanks to the LifterLMS developers, they do a grate job! Our teachers are very thankful too.
@thomasplevy and @tobifjellner
I found the mistake!
In German we use informal ans formal translations. The correct translations code is “de_CH_informal”
This brings up lack of the LifterLMS:
All other Plugins I know and WP itself, fall automatically back to the closest, if the desired translations isn’t available. Not do English in first stage.E.g.: Form the user chosen: “de_CH_informal”
Common fallback “de_CH_informal” ==> “de_CH” ==> “de_**” (=some other German Translations: e.g. de_DE, de_AT, de) ==> “de” ==> “en_US”Please, fix the translation fallback in LifterLMS.
Kind regards, and thank you very much!
- This reply was modified 6 years, 2 months ago by thomei.
@tobifjellner
Thank you for your suggestion!
But still not working.Forum: Developing with WordPress
In reply to: if ( “Gutenberg” ): ?@sterndata
Both links are not really a solution. Both just defect, if Gutenberg is active or not. We like to check if a page or blog was edited with Gutenberg before or not.