Osclass forums

Support forums => Plugins => Topic started by: elizabeth on March 03, 2019, 02:30:57 pm

Title: Question for CBK Avatar plugin
Post by: elizabeth on March 03, 2019, 02:30:57 pm
Some days ago i purchased the CBK Avatar from osclass market and it works pretty fine. However i cant find a way to display the user's  avatar inside the list items. I mean the file loop-single . Does anyone knows how this can be made ?

Thanks osclassers :)
Title: Re: Question for CBK Avatar plugin
Post by: calinbehtuk on March 03, 2019, 05:37:54 pm
I answer you on market but there no code is allowed.

Code: [Select]
<img src="<?php echo cbk_avatar_image_link_from_id(osc_item_user_id()); ?>" />

You have some helpers functions in this plugin. you can find the helpers in help page.
Title: Re: Question for CBK Avatar plugin
Post by: elizabeth on March 03, 2019, 07:22:24 pm
I answer you on market but there no code is allowed.

Code: [Select]
<img src="<?php echo cbk_avatar_image_link_from_id(osc_item_user_id()); ?>" />

You have some helpers functions in this plugin. you can find the helpers in help page.

Hi @calinbehtuk and thanks for replying. I already tried the code you mentioned above but it doesn't work. It shows always the no_image icon as avatar. What else can i do ??
Title: Re: Question for CBK Avatar plugin
Post by: elizabeth on March 03, 2019, 07:44:25 pm
Ok it worked fine. it was just a misspelling by my side. Sometimes is better to copy-paste the code instead of typing LOL.