Mathieu Viet
Forum Replies Created
-
Forum: Plugins
In reply to: [WP Idea Stream] Rating broken?Hi @adjunkten
This is a good news. Thanks again for your feedback.
I’ll upgrade the plugin to 2.4 as soon as i’ve ended the rest adaptations.
Forum: Plugins
In reply to: [WP Idea Stream] Widget title name and size change?All this can be achieved by adding your custom css rules to the style.css file if tour theme.
Forum: Plugins
In reply to: [WP Idea Stream] Auto Email NotificationHi,
It’s probably possible using another plugin. Just like it is for regular posts.
Forum: Plugins
In reply to: [WP Idea Stream] View Ideastream with out sign up and log inhi,
1/ yes
2/ for comments it depends on you discussion settings
3/ login is required to rate.i don’t understand what need to be fixed…
Please read and apply this: https://wordpress.org/support/topic/please-read-this-carefully-before-posting-into-this-support-forum/
Forum: Plugins
In reply to: [WP Idea Stream] Rating broken?Thanks for your tests @adjunkten
I’m sorry i forgot to minify the javascript file. As a result there’s a good chance that when you tested, it used the old way. Could you test another time making sure to add this constant in your
wp-config.phpfile ?define( 'SCRIPT_DEBUG', true );An alternative way could be to rename the
script.min.jstoscript.oldmin.jsandscript.jstoscript.min.jsinto thejsdirectory of the plugin.Forum: Plugins
In reply to: [WP Idea Stream] Rating broken?Hi @adjunkten
I’m currently working on version 2.4.0 and started with using the WP Rest API to save ratings. There’s a good chance it solves the issue.
You can test it there: https://github.com/imath/wp-idea-stream/tree/2.4.0
If you do test, please tell me if it fixes your issue.
Forum: Plugins
In reply to: [WP Idea Stream] No emails being sentForum: Plugins
In reply to: [WP Idea Stream] Extend time of editingHello,
It’s 5 mins actually.
You can extend it or make ideas always editable.
1. See how to create the wp-idea-stream-custom.php file : https://github.com/imath/wp-idea-stream/wiki/wp-idea-stream-custom.php
2. Copy one of these two filters https://gist.github.com/imath/e57c1a3798697a862cbd03b76cd5f84d in it.Have a nice day too.
- This reply was modified 9 years, 5 months ago by Mathieu Viet. Reason: typo error
Hi there,
I confirm there’s an issue. It’s not on the client side but on the server. Problem is the current user WP Idea Stream is using is not set. Here’s what i figured out.
1/ WP_Idea_Stream is hooking
plugins_loadedat a 8 priority.
2/ As you may knowis_admin()is true during Ajax requests.
3/ QSM is loading a bunch of admin files (to set admin menus for instance), and this is also happening during Ajax requests because of 2.
4/ The problem occurs each time QSM is hookingplugins_loadedbefore WP_Idea_Stream.
exemple of hook:add_action("plugins_loaded", 'qmn_settings_certificate_tab', 5);When i comment all included files within the is_admin() if statement of the main plugin file, it works. If i uncommentphp/options-page-leaderboard-tab.phpand remove theadd_action("plugins_loaded", 'qmn_settings_leaderboard_tab', 5);part in it, it works.Otherwise
wp_idea_stream_setup_current_user()is never fired, and the current user ID WP Idea Stream uses is not.Hope it will help you fix the issue.
Forum: Plugins
In reply to: [WP Idea Stream] Rating broken?Yes, i saw you did. Thanks a lot. I’ll look myself at it to check if i’m doing things right 😉
Forum: Plugins
In reply to: [WP Idea Stream] Rating broken?Hi, i’ve just tested on my side with latest WordPress. It’s working fine.
Unfortunately, i can’t help you more with so few informations about your WordPress. Please read this topic https://wordpress.org/support/topic/please-read-this-carefully-before-posting-into-this-support-forum/ and make sure to provide all informations i’m listing if you want me to help you.
Forum: Plugins
In reply to: [WP Idea Stream] Deletes without confirmationAn idea attached to a group can only be detached from a group. The idea is not deleted, she’s just not attached to the group anymore. So you should find it into the public archive.
A group admin should have the right to remove an idea from his group, that’s the reason why this is there.
If you absolutely want a confirm prompt you can use this code:
https://gist.github.com/imath/ea4f65b25746ffd45319d5a990caeaf0Forum: Plugins
In reply to: [WP Idea Stream] Only admins can comment on ideasHi, version 2.3.4 is fixing this issue.
Thanks for your feedback.Forum: Plugins
In reply to: [WP Idea Stream] Pages titles problemYeah, well Themes designer that are taking the risks to not use regular WordPress template tags, should be more carefull 🙂
Simply create a new template you call ideastream.php, put it in your theme, copy the page.php template content in the ideastream.php template, then replace
<?php hu_get_template_part('parts/page-title'); ?>by the regular WordPress template tag to display a post title :
<?php the_title(); ?>See https://gist.github.com/imath/79409a74096c97177caf41a9a1a51a7a for a complete example.
Forum: Plugins
In reply to: [WP Idea Stream] Deletes without confirmationRegular users can’t delete ideas, here’s the cap mappings i’m using:
case 'delete_idea' : case 'delete_ideas' : case 'delete_others_ideas' : case 'delete_private_ideas' : case 'delete_published_ideas' : $caps = array( 'manage_options' ); break;Only admins can, so admins can restore ideas.