Code

Discussion on Sabai Directory - Business directory plugin for WordPress

Discussion on Sabai Directory - Business directory plugin for WordPress

By
Cart 9,413 sales

onokazu supports this item

Supported

This author's response time can be up to 2 business days.

8274 comments found.

Hi, I want to create 3 add-on plans: 1. Featured: priority law (365 days) 2. Featured priority normal (1 week) 3. Featured priority high (1 week)

The customer buys the yearly add-on (#1) and after 2 months decides to get featured for a week (#2 or #3). So he now already has a priority low listing but now purchases this (high or normal priority add-on)

- what priority will be assigned to him? - What happens after it expires (after 1 week), will it revert back?

Thanks.

Hello,

Currently the number of days will simply be added to the current number of days marked as featured. The priority level will be overwritten by the plan that have purchased later, which can be a problem and we will see if we can somehow fix this in the next update of the plugin.

Hello, i’ve a buddypress website and i would like to integrate it with a directory. I saw you are compatible with wordpress but it does not affect the registration forms? for example if someone press Add a listing, it is managed separatly or goes to the buddypress registration forms?

Hello,

Listings are not user accounts, so it does not affect anything with the current system you already have with BuddyPress.

ok..let’s buy it and try ;) thank you for the answer

Hi, please tell me. If i buy your script, can you make simple redirect ? https://demo.sabaiapps.com/sabaidirectory/businesses/listing/new-york-magazine https://demo.sabaiapps.com/sabaidirectory/businesses/listing/new-york-magazine/

I see that canonical tag is on the page. But for me correct only 301 redirect, because i’m need this for statistic system.

Hello,

Can you tell us in more detail what you are trying to do? Is it to simply add a trailing slash at the end of the URL? If so, that is possible however may need to modify one of the files.

Hi, ideally for me that all addresses have slash at the end. For example: https://demo.sabaiapps.com/sabaidirectory/businesses/ https://demo.sabaiapps.com/sabaidirectory/businesses/listing/new-york-magazine/

But if user go to the address without slash, the 301 redirect comes into effect. For example. If user came on this address https://demo.sabaiapps.com/sabaidirectory/businesses he redirects to https://demo.sabaiapps.com/sabaidirectory/businesses/

Im need for all pages in sabai script: categories, listings. etc.

As mentioned in the previous post, that is currently possible by modifying one of the files included with the plugin.

Hi, Sabai pages are not loading automatically?! When I open any page with a Sabai shortcode it is white blank and I have to scroll down the page to show content. I use Avada theme and other pages load perfectly. Do you have a fix?

Hello,

If you are seeing white screens, please try enabling the debug mode as instructed here: https://codecanyon.net/item/sabai-directory-plugin-for-wordpress/4505485/faqs/17467

Thanks for your fast answer! I replaced the lines and got this error: Error Notice: The called constructor method for WP_Widget in GFWidget is deprecated since version 4.3.0! Use __construct() instead. I uninstalled and deleted Gravity forms and the error is gone.

The problem still persists. I still get white pages until I scroll down the content shows. Any other fix? Thanks in advance.

Hi,

On your demo here (https://demo.sabaiapps.com/sabaidirectory/stores/) the “Sort By:” dropdown does not show claimed / unclaimed listings. How can I customise the content of this dropdown?

Thanks :-)

Hello,

You can enable/disable sorting options from Directory -> Settings -> General.

Please help. The directory is no longer allowing me to pick an owner. Usually I can type the first 2 letters of my username and a dropdown will appear with the username that I can click on. Now all of the sudden whether I type the whole username or just the first 2 letters it just searches forever and doesn’t populate the username to select. I cannot post anything until this is fixed so I would greatly appreciate a response. Thank You.

Hello,

That sounds like that there is some kind of javascript conflict on that page. Are you seeing any error message in the browser console?

Hi,

many people ask you about a print listing button. Is this possible soon? or can I use a plugin for this?

best greetings

Hello,

