Trackin-ID NUMBERS instead of characters

Helpdesk for my helpdesk software

Moderator: mkoch227

Post Reply
Bangkok-Trader
Posts: 2
Joined: Wed Nov 02, 2011 12:56 pm

Trackin-ID NUMBERS instead of characters

Post 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
Klemen
Site Admin
Posts: 10116
Joined: Fri Feb 11, 2005 4:04 pm

Re: Trackin-ID NUMBERS instead of characters

Post 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).
Klemen, creator of HESK and PHPJunkyardWas this helpful? You can buy me a drink here Image

Image You should follow me on Twitter here

Help desk software | Cloud help desk | Guestbook | Link manager | Click counter | more PHP Scripts ...

Also browse for php hosting companies, read php books, find php resources and use webmaster tools
Bangkok-Trader
Posts: 2
Joined: Wed Nov 02, 2011 12:56 pm

Re: Trackin-ID NUMBERS instead of characters

Post 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:
Klemen
Site Admin
Posts: 10116
Joined: Fri Feb 11, 2005 4:04 pm

Re: Trackin-ID NUMBERS instead of characters

Post 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);
Klemen, creator of HESK and PHPJunkyardWas this helpful? You can buy me a drink here Image

Image You should follow me on Twitter here

Help desk software | Cloud help desk | Guestbook | Link manager | Click counter | more PHP Scripts ...

Also browse for php hosting companies, read php books, find php resources and use webmaster tools
Post Reply