Robert
Forum Replies Created
-
Forum: Plugins
In reply to: [Nextend Social Login and Register] Registration notificationPlease note that we are unable to provide support for custom coding of any kind.
Currently, your code will return the unchanged notification email in our case, as the condition you set will be evaluated to true.If you cannot seem to make this happen, then I would rather recommend getting the Pro version, or hire a developer who can make the code for you.
Forum: Plugins
In reply to: [Nextend Social Login and Register] Google One Tap SupportHi @safi2266
I’m sorry, but currently we don’t have plans for Google One Tap login, and as such there is no way to enable it either. The problem with it is, that our entire system was designed for OAuth2 authentication:
https://datatracker.ietf.org/doc/html/rfc6749
and that is used by all our providers. Google One Tap would need a different type of authentication, which would be very difficult to implement into our code. So for now we do not support Google One Tap.Forum: Plugins
In reply to: [Nextend Social Login and Register] Plugin affecting bfcacheSure, I restored it now, so you should be able to access it again on the original link:
https://www.dropbox.com/scl/fi/qjpvap6mo00r4wftwuavz/nextend-social-login-feature-NSLDEV-649-bfcache-cannot-work-because-of-broadcastchannel.zip?rlkey=mggie9mk6tevzx7896tlomjtg&st=h9sl5eip&dl=1Forum: Plugins
In reply to: [Nextend Social Login and Register] Facebook Missing client_id parameterHi @jfoc
In the debug mode we only try to check if your server is able to communicate with the servers of the provider, to do this we send a text request, and we dump out the response. All that matters there is if you receive the Network connection successful message at the top of the page or not, everything else are just the verbose text of the API response, so you can ignore that. I do not know if your message says the connection is successful, as you included only the error message part, but if you see “Network connection successful *” notice at the top, then you do not need to worry about this debug mode.
You mentioned all settings are verified, so if you haven’t done already, please enable the provider, and you can check it on the /wp-login.php page whether the login with the social button works or not. If it doesn’t, let me know what error you get.
And if you would like to publish the buttons somewhere else, in the Free version you can use the shortcode for that:
https://nextendweb.com/nextend-social-login-docs/usage/Forum: Plugins
In reply to: [Nextend Social Login and Register] Google login button does not appearHi @dragansk!
Thanks for contacting us!
I’m sorry, but in WebView browsers we hide the Google button on purpose, as Google doesn’t allow using their OAuth endpoints over WebView, since according to them that is not secure ( https://auth0.com/blog/google-blocks-oauth-requests-from-embedded-browsers/ ).
This means whenever a user tries to connect with Google while they are browsing over WebView, they would only see an error message that states this problem. So because it cannot work, we are hiding the Google button on WebView browsers by default. However, since Nextend Social Login 3.1.12, we have a new option – Unsupported WebView Behavior:
https://nextendweb.com/nextend-social-login-docs/global-settings/#unsupported-webview-behavior
With this option you can either remove the buttons (default behavior), or you can disable them (in this case the buttons will still show up, but will be grayed out), and if the user still clicks on the button it will show an error notice stating this limitation.If you have any questions, let me know!
Forum: Plugins
In reply to: [Smart Slider 3] Flashing slidesOn second thought, we have managed to find out what the problem is. The problem is caused by the fact that you have set the slider size similar to the browser’s size. So these are the events that lead to the problem:
- You need to look at the slider on a browser size that is just a little bit smaller than the slider itself. Like this the slider’s height is e.g. 5px bigger than the browser’s. Because of this, the browser’s scrollbar will appear.
- Since the scrollbar appeared, the width of the browser gets reduced by that much.
- Our slider by default uses a size ratio to determine the size. So since the browser became smaller in width, the slider become smaller in width and height to keep the size ratio.
- Since the slider’s height has become smaller (and you have no other content on the page), the slider is no longer bigger than the browser, thus the browser hides the scrollbar, since there is nothing to scroll to.
- And the issue from now on repeats, since that way the browser becomes bigger -> the slider becomes bigger in width and height due to the size ratio, and we end up at the beginning of the cycle again.
There are 2 possible solutions to this:
1. Use the following CSS code to always show the scrollbar:body{
overflow-y: scroll;
}You could go to the slider’s settings -> Developer tab and insert the code into the CSS field:
https://smartslider.helpscoutdocs.com/article/1806-slider-settings-developer#css2. In the Pro version we have a Fullpage layout:
https://smartslider.helpscoutdocs.com/article/1777-fullpage-layout
which achieves the design you originally intended to achieve, so it makes the slider as big as the browser.However due to the forum guidelines, we can only provide support for the Free version here, so in case you have further questions related to Pro features, please rather contact us here:
https://smartslider3.com/contact-us/support/Hi @tmora
The entire error message is rather strange. It refers to a function called shmop_delete:
https://www.php.net/manual/en/function.shmop-delete.php
We do not use this in our code, or any low level memory management function for that matter, so our code might have been modified somehow on your website. First, please check this file:- wp-content/plugins/nextend-facebook-connect/includes/oauth2.php
And go to line 220. You should see this:
if (function_exists('random_bytes')) {
return $this->bytesToString(random_bytes(self::CSRF_LENGTH));
}Do you see the same code part as above? According to your error message it looks like random_bytes might have been replaced by this shmop_delete funciton.
If that is the case, please delete your current Nextend Social Login installation, and install it again. Your plugin settings will stay, so don’t worry about those.
If the problem still appears afterwards, then if you make a test php file (e.g. test.php) with this code:
<?php
var_dump(random_bytes(32));And open this test file in your browser, do you see the problem there? And also please check this code as well:
<?php
var_dump(substr(bin2hex(random_bytes(32)), 0, 32));If you see the error still, then we suspect that somehow the random_bytes function is incorrectly configured, or an issue similar to it.
Forum: Plugins
In reply to: [Smart Slider 3] Flashing slidesUnfortunately I wasn’t able to reproduce this either. I checked on Windows 10 Chrome, Android Chrome and even on iPad Safari and Chrome, but the slider appeared just fine. In this case, could you please ask your client if it happens on other websites and pages as well? And ask them to try other browsers. Preferably one without any extensions. If the issue remains, please let us know their system information, what device they are on exactly, and the version of their OS and the version of Chrome they are using.
Additionally, could you please ask them to take a look at some of our template sliders on our website?:
https://smartslider3.com/sample-sliders/
and see if the issue happens there as well?Hi @tmora
Officially PHP 8.4 isn’t yet available, so it is totally possible the issue stems from a core PHP issue, which might get resolved once the version is officially available to everyone. Either way, please let us know exactly what error message you see, so what exact critical error message you get (currently only the trace of the problem is visible, so not the exact issue). If it wouldn’t be written out, you could ask your host, and they should have a log about these issues, which should contain the exact error. Let us know, and we’ll take a look at this.
Forum: Plugins
In reply to: [Smart Slider 3] Slider now showing on every pageIf the slider is showing up on all pages, then it is probably published in a widget position that appears on all pages:
https://smartslider.helpscoutdocs.com/article/1720-publishing-on-wordpress#widget
If this is the case, you could use a plugin, like this one:
https://wordpress.org/plugins/widget-options/
To select where widgets should show up.As for the PHP warning:
This is usually caused by the theme, as it probably fires the widgets_init action itself multiple times:instead of hooking the necessary function to this action.
The problem needs to be resolved on the end of the theme, by correcting the way it registers the widgets.Forum: Plugins
In reply to: [Nextend Social Login and Register] Plugin affecting bfcacheI am not that familiar with bfcache, but according to the notice you see, the problem is that this caching cannot happen because there was a BroadcastChannel instance with listeners registered. We use this BroadcastChannel to keep the connection between the opener window, and the opened window whenever the opener window data is not available. This is important, because otherwise after the authentication and authorization with the provider, the popup would not close, and instead the login and redirect would happen there, so with this BroadcastChannel we can keep the information between the opener and opened window and close the popup and redirect in the opener window, as you would expect.
For now I have updated our code, and with the modification the problem no longer occurred. You can download it from here:
https://www.dropbox.com/scl/fi/qjpvap6mo00r4wftwuavz/nextend-social-login-feature-NSLDEV-649-bfcache-cannot-work-because-of-broadcastchannel.zip?rlkey=mggie9mk6tevzx7896tlomjtg&st=089gqipf&dl=1
To install this, make sure to delete your previous version of Nextend Social Login (your plugin settings won’t be affected), and then install the one above:
https://nextendweb.com/nextend-social-login-docs/installation-guide/Currently our senior developer who reviews code changes is out of the office, and won’t be available till Friday, but if everything works fine for you, then we will review the code, and add it to future releases.
Hi @ezeetech21
I assume their Default setting is redirect to the homepage. I couldn’t really test this, as we have no access to the latest BuddyBoss, but from our side what you could try is enabling the “Prevent external redirect overrides” option:
https://nextendweb.com/nextend-social-login-docs/global-settings/#external-redirect
If it wouldn’t work even like that, then I recommend getting in touch with the developers of BuddyBoss, and ask them about this redirection, why it is happening, and how you can disable it.Forum: Plugins
In reply to: [Smart Slider 3] Pb displaying images form custom post typeHi @jltest
I assume you used the File/Image/Video field type. The problem with this is that this will not return the actual URL of the image, but rather the attachment ID. Unfortunately, we don’t have code specifically for Pods, so we just retrieve the meta data of a post as it is stored, but we can’t go any further than that. So the problem here is that the URL of the image itself has no direct connection to the post, but if you could somehow solve it, for example with a custom plugin or custom code, so that the URL is also saved as meta data, then it could work. Or if it would be possible, you could use the Advanced Custom Fields plugin, which we wrote direct code for the Image field to retrieve the image based on the ID.
If you insist on using Pods, you could get the images as URLs with custom code. Please note we have no support for custom coding, nor for any problems or questions related to custom coding. We have a “smartslider3_posts_customposts_data” filter that allows you to add custom fields in the custom posts generator. You could use this to convert the attachment ID to an URL. This is an extremely basic solution for that:
function custom_smartslider3_posts_posts_data($record) {
$record['image_url'] = wp_get_attachment_image_url($record['hotelimage'], 'full');
return $record;
}
add_filter('smartslider3_posts_customposts_data', 'custom_smartslider3_posts_posts_data');Here the field ‘hotelimage’ contains the attachment ID, you will need to use your own field name for that.
And the image URL would be in the “image_url” variable, so that is what you would insert as the background in the slide.
Also, like I said, this is a basic solution, and it doesn’t consider other factors, which could cause problems, and you may need to extend on this code to fit your needs, but like I mentioned above, we are unable to help with custom coding, so if you do not want to bother with this, I would rather recommend using the Advanced Custom Fields plugin.Forum: Plugins
In reply to: [Nextend Social Login and Register] Access through X does not workHi @gerardolatino73!
This is a bug on the end of X. Unfortunately from our end there is nothing we could do about this. We redirect the user to the endpoint of X, but it is up to them to handle the authentication, authorization and redirect the user back to the URL given in the request. The problem is that this redirect never happens, because one or more bugs on X’s side prevent this, and instead they redirect somewhere else, which breaks the OAuth flow. There are many reports about this kind of bugs, for example here are a few:
https://devcommunity.x.com/t/oauth1-popup-window-redirecting-users-to-twitter-home-page/185596
https://devcommunity.x.com/t/twitter-auth-api-broken-due-to-redirect-logic/221811/19
https://devcommunity.x.com/t/whoa-there-there-is-no-request-token-for-this-page/221296
https://devcommunity.x.com/t/twitter-oauth-v2-bug-when-user-use-sign-in-with-google-to-sign-in-to-twitter/169651Unfortunately, Twitter / X has had bugs of this nature for a long time now (as you might see from the dates in the links above), so if the user is not yet logged into their X account when the they press the social button, the login attempt will most likely fail for the first time, and after successfully logging in to the X account, then they will have to try the social login again.
We are aware that this gives a rather bad user experience, but unfortunately this can only be solved on the side of the X developers.Forum: Plugins
In reply to: [Smart Slider 3] Pourcentage sizeHi @nicolbc
We don’t have an option to set percentages for the sizes, and you should think of the slider sizes as more of an aspect ratio than a fixed size, so on smaller screens it will be smaller, on bigger screens it will be bigger by default, but you could also use the “Boxed” layout:
https://smartslider.helpscoutdocs.com/article/1775-boxed-layout
This makes the slider occupy the area of the container you put the slider in. Then you could change this container as you see it fit, and the slider will cover that area.As for the image:
It’s based on the “Slide background image fill” option:
https://smartslider.helpscoutdocs.com/article/1809-slider-settings-slides
how your images look like in the slider. By default the “fill” option is used which will make the image as big as it needs to be to cover the whole slider. This means that if the slider and image ratios differ, the image will be cropped. To avoid this behavior you could change the fill mode to “fit” or “blur fit” instead.