Howdy, Stranger!

It looks like you're new here. If you want to get involved, click one of these buttons!

Try Vanilla Forums Cloud product

Working on version 2.5?

This discussion is related to the Yet Another Gamification Application addon.

Hi,

Just wondering, did anyone tried to install Yaga on version 2.5 and is it working properly?

Thank you!

Kind regards.

Martin2018

Comments

  • I just installed it. No problems with installation, only problem that I am facing is editing the badges - see https://open.vanillaforums.com/discussion/comment/251035/#Comment_251035

  • in "Manage Actions" ... Items can be edited, deleted and created without problems, but I cannot drag items to sort their display order.

  • R_JR_J Cheerleader & Troubleshooter Munich Moderator

    Please try again with the most current version from github. Although the version number reads 1.1 I think it is not identical to the version available here in the addons sections

  • Right, installed.

    Badges: Now I can edit "Length of Service"-badges, but when adding a new badge the form is stuck with the first rule type (Accepted Answers), and the form does not update itself when choosing another rule type. So I cannot create - for example - a Length of Service-badge, because there is no place to insert duration or period.

    And when trying to save, of course, I will get the "Duration is required. Period is required"-error.

    https://i.imgur.com/GvSKDjD.jpg

    Actions: still cannot drag the items to sort the order.

  • Did you manage to solve the problems? I am planning in using same plugin too.

  • Flower420Flower420 Munich New

    This plugin doesnt works on 2.5 version, at least for me not, even on clean install, the thing is.. i cant even activate it..

  • @jonasltu said:
    Did you manage to solve the problems? I am planning in using same plugin too.

    Problems are still there, I haven't had the time to dig in. Not that it necessarily helps, I'm a newbie here :)

    @Flower420 said:
    This plugin doesnt works on 2.5 version, at least for me not, even on clean install, the thing is.. i cant even activate it..

    Did you extract it into the /applications directory ?

  • Flower420Flower420 Munich New

    Yes sir, i have.

  • @smokvinlist написал:
    Hi,

    Just wondering, did anyone tried to install Yaga on version 2.5 and is it working properly?

    Thank you!

    Kind regards.

    I had Yaga installed on version 2.3.1. After upgrading to 2.5 it working fine except editing the badges (impossible to change and add images) and editing reaction icons.

  • I installed on 2.5.1 and website crashed (not responding) until I moved the Yaga to applications folder instead of plugins folder. I assume it is suppose to be under plugins folder and moving it to applications folder disabled it

  • whu606whu606 I'm not a SuperHero; I just like wearing tights... Moderator

    @onions

    Welcome to the community.

    YAGA is an application, so must go in the applications folder.

    Putting it in the plugins folder was your mistake.

    onions
  • onionsonions New
    edited February 21

    @whu606 said:

    YAGA is an application, so must go in the applications folder.

    Putting it in the plugins folder was your mistake.

    Yes it workings now somehow on my 2.5.1. Somehow it fixed it self.

  • when I hovered the post content the Yaga is shown, anywhere else on the page it is hidden, which may have caused me to think it was not working last when I checked

    I fixed this by removing
    .Item .Reactions > * {
    visibility: hidden;
    }

  • On my side I directly get the "Something went wrong" error if I put Yaga in applications/yaga. I'm using the latest Vanilla forum version. :(

  • whu606whu606 I'm not a SuperHero; I just like wearing tights... Moderator

    @ced64k

    You need to search 'Something has gone wrong' on here to find how to set debug mode.

    Then, if you can't solve your issue, post details of the error report on here.

  • I forked yaga and updated code to work with vanilla 2.5
    https://github.com/pioc92/Application-Yaga
    Test il if you want.

  • @pioc34 said:
    I forked yaga and updated code to work with vanilla 2.5
    https://github.com/pioc92/Application-Yaga
    Test il if you want.

    What I've noticed is that on plugin/setting popup, Save button doesn't work (not on my installation which is 2.5.1)
    And, but you probably didn't change this, design doesn't match new Dashboard.

  • Yes but settings on the bottom left menu work.

  • Flower420Flower420 Munich New
    edited February 24

    No settings link in the menu left.. and still popup doesn't works.. version 2.5.1

    And best regards pioc34 and thank you alot!

  • In your vanilla conf file conf/config.php
    do you have :
    $Configuration['EnabledApplications']['Yaga'] = 'yaga';
    // Yaga
    $Configuration['Yaga']['Version'] = '1.1';
    $Configuration['Yaga']['Reactions']['Enabled'] = '1';
    $Configuration['Yaga']['Badges']['Enabled'] = '1';
    $Configuration['Yaga']['Ranks']['Enabled'] = '';
    $Configuration['Yaga']['MenuLinks']['Show'] = '1';
    $Configuration['Yaga']['LeaderBoard']['Enabled'] = '1';
    $Configuration['Yaga']['LeaderBoard']['Limit'] = '10';

  • Flower420Flower420 Munich New

    // Yaga
    $Configuration['Yaga']['Version'] = 'Undefined';

    i had this ^, now i have added your code instead of this, and still the same..

  • Yaga application isn't enabled in your forum. You can test to add

    $Configuration['EnabledApplications']['Yaga'] = 'yaga';
    // Yaga
    $Configuration['Yaga']['Version'] = '1.1';
    $Configuration['Yaga']['Reactions']['Enabled'] = '1';
    $Configuration['Yaga']['Badges']['Enabled'] = '1';
    $Configuration['Yaga']['Ranks']['Enabled'] = '';
    $Configuration['Yaga']['MenuLinks']['Show'] = '1';
    $Configuration['Yaga']['LeaderBoard']['Enabled'] = '1';
    $Configuration['Yaga']['LeaderBoard']['Limit'] = '10';

    to your conf file

  • @pioc34 said:
    I forked yaga and updated code to work with vanilla 2.5
    https://github.com/pioc92/Application-Yaga
    Test il if you want.

    Are the changes been incorporated in official app?

  • whu606whu606 I'm not a SuperHero; I just like wearing tights... Moderator
    edited April 22

    @Waqass

    The author of YAGA hasn't been active on here recently.

    I don't know if @R_J (who is now our resident non-staff code guru, imo) would have time to look at the fork and determine if the changes are 'Vanilla appropriate', but otherwise, if you want to use YAGA on 2.5 you may have to go with the fork, rather than the original version.

    And thanks to @pioc34 for taking the time to share their code.

  • R_JR_J Cheerleader & Troubleshooter Munich Moderator

    @Waqass said:
    Are the changes been incorporated in official app?

    "Official" isn't quite right: YAGA by hgtonight is only a third party plugin and piocs fork is only another third party plugin. As such there is no reason not to go with the fork, as long as it is working for you

    @whu606 said:
    I don't know if @R_J (who is now our resident non-staff code guru, imo) would have time to look at the fork and determine if the changes are 'Vanilla appropriate'

    There are no major changes in there. Looking at the code didn't take much time =)

    @pioc34 said:
    I forked yaga and updated code to work with vanilla 2.5
    https://github.com/pioc92/Application-Yaga
    Test il if you want.

    I would recommend to make this 3 or 4 pull requests:
    1. Code cleanup: you have stripped out a lot of trailing spaces and replaced a deprecated function
    2. 2.5 compatibility: you have replaced all those AddSideMenu with setHighlightRoute (and maybe Gdn_Autoloader::start(); is part of that, too?)
    3. You've worked on the french translation

    Although @hgtonight isn't active here any more, I bet he would reply to pull requests if they are simple enough to be checked quickly.

Sign In or Register to comment.