*

MB Themes

Re: "verified user label " for user that buy member ship. ( Solved )
« Reply #45 on: July 14, 2018, 02:23:18 PM »
People do not do screenshot on what line put code.
Are you sure that listing author is in one of groups?
  To get fast support, we need following details: Detail description, URL to reproduce problem, Screenshots

*

merry88

  • *
  • 3 posts
Re: "verified user label " for user that buy member ship. ( Solved )
« Reply #46 on: July 14, 2018, 02:27:47 PM »
People do not do screenshot on what line put code.
Are you sure that listing author is in one of groups?

Yes, I have a group for verified memebers #2 group

*

oneloveb

  • ****
  • 112 posts
Re: "verified user label " for user that buy member ship. ( Solved )
« Reply #47 on: July 16, 2018, 07:45:51 PM »
Please is there any developer in the house that can make the Code work for member items to be mark as premium once the member  of the selected group post.


<span class="function cust_automatic_premium_for_group($item) {
  $group_id = ModelOSP::newInstance()->getUserGroup(osc_item_user_id());
  if(in_array($group_id, array(2,5,6,3))) {
    echo '<i class=" osc_add_hook('posted_item', 'cust_automatic_premium_for_group);
  }
?>
</span>)


*

MB Themes

Re: "verified user label " for user that buy member ship. ( Solved )
« Reply #48 on: July 16, 2018, 07:49:17 PM »
@oneloveb
Not sure where you got that code, but if you look on it, it's misstyled
  To get fast support, we need following details: Detail description, URL to reproduce problem, Screenshots