HackerOne users: Testing against this community violates our program's Terms of Service and will result in your bounty being denied.

Concise and nice!

peregrineperegrine MVP
edited April 2014 in Feedback

This could win the guiness record for "A functioning Plugin with least amount of code" Learned a new thing on this one. cool! thx.

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

Comments

  • The mythical 2-line plugin lives!

  • It was all because of @Lincoln‌ pointing me in the right direction :p

  • So what you are saying is less code is more code ?

    Great idea for this plugin Adrian. You always come up with very useful and needed plugins !!

  • Thanks, @vrijvlinder‌ . I try :)

  • peregrineperegrine MVP
    edited April 2014

    @Adrian said:
    It was all because of Lincoln‌ pointing me in the right direction :p

    • adrian says:
      which way should I go, Lincoln. which way should I go (said with gleeful exuberance).

    • Lincoln Points. paw facing north. (smile on face).

    • adrian says:
      good lincoln

    • and there we have it. A great little plugin,

    Peregrine sez: I need to get me a pointer too. I need all the help I can get.

    • someone else says:

      which line do I modify to get the plugin to do something else :). I want to modify this plugin to do wake me up in the morning.

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

  • R_JR_J Admin

    @Minion: say "brrrring!" at seven A.M.

  • Cool! It very useful for me!

    @Adrian, please set default plugin value for disable in a role. Now it is enabled for new and existing roles, that is wrong.

  • peregrineperegrine MVP
    edited May 2014

    @Adrian, please set default plugin value for disable in a role. Now it is enabled for new and existing roles, that is wrong.

    Ivan_Gurin

    all you have to do if you don't want it to behave that way is:

    change

    'RegisterPermissions' => array('Plugins.AlwaysEdit.Edit' => 1),

    to

    'RegisterPermissions' => array('Plugins.AlwaysEdit.Edit'),

    prior to enabling plugin for the first time.

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

Sign In or Register to comment.