I gang

Codeigniter Functions & osTicket

We are looking for a php coder who can modify a copy of the latest version of osTicket (currently 1.6.0) to include two additional (optional) fields, and modify the 'view ticket' screen to display a click-able link, if one of the additional fields is not NULL, containing a part-static, part dynamic address.

i.e. if Additional Field 1 is not empty, a text link on the 'view ticket' screen should show that points to [url removed, login to view] With the xxxx value being retrieve from the contents of Additional Field 1. The same applies for Field 2.

The winning bidder will also be required to create a Codeigniter 2.0.0 library class called [url removed, login to view], which can take the contents of a web form and interface with osTicket to create a new support ticket (including getting osTicket to generate its standard emails).

The class should also have functions for the following:-

* To return the number of currently open tickets

* To return the number of open tickets assigned to a specific person or department

In addition, we need two Codeigniter functions (could be merged into one if necessa). The first should be passed a text string, and be able to identify any dates contained within it, in any of the formats listed below. It should then be able to extract the date, pass it to the second function (see below), and then replace the date in the string, with the value returned from the other function.

The second when called, needs accepts two parameters the first is a date, in one of the following formats, the second is the output type - which has three possible options 'F' for full date (i.e. 1st April 2011), 'C' for compact date (i.e. 01-04-2011 dd-mm-yyyy), or 'M' for MySQL format date (2011-04-01 yyyy-mm-dd). The function should return a single value, of the date in the format requested.

The function needs to be able to recognise the correct day, month and year and undertake the appropriate conversion. In all the examples below the day is the first value, the month is the middle value, and the year is the last. All are 1st April 2011, although the function should be able to accept any calendar date, in any year.

Both should be optimised to be as efficient as possible, using the least amount of code.

An example of a text string containing a date that should be passed to the first function is:-

"Fred arrived at the hotel on 1 Apr 2011 and checked in as planned."

The first function should detect the date as '1 Apr 2011' and pass that to the second function with additional parameter of 'F' in this case, which should then return the value of 1st April 2011. The first function should then replace the date with the returned value, and return the full text string....

"Fred arrived at the hotel on 1st April 2011 and checked in as planned."

The text string may contain one or more dates, in one or more formats. The list of formats required to be covered are as follows:

[url removed, login to view]

[url removed, login to view]

[url removed, login to view]

[url removed, login to view]

[url removed, login to view]

[url removed, login to view]

[url removed, login to view]

01-04-11

01-4-11

1-04-11

01-04-2011

01-4-2011

1-4-2011

1-04-2011

01/04/11

01/4/11

1/04/11

01/04/2011

01/4/2011

1/4/2011

1/04/2011

1 Apr 2011

01 Apr 2011

1 Apr 11

01 Apr 11

01 April 2011

1 April 2011

01 April 11

1 April 11

01/April/2011

1/April/2011

01/April/11

1/April/11

01/Apr/11

01/Apr/2011

1/Apr/11

1/Apr/2011

1st April 11

1st Apr 11

01/[url removed, login to view]

01/[url removed, login to view]

1/[url removed, login to view]

01/[url removed, login to view]

01/[url removed, login to view]

1/[url removed, login to view]

1/[url removed, login to view]

01 04 11

01 4 11

1 04 11

01 04 2011

01 4 2011

1 4 2011

1 04 2011

1=4-11

1=4=11

1-4=11

01=4-11

01=4=11

01-4=11

01=04-11

01=04=11

01-04=11

1=4-2011

1=4=2011

1-4=2011

01=4-2011

01=4=2011

01-4=2011

01=04-2011

01=04=2011

01-04=2011

1,4,11

1,[url removed, login to view]

1.4,11

01,4,11

01,[url removed, login to view]

01.4,11

01,04,11

01,[url removed, login to view]

[url removed, login to view],11

April 1, 2011

April 1st, 2011

April 1 2011

April 1st 2011

April 01 2011

April 01, 2011

Apr 1, 2011

Apr 1st, 2011

Apr 01, 2011

Apr 1 2011

Apr 01 2011

Apr 1st 2011

1/ April/2011

1/April /2011

1/April

April 1, 11

April 1st, 11

April 1 11

April 1st 11

April 01 11

April 01, 11

Apr 1, 11

Apr 1st, 11

Apr 01, 11

Apr 1 11

Apr 01 11

Apr 1st 1

Færdigheder: Codeigniter, HMLT5, PHP

Se mere: osticket codeigniter, value options, string standard functions, string standard, string library, static interface, standard string, m string, library part, extract number string, standard library string functions, standard library list, codeigniter version, codeigniter 2, standard library, points covered, codeigniter osticket, php codeigniter, null, modify calendar, fred, e ticket, codeigniter php, codeigniter 4, osticket number date

Om arbejdsgiveren:
( 0 bedømmelser ) Scunthorpe, United Kingdom

Projekt-ID: #990530

Tildelt til:

mdpauley

Great worker with a proven track record!

$99 USD in 5 dage
(5 bedømmelser)
2.5

5 freelancere byder i gennemsnit $230 for dette job

kssoftphp

I can do it.

$350 USD in 10 dage
(45 bedømmelser)
6.6
atifmajeed12

check PMB.

$250 USD in 7 dage
(28 bedømmelser)
5.1
exodo999

CI Expert SR, please check PM. Thanks

$250 USD in 5 dage
(28 bedømmelser)
4.8
nitinnigam

Hello, I am working in a PHP technology and I have a very good team members in my company. I can complete this task in maximum 8 days.

$200 USD in 8 dage
(0 bedømmelser)
0.0