*

oscman

  • ****
  • 227 posts
Get item & user membership group
« on: April 05, 2019, 08:11:42 PM »
can you help me get the current listing user id and check this user's group? i want to show the membership plan this user has(premium-platinum- silver) and display it for everyone inside listing next to his name
also show user group inside user public profile.

probably something with
osp_get_user_group and osc_item_user_id() but i can't figure how to write it to work together. Thanks

*

Nagy Csaba

  • ***
  • 70 posts
Re: Get item & user membership group
« Reply #1 on: May 16, 2020, 08:51:29 AM »
can you help me get the current listing user id and check this user's group? i want to show the membership plan this user has(premium-platinum- silver) and display it for everyone inside listing next to his name
also show user group inside user public profile.

probably something with
osp_get_user_group and osc_item_user_id() but i can't figure how to write it to work together. Thanks


Hi. im alo intrested in this funcion did you solved this thank you.

Marked as best answer by oscman on July 30, 2020, 03:21:36 PM
*

MB Themes

Re: Get item & user membership group
« Reply #2 on: May 18, 2020, 02:54:53 PM »
Code: [Select]
<?php $group_id osp_get_user_group(osc_item_user_id()); ?>
  To get fast support, we need following details: Detail description, URL to reproduce problem, Screenshots