arunkott
Forum Replies Created
-
I am using built-in block editor on WP version 5.7.2
Thank you for the reply. I am sorry I did not ask my question clearly.
I do not want it to render the quiz in the block editor. I also think that the current text prompt you have is pretty clear too.Let me rephrase my question.
I have created 2 HD Quizes, Trivia1 and Trivia2. I created a new page, in the block editor I selected HD Quiz, I selected the Trivia1 and saved. Everything is good.If I come back later and edit the page again, I see the HD Quiz block there but it doesn’t show me that Trivia1 is the selected quiz. if I click the block it shows the original dropdown to select Trivia1 or Trivia2. I have multiple pages and I don’t remember which quiz was added in which page.
So I was wondering if it is a missing feature. Ideally when I come back to the edit page, it should preselect in the dropdown or show a text that Trivia1 is currently selected
hope this clarifies my original question.
Forum: Plugins
In reply to: [WP Crontrol] Is it supposed to run crons if DISABLE_WP_CORON is true ?I did some more check ??
- I deactivated the WP Control plugin. Strangely it makes 1 call to the wp_cron.php and then no calls are made. I would conclude that as all the calls that came earlier were indeed from the plugin
- I activated the plugin after few minutes. Strangely the event I added earlier was gone from the list. Is that expected behavior? why would it delete the event just by deactivating the plugin ?
- I added the event manually again , set start time to a future time and set repeat every minute and kept admin page open.
- Requests for wp_cron.php started again and started repeating every 2 minutes.
Forum: Plugins
In reply to: [WP Crontrol] Is it supposed to run crons if DISABLE_WP_CORON is true ?Thank you for the reply @johnbillion
No. I am not using the run Now feature
I went back and did some more testing and here is what I got so far.
- DISABLE_WP_CRON is set to true.
- Plugin’s event page shows The DISABLE_WP_CRON constant is set to true. WP-Cron spawning is disabled.
- I also ssh and did
/public_html $wp cron test Error: The DISABLE_WP_CRON constant is set to true. WP-Cron spawning is disabled.
- I disabled all plugin. uninstalled , reinstalled the WP Control and activated it
- at 02/Jun/2021:18:21:30 UTC , I added a new event, set it run at 18:25:00 UTC and repeat every minute.
- Left the admin page open (so it is making ajax calls in some intervals)
- At 02/Jun/2021:18:25:01 I see the ‘POST /wp-cron.php?doing_wp_cron’ in my access logs. I also see the hooked function is also executed (it updates a counter in db)
- At 02/Jun/2021:18:26:06 I see another request to wp_cron.php and it repeated every minute and updated counter in db
- I closed the admin page. From then I dont see any traffic in access logs. I waited 20 mins or so.
- at 02/Jun/2021:18:50:31 , I opened the admin page again and left it open. Requests started getting logged and I started seeing ‘POST /wp-cron.php?doing_wp_cron’ in every other minute
I understand the logic of spawning cron when clicking run now. I am wondering why it still running cron on schedule when DISABLE_WP_CRON is true
Forum: Plugins
In reply to: [Wp-Pro-Quiz] Change “start quiz” to “start test”I would rather change it using the Loco Translate (or similar) plugin than editing the php files directly.
Forum: Plugins
In reply to: [QuizMaster] Alternative to ACF Pro for QuizMasterThanks for working on this. I will wait till you release the next version
Forum: Plugins
In reply to: [Wp-Pro-Quiz] Refreshing and leaving quizI have updated the wpProQuiz_front.js file
wp_pro_quiz_front_jsplease note that the minified version of this file will be used by the program. Either you can minify the above js or use this minified version to replace wpProQuiz_front-min.js
Forum: Plugins
In reply to: [Wp-Pro-Quiz] Refreshing and leaving quizI put a work around fix by editing the front end java script. It will display the standard “Changes you made may not be saved. Are you sure you want to reload?” message if the user is reloading, clicking back button, or going to some other page. I also added a check at the end of the test to make sure the AJAX request to the server to post the results are successful. There was couple of instances where there was some network error at the user end and the results was’t recorded at the backend. Please let me know if you want me to share the solution.
Hi Bruce,
How did you resolve this ?
I second that opinion. My users are really mad since pop up comes up every time they come back to homepage.
Forum: Plugins
In reply to: [Wp-Pro-Quiz] Change language Wp-Pro-QuizYou could install the Loco Translate plugin for that. Either you can use the provided language files or you could create a custom translation to the fresh and enter translations yourself.
Forum: Plugins
In reply to: [Wp-Pro-Quiz] Issues when more than 124 questionsForum: Plugins
In reply to: [Wp-Pro-Quiz] Issues when more than 124 questionsYes I am sure. I experimented with number of questions and it breaks exactly at 125. I printed the array size to a log file from the plugin ajax handler function after receiving the post request at server and it has only 125 elements though the browser sent 150. Somewhere it is getting limited (May be at wordpress core itself). All of my questions are single answer multiple choice questions. The leader board and the end of the test results on the page works fine.
Forum: Plugins
In reply to: [Wp-Pro-Quiz] Refreshing and leaving quizThis is the most annoying behavior of the plug in
Forum: Plugins
In reply to: [Wp-Pro-Quiz] Time limit for each questionI have same quesion