first: congrats by plugin, is excellent.
to login social option list 4 more plugins to comment, why not add userpro?
my questions is because if why integrate to others functions to userpro and to login not.
the other thing, the 4 social plugins have conflicicting functions with your plugin 🙂
thanks
Hi Dorian,
maybe I didn't follow you but, wpDiscuz already integrated with UserPro. Please navigate to wpDiscuz Settings > Integration Tab > UserPro subTab and use the integration code as it's explained.
Hi,
Could you guide us how to integrate User Pro Social Login in the 'Wpdiscuz comments box'?
Thanks.
Hi Low,
You can use one of these action hooks to insert UsersPro social login buttons:
comment_form_top
comment_form_before
Could you kindly guide me where to insert the hook?
and what is the exact php code to insert please?
Thanks.
There are 4 Social Login options, but the User Pro Social Login Option was not included.
The integration of User Pro was only showing badges of profiles and linking to userpro profile as seem.
"
//////////////////////////////////////////////////////////////////////// // User Pro Profile URL Integration //////////////////////////////////// //////////////////////////////////////////////////////////////////////// add_filter('wpdiscuz_profile_url', 'wpdiscuz_up_profile_url', 10, 2); function wpdiscuz_up_profile_url($profile_url, $user) { if ($user && class_exists('userpro_api')) { global $userpro; $profile_url = $userpro->permalink($user->ID); } return $profile_url; } //////////////////////////////////////////////////////////////////////// // User Pro Badges Integration //////////////////////////// //////////////////////////////////////////////////////////////////////// add_filter('wpdiscuz_after_label', 'wpdiscuz_up_after_label_html', 110, 2); function wpdiscuz_up_after_label_html($afterLabelHtml, $comment) { if ($comment->user_id && class_exists('userpro_api')) { $afterLabelHtml .= userpro_show_badges($comment->user_id, $inline = true); } return $afterLabelHtml; }" Could you kindly add the ability to show userpro social login like login box as seem here http://userproplugin.com/userpro/ for shortcode [userpro template=login] or <?php echo do_shortcode('[userpro template=login]'); ?> Thanks.
Hi Low,
thank you very much for this code, we'll add this in next wpDiscuz release.