Unfortunately it is currently not possible but we will see if we can add that to the next update or two.

So I’m going through my site and seeing if I can speed things up and I am seeing some huge errors with this plugin. When using Debug bar it is throwing a whopping 59 warnings and 7 notices. That is pretty terrible. Is there anything I can do to fix this?!

Hello,

Are those warning errors like file not found error? If so, then that is most likely being reported erroneously since our plugin tries to load some files dynamically and the plugin you are using to report errors are not able to detect that.

Yeah, it’s mostly files in /wp-content/plugins/sabai/lib/Sabai/Helper

We will see if we can change our code to somehow prevent those errors from being reported.

Hello, I see the question asked many times.. and no resolution. How can I reorder the category list in the dropdown? What file controls this? Any ideas how to do this?

Hello,

Currently categories are ordered by title. In order to change that, you can try editing wp-content/plugins/sabai/lib/Sabai/Addon/Taxonomy/Helper/Terms.php. However we have not tried and will be out of the scope of support with the plugin.

Hello, I changed this line to order them by the term ID. I wish I could order by a custom field somehow.

// Original term order // $terms = $application->Entity_Query(‘taxonomy’)>propertyIs(‘term_entity_bundle_name’, $bundleName)>sortByProperty(‘term_title’)->fetch();

// New term order $terms = $application->Entity_Query(‘taxonomy’)>propertyIs(‘term_entity_bundle_name’, $bundleName)>sortByProperty(‘term_id’)->fetch();

You can sort by custom fields, by simply changing sortByProperty part to sortByField and enter the name of your custom field (starting with “field_”). You may also need to pass additional parameters depending on the type of your custom field. Which field type are you trying to use for sorting?

Hi,

I have purchased and installed the plugin as per the documentation, but still getting the following error ,”An error occurred while processing the request. Please contact the administrator of the website for further information” when trying to access the Directory page. And with the directory dashboard “Oops! That page can’t be found” error. FYI, I have deleted the Sabai directory under ‘wp-content/sabai/System/clone’. Also have tried to reinstall the files via FTP. But no luck with the listings. Please help me with the issue.

Thanks, Divya

Hello,

Are you able to access the page at Settings -> Sabai? If so, please try reloading all add-ons from there. For further support, please use the account that you used to purchase the plugin on this site.

Hi Kazu. I have suddenly started getting error when i am trying to delete a category. I can add new categories or edit name of existing category, but can’t delete anyone. following is the error text:

ou can’t specify target table ‘wp_sabai_taxonomy_term_tree’ for update in FROM clause(1093) SQL: UPDATE wp_sabai_taxonomy_term_tree SET tree_path_length = tree_path_length -1 WHERE tree_path_length > 0 AND tree_descendant IN (SELECT tree_descendant1 FROM (SELECT tree_descendant AS tree_descendant1 FROM wp_sabai_taxonomy_term_tree WHERE tree_ancestor = 0) AS tree_descendant2)

0 D:\home\site\wwwroot\wp-content\plugins\sabai\lib\Sabai\Addon\Taxonomy\Model\Base\TermGateway.php(147): SabaiFramework_DB->exec(‘UPDATE wp_sabai…’)

1 D:\home\site\wwwroot\wp-content\plugins\sabai\lib\Sabai\Addon\Taxonomy\Model\Base\TermGateway.php(227): Sabai_Addon_Taxonomy_Model_Base_TermGateway->_beforeDelete1(12, Array)

2 D:\home\site\wwwroot\wp-content\plugins\sabai\lib\SabaiFramework\Model\Gateway.php(88): Sabai_Addon_Taxonomy_Model_Base_TermGateway->_beforeDelete(12, Array)

3 D:\home\site\wwwroot\wp-content\plugins\sabai\lib\SabaiFramework\Model.php(653): SabaiFramework_Model_Gateway->deleteById(12, Array)

4 D:\home\site\wwwroot\wp-content\plugins\sabai\lib\SabaiFramework\Model.php(587): SabaiFramework_Model->_commitOneRemoved(Object(Sabai_Addon_Taxonomy_Model_TermGateway), Object(Sabai_Addon_Taxonomy_Model_Term))

