The effects of alcohol on
sustanon 250 leucine for – real weight loss & bodybuilding benefits?
[Solved] elementor popup login
✦ Summarize Topic
✦
✦
✦
AI is analyzing the discussion...
(@nico39)
Posts: 11
Active Member
Topic starter
Translate
▼
English
Spanish
French
German
Italian
Portuguese
Russian
Chinese
Japanese
Korean
Arabic
Hindi
Dutch
Polish
Turkish
Vietnamese
Thai
Swedish
Danish
Finnish
Norwegian
Czech
Hungarian
Romanian
Greek
Hebrew
Indonesian
Malay
Ukrainian
Bulgarian
Croatian
Slovak
Slovenian
Serbian
Lithuanian
Latvian
Estonian
Show original
Translating...
[#3781]
Hi,
I try to link my elementor login popup window with WpDiscuz, but it needs a link, but elementor popup just provides us the possibility to open the popup with a selector like:
a[href="#link-loginpopup"]
Is there a way to tell WPdiscuz to open the elementor modal login window?
thank you in advance
Nico
Posted : 10/03/2022 6:43 pm
(@asti)
Posts: 8257
Illustrious Member Support
(@nico39)
Posts: 11
Active Member
Topic starter
Translate
▼
English
Spanish
French
German
Italian
Portuguese
Russian
Chinese
Japanese
Korean
Arabic
Hindi
Dutch
Polish
Turkish
Vietnamese
Thai
Swedish
Danish
Finnish
Norwegian
Czech
Hungarian
Romanian
Greek
Hebrew
Indonesian
Malay
Ukrainian
Bulgarian
Croatian
Slovak
Slovenian
Serbian
Lithuanian
Latvian
Estonian
Show original
Translating...
thank you very much,
With the code on the page you indicate I have the following error:
syntax error, unexpected '$', expecting variable (T_VARIABLE)
Posted : 11/03/2022 11:57 am
(@nico39)
Posts: 11
Active Member
Topic starter
Translate
▼
English
Spanish
French
German
Italian
Portuguese
Russian
Chinese
Japanese
Korean
Arabic
Hindi
Dutch
Polish
Turkish
Vietnamese
Thai
Swedish
Danish
Finnish
Norwegian
Czech
Hungarian
Romanian
Greek
Hebrew
Indonesian
Malay
Ukrainian
Bulgarian
Croatian
Slovak
Slovenian
Serbian
Lithuanian
Latvian
Estonian
Show original
Translating...
Sorry have added Php snippet code, it's JS
Posted : 11/03/2022 12:08 pm
(@nico39)
Posts: 11
Active Member
Topic starter
Translate
▼
English
Spanish
French
German
Italian
Portuguese
Russian
Chinese
Japanese
Korean
Arabic
Hindi
Dutch
Polish
Turkish
Vietnamese
Thai
Swedish
Danish
Finnish
Norwegian
Czech
Hungarian
Romanian
Greek
Hebrew
Indonesian
Malay
Ukrainian
Bulgarian
Croatian
Slovak
Slovenian
Serbian
Lithuanian
Latvian
Estonian
Show original
Translating...
Posted : 11/03/2022 12:24 pm
(@asti)
Posts: 8257
Illustrious Member Support
Translate
▼
English
Spanish
French
German
Italian
Portuguese
Russian
Chinese
Japanese
Korean
Arabic
Hindi
Dutch
Polish
Turkish
Vietnamese
Thai
Swedish
Danish
Finnish
Norwegian
Czech
Hungarian
Romanian
Greek
Hebrew
Indonesian
Malay
Ukrainian
Bulgarian
Croatian
Slovak
Slovenian
Serbian
Lithuanian
Latvian
Estonian
Show original
Translating...
@nico39 ,
Have you customized the code? E.g. you should change the #jeg_loginform id in the code, etc.
In case you want to say thank you! 🙂
We'd really appreciate if you leave a good review on the plugin page. This is the best way to say thank you to this project and the support team.
Posted : 11/03/2022 12:50 pm
(@nico39)
Posts: 11
Active Member
Topic starter
Translate
▼
English
Spanish
French
German
Italian
Portuguese
Russian
Chinese
Japanese
Korean
Arabic
Hindi
Dutch
Polish
Turkish
Vietnamese
Thai
Swedish
Danish
Finnish
Norwegian
Czech
Hungarian
Romanian
Greek
Hebrew
Indonesian
Malay
Ukrainian
Bulgarian
Croatian
Slovak
Slovenian
Serbian
Lithuanian
Latvian
Estonian
Show original
Translating...
@asti Yes but I think I make an error somewhere...
This is my website setting:
Posted : 11/03/2022 6:22 pm
(@asti)
Posts: 8257
Illustrious Member Support
Translate
▼
English
Spanish
French
German
Italian
Portuguese
Russian
Chinese
Japanese
Korean
Arabic
Hindi
Dutch
Polish
Turkish
Vietnamese
Thai
Swedish
Danish
Finnish
Norwegian
Czech
Hungarian
Romanian
Greek
Hebrew
Indonesian
Malay
Ukrainian
Bulgarian
Croatian
Slovak
Slovenian
Serbian
Lithuanian
Latvian
Estonian
Show original
Translating...
@nico39 ,
You should change the IDs according the ID in your case.
In case you want to say thank you! 🙂
We'd really appreciate if you leave a good review on the plugin page. This is the best way to say thank you to this project and the support team.
Posted : 12/03/2022 12:21 pm
(@nico39)
Posts: 11
Active Member
Topic starter
Translate
▼
English
Spanish
French
German
Italian
Portuguese
Russian
Chinese
Japanese
Korean
Arabic
Hindi
Dutch
Polish
Turkish
Vietnamese
Thai
Swedish
Danish
Finnish
Norwegian
Czech
Hungarian
Romanian
Greek
Hebrew
Indonesian
Malay
Ukrainian
Bulgarian
Croatian
Slovak
Slovenian
Serbian
Lithuanian
Latvian
Estonian
Show original
Translating...
Ok I find a solution based on your feedback.
So you need to create an elementor Popup including login module.
1. Set the option "Open by a selector" by : .wpd-popup-login-form
Don't forget the dot before. This option is in your popup page by selecting the toothed wheel bottom left of the screen and selecting the "advanced" tab.
2. After create a PHP snippet or paste the following code in your (children) theme function.php :
add_filter("wpdiscuz_login_link", function ($login) {
return str_replace(" href=", " class='wpd-popup-login-form' href=", $login);
});
and voilà.
Thank you very much Asti !
Posted : 12/03/2022 5:19 pm
(@nico39)
Posts: 11
Active Member
Topic starter
Translate
▼
English
Spanish
French
German
Italian
Portuguese
Russian
Chinese
Japanese
Korean
Arabic
Hindi
Dutch
Polish
Turkish
Vietnamese
Thai
Swedish
Danish
Finnish
Norwegian
Czech
Hungarian
Romanian
Greek
Hebrew
Indonesian
Malay
Ukrainian
Bulgarian
Croatian
Slovak
Slovenian
Serbian
Lithuanian
Latvian
Estonian
Show original
Translating...
Sorry forget that:
You have to put this JS :
(function($){
$('.wpd-popup-login-form').on('click', function(e){
e.preventDefault();
var popuplink = $('wpd-popup-login-form"]');
if ( popuplink.length > 0 ) {
popuplink.each(function(i,e){
var element = $(e);
if ( element.attr('href') === 'wpd-popup-login-form"]' ) {
element.trigger('click');
return false;
}
})
}
});
})(jQuery);
Posted : 12/03/2022 5:47 pm
(@asti)
Posts: 8257
Illustrious Member Support
Translate
▼
English
Spanish
French
German
Italian
Portuguese
Russian
Chinese
Japanese
Korean
Arabic
Hindi
Dutch
Polish
Turkish
Vietnamese
Thai
Swedish
Danish
Finnish
Norwegian
Czech
Hungarian
Romanian
Greek
Hebrew
Indonesian
Malay
Ukrainian
Bulgarian
Croatian
Slovak
Slovenian
Serbian
Lithuanian
Latvian
Estonian
Show original
Translating...
@nico39 ,
Thank you for sharing the information. We're going to mark this topic as solved and close it.
Feel free to open a new topic if you have any other questions.
In case you want to say thank you! 🙂
We'd really appreciate if you leave a good review on the plugin page. This is the best way to say thank you to this project and the support team.
Posted : 14/03/2022 11:11 am
Super Globals
Options and Features