You need (or someone needs) to submit a PR to add Spanish language to the locale files.
would be nice to add this feature.
He is requesting someone to submit a “Pull Request” on Git Hub for this feature
PRs are in any case welcome!
I recently had following issue with this plugin and adding it back resolved the following issue.
However, I now have a new issue, going to the network tab of users who previously had followers or following others, now gives the 404 page. Can I remove all previous data related to this plugin or can you resolve this issue.
Disabling this plugin renders user profiles as 404 pages, with the console throwing a 500 error when trying to load
Fulling removing the plugin results in errors as described here: User notifications "all" is empty, but responses, likes, etc have items
I’m also seeing errors like these in the logs:
NoMethodError (undefined method `include?' for nil:NilClass) /var/www/discourse/plugins/discourse-follow/plugin.rb:74:in `block (2 levels) in activate!'
This plugin was brought up to date with the latest Discourse a day or so ago. You can see it in action here: https://try.thepavilion.io/.
It doesn’t solve the issue yet. I had earlier installed and then I faced issues mentioned here User notifications "all" is empty, but responses, likes, etc have items So I reinstalled and it solved those issues. I had users which earlier had followers and following etc. After reinstalling the plugin the earlier data was still there. But going to the network tab gives a 404 error page. If I intend to completely disable this plugin and remove all associated data, how should I do that so that I don’t face issues? Thanks
I’ll look into your issue, Raj … just bear with me a few days.
OK Raj, to get rid of the Follow plugin fully you need to do the following in a rails console after you’ve removed it and rebuilt:
myFollowNotifications = Notification.where(notification_type: [800,801,802]) myFollowNotifications.each do |notification| notification.destroy end
That should clear out the custom Notifications and should allow the menu to work as normal.
If you wish to continue to use the Plugin after bringing everything up to date, please let me know any further issues you face and I’ll take a look.
I’ve updating my instance and performed a checkout and to me it looks good now.
Please remember, for Pavilion plugins we only provide more guaranteed support for the first 5 days of the month, so please restrict your upgrades to one of those days going forward. If there is a breaking change outside of those days and you update your instance, we may not have the bandwidth to assist in a timely fashion.
It worked! The notifications are now working without any issue.
my forum doesn’t have as many users yet so I think I should add this follow functionality a bit later when there’re enough users.
I’ll plan my updates accordingly, I’ll probably add some of other plugins by Pavillion. Thanks a lot
I’ve just checked Follow to confirm it’s working on current Core, tests-passed.
I noticed that the Following toggle status was broken on the User Card, so have pushed a fix:
Let me know if you are having any issues with this plugin on current tests-passed build.
Will notifications be canceled with the new update
No, it’s just a fix. You might be waiting a while.
I just upgraded today and things look good.
Please upgrade before Monday if you intend to do so this month
Hey guys…Is there a Spanish version of the plugin? Or how can I translate it?
Sorry for slow reply. If you examine the plugin code you can see a Spanish translation is missing from the locales folder. Checkout how English is done and provide the same for Spanish?
I’ve just merged a PR provided by a kind member of the community. This provides some additional settings, which in part enhance user privacy:
- to globally make Following, Followers private to each user if the site admin wishes them to be
- to globally silence new Follower notifcations:
Thanks so much @buildthomas!
I’ve pushed a fix:
Started getting these today:
Message (11 copies reported) NoMethodError (undefined method `id' for nil:NilClass) /var/www/discourse/plugins/discourse-follow/plugin.rb:74:in `block (2 levels) in activate!' Backtrace /var/www/discourse/plugins/discourse-follow/plugin.rb:74:in `block (2 levels) in activate!' (eval):44:in `_fast_attributes' active_model_serializers-0.8.4/lib/active_model/serializer.rb:468:in `rescue in attributes' active_model_serializers-0.8.4/lib/active_model/serializer.rb:455:in `attributes' active_model_serializers-0.8.4/lib/active_model/serializer.rb:480:in `_serializable_hash' active_model_serializers-0.8.4/lib/active_model/serializer.rb:359:in `serializable_hash' active_model_serializers-0.8.4/lib/active_model/serializer.rb:343:in `as_json' activesupport-18.104.22.168/lib/active_support/json/encoding.rb:22:in `encode' activesupport-22.214.171.124/lib/active_support/json/encoding.rb:22:in `encode' activesupport-126.96.36.199/lib/active_support/core_ext/object/json.rb:42:in `to_json' Env HTTP HOSTS: