Hi there, i am wanting to give access to admin/pageUploadCSV.php to a couple of ordinary users (dont want to give them admin access)
I copied over the page from admin, updated the header includes/required but i am getting a 500 error, has anyone done this before?
Import CSV as ordinary user
Re: Import CSV as ordinary user
We plan to make the option to allow CSV uploads as part of group permissions available in future releases. Stay tuned.
AppGini plugins to add more power to your apps:
- DataTalk is an innovative AppGini plugin based on ChatGPT that allows you to interact with your AppGini database using natural language questions, without writing any SQL. Check the demo video
- Mass Update plugin: Update multiple records at once and improve your workflow efficiency.
- Check our other plugins and get a generous discount of up to 30% when buying 2 or more plugins.
Re: Import CSV as ordinary user
Hi,
I copied the pageUploadCSV.php to the root directory and replaced
by
at the top
Then you need to apply your user checking (which I did not need).
Hope that helps
I copied the pageUploadCSV.php to the root directory and replaced
Code: Select all
$currDir = dirname(__FILE__);
require("{$currDir}/incCommon.php");
Code: Select all
$app_dir = dirname(__FILE__);
if(!defined('PREPEND_PATH')) define('PREPEND_PATH', '');
include("$app_dir/defaultLang.php");
include("$app_dir/language.php");
include("$app_dir/language-admin.php");
include("$app_dir/lib.php");
include("$app_dir/add-on-functions.php");
Then you need to apply your user checking (which I did not need).
Hope that helps
Any help offered comes with the best of intentions. Use it at your own risk. In any case, please make a backup of your existing environment before applying any changes.