This topic has 9 replies, 3 voices, and was last updated 8 years by Radu.

  • Author
  • #166648
     clyn
    Participant

    Hi,

    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

    #166655
     Laura
    Moderator

    Hello, 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 solution
    #166933
     Radu
    Moderator

    Hi,

    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 solution
    #167015
     clyn
    Participant

    Hi 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

    #167174
     Radu
    Moderator

    Hi,

    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 solution
    #167269
     clyn
    Participant

    Hi 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 🙂

    #167292
     clyn
    Participant

    Hi 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,
    Matthew

    #167682
     Radu
    Moderator

    Hi,

    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 solution
    #167683
     clyn
    Participant

    Hi 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…

    #167827
     Radu
    Moderator

    Ok 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
Viewing 10 posts - 1 through 10 (of 10 total)

The forum ‘Plugins questions’ is closed to new topics and replies.

Log in with your credentials

Forgot your details?