*

MB Themes

Hey all,
We will add in next update these functions that helps with further integration of themes:


bpr_get_type($user_id) - return user business type ID (1 - Basic, 2 - Pro, 3 - VIP)
bpr_is_business($user_id) - return true if user has valid business profile, otherwise return false
bpr_show_companies() - show list of companies anywhere

« Last Edit: August 27, 2018, 09:48:37 PM by MB Themes »
  To get fast support, we need following details: Detail description, URL to reproduce problem, Screenshots

*

Lopetoms

  • ***
  • 119 posts
  • HOla como estan
very good

need add here this http://prntscr.com/knksnt
Ariel

*

MB Themes

Please create new thread.
  To get fast support, we need following details: Detail description, URL to reproduce problem, Screenshots

*

Locan

  • ***
  • 166 posts
Re: New functions that can be used for integration of Business Profile Plugin
« Reply #3 on: September 10, 2018, 02:11:53 PM »
did you finished it yet. we need this helper

*

MB Themes

Re: New functions that can be used for integration of Business Profile Plugin
« Reply #4 on: September 10, 2018, 02:34:43 PM »

bpr_get_type($user_id) - return user business type ID (1 - Basic, 2 - Pro, 3 - VIP)
bpr_is_business($user_id) - return true if user has valid business profile, otherwise return false
bpr_show_companies() - show list of companies anywhere

  To get fast support, we need following details: Detail description, URL to reproduce problem, Screenshots

*

Locan

  • ***
  • 166 posts
Re: New functions that can be used for integration of Business Profile Plugin
« Reply #5 on: September 10, 2018, 02:56:06 PM »
why you not add it in plugin option? this helper work well.
thank you

*

Locan

  • ***
  • 166 posts
Re: New functions that can be used for integration of Business Profile Plugin
« Reply #6 on: September 10, 2018, 03:00:00 PM »
i want to show this business profile (bpr_show_companies() ) in slideshow like this website. can you inter grade it? which file locate this function bpr_show_companies() ?

*

Locan

  • ***
  • 166 posts
Re: New functions that can be used for integration of Business Profile Plugin
« Reply #7 on: September 10, 2018, 03:12:39 PM »
this function bpr_get_type($user_id) not show user  type in item.php

*

MB Themes

  To get fast support, we need following details: Detail description, URL to reproduce problem, Screenshots

*

Locan

  • ***
  • 166 posts
Re: New functions that can be used for integration of Business Profile Plugin
« Reply #9 on: September 11, 2018, 01:08:04 PM »
it show only number 1 or 2 only not show Basic or Pro

*

MB Themes

Re: New functions that can be used for integration of Business Profile Plugin
« Reply #10 on: September 11, 2018, 01:29:54 PM »
bpr_get_type($user_id) - return user business type ID (1 - Basic, 2 - Pro, 3 - VIP)

It is faster to ready carefully then to ask.
  To get fast support, we need following details: Detail description, URL to reproduce problem, Screenshots

*

Locan

  • ***
  • 166 posts
Re: New functions that can be used for integration of Business Profile Plugin
« Reply #11 on: September 11, 2018, 02:35:49 PM »
Quote
it show only number 1 or 2 only not show Basic or Pro
i don't understand this function.  how visitor know user basic or pro if it show 1,2

*

MB Themes

  To get fast support, we need following details: Detail description, URL to reproduce problem, Screenshots

*

Locan

  • ***
  • 166 posts
Re: New functions that can be used for integration of Business Profile Plugin
« Reply #13 on: September 11, 2018, 03:55:58 PM »
it's hard to know for basic php coder like me. i can't do it, so sad

*

MB Themes

Re: New functions that can be used for integration of Business Profile Plugin
« Reply #14 on: September 11, 2018, 03:58:10 PM »
@Locan
Basic coder would do it :P
You have user ID instead of type id in case.
  To get fast support, we need following details: Detail description, URL to reproduce problem, Screenshots