Viewing 5 replies - 1 through 5 (of 5 total)
  • This appears to be a bug. If you enter a request using the shortcode [wp-prayer-engine form], the submitter is not displayed when displaying the requests using [wp-prayer-engine].

    If you enter a request using the admin page, the submitter is displayed.

    If you display the requests using WP Prayer\Manage Requests, the submitter is displayed under Author. If you edit a request, then the submitter name is displayed using the [wp-prayer-engine] shortcode.

    I have a workaround for this bug.

    I have the plugin set to “login not required to submit request”.

    Change line 110 of: wp-prayer/modules/shortcode/views/wp-prayer-engine.php
    to the following

    echo ($pray->prayer_author_name!=”) ? ‘Submitted by ‘.$pray->prayer_author_name.’, ‘ : ”;

    However, a name will not be displayed if a request is entered by someone not logged in (which does not affect us)

    Have an actual fix.

    Change line 110 of the above to

    echo ($pray->prayer_author_name !=”) ? ‘Submitted by ‘.ucwords($pray->prayer_author_name).’ ‘ : (($prayer_author_info->display_name!=”) ? ‘Submitted by ‘.ucfirst($prayer_author_info->display_name).’ ‘ : ”);

    Plugin Author Kim Gow

    (@abrg)

    Yes, option to display the name of user that submitted prayer request is added version 1.0.9

    Thanks for the fix

Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘Display Name of Submitter’ is closed to new replies.