Osclass Support Forums
Osclass plugin support => Business Profile Plugin => Topic started by: reflexus on August 25, 2018, 03:01:28 AM
-
1. If you update your company profile, then business profile url change sometimes to user name without user id and sometimes to username with user id.
2. What if two users have a one profile name? - Then urls are equal
-
@reflexus
Plugin checks if username already exists and if yes, ads user id after it to make it unique.
-
Und what is with the nummer 1? This is bad, when it changes after update
-
Do you mean after updating same profile?
-
Do you mean after updating same profile?
Yes
-
I've found issue.
In file:
oc-content/plugins/business_profile/model/ModelBPR.php
Find:
$this->dao->select('s_identifier');
Replace with:
$this->dao->select();
This will be applied in new version as well.
-
I've found issue.
In file:
oc-content/plugins/business_profile/model/ModelBPR.php
Find:
$this->dao->select('s_identifier');
Replace with:
$this->dao->select();
This will be applied in new version as well.
Thank you, it works! But i have found another issue, I make new thread
-
how change this (companies) in url for other example (shop) or (tienda) http://prntscr.com/knhm69
-
how change this (companies) in url for other example (shop) or (tienda) http://prntscr.com/knhm69
replace line 37 in /oc-content/plugins/business_profile/index.php
osc_add_route('bpr-list', 'companies', 'companies', osc_plugin_folder(__FILE__).'form/home.php', false, 'bpr', 'home');
with this:
osc_add_route('bpr-list', 'shop', 'shop', osc_plugin_folder(__FILE__).'form/home.php', false, 'bpr', 'home');
or
osc_add_route('bpr-list', 'tienda', 'tienda', osc_plugin_folder(__FILE__).'form/home.php', false, 'bpr', 'home');
-
how change this (companies) in url for other example (shop) or (tienda) http://prntscr.com/knhm69
replace line 37 in /oc-content/plugins/business_profile/index.php
osc_add_route('bpr-list', 'companies', 'companies', osc_plugin_folder(__FILE__).'form/home.php', false, 'bpr', 'home');
with this:
osc_add_route('bpr-list', 'shop', 'shop', osc_plugin_folder(__FILE__).'form/home.php', false, 'bpr', 'home');
or
osc_add_route('bpr-list', 'tienda', 'tienda', osc_plugin_folder(__FILE__).'form/home.php', false, 'bpr', 'home');
Thank oyu