5 D:\home\site\wwwroot\wp-content\plugins\sabai\lib\SabaiFramework\Model.php(421): SabaiFramework_Model->_commitRemoved()

6 D:\home\site\wwwroot\wp-content\plugins\sabai\lib\Sabai\Addon\Taxonomy\EntityType.php(138): SabaiFramework_Model->commit()

7 D:\home\site\wwwroot\wp-content\plugins\sabai\lib\Sabai\Addon\Entity.php(787): Sabai_Addon_Taxonomy_EntityType->entityTypeDeleteEntities(Array)

8 D:\home\site\wwwroot\wp-content\plugins\sabai\lib\Sabai\Addon\Taxonomy\Controller\Admin\DeleteTerm.php(26): Sabai_Addon_Entity->deleteEntities(‘taxonomy’, Array)

9 D:\home\site\wwwroot\wp-content\plugins\sabai\lib\Sabai\Helper\CallUserFuncArray.php(11): Sabai_Addon_Taxonomy_Controller_Admin_DeleteTerm->submitForm(Object(Sabai_Addon_Form_Form), Object(Sabai_Context))

10 D:\home\site\wwwroot\wp-content\plugins\sabai\lib\SabaiFramework\Application\HelperBroker.php(27): Sabai_Helper_CallUserFuncArray->help(Object(Sabai_Web), Array, Array)

11 D:\home\site\wwwroot\wp-content\plugins\sabai\lib\SabaiFramework\Application.php(44): SabaiFramework_Application_HelperBroker->callHelper(‘CallUserFuncArr…’, Array)

12 D:\home\site\wwwroot\wp-content\plugins\sabai\lib\Sabai\Addon\Form\Form.php(402): SabaiFramework_Application->__call(‘CallUserFuncArr…’, Array)

13 D:\home\site\wwwroot\wp-content\plugins\sabai\lib\Sabai\Addon\Form\Form.php(346): Sabai_Addon_Form_Form->_doSubmit()

14 D:\home\site\wwwroot\wp-content\plugins\sabai\lib\Sabai\Addon\Form\Controller.php(37): Sabai_Addon_Form_Form->submit(Array)

15 D:\home\site\wwwroot\wp-content\plugins\sabai\lib\Sabai\Controller.php(36): Sabai_Addon_Form_Controller->_doExecute(Object(Sabai_Context))

16 D:\home\site\wwwroot\wp-content\plugins\sabai\lib\SabaiFramework\Application\RoutingController.php(107): Sabai_Controller->execute(Object(Sabai_Context))

17 D:\home\site\wwwroot\wp-content\plugins\sabai\lib\SabaiFramework\Application\RoutingController.php(102): SabaiFramework_Application_RoutingController->_executeController(Object(Sabai_Context), Object(Sabai_Addon_Taxonomy_Controller_Admin_DeleteTerm))

18 D:\home\site\wwwroot\wp-content\plugins\sabai\lib\SabaiFramework\Application\RoutingController.php(37): SabaiFramework_Application_RoutingController->_doExecute(Object(Sabai_Context), Object(Sabai_Route))

19 D:\home\site\wwwroot\wp-content\plugins\sabai\lib\Sabai\AdminRoutingController.php(56): SabaiFramework_Application_RoutingController->execute(Object(Sabai_Context))

20 D:\home\site\wwwroot\wp-content\plugins\sabai\lib\SabaiFramework\Application.php(54): Sabai_AdminRoutingController->execute(Object(Sabai_Context))

21 D:\home\site\wwwroot\wp-content\plugins\sabai\lib\SabaiFramework\Application\Http.php(10): SabaiFramework_Application->run(Object(Sabai_AdminRoutingController), Object(Sabai_Context), ’/directory/cate…’)

