-
Author
-
July 7, 2017 at 15:30 #166648
clyn
ParticipantHi,
I am using snax pluging and this pluging using own popup login. so i ask them how to disable snax popup and default use Kleo login popup. and they write me and send a code…
“you can ask the Kleo’s support to prepare some code for you, since they’re more qualified to do this. Please give them the following information:
The following js code will override the default popup behavior, you just need to insert your own popup code:
snax.popup = function () { $(‘.snax-login-required’).click(function (e) { e.preventDefault(); //trigger your popup }); $(‘body’).on(‘snaxLoginRequired’, function(e, blocked) { //trigger your popup }); };
what should i do? Thanks
July 7, 2017 at 16:09 #166655Laura
ModeratorHello, will assign the ticket to a higher support level who can help and advise you in your query.
Thanks! ?Hi there!!! Help others from the community and mark any reply as solution if it solved your question. Mark as a solutionJuly 10, 2017 at 18:36 #166933Radu
ModeratorHi,
If I click login the KLEO login pop-up it’s displayed
Did you have solved meanwhile?

Cheers
R.Hi there!!! Help others from the community and mark any reply as solution if it solved your question. Mark as a solutionJuly 11, 2017 at 15:23 #167015clyn
ParticipantHi Radu,
Your pop-up loging is working right but i am not talking about this. If you visit this page click here and try to give a vote any embed item and open a pop-up (i think its default buddypress login popup) but i want to open with your Kleo Popup… I hope i explain with my bad english
July 12, 2017 at 17:53 #167174Radu
ModeratorHi,
I see now, you can look in the plugin settings if had the possibility to add a custom class to that vote buttons for guest users, using this class kleo-show-login on every element in click the Kleo login pop-up will be shown.
You can ask the plugin author how you can add easily this class kleo-show-login on the button vote up or down instead of they pop up open class.
Cheers
R.Hi there!!! Help others from the community and mark any reply as solution if it solved your question. Mark as a solutionJuly 13, 2017 at 11:43 #167269clyn
ParticipantHi Radu,
Yes they have guest vote option under their pluging settin. I will send your answer and will wait their answer. Thanks your reply me very fast 🙂
July 13, 2017 at 17:06 #167292clyn
ParticipantHi Radu,
They solved the problem. I added this php code, link here, this code open KLEO popup login when user click to vote icon but there is a section at the bottom of post page and people can add new snax item, but this section open still default popup login. I said them and they replied below,
sample post please visit how to solve and problem click here…
Hi,this is implemented via javascript body event and it should be handled in a script that I provided you with earlier. Please ask the Kleo’s support to just fill in the blanks instead of comments in the js I’ve given you, there is really no work around that.
Best regards,
MatthewJuly 17, 2017 at 15:03 #167682Radu
ModeratorHi,
From what I saw now the pop-up it’s opening, so all good right?

Cheers
R.Hi there!!! Help others from the community and mark any reply as solution if it solved your question. Mark as a solutionJuly 17, 2017 at 15:23 #167683clyn
ParticipantHi Radu,
Actually i was talking about at the bottom of post page (add new embed section) but pluging author add new feature when they update so its solved this morning….
Thank you so much for everything…
July 18, 2017 at 17:14 #167827Radu
ModeratorOk then
You’re welcome
Cheers
R.Hi there!!! Help others from the community and mark any reply as solution if it solved your question. Mark as a solution -
AuthorPosts
The forum ‘Plugins questions’ is closed to new topics and replies.