kexikus
Forum Replies Created
-
It’s working now, thank you!
Thank you very much! We look forward to the fix.
Forum: Plugins
In reply to: [Basic User Avatars] Changing text/translationAnything?
Forum: Plugins
In reply to: [Basic User Avatars] Changing text/translationThank you for your quick reply.
Unfortunately, this does not work. At least not for our usecase. I can use this code to replace the text but I still cannot use html to create a link in the text. I assume this is because html is escaped before the string is returned as output to the site or something like that. Could you confirm this and either way, do you have another idea how to circumvent this?
Forum: Plugins
In reply to: [Basic User Avatars] Changing text/translationThank you for your help.
It’s these two strings:
“No local avatar is set. Use the upload field to add a local avatar.”
“Replace the local avatar by uploading a new avatar, or erase the local avatar (falling back to a gravatar) by checking the delete option.”
Forum: Plugins
In reply to: [Basic User Avatars] Changing text/translationIt seems that I need the code solution after all.
Just changing the text with Loco Translate worked perfectly, but I wanted to add a link to our terms of use. And this does not work, I just get the html code on the page.
Could you give me a pointer towards the code solution which should allow me to get this to work?
All right, maybe I will.
Thank you for the suggestion.
Unfortunately, the issue still persists this way.
However, I was able to fix it by deleting and recreating the password recovery page and then following the steps you outlined. The solution works but is not 100% perfect since the link is now to a page id instead of using the permalink, but the result is the same. Still, it would be nice if this could be fixed in some future update.
See here to check what I mean: https://swu.news/anmelden/
Forum: Plugins
In reply to: [Basic User Avatars] Changing text/translationThank you. This works perfectly.
In case you want to update the German translation: In the translation of the string “Replace the local avatar by uploading a new avatar, or erase the local avatar (falling back to a gravatar) by checking the delete option.”, the first word is currently “Ersetzen” but it should only be “Ersetze” without the “n” at the end.
I just want to add that I have the same issue.
In my case, users are redirected to the front page since that’s the page I set in the email confirmation setting. But the user still cannot log in with the error message that their account is not activated.
Thank you for your reply. This is of course not what I hoped for but I understand. But it is good to hear that the most important function (cropping) is being worked on.
Forum: Plugins
In reply to: [WordPress Popular Posts] Create query based on recent commentsNevermind, I figured it out. It should just be
$post->title
in the foreach loop. Or $post->id to get the post ID.
Forum: Plugins
In reply to: [WordPress Popular Posts] Create query based on recent commentsHi,
first of all thank you for the reply. I only got to give it a shot yesterday but so far I have not been able to get it to work.
The query itself seems to work but so far I have not been able to successfully loop over the posts in that query. For now, I just want to display their titles to check if everything is working. With a standard WordPress query I used a while loop and the have_posts() function, i.e.,
while ( $the_query->have_posts() ) { $the_query->the_post(); $output .= '<li>' . get_the_title() . '</li>'; }
But that does not seem to work with the WPP query. I also tried a foreach loop that also works with the default query but not with the WPP query.
$posts = $the_query->posts; foreach( $posts as $post ) { $output .= '<li>' . $post->post_title '</li>'; }
For the WPP query I replaced the first line with
$posts = $the_query->get_posts();
But that did not work either even though I confirmed that get_posts() successfully returns an array. Nevertheless, apparently I misunderstood what the WPP query returns and thus have been unable to implement it.
Any help would be very much appreciated.