22 D:\home\site\wwwroot\wp-content\plugins\sabai\lib\Sabai.php(89): SabaiFramework_Application_Http->run(Object(Sabai_AdminRoutingController), Object(Sabai_Context), NULL)

23 D:\home\site\wwwroot\wp-content\plugins\sabai\lib\Sabai\Platform\WordPress.php(1101): Sabai->run(Object(Sabai_AdminRoutingController), Object(Sabai_Context))

24 D:\home\site\wwwroot\wp-content\plugins\sabai\lib\Sabai\Platform\WordPress.php(1084): Sabai_Platform_WordPress->_runAdmin(Object(Sabai_Web), ’/directory/cate…’)

25 D:\home\site\wwwroot\wp-includes\class-wp-hook.php(298): Sabai_Platform_WordPress->runAdmin(’’)

26 D:\home\site\wwwroot\wp-includes\class-wp-hook.php(323): WP_Hook->apply_filters(’’, Array)

27 D:\home\site\wwwroot\wp-includes\plugin.php(453): WP_Hook->do_action(Array)

28 D:\home\site\wwwroot\wp-admin\admin.php(222): do_action(‘directory_page_…’)

29 {main}

Thank you for creating with WordPress. Version 4.7.3

Please try moving the category in issue to the top level first, and then remove it.

yes, i tried that. I cannot move the category to top. I am getting error (as per my previous message). Any change to category level is giving error.

You may need to manually delete the category from the database. If you are unsure, please contact support from here: https://codecanyon.net/item/sabai-directory-plugin-for-wordpress/4505485/support

Hello! Could I purchase installation service from you? Thanks!

Can I add Instagram to the Social Media instead of Google +

Hello,

This is only possible with the custom field version of the social accounts field you can add from Directory – Listings – Fields

Is it possible to add multiple photos at once when adding a listing?

Got this working thanks

Great!

Can anyone help me to solve the following issue in “Sabai-directory” . Fatal error: Unsupported operand types in /home/verzincc/public_html/entersg/wp-content/plugins/sabai-directory/lib/Directory/Controller/AllListings.php

Hello,

Can you try reloading all add-ons from Settings -> Sabai? If that does not fix the issue, please try saving settings for all pages (tabs) under Directory -> Settings.

Hi, can you help me with my problem: i need to modify addlisting form with some additional fields, entry needs to be added to directory when specific field is selected, where shold i look for code processing form data? i need to modify checking required some fields when one another is selected, and ommit them when it’s not, maybe there are some conditions to set up but i can not find it?

Hello,

Unfortunately there is not yet any conditional feature with the add listing form in the plugin, however this is planned for the later version of the plugin.

Oh my God! I wait a long time have update about news(blog) for listing and show both pri and sub category of listing, you just promised :(

Hello,

Please contact support for any issues with feature requests for the plugin. https://codecanyon.net/item/sabai-directory-plugin-for-wordpress/4505485/support

I cannot think how to word the request in google to find my answer would appreciate any help form other users. End game = See image on the internet use wordpress “press button” (or any other means dont really care) to post to website and it creates a database entry automatically. Is there already a function in sabai?

Oh Oh Oh !!!! What about just creating a submit listing that just had the add photo function in it!! Is that possible? hmmm the solution is so easy that its not likely possible

Nah just tried it to messy also tried using the press This button that comes with wordpress gets image to gallery but you cant add to sabei photos from gallery such is life

As mentioned earlier, technically that is possible but will require some kind of javascript or browser extension combined with a custom server side script on your server. Unfortunately we currently do not plan to add such feature to the plugin.

Hi,

is it possible to display the number of listing in an addons directory in frontend

Thank you

Regards

Manuel

Hello,

The number of listings is shown at the bottom of the listings on the directory index page.

how would I upload your plugin to the avada theme

Hello,

Since this is a plugin, you do not upload it to a theme but to WordPress. You can install the plugin from the Plugins page in the backend.

by
by
by
by
by
by

Tell us what you think!

We'd like to ask you a few questions to help improve CodeCanyon.

Sure, take me to the survey