• Resolved Kalyan Brata Das

    (@ayanizeco)


    First of all, this is a great plugin and it really works.

    I have one issue so far.

    Some message variables like %%user_display_name%% (or similar to this) do not execute on the Quiz homepage even though the user is logged-in. Please see the screenshots for better understanding. Maybe I am missing something.

    Quick Homepage
    https://prnt.sc/1xttnv3

    User profile settings displaying the name (WP profile)
    https://prnt.sc/1xttmey

    Quick Settings page where I added the variable
    https://prnt.sc/1xttcin

    Can this be resolved? I just want to show a message where the logged-in user name or last should show up.

    Any help will be appreciated.

    Meanwhile, 5 star plugin

Viewing 6 replies - 1 through 6 (of 6 total)
  • Plugin Support Jasmine

    (@hyenokian)

    Hi @ayanizeco,

    Thank you for the topic.

    First of all, thank you for your kind words.
    Your support and trust in us are much appreciated.

    At the moment, the plugin is designed in a way that the message variables work in these options of the quiz.

    See the screenshot: https://ibb.co/2c3VMZp

    By the way, it is the first time we get a request for this kind of feature.

    Anyway, as it is important for you, we will surely take it as a suggestion and will let you know in case we add this feature in one of the future updates.

    Thank you!

    Thread Starter Kalyan Brata Das

    (@ayanizeco)

    Thanks for your reply. This is great that you would consider this feature in your future updates. Good luck for this.

    By the way, can you just tell me if there is any hook or filter on that homage page https://prnt.sc/1xttnv3 where I can add some dynamic content like echo loggeg-in user first name

    Thread Starter Kalyan Brata Das

    (@ayanizeco)

    Follow up

    Never mind, (until you add this feature) I have created a shortcode to display the current user first name. In case, someone needs that here is the code (to be placed in the child theme functions.php file)

    Shortcode is [qm_first_name]

    function ac_quiz_f_name_sc(){
    	$user_id = get_current_user_id();
    	$f_name = get_user_meta( $user_id, 'first_name', true ); 
    	if(is_user_logged_in() && !is_admin() && !empty($f_name)){
    		return '<strong>'.$f_name.'</strong>';
    	}
    }
    add_shortcode('qm_first_name', 'ac_quiz_f_name_sc');

    Here is the output https://i2.paste.pics/ELHAL.png

    • This reply was modified 3 years ago by Kalyan Brata Das. Reason: added screenshot
    Plugin Support Jasmine

    (@hyenokian)

    Hi @ayanizeco,

    Thank you for your reply.

    Unfortunately, at the moment, the plugin doesn’t have a hook and filter to change.

    Anyway, your mentioned solution via shortcode is an alternative way.

    Thank you for taking your time and providing us with the code.

    We hope the information will be helpful for other readers as well.

    We will let you know, in case we add this feature in one of the future updates.

    Thank you!

    Plugin Support Jasmine

    (@hyenokian)

    Hi @ayanizeco,

    We’re excited to announce that we have added this functionality to the new version of the plugin.
    You will see that these message variables are already working in this option.

    See the screenshot: https://ibb.co/TTbZPkq

    Please download the plugin latest version and update it on your website.

    We would love to hear about your suggestions so that we can use your valuable feedback to deliver an even better experience.

    Thank you!

    Thread Starter Kalyan Brata Das

    (@ayanizeco)

    This is just beyond awesomeness. Thank you very much for such a quick response. I can hardly recollect when we might have gotten such a quick action based on a user feature request.

    I have already left a 5 star review for the plugin. Alas! just 5 star!

    All the best. Look forward to buying your product once our site goes live in a month or so.

Viewing 6 replies - 1 through 6 (of 6 total)
  • The topic ‘Message variable not working on the Quiz homepage’ is closed to new replies.