Forum Replies Created
-
Author
-
arbolife
ParticipantHi,
This got closed automatically. Is it resolved ? Otherwise I’d like to keep this open for now.
Thanks,
Marcarbolife
ParticipantHi Radu,
Thanks, but that produces the same result as the first two attempts, it creates a 404 error because there is again “/false” appended to the current page URL.
I googled it realized the get_permalink(); was returning the false and your function was appending it to the end of the current page URL, so no need to get the current URL because it’s already there. Not adding anything to it might work. So I tried this – and I’m not a coder, but it worked:
COPY CODEadd_filter('kleo_fb_register_redirect','custom_redirect_link_facebook_login'); function custom_redirect_link_facebook_login(){ $reloadcurrentpage = ""; return $reloadcurrentpage; } add_filter('kleo_fb_register_redirect','custom_redirect_link_facebook_login');
Is this completely stupid to create a function to return nothing or should it do something else?
Cheers,
Marcarbolife
ParticipantHi Radu,
Now it loads the homepage, but not the current page from which I click on the log in with FB button.
At least the /false is gone. Can you make it load the current page?Cheers,
Marcarbolife
ParticipantHi Radu,
Unfortunately it still shows the /false at the end of the pages’s URL and produces the same error. Any other idea?
Cheers,
Marcarbolife
ParticipantHi Radu,
Thank you, this is very close. I tried it on my test site from this page:
https://www.arbolife.com/arbolife/fr/events/conference-zero-dechet-avec-bea-johnsonand the page it forwarded after registration was:
https://www.arbolife.com/arbolife/fr/events/conference-zero-dechet-avec-bea-johnson/falseOf course the /false at the end generates a 404. Do you know how to remove this?
Cheers,
MarcSeptember 6, 2016 at 18:02 in reply to: Reset password link from wp-login to 404 (possibly linked with 4.1.3) #135134arbolife
ParticipantOK, that’s good to know.
I fixed it by adding this to .htaccess:RewriteRule ^lost-password/ wp-login.php?action=lostpassword
September 6, 2016 at 16:20 in reply to: High volume of fake account creation with Facebook registration #135108arbolife
ParticipantHi Radu,
Thanks, I’m happy to know you will consider this for future updates as I think many others could benefit from it. In the mean time I’ve looked at the plugin “WP-SpamShield Anti-Spam” https://wordpress.org/plugins/wp-spamshield/ and the Kleo Kacebook registration appears in its log so it could be effective. Time will tell.
Cheers,
Marcarbolife
ParticipantHi Radu,
These options are for LOGIN and they work perfectly fine for me, when a user logs in it’s exactly what happens. My settings:
LOGIN REDIRECT = Reload the current page
HOMEPAGE REDIRECT = DisabledThe question here is why REGISTRATION with Facebook (first time only) forwards to the user profile instead of reloading the current page.
Couldn’t this be fixed with a line or two in functions.php rather than installing a plugin?
Cheers,
MarcSeptember 5, 2016 at 20:50 in reply to: Reset password link from wp-login to 404 (possibly linked with 4.1.3) #135041arbolife
ParticipantHi Radu,
I did that on the test site and the problem remains. The test site has WooCommerce “activated”, but the production site has it “deactivated”. So I tried to deactivate WooCommerce on the test site and it gets rid of the problem. So it must be linked with WooCommerce and not 4.1.3. What do you think is causing this?
Cheers,
MarcSeptember 5, 2016 at 20:42 in reply to: High volume of fake account creation with Facebook registration #135039arbolife
ParticipantHi,
So if I read between the lines, I understand that 7th Queen is not interested in making the “sign-in with Facebook” functionality compatible with any black list or spam prevention tool. Well, ok then…
Cheers,
Marcarbolife
ParticipantHi Radu,
On first impression, it looks better with 4.1.3. Can you please confirm it it has indeed been fixed?
Cheers,
Marcarbolife
ParticipantHi Laura,
Today I went on my test site and deactivated all plugins except for BuddyPress, and clicked on “login with facebook” with a new user and it redirects me to the profile page (screenshot attached).
So no, it’s not a plugin behaviour.
The best would be to to have a code to put in functions.php to force the redirect to the originating page. Can you help me with this please ?
Cheers,
MarcAttachments:
You must be logged in to view attached files.September 5, 2016 at 10:50 in reply to: High volume of fake account creation with Facebook registration #134890arbolife
ParticipantHi Radu,
Thanks for your response. I installed Ban Hammer as you recommended. It works great for users trying to register using the http://domain.com/register page, but not with the facebook registration that comes with your theme. How could we also have the users created with the one-click facebook registration tool from kleo checked against the Ban Hammer black list ?
Cheers,
Marcarbolife
ParticipantWhile I appreciate Laura helping Orlando, my original question remains open and is not the same as Orlando’s. Next time Orlando should consider creating his own ticket rather than highjacking someone else’s.
My problem is not that Facebook registration does not work. Here’s my original post:
Facebook registration works well, but after the success it redirects to the user profile asking to complete it.
Is there a way to redirect to the the original page ? It works really well with login, but not with registration.
Thanks,
Marcarbolife
ParticipantHi Radu,
Fantastic, thank you. IMHO, this should be the standard setting of the theme with the possibility of letting user choose the transparency.
Cheers,
Marcarbolife
ParticipantHi Radu,
Thanks, we’re getting closer…
The new code solves the 2 problems:
1. Breadcrumb and title now stay visible
2. The page doesn’t get hidden behind the mobile menu -> when a non-transparent mobile menu is being used.However, it created a new problem. When transparent menu is being used, it creates a white margin of 100px on the top and that’s not the prettiest.
I’m leaving the code on the test site so you can take a look:
Transparent menu – now white a white margin appearing on top:
https://www.arbolife.com/arbolife/
Normal menu with title and breadcrumb working fine:
https://www.arbolife.com/arbolife/events-home/survey/Cheers,
Marcarbolife
ParticipantI have one more issue with this code, so let me summarize it all in this post for you.
What I want: when menu is set to transparent -> the mobile menu is also transparent.
The code you provided works fine for achieving it, but it has 2 side effects:1. The title and breadcrumb area disappearing below a certain browser size (1024px or so)
2. It makes the whole page get hidden behind the mobile menu (removes padding) when a non-transparent mobile menu is being used.
COPY CODE@media(max-width:1024px) { .navbar { background:rgba(42, 42, 42, 0.0) !important; position: absolute; } }
Can you please suggest another fix that doesn’t break the other things ?
Cheers,
Marcarbolife
ParticipantHi,
OK, so I fixed the weird icons by adding this to the quick CSS:
COPY CODE.icon-bar:before { content: '' !important; }
I don’t know why it was there in the first place 😉
However, the title and breadcrumb disappearing is really bad, I hope you can help me fix that one.
Thanks,
Marcarbolife
ParticipantHi Radu,
Sorry, I need to reopen this thread.
There is a side-effect of the code you provided is that the title + breadcrumb area disappear below a certain browser size:
COPY CODE@media(max-width:1024px) { .navbar { background:rgba(42, 42, 42, 0.0) !important; position: absolute; } }
Can you please provide an update that doesn’t create this problem?
The other problem that was solved in this ticket was the 3 arrows on top of each others right below the mobile menu. I solved it as you recommended by doing another clean download of new icons. The problem is now back, but I have not touched the icon files since fixing it.
You can check it out yourself. Here’s a simple page that has both problems, the title and breadcrumbs + the weird icons: https://www.arbolife.com/events-home/events-attending/
Cheers,
Marcarbolife
ParticipantThat’s not the right way, but I found the problem.
I was missing the “Translate the theme and plugins using WPML’s String Translation” option in WPML > Theme and plugins localization
Now it works. Thanks for your help anyhow.
Cheers,
Marcarbolife
ParticipantOK thanks, that would be a useful setting to have in the theme settings in the future.
Cheers,
Marcarbolife
ParticipantThanks, I now see the child theme in string translation and it works.
Now I also wanted to change the default translation of the fields in the form “Your Name”, “Your Email”, and “Type your message…”. I found them in WPML’s string translation under the domain kleo_framework, they were already translated with the default translation. I changed it, but it the change doesn’t appear on the site.Do I also need a kleo_framework_child for it to work ?
Thanks,
Marcarbolife
ParticipantHi,
OK, I realize my description wasn’t so good. Sorry. So my menu display normally and when I start reducing the size of my browser window… at some point the menu switches to the mobile version and I think that happens when the window is less than 1024 pixels wide.
I would like to change that setting to a lower value. Can I put that in my child theme somehow?
Thanks,
Marcarbolife
ParticipantHi,
No I made the last correction to the footer this morning as I was opening this ticket and now the links are gone again.
The problem seems to be that inserting the code in text mode works, but next time opening the theme settings, it switches back to the visual mode and the code is gone.
Cheers,
Marcarbolife
ParticipantHey Radu,
One more question on this topic. How can I change the width at which the boxed menu gets automatically displayed from 1024px to say 700px (I have a super short menu for now).
Cheers,
Marcarbolife
ParticipantHi Radu,
I changed the default value, enabled detecting new strings when logged in as administrator, browsed the site as admin and view the new strings display…
But they don’t register in String Translation. I can only find the old ones (default).It looks to me as only the default value on the admin side register (they are in the domain “admin_texts_kleo_kleo” and it is my understanding the admin_ prefix is for the back-end).
Let me know what else I can try.
Thanks,
Marcarbolife
ParticipantHi Radu,
I know that. The question is why when I translate those strings with WPML “String translator”, does it not appear on the site. The WPML translator works fine for WordPress, BuddyPress, etc. Just not for these 2 strings.
Cheers,
Marcarbolife
ParticipantHi again,
Correction: WPML string translation actually works. I translated the xprofile fields from BuddyPress for the registration page and it worked right away. What doesn’t work is the kleo content of the message box:
CONTACT US and the “We’re not around right now…”.
Cheers,
Marcarbolife
ParticipantHi,
I tried to deactivate Slider Revolution for some time now, no effect on the site.
Setting is WPML-> Theme and Plugin localization -> selected “Translate by WPML”
This way I don’t touch any language files.Inside String Translation, there are sections for kleo strings. I translate them, mark as complete and nothing happens on the site.
Thanks,
Marcarbolife
ParticipantYou got it. 5 stars (not clocks) review:
This is my first site with WordPress and their support is fantastic, I ran into a bunch of problems that an expert would know how to solve and their support team has been (and continues to be) very friendly, helpful and responsive.
arbolife
ParticipantRe-saving permalinks did the trick. That makes no sense to me, but hey, it works 😉
Thanks again.Cheers,
Marcarbolife
ParticipantThanks a lot!!
e98d is the clock in my list. Changed it to e9f7 and it works like a charm.Cheers,
Marc -
AuthorPosts