andremacola
Forum Replies Created
-
Forum: Plugins
In reply to: [ACF Onyx Poll] Display total number of votes before voting?This should be easy but for now you can enable “show results” option.
Forum: Plugins
In reply to: [ACF Onyx Poll] Does ACF Onyx Poll still work?Done
Forum: Plugins
In reply to: [ACF Onyx Poll] Does ACF Onyx Poll still work?Hi @janpaul999, thks for the feedback.
I’m almost certain that ACF Onyx Poll is compatible with the latest versions of ACF and WP. Unfortunately, I no longer use WordPress in my primary job, and I often miss update reviews.
I can’t resolve any potential bugs or add new features at the moment, but I can certainly review and test it on the latest versions. I’ll see what I can do this weekend.
Forum: Plugins
In reply to: [ACF Onyx Poll] Reason of votingHi @11adam11 , sorry for later response, unfortunately I do not work with WordPress in my main time anymore.
Feel free to send a PR in https://github.com/andremacola/acf-onyx-poll and I’ll be glad to review.
For now only compatibility updates will be pushed.
Forum: Plugins
In reply to: [ACF Onyx Poll] Testing With WP 6.0?Hi @deathbybots, sorry for later response, unfortunately I do not work with WordPress in my main time anymore.
I’ll try my best to update and test the plugin with the latest ACF and WP 6.0 in the next days.
Forum: Plugins
In reply to: [ACF Onyx Poll] Last updateSorry for the late answer but I do not see any warning. Can you please share your poll?
Forum: Plugins
In reply to: [ACF Onyx Poll] Image SizeHey Drew, sorry for late response. That’s a good idea.
I just pushed a new releaseForum: Plugins
In reply to: [ACF Onyx Poll] Last updateHi @shermangeni,
Sorry for delay, I do not known why wordpress did not send me a notification about a new issue.
I’ll see what I can do.
What PHP and WordPress version you are?
Forum: Plugins
In reply to: [ACF Onyx Poll] Ability to change or remove voteSorry, but this is not in the current plans. Maybe in the future.
Please, create an issue on github with more info.Forum: Plugins
In reply to: [ACF Onyx Poll] Doesn’t recognize ACF as MU-PluginFixed in 1.1.3
Forum: Plugins
In reply to: [ACF Onyx Poll] Doesn’t recognize ACF as MU-PluginI will look into this. If possible, could you please create an issue in the Github repo?
- This reply was modified 4 years, 2 months ago by andremacola.
Forum: Plugins
In reply to: [ACF Onyx Poll] Translation to DutchFor a translation to be approved on WordPress, an authorized dutch editor has to review it. Even I can’t approve.
But if you submit a PR at https://github.com/andremacola/acf-onyx-poll then I can manually merge the translation.
Forum: Plugins
In reply to: [ACF Onyx Poll] Multiple polls as a shortcodeThe WordPress REST API operates differently for user roles
Please, see: https://stackoverflow.com/questions/55801175/get-current-user-inside-register-rest-route-method
Forum: Plugins
In reply to: [ACF Onyx Poll] Get fields from pollWell, I do not recommend using this way to create a template, especially if you use any caching solution.
The plugin has several optimizations to handle with caching, cookies etc …
If customize the CSS with CSS Variables, change the style (twitter or standard) or totally disable the plugin CSS inside options page is not what you required then using the Onyx Poll REST endpoints is the best way to create a custom template solution.
- List latest polls (GET): https://mysite.dev/wp-json/onyx/polls/list/
- View unique poll (GET): https://mysite.dev/wp-json/onyx/polls/list/?id=XXX
- Expire Polls (GET): https://mysite.dev/wp-json/onyx/polls/cron
- Vote for poll (POST): https://mysite.dev/wp-json/onyx/polls/vote
// parameters to vote { "poll": 85, "choice": 2 }
With that said, the fields are:
'onyx_poll_answers' 'image' 'answer' 'votes' 'onyx_poll_limit_vote' 'onyx_poll_results' 'onyx_poll_end' 'onyx_poll_total' 'onyx_poll_images' 'onyx_poll_modal' 'onyx_poll_show_results' 'onyx_poll_expired' 'onyx_poll_modal_time' 'onyx_poll_css' 'onyx_poll_block_id' 'onyx_poll_block_style'
- This reply was modified 4 years, 4 months ago by andremacola.
- This reply was modified 4 years, 4 months ago by andremacola.
- This reply was modified 4 years, 4 months ago by andremacola.
Forum: Plugins
In reply to: [ACF Onyx Poll] Multiple polls as a shortcodeI would need to see how you are doing this. Maybe it’s something related to WordPress REST API
If you create an issue on Github with some example, I can check in my spare time