Better now than never
Petition Topic Template:
Before creating a new thread please be sure to check for similar petitions and to rather vote for those instead
If there are no other similar petitions are found, please provide a general summary of the petition in the Title above.
What are you trying to accomplish? Why would it be useful in ClassicPress?
Not obligatory, but suggest a way to implement your petition.
Will you be able to help with the implementation?
Not obligatory, but are you willing to help implement this petition?
Petitions with help already “signed up” have a much higher chance of being planned and worked on.
Your now withdrawn comment does have some merits.
Decide where we want to be, and be the best at that, and leave chasing passing trends to twitter and facebook and the elephant/dinosaur (choose your eumhamism )others.
I have found this if it helps in any way https://getfider.com/blog/version-0.12.0/
Is it something we have access to so we can export the data so we can import them in forums manually?
I’m just thinking out loud here…
I’ve reposted here: 2021 Goals/Projects
For the interim, I don’t think Fider has given us enough time to figure out exactly what we want to do with the petitions, so I think migrating them to the forums for the time being is the best way to ensure we don’t lose any data.
I think the approach I am going to take is leveraging @discobot to post the petitions in the following format:
Posted by [Author Name]
It had [# of votes] votes
[Comment] ~ posted by [Comment Author Name]
[Comment] ~ posted by [Comment Author Name]
Here are 2 test petitions that have been ported over:
I have finished the import:
Note: the category is currently “muted” so it doesn’t flood the Latest section. Also, the voting plugin hasn’t been installed yet, we will do that once we confirm that is indeed the route we want to take.
Also for anyone curious, here is the code I used:
Well done @wadestriebel that’s a good one
Yes, great job with this. I like that we have the old vote count available independently of how we set up the voting plugin on the forums. That means we could consider approaches like leaving the “new” vote count at zero, which solves the problem of how to match up previous votes with forum users.
Honestly we could even leave that plugin out and just use likes to rank the petitions.
Another piece to this project is our API endpoint that retrieves petition data for ClassicPress sites. I’ve updated it to just return static data for now, instead of calling out to the Fider API which will go away soon:
Just to clarify, instead of self-hosting Fider, we’ve been planning to migrate the petitions to the forums for a while. This allows us to consolidate our platforms a bit more - one less login/account for people to have to worry about. Another benefit is that we can move threads into/out of the petitions category as needed if people make suggestions for improvement in other places or if the petition threads spawn other discussions.
I think it probably makes sense to take that approach for now, which also means no downtime is required to installed the plugin
What data from the json object do we require? With Discourse we can poll a category and return it in json. I believe we can do the “most wanted”, “recent”, and maybe “trending”.
This is going to need a bit more thought/work, because now we have two vote counts (from the old system contained in the post text, and from Discourse which is mostly zero). At the moment it is working fine so we can leave it as-is until that is solved satisfactorily, the only issue is that new petitions posted on the forums won’t be registered there.
Thanks for highlighting this since it is a major thing in the Dashboard widgets for CP. We need to update the links as well from the dashboard to the various posts on forum for people to vote on those.
Is this still on your to-do list @wadestriebel? Any ETA? Just following up so it’s not forgotten.
It was definitely forgotten, let’s schedule some downtime for the forums so we can get it added
We’re on your schedule. Happy to help test it once it’s set up.
Tentatively, Wednesday around 5pm EST. I will make an announcement on Saturday or Sunday confirming
Everything on the list has been completed now. The voting plugin is installed. A blog post will be published this coming week. So I’m setting this topic to close 3 days after last reply.
This topic was automatically closed after 3 days. New replies are no longer allowed.