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.

1.2 does work

SrggamerSrggamer HardCore Gamer ✭✭✭
edited March 2013 in Vanilla 2.0 - 2.8

I downloaded it and the code that I gave you in previous question is the error.

Comments

  • peregrineperegrine MVP
    edited March 2013

    can you tell me exactly what names of the files you have in

    plugins/PeregrineBadges AND their Sizes

    do you have any backups or duplicates of the old 1.1 files anywhere (this is important to know).
    in the plugins/PeregrineBadge folder or any other plugins folder.

    no need to list the plugins/PeregrineBadges/design folder

    also you said

    undefined method PeregrineBadgesModel::GetTotalPoints() in /home/rpaso604/public_html/dragonx.net/community/plugins/PeregrineBadges/class.peregrinebadgesmodule.php on line 24

    look on line 24 in class.peregrinebadgesmodule.php. Do you see GetTotalPoints(). If so you have the wrong version.

    I suspect you didn't update the module properly.

    in version 1.2 - it says gettotals not gettotalpoints - so you have something incorrect in the way you are replacing the files.

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

  • hgtonighthgtonight ∞ · New Moderator

    I am not sure if your plugin does anything during set up or disabling, but I would be sure to disable before upgrading any plugin.

    Then don't forget to re-enable it :)

    Search first

    Check out the Documentation! We are always looking for new content and pull requests.

    Click on insightful, awesome, and funny reactions to thank community volunteers for their valuable posts.

  • peregrineperegrine MVP
    edited March 2013

    @hgtonight

    I am not sure if your plugin does anything during set up or disabling, but I would be sure to disable before upgrading any plugin.

    not really necessary, but not a bad idea, i didn't change the database structure. he has the wrong version, I suspect. I copy files in and out of this specific plug without disabling.

    Alot of times people keep duplicates lingering around in vanilla and it reads the wrong php file. another bad idea is to have two directories with different versions of the same plugin. I don't know which of the problems, he has because I can't look at his file 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.

  • peregrineperegrine MVP
    edited March 2013

    @Srgamer,

    1)disable the plugin, entirely delete everything pertaining to /PeregrineBadge all duplicates as well.

    2) download version 1.0 install but don't enable
    3) download version 1.2 on top if it - it will replace necessary files and keep the icons.
    4)then enable if it says 1.2 in the plugin description in the dashboard.

    that is the easiest way and if you still have the problem and if anyone else has the problem I will pursue it more, but i think it is on your end not mine.

    It would be interesting to hear from someone else to see if they were successful with 1.2 so I know where to go from here.

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

  • I've got one more update that will update badges when a user clicks a like. but i will wait for more feedback on 1.2 (It requires a slight mod to the like plugin - thanks to businessdad for pointing plugininstances.)

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

  • SrggamerSrggamer HardCore Gamer ✭✭✭

    @peregrine said:
    I've got one more update that will update badges when a user clicks a like. but i will wait for more feedback on 1.2 (It requires a slight mod to the like plugin - thanks to businessdad for pointing plugininstances.)

    I have to say this did the trick it turns out my Forum even after disabling it kept it active after fixing this bug, I followed your steps and have to say this works amazingly!

  • peregrineperegrine MVP
    edited March 2013

    good to hear. now if we could only change the title of the discussion "1.2 does work".

    which one of the numerous solutions did you use. In case someone else has the problem.

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

  • SrggamerSrggamer HardCore Gamer ✭✭✭

    @peregrine said:
    good to hear. now if we could only change the title of the discussion "1.2 does work".

    which one of the numerous solutions did you use. In case someone else has the problem.

    That would be a great Idea, I wish I may change it. :( But on the other hand, this may interest the person if they don't get it working!

  • update:

    I've got one more update that will update badges when a user clicks a like. but i will wait for more feedback on 1.2

    I tried implementing the update badges when the user clicks like via plugininstance, it seemed to work well, but then the like button would hang periodically (spinning of update). i disabled the Peregrine Badges plugin and used the original likethis version of the plugin and the likes would occasionally hang. So, it seemed the like plugin on my machine at least has intermittent problems with updates, so I have decided against implementing my proposed update to the Peregrine Badges plugin. what this means, I believe Peregrine Badges 1.2 is stable (until proven not) and I won't be adding any more features.

    I wonder if informmessages and notifications from vanilla sometimes break the ability of the json updates, period in everything (posts hanging, etc. etc.)

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

  • SrggamerSrggamer HardCore Gamer ✭✭✭

    @peregrine said:
    update:
    I wonder if informmessages and notifications from vanilla sometimes break the ability of the json updates, period in everything (posts hanging, etc. etc.)

    I Shall report any bugs so far no problems whats so ever.

  • Works great, thanks!

Sign In or Register to comment.