Page 1 of 1

Trackin-ID NUMBERS instead of characters

Posted: Wed Nov 02, 2011 1:00 pm
by Bangkok-Trader
Script URL:
Version of script: 2.3
Hosting company:
URL of phpinfo.php:
URL of session_test.php:
What terms did you try when SEARCHING for a solution:

Write your message below:

Hello to all,

sorry if there is allready a topic, bui I couldn´t find anything ;P

How is it possible to get NUMBERS for the Tracking-Id, it would be much easier to remember

Thanks
Andy

Re: Trackin-ID NUMBERS instead of characters

Posted: Wed Nov 02, 2011 3:35 pm
by Klemen
I would advise against doing that for the reasons explained here:
viewtopic.php?f=13&t=3330&p=14264

In HESK 2.3 customers do have an option to view sequential ticket IDs (ticket numbers) that are easy to remember, but they cannot view tickets by that ID. Staff on the other hand can (use the "Find a ticket" form on admin main page).

Re: Trackin-ID NUMBERS instead of characters

Posted: Thu Nov 03, 2011 10:51 am
by Bangkok-Trader
Thanks Klemen,

I not want sequential tracking IDs, everyone could open any ticket....... that´s understandable not good.

NO, I mean just numbers INSTEAD of CHARACTERS :wink:

Thanks
Andy :mrgreen:

Re: Trackin-ID NUMBERS instead of characters

Posted: Fri Nov 04, 2011 1:50 pm
by Klemen
In file "Inc/common.inc.php" change all instances of

Code: Select all

$useChars[mt_rand(0,29)];
to

Code: Select all

mt_rand(0,9);
Then delete line

Code: Select all

$trackingID = hesk_formatID($trackingID);