Robert
Forum Replies Created
-
Hi @websonica
We do load our scripts and styles on all pages by default, because we cannot prepare in advance where the social buttons may show up. Our assets are tiny, and should not cause any disturbance on your website, but if you insist on removing them on certain pages, you could do so with some custom coding.
You can remove them like this:
add_action('wp', function () {
NextendSocialLogin::removeFrontendAssets();
});But in its current state, this code will remove our styles and scripts from all pages regardless you are logged in or not, which means:
- the buttons will look completely broken without the styles
- the buttons will simply trigger redirects instead of opening a popup
- some redictions won’t work
- the redirect overlay won’t show up
- our WebView based codes won’t be able to limit the buttons that don’t support WebVivew, etc.
However please note that, this requires some developer experience, as we can not provide support for custom coding and problems caused by your custom codes!
Hi @bertina
The issue with Speedy Cache is that their Combine JS file optimization prevents the slider from loading, so you should exclude our codes from their optimization:
https://smartslider.helpscoutdocs.com/article/1976-cache-or-minification#speedycacheForum: Plugins
In reply to: [Nextend Social Login and Register] Edit/Disable Register Notice/MessageHi @aaron13223
You can end up on that form if we have to ask for information from the user. Such as accepting the Privacy Policy / Terms of Conditions, or asking for extra fields, like username, password and email from the user.
I assume you mean the form where the Privacy Policy string is shown. If you would like to remove this, you can go to the Privacy tab:
https://nextendweb.com/nextend-social-login-docs/global-settings-privacy/
and disable the “Terms and conditions – Show” option. This will not show the form, so the user will be registered directly without seeing that.Or if you want to keep the form, and would like to change/get rid of the text itself, then you can override this with a custom code or a custom translation file, but please note that we cannot help with custom coding.
Or if you don’t want it to be asked on the WordPress default login form ( /wp-login.php ), then you could create a new page, add this shortcode into it:
[nextend_social_login_register_flow]then save the page, and select it for our Page for Register Flow setting on our General tab:
https://nextendweb.com/nextend-social-login-docs/global-settings/
this way that form would be rendered rather with the template of the selected page.Forum: Plugins
In reply to: [Smart Slider 3] White flash between slides – SafariHi @alvenswim
Yes, unfortunately Safari has problems like this, and if reducing the amount of images to 5 solved the problem, then having 14 could indeed mean that there are too many images used.
What you could try temporarily, is to replace your images with much smaller images, and see if the issue still appears like that.
The total number of images loaded on the page also has an impact, and Safari tends to be rather sensitive with loading resources, so you could also try optimizing / reducing the size of other images that are being loaded on the page.
Forum: Plugins
In reply to: [Nextend Social Login and Register] Google One Tap IntegrationHi @jusemora30
I am glad to hear you like Nextend Social Login.
Please note we cannot help with custom coding, so any custom codes must be written by you. We register WordPress users with the standard wp_insert_user() funciton of WordPress:
https://developer.wordpress.org/reference/functions/wp_insert_user/
and update the user avatar, and any user meta data based on the response from the provider.Currently, our implementation is based on the Oauth2 protocol, and Google One Tap requires a different approach. We have received some requests for it in the past, and I have added yours too. However, I cannot tell you an ETA, as we need to take a look at how we could implement this into our current code-base, and if it is even possible at all.
Forum: Plugins
In reply to: [Nextend Social Login and Register] Missing translation lineHi @debesyla
The notice, including the text is from WooCommerce, so not from us.
When Nextend Social Login registers a new account, by default, we generate a random password with the wp_generate_password() method of WordPress:
and we also set the “default_password_nag” user option like this:
update_user_option($user_id, 'default_password_nag', true, true);to let WordPress know that the password was an automatically generated password – so it wasn’t one that the user had set.
This is why WooCommerce gives that warning, as they might display a warning when they see this user option being set.So if you are looking to translate the text, you need to look for it in WooCommerce. It should be available under the “woocommerce” text domain.
Forum: Plugins
In reply to: [Nextend Social Login and Register] Stop the redirectHi @rscarter1
Actually, what you are looking for to happen is the default behavior in Nextend Social Login. By default, we try to redirect the user back to the page where the button was pressed. So if you are being redirected to a login page, that can either be because of our “Fixed redirect url” setting:
https://nextendweb.com/nextend-social-login-docs/global-settings/#fixed-redirect-url
which intercepts the default behavior and redirects the user to the specified URL, or you are using a custom HTML button with a custom redirect parameter, which overrides the default behavior as well.Or there is a 3rd party that does this. From our side you could try enabling the “Prevent external redirect overrides” option:
https://nextendweb.com/nextend-social-login-docs/global-settings/#external-redirect
and see if it makes a difference.
If this wouldn’t help, you need to find out what exactly causes this redirect. You could make a backup of your website, then disable your plugins one by one, and each time check the login behavior until you find out where this forced redirect comes from.Forum: Plugins
In reply to: [Smart Slider 3] Slider blocked due to CSP HeaderWithout the “unsafe-inline” directive, you can not add inline scripts. This can be quite problematic in cases, where the data is something that the user can modify.
E.g. in our case the output ( the complete HTML ) of your sliders are getting generated based on your settings, and this HTML is stored in the database. This has a caching functionality as well, so we won’t need to run all of those PHP codes and database queries each time when somebody visits your site. Each of your sliders can have different configuration, so each of them have code parts that are unique to the given slider. These unique JavaScript codes are added as inline codes, so your site needs to be capable of adding and processing these. So currently there is no way to avoid this unfortunately with a setting or similar option. Here you can find our requirements in this regard:
https://smartslider.helpscoutdocs.com/article/1967-content-security-policyIf this is really a problem for you, a possible alternative could be to export the sliders as HTML:
https://smartslider.helpscoutdocs.com/article/1728-export-import-slider#export
Change the HTML as needed, and publish it on your website. Like this you have full control over the HTML, but this is a lot of inconvenient work, especially if you decide to later make changes to your slider, and you’ll also need a good understanding of HTML, as we are unable to provide support for this publishing option.Forum: Plugins
In reply to: [Nextend Social Login and Register] Boss, I’m done, please help meThe custom code added is probably fine, though please note that we are unable to provide support for custom coding. The issue is still that no provider is enabled, so the shortcode won’t do anything.
If you properly configured the Page for register flow, and Oauth redirect uri proxy page settings, and updated the redirect urls in the app, it should be working. Do you still receive an error when you try verifying the provider? If you do, is it still the same error as before? If so, please make sure to update the redirect urls in the given apps. For Google, check step 19, for Facebook check step 12, and for Twitter check step 15 in the Getting Started.
Forum: Plugins
In reply to: [Nextend Social Login and Register] minify css in footerHi @mcdeth
On the frontend we output our styles on the wp_head action as inline CSS, that is why you see it there.
Plugins that are capable of optimizing the inline CSS ( e.g. Autoptimize ) could optimize our CSS, too. Of course these tools should be tested thoroughly, as in case if it would not work properly, we could only recommend to exclude our codes from the optimization.
Best regards,
RobertForum: Plugins
In reply to: [Smart Slider 3] Different slides heightHi @podguzon39
I am sorry, that is not possible.
Our slider has a rule, that a slide’s height is at least as big as the height of your layers, margins and paddings are and your entire slider is as big as the highest slide is:
https://smartslider.helpscoutdocs.com/article/2033-what-affects-slider-size#content-in-a-slideForum: Plugins
In reply to: [Nextend Social Login and Register] Nextend + wechat + zaloHi @kampot888
Both wechat and zalo seem to support Oauth2, which is the protocol we base our implementation on. We have received requests for both of them in the past, and I have added yours too. We make new providers based on the volume of requests, and currently we have not received that many requests for them, so it will take same time before we get to implement them, so I cannot give you an ETA unfortunately.
Hi @vememe
We do not have an out-of-the-box solution for this, so there are no built-in statistics, but you can make it happen with custom coding. Please note that we cannot provide support for custom coding, but as a start one of our customers in the past has shared a code they had made:
https://nextendweb.com/nextend-social-login-docs/backend-developer/#simple-statistics
to count the social connections. You could also use this as the base. Also, in our backend developer docs:
https://nextendweb.com/nextend-social-login-docs/backend-developer/
you can find our actions and filters if you need further options.Best regards,
RobertForum: Plugins
In reply to: [Smart Slider 3] responsivity@valletinformatique44
The slider’s size is affected by the Size settings:
https://smartslider.helpscoutdocs.com/article/2033-what-affects-slider-size#slider-size
If the specified number for the height field is not the same as the height is in the editor, then something increases the height of the slider.
Our slider has a rule, that a slide’s height is at least as big as the height of your layers, margins and paddings are and your entire slider is as big as the highest slide is:
https://smartslider.helpscoutdocs.com/article/2033-what-affects-slider-size#content-in-a-slideThis means that if either of your slides is taller than the others, it will increase the height of all other slides in the slider. To find out which one, you could unpublish all your slides:
https://smartslider.helpscoutdocs.com/article/1764-slider-settings#bulk-slide-actions
and publish them one by one, and each time check the height of the slide.If you have further trouble with this, you can also contact us here:
https://smartslider3.com/contact-us/support/
and include your slider export:
https://smartslider.helpscoutdocs.com/article/1728-export-import-slider#export
and we’ll take a look at it.Forum: Plugins
In reply to: [Smart Slider 3] We are not able to see pre/ next navigation.Hi @phpteam
Are you referring to the arrows that usually appear on the sides of the slider?
If that is the case it looks like you do not have the Arrow Control enabled:
https://smartslider.helpscoutdocs.com/article/1782-arrow
so please make sure it is enabled and check again.If you mean something else, could you please provide further details?