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
Srggamer
✭✭✭
I downloaded it and the code that I gave you in previous question is the error.
0
Comments
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
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.
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.
@hgtonight
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.
@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.
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!
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.
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 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.
I Shall report any bugs so far no problems whats so ever.
Works great, thanks!
thx kirkpa. It's nice to get positive feedback, instead of feeling like your writing programs for a vacuum, when no one does respond after using it. Since its free, the only recompense is thank you and awesomes, and that's great for me. Glad it worked. I was tired of people asking for badges, and it only took a few days to write a simple badges plugin 1.0, and a few more days for 1.2 which performs much better as far as database reads.
Positive feedback actually does motivate some plugin developers to produce more plugins for the community. Little known fact.
I may not provide the completed solution you might desire, but I do try to provide honest suggestions to help you solve your issue.