Viewing 8 replies - 1 through 8 (of 8 total)
  • Plugin Author Bob

    (@prasunsen)

    The API requires PHP code. So you need coding.

    Thread Starter pmq

    (@pmq)

    I was trying by using PHP plugins and none of them worked. I’ve entered API PHP code in shortcodes or sniplets made by plugins and no user data were displayed. I’m using WordPress 3.9.1 with Namaste! LMS, Watu Pro and UserPro plugins (and some less important).
    Would you suggest the idea to get PHP code working inside your certificates?

    Plugin Author Bob

    (@prasunsen)

    I think you need to use the shortcodes instead of PHP API:

    https://userproplugin.com/userpro/shortcode-reference/

    Not sure which shortcode exactly you need, but looks like they have shortcodes for everything. The shrotcodes will be parsed in Namaste certificates.

    Thread Starter pmq

    (@pmq)

    These shortcodes are for login/register/userlist templates – not for additional fields.
    My question is simple: how to get any PHP code working in Namaste! LMS certificates, preferably by plugin (without coding own functions or so)?
    If it will work I will simply use UserPro API

    Plugin Author Bob

    (@prasunsen)

    No, php code won’t work inside the certificates. If shortcodes are not available you need custom plugin to define them. Or just use something better than UserPro – something that would let you use shortcodes for the custom data. I can’t believe a plugin created especially for custom fields does not give shortcodes to use these fields.

    Thread Starter pmq

    (@pmq)

    OK, I understand about PHP in certs.
    Have You tried/found any plugin for additional users fields working with Namaste! LMS? Such feature (even as a plugin) would make it more complete.

    Plugin Author Bob

    (@prasunsen)

    If your User Pro plugin stores the data in user meta table (should be so but don’t know), this plugin will help you display it:

    https://www.ads-software.com/plugins/user-meta-shortcodes/

    If not, you can use this plugin: https://www.ads-software.com/plugins/user-meta/ which certainly stores the data in meta. Then, if it provides shortcodes, use them. If not, use the one from the previous link together with the second one.

    Thread Starter pmq

    (@pmq)

    Plugin “User meta shortcodes” works fine with Namaste! LMS and UserPro plugin. Additional fields from UserPro are shown in Namaste certificates. Thanks!

    PS. I’ve tried User Meta plugin earlier but it didn’t work properly (I had some problems) so I switched to UserPro.

Viewing 8 replies - 1 through 8 (of 8 total)
  • The topic ‘Additional fields in certificates’ is closed to new replies.