Osclass Support Forums

Osclass plugin support => Backoffice Manager Plugin => Topic started by: Peter123 on March 02, 2016, 01:46:05 PM

Title: How to delete menu items from sidebar
Post by: Peter123 on March 02, 2016, 01:46:05 PM
Hi,

how can I delete/remove "comments on my items" and "comments on other items" from sidebar that's shown in user account as I am not gonna be using Comments feature of the plugin.

Thanks
Title: Re: How to delete menu items from sidebar
Post by: MB Themes on March 02, 2016, 01:50:59 PM
@Peter123
Go to file:
oc-content/plugins/backoffice_manager/index.php

find:
Code: [Select]
osc_add_hook('user_menu', 'bo_mgr_other_comments_user_menu');
change to:
Code: [Select]
//osc_add_hook('user_menu', 'bo_mgr_other_comments_user_menu');

then find:
Code: [Select]
osc_add_hook('user_menu', 'bo_mgr_my_comments_user_menu');
change to:
Code: [Select]
//osc_add_hook('user_menu', 'bo_mgr_my_comments_user_menu');
Title: Re: How to delete menu items from sidebar
Post by: Peter123 on March 02, 2016, 02:09:26 PM
that was quick, thanks  ;)
Title: Re: How to delete menu items from sidebar
Post by: MB Themes on March 02, 2016, 03:11:14 PM
@Peter123
Welcome
Title: Re: How to delete menu items from sidebar
Post by: wilson on December 24, 2021, 02:38:37 PM
which plugin provides Comments on my items and Comments on other items this feature..? i ma not getting these feature.. :(
Title: Re: How to delete menu items from sidebar
Post by: MB Themes on December 24, 2021, 03:24:11 PM
Backoffice manager.
https://osclasspoint.com/osclass-plugins/backoffice/backoffice-manager-plugin-i49