Osclass Support Forums - Rackons.in
Other Osclass Support => Other Questions Related to Osclass => Topic started by: tamim on May 05, 2018, 06:51:06 AM
-
When a user registered for an account in my website the all data saved with profile picture in my admin panel. admin panel shows the profile picture exactly. But in my website the user can't show his profile picture please give me a solution for this problem please help me.
I used Madhouse Avatar plugin for this registration part. Sorry I forgot to say this.
I attached my files
-
If you are using profile picture plugin. then you need to just put simple code to upload and show profile picture.
Place below code on the user-profile.php - make sure this code is place OUTSIDE of the existing form on that page - this function will allow users to upload their profile picture
<?php profile_picture_upload(); ?>
Place below code on pages you wish to show the profile picture, including user-public-profile.php and item.php
<?php profile_picture_show(); ?>
Then it will work better!!!!
-
I used Madhouse Avatar plugin for this registration part. Sorry I forgot to say this.
-
please pm me your oc-admin details then i can check this plugin and will explain you better
-
you can try below code also for display madhouse avatar
Add one of these hooks to display the avatar
Can be include in your navigation bar to display the user avatar
<?php osc_run_hook('mdh_avatar_logged_user_nav'); ?>
For User avatar thumbnail
<?php osc_run_hook('mdh_avatar_thumbnail'); ?>
For User avatar preview
<?php osc_run_hook('mdh_avatar_preview'); ?>
For User avatar normal
<?php osc_run_hook('mdh_avatar_normal'); ?>
-
thanks a lot to Osclass Developer it works properly. thanks for your quick support
-
Please mark as "Best Answer" for other osclass users.
-
Гоу икс бет казино или же GoXBet Casino (https://goxbet-casino.cyou/) является официальным онлайн заведением на територии СНГ!
-
Игровые автоматы https://pin-up-casino.cyou/ Казино имеют официальную лицензию и стабильно выплачивают игрокам их выигрыши!