Skip to main content

Show Posts

This section allows you to view all Show Posts made by this member. Note that you can only see Show Posts made in areas you currently have access to.

Messages - oldi

1
Suggestions / Uploading files suggestions
Hello,
Probably no one will implement this since no one replies on emails we have sent many times last month but, anyway, I am taking my chances.
  • Should replace special chars and spaces from filenames on upload.
  • Possibility to have dynamic folder names on file uploads. Such as by date, by user id/name or next Auto Increment ID of the table.
  • Should have the possibility to add postfix (static and dynamic such as date, user id/name, etc) on filename on upload.
  • Should have a better documentation on filename upload prefix and mention that prefix an be dynamic...or you didn't knew that? ;-)
Thanks (?)
2
Bugs / Re: roblems when uploading files classic 2.6.7
Hello,
Probably you gave up from this product and i can't blame you if you did so but, if you did not gave up yet, you can resolve this issue by editing  libs/Uploader.php and by replacing line 377 with this oneL

$string = str_replace("{{file_name}}", preg_replace("![^a-z0-9]+!i", "-", $file['name']), $string);

This will replace any special character - including spaces, with dash lines.
I had to check files one by one to find this solution.
Good luck ;-)
3
General Discussion / Re: Delete attachments
I am facing the same issue too.
I think that if we can't resolve the issue by ourselves, from the developers we will never get a reply. I have contacted them more than 4-5 times last month and i never got a reply. Probably I will look for other solutions from other providers.
Good luck!
5
Questions / Dynamic prefix for Upload files
Hello,
    Hope all of you are safe.
    I need a little help to solve the issue I have at this moment. I am trying to add a dynamic prefix on filenames for uploaded files. I need something like this:

Code: [Select]
date('d-m-Y') - originaleFileName.ext

I have tried to add a php code on FileNamePrefix row like this
Code: [Select]
<?php echo date('d-m-Y');?>
but it didn't work.
Can anyone help me with this issue, please?
Thank you!
7
Questions / Master / Details option on PhpRad. Need help
Hello,
First of all i want to congratulate all of the PHPRAD staff for the great software you are providing. Someone recommended this to me and I have just downloaded and I am trying it. Since I am new on this and I am testing all functionalities that I may need before I buy it, I am facing some issues on finding the way to build the Master / Detail add/edit page. I am trying something easy like building an invoice mini-system, and on the add invoice page I want to integrate this two tables:

1. invoice table where are found  columns as:
   invoiceID, invoicClientId (from clients table), invoiceCurrency (from currency table), invoiceDate, invoiceGeneratedDate (current timestamp), invoiceEditDate (current timestamp on edit), invoiceSerial (from serials table, autoincrement on save invoice), invocieExchangeRate (from exchangerates table - dependable from invoiceCurrency), invoiceType (enum), invoiceInfo (txt), invoiceTransporter (from transporters table) InvoiceStatus (enum: default active), invoiceUser(currentuser), invoiceTotal (autocalculate from articles on invoice_details).
2. invocie_details with following columns:
   detailsID, invoiceID (current invoice id), , articleID (from articles table), articleExtraInfo (varchar), articleUnit (froma article table), quantity, price, discount, valueWithoutTva, valueOfTVA, ValueWithTva, notes

Note: I was thinking something like that, but, if anyone can suggest anything else, will be very appreciated.

One some CRUD softwares that i have tested or i have worked with, this is somehow easy to get done, but in PhpRad i can't find the way to do it. Can someone help me on this, please?
Thank you.