Please upgrade here. These earlier versions are no longer being updated and have security issues.
HackerOne users: Testing against this community violates our program's Terms of Service and will result in your bounty being denied.
Options

Plugin dont show quote

Vanilla: Version 2.2rc1

Plugin works fine but don't show the Quote.

Comments

  • Options

    Thanks for trying my plugin!

    Could you reload the page, open the browser console (press F12), switch to the network tab and then hover a mention?
    It should look like this in Chrome:

    Check if there are any errors.

    Alternatively you could send me a link to your site.

  • Options
    jackmaessenjackmaessen ✭✭✭
    edited November 2015

    I was also testing this plugin in 2.2rc1 with Boostrap theme and baseline theme and there is some strange behaviour:

    When page is at top (no scrolling down) the tooltip does not appear. See below

    When you scroll the page a little bit down, the tooltip does appear and the class tooltipster is created. See below:

    Behaviour is both in Bootstrap theme and Baseline theme

  • Options

    @jackmaessen this is not a bug and unrelated to the problem of @loliserver
    The tooltip doesn't show if the post is fully visible in the viewport because that would be redundant.

    However it should still hightlight the post. Bootstraps post style has a higher specificity and overwrites that, so you could add:

    .mentionHighlight {
        background-color: #ffb !important;
    } 
    

    ...or animate it for an even stronger highlight:

    @keyframes bounce {
       50% { transform: scale(1.05); }
    }
    .mentionHighlight {
        animation: bounce 2s infinite;
    }
    
  • Options
    edited November 2015

    @Bleistivt said:
    Thanks for trying my plugin!

    Could you reload the page, open the browser console (press F12), switch to the network tab and then hover a mention?
    It should look like this in Chrome:

    Check if there are any errors.

    Alternatively you could send me a link to your site.

    Is localhost sorry

    I have bootstrap theme.

  • Options

    Do any errors appear in the console tab?

  • Options

    No errors,

  • Options

    Are you using the latest version?

    I can't debug your localhost, sorry. If you decide to try it on a public vanilla install though, pm me a link.

  • Options

    I'm using Vanilla: Version 2.2rc1, ok I will try to install this on my host.

  • Options

    The plugin folder was not properly defined.

    It shows up without a name and this error. Van 2.1
    Just extracted it and put it in plugin folder.

  • Options
    peregrineperegrine MVP
    edited November 2015

    @omnix32 said:
    The plugin folder was not properly defined.

    It shows up without a name and this error. Van 2.1
    Just extracted it and put it in plugin folder.

    for vanilla 2.1.x

    change line 3 to

    $PluginInfo['quotemention'] = array(

    and line 12 to

    );

    the plugin requires php 5.4 as written because it has short array notation.

    you should upgrade to php 5.4 and you will have less issues like this.
    plugin requires php 5.4 as written because it has short array notation.

    you could try (no guarantees)....

    you may also need to change 52,56,72,78,79,89,93,94,106,108,109,113,114,118,119 in class.quotemention.plugin.php

    you will see either a [ or a ]

    replacing the

    [   
    
    with 
    
    array(    
    
    
     and replace 
    
    ]  
    
    with 
    
    )
    

    Bleistivt - just tried your plugin. pretty slick.

    This is a really nice plugin, works great on my computer (vanilla 2.1 and php 5.5), I just needed to adjust line 3 and 12 to make it work in vanilla 2.1.

    I may not provide the completed solution you might desire, but I do try to provide honest suggestions to help you solve your issue.

  • Options
    omnix32omnix32 New
    edited November 2015

    @peregrine said:

    @omnix32 said:
    The plugin folder was not properly defined.

    It shows up without a name and this error. Van 2.1
    Just extracted it and put it in plugin folder.

    for vanilla 2.1.x

    change line 3 to

    $PluginInfo['quotemention'] = array(

    and line 12 to

    );

    the plugin requires php 5.4 as written because it has short array notation.

    you should upgrade to php 5.4 and you will have less issues like this.
    plugin requires php 5.4 as written because it has short array notation.

    you could try (no guarantees)....

    you may also need to change 52,56,72,78,79,89,93,94,106,108,109,113,114,118,119 in class.quotemention.plugin.php

    you will see either a [ or a ]

    replacing the

    [   
    
    with 
    
    array(    
    
    
     and replace 
    
    ]  
    
    with 
    
    )
    

    Bleistivt - just tried your plugin. it is pretty slick. nice plugin. highlighting quite nice as well.

    OK, thank you for the great help. On my Ipage settings I found a place (While trying to figure out the direct connect) a place to switch PHP to 5.6. Right now it's at 5.3.

    If I switch this, will the new PHP read the old also as not to cause issues with things I already set up?

    If so, I will change the code as you suggested.

    Thank you again for the help.

    Mike.

    One more thing, there is no options for 5.4. It goes 5.3, 5.5, 5.6

  • Options
    peregrineperegrine MVP
    edited November 2015

    omnix32 said: If I switch this, will the new PHP read the old also as not to cause issues with things I already set up?

    by switch - you mean switching php.
    you would need to try it and test. you "probably will not have issues" but it is impossible to answer your question or guarantee it.

    as far as the plugin itself, I don't think you need to change anything regarding the plugin, if you run vanilla 2.2 and php 5.4 or greater.

    I use 5.5 and haven't run into problems on my system.

    I may not provide the completed solution you might desire, but I do try to provide honest suggestions to help you solve your issue.

  • Options

    Thank you for the help. I made the switch and don't notice any issues. change line 3 and 12 and now it shows up with no errors, the options work, but the quote button does not show up in post. Van 2.2 will have to wait, took your advice and downgraded. Thank you again.

Sign In or Register to comment.