goldhat
Forum Replies Created
-
Forum: Plugins
In reply to: [QuizMaster] Quiz shortcode and errorShortcode name is “quizmaster” not “QuizMaster”, putting the ID of your quiz “loosely” in the shortcode will usually work but it’s more reliable and correct to write it as shown below as this will later allow further settings without editing the way the ID is entered:
[quizmaster id=”1″]
Next issue, you can’t find the correct ID for your quiz. QuizMaster uses WP custom posts so the ID definitely is wrong in your attempt. Even at install there is a few posts, you should expect the ID to be higher such as 87. You can see the ID on the edit page for your quiz, it’s written in the browser address bar. It also shows up at the bottom of the browser bar if you hover over a link to edit for instance. We’ll add a shortcode generator function later to the sidebar on the quiz add page, there is already a ticket about that.
Bear in mind that unlike WP Pro Quiz, QuizMaster uses posts and quizzes have their own slug/url. You can always run the quiz just by visiting it. We did this because having to add the shortcode to a page is often a waste of time, the quiz itself is a post. You may however have to flush permalinks if your quiz posts are not loading.
The twentyseventeen theme is used on all our test sites so unfortunately we never noticed this error, it comes from one of the templates (templates/quiz.php) that were copied/edited from twentyseventeen theme. If you can handle editing that template, just remove the call to that function. Otherwise wait for a release with that fixed. For testing purposes, you can setup a test site and make the twentyseventeen theme the active theme.
Forum: Plugins
In reply to: [QuizMaster] v0.6.1 ReleasedMarking resolved, for anybody scanning over this solution to issue is to ensure FieldMaster plugin main directory is named “fieldmaster”, removing any version numbers.
Forum: Plugins
In reply to: [QuizMaster] v0.6.1 ReleasedGood to hear that fixed it, someday hope we can get FieldMaster approved for hosting because then we’d also embed it into QuizMaster so it’s a single plugin.
Forum: Plugins
In reply to: [QuizMaster] v0.6.1 ReleasedSidenote on this we’d love to get FieldMaster into WordPress.org plugin directory so it can be more easily installed and also used by more plugins and themes as a field integration platform. What is stopping that currently is that it contains code from ACF Pro and that is blocked from being in the WP directory (the original ACF plugin author does not support any forking or distribution of that code). We’ll have to rewrite key components of ACF Pro, namely the repeater field to make a version that will meet hosting requirements. If anybody reading this can help support us in that effort with donations of time or funding let us know, we can be reached through our site at goldhat.ca. Thanks.
Forum: Plugins
In reply to: [QuizMaster] v0.6.1 ReleasedIs it possible that when you installed fieldmaster that there is a version number in the main plugin directory, something like “fieldmaster-v0.0.1” instead of “fieldmaster”? This would break the activation check which tests specifically for “fieldmaster” being installed. GitHub serves the folders zipped with release number, so it’s necessary to change the main plugin directory before activation to “fieldmaster”.
Please check that, and if the problem persists let me know but that check usually works so long as fieldmaster (or ACF Pro) are in place and activated.
Forum: Plugins
In reply to: [QuizMaster] Theme SupportGet the QuizMaster 2017 child theme for TwentySeventeeen at https://github.com/goldhat/quizmaster-2017/releases/latest to see examples of template overrides and styling for QuizMaster.
Forum: Plugins
In reply to: [QuizMaster] Development UpdatesSorry about the broken links in the post above we’ve publicly published screenshots stored on Google Drive but it seems the links to the images expire.
Today we embarked on the build of a new QuizMaster Extension, QuizMaster Progress Bar. See QuizMaster Progress Bar at GitHub
Forum: Plugins
In reply to: [Wp-Pro-Quiz] Facebook Quiz is not workingNo worries the names are quite similar!
Forum: Plugins
In reply to: [Wp-Pro-Quiz] Negative marking and partial marking featureInteresting ideas! I’ll keep these in mind for a feature on the newly released QuizMaster which is based on WP Pro Quiz.
Forum: Plugins
In reply to: [Wp-Pro-Quiz] Quiz with “cloze” type questions not workingThat function name seems valid, checking the PHP docs it’s been in PHP since version 4. Seems odd it would be undefined? http://php.net/manual/en/function.mb-strtolower.php
Forum: Plugins
In reply to: [Wp-Pro-Quiz] Feature Request: Add filtersThe original developer hasn’t been around the forums or released an update in many months. I can’t speak for him, but I view the project as abandoned unless he resurfaces. There were some PR’s added in the GitHub repo months ago, none were ever approved so I think it’s a waste of time. If it’s for 1 site you might consider forking your own version and adding what you need.
I’ve recently released QuizMaster which is a fork, but also a major rebuilt of WP Pro Quiz. It has about 30 templates, not 100% coverage yet but we’re working towards that goal of all HTML being in templates. It has an override system that works with child themes as well as base themes using the folder YOUR-THEME/quizmaster/ to put the custom templates. There is also a loading filter on all the Views (from the MVC approach) so that you can use your own custom View in place of the original, but that’s a rather advanced approach… usually overriding the templates should do the job.
Moving the HTML to templates instead of view functions was one of the first challenges we tackled. It’s a must-have really, there is a limit to what can be done with only CSS. We’ve also stripped all the !important declarations from the CSS, which was making it extra difficult to style.
Forum: Plugins
In reply to: [Wp-Pro-Quiz] redirect on getting full maxUsing graduation custom text like @nsaral suggested is probably the easiest solution. But it leaves open the possibility of somebody getting that link and visiting it. There is an action hook after the quiz taker get’s 100% on a quiz, possible to leverage that to give them a coupon code (without making the access public).
Forum: Plugins
In reply to: [Wp-Pro-Quiz] Blank page when I’m trying to add a media in answersTry checking the server logs for PHP errors. If it’s a WSOD (White Screen of Death) then it’s possibly a fatal error caused by something happening when the page is loading.
Forum: Plugins
In reply to: [Wp-Pro-Quiz] Facebook Quiz is not workingI don’t see it in v0.37 of WP Pro Quiz. There are 4 quiz types that I can see, Normal, Normal/Back, Check/Continue and Questions Below. Can’t find any mention of it on the plugin page either at https://wordpress.org/plugins/wp-pro-quiz/
@nsaral are you familiar with a “Facebook Quiz” for WP Pro Quiz?
Can either of you send a screenshot or link to an example?
Forum: Plugins
In reply to: [QuizMaster] Development Updates