Author Archives: admin

WatuPRO: Automatically Assign Required User Groups or Roles Upon Payment

Required WatuPRO version: 6.5.9.5

The following option has been added in the WatuPRO Settings page -> Payment Settings tab:

Checkbox to automatically assign any required user groups or user roles

This is important when the quiz you are purchasing access to is assigned a category and that category is limited only to selected WatuPRO user groups or WP user roles.

Without the setting the user who is purchasing access will not be able to access the quiz even after payment.

Selecting the checkbox ensures that any required user roles or user groups will automatically be assigned to the user upon payment.

Bundles

The setting is especially powerful if you sell bundles. It will assign required user roles or user groups for all quizzes in the bundle.

If the bundle sells access to quiz categories, the setting will assign the user groups or roles required by these categories.

If the bundle sells access to “number of quizzes” the setting will take no effect.

WooCommerce and EDD bridge

If you are using our WooComerce bridge or EDD bridge to sell access to quizzes or bundles, be assured the same setting will also take effect just like if you are purchasing the products directly.

Data Tensai Is Approved on AppSumo!

We decided to run a summer promo for the new premium plugin – Data Tensai for Contact form 7

For limited time you will be able to buy a license for $17 instead of $37.

View Offer on AppSumo

AppSumo is a lovely marketplace with many great products listed on it, so have a look at other stuff too. You may save a lot for your next projects.

Answers Paginator in WatuPRO

It’s sometimes a good idea to paginate the answers on the final screen of a long test. WatuPRO provides a variable for this:

%%ANSWERS-PAGINATED%% which can be used instead of the %%ANSWERS%% variable. It will display the questions along with their answers, feedback, correct/incorrect checkmarks, etc but one per page.

Although this paginator looks visually similar to the paginator you can enable while taking the quiz, it’s not the same. The in-quiz paginator colors the question numbers based on whether the question has been answered or not:

The green color should not be confused with correct / incorrect state. The questions are not evaluated on the fly so green means “answered”. Yellow is “visited but unanswered” and the questions that have not yet been shown are in gray.

To avoid confusion the answers paginator at the end of the quiz is not colored in any colors by default:

answers paginator

However in version 6.5.7 of WatuPRO we have added classes to all the buttons so you can easily color wrongly, unanswered and correctly answered questions with colors of your preference.

For example here’s how you can make it show gray, green and red colors:

This is achieved by using the classes of each “li” element: “correct” if correctly answered and “empty” if unanswered.

Here is the CSS we have used to achieve this. You can copy it and paste in your Additional CSS box following this path: Appearance -> Customize -> Additional CSS:

/* correctly answered */
ul.watupro-answers-paginator li.correct {
	background: none green !important;
	color:white !important;
}

/* unanswered */
ul.watupro-answers-paginator li.empty {
	background: none #ddd !important;
	color:white !important;
}

/* wrong answers */
ul.watupro-answers-paginator li:not(.empty):not(.correct) {
	background: none red !important;
	color:white !important;
}