lat9:
If a plugin is to be included in the admin menus, that plugin includes a file (normally in your admin's /includes/extra_datafiles folder) that contains a statement similar to:
define ('FILENAME_MY_PLUGIN', 'myplugin');
> If the plugin's filename definition looks like:
> ```
define ('FILENAME_MY_PLUGIN', 'myplugin[B].php[/B]');
then that's why only superusers can access the plugin in Zen Cart 1.5.1. Simply remove that .php from the definition. I'm pretty sure that swguy submitted a change (for Zen Cart 1.5.4?) to enable those improperly-coded plugins to appear on the menu without change.
Thanks guys...
I am using Stock By Attribute (SBA) Stock Page Version 1.5.3
and I already checked the file in admin/extra_datafiles/products_with_attributes_stock.php
the file doesn't have ".php".
you can see that code at the below
define('FILENAME_PRODUCTS_WITH_ATTRIBUTES_STOCK','products_with_attributes_stock');
define('TABLE_PRODUCTS_WITH_ATTRIBUTES_STOCK', DB_PREFIX . 'products_with_attributes_stock');
define('FILENAME_PRODUCTS_WITH_ATTRIBUTES_STOCK_SETUP','stock_by_attr_install');
and I can not use 2 functions which are number 1 and 2 in below image except superuser.
so I decided to edit superuser...
someone has any solution?
thanks
