Welcome Guest, Not a member yet? Register   Sign In
Search Results
    Thread: Looking for CI3 Dev
Post: Looking for CI3 Dev

Looking for a skilled CI3 dev.  Must know PHP obviously and CI3 and Jquery. Must have extensive knowledge in back end optimizations with MySQL. This is for a contract role. Length of contract dep...
2,971 Views
1 Replies
03-22-2021, 05:59 AM
Goddard
    Thread: end of CI Controller call loop
Post: RE: end of CI Controller call loop

Yeah that would work nicely, but still how can I have for instance $this->benchmark->elapsed_time(); run at the end of every single function call in a controller? Is this some kind of PHP structure...
2,438 Views
4 Replies
03-10-2021, 03:10 PM
Goddard
    Thread: end of CI Controller call loop
Post: RE: end of CI Controller call loop

InsiteFX Wrote: (03-10-2021, 12:12 PM) -- CodeIgniter 3.1.11 User Guide - Benchmarking Class (https://codeigniter.com/userguide3/libraries/benchmark.html#benchmarking-class) CodeIgniter 3.1.11 User ...
2,438 Views
4 Replies
03-10-2021, 01:19 PM
Goddard
    Thread: end of CI Controller call loop
Post: end of CI Controller call loop

What is the last thing to run in CI 3 ? Is the CI 3 loop documented some place? Also I wanted to have an automated way to log performance like time and resource usage.  I want to be able to asso...
2,438 Views
4 Replies
03-10-2021, 10:50 AM
Goddard
    Thread: Output Minification (Minifying html,css,js) CI 3.x
Post: RE: Output Minification (Minifying html,css,js) C...

cpittman Wrote: (05-25-2015, 09:05 AM) -- Are you worried about the HTML, or the CSS/JS?  You should probably include your CSS and JS separately, and use a library for minification like https://githu...
39,348 Views
12 Replies
02-17-2021, 09:46 AM
Goddard
    Thread: logging all user actions
Post: RE: logging all user actions

T.O.M. Wrote: (09-14-2020, 01:58 PM) -- Goddard Wrote: (09-01-2020, 01:11 PM) -- I am using CI 3.  I want to log all users insert, update, and delete to a specific table in my database.  Can I easil...
21,530 Views
18 Replies
09-28-2020, 07:25 AM
Goddard
    Thread: logging all user actions
Post: RE: logging all user actions

This requires modifying all 150 models that already exist. This also ignores the fact many of the models may have different named functions for different operations. Am I missing something, but ...
21,530 Views
18 Replies
09-03-2020, 05:02 AM
Goddard
    Thread: logging all user actions
Post: RE: logging all user actions

I am using CI 3. In CI 3 all the models use either $this->db->query, $this->db->insert, $this->db->update, or $this->db->delete. Sorry I am not understanding what you mean by just put it in MY_Model...
21,530 Views
18 Replies
09-02-2020, 09:11 AM
Goddard
    Thread: logging all user actions
Post: RE: logging all user actions

Thanks for your suggestion. If you have 100 models. That means you would repeatedly add this code to each model. This seems like bad coding practice and also just a lot of work for no reason. Why ...
21,530 Views
18 Replies
09-02-2020, 08:53 AM
Goddard
    Thread: logging all user actions
Post: RE: logging all user actions

Yeah that would work pretty well. Do you think it would be best to override the DB driver simple_query method?
21,530 Views
18 Replies
09-02-2020, 08:07 AM
Goddard
    Thread: logging all user actions
Post: RE: logging all user actions

I see this method which talks about "replication" not sure if this has other functionality it would induce. https://forum.codeigniter.com/thread-68484.html I also see this method which allows you ...
21,530 Views
18 Replies
09-02-2020, 06:49 AM
Goddard
    Thread: logging all user actions
Post: RE: logging all user actions

Yeah that is one option for sure. What about the $this-db->delete() or $this->db->query() function or something? Can I override that so I only write it once? Is that file CI_DB_driver
21,530 Views
18 Replies
09-02-2020, 04:16 AM
Goddard
    Thread: logging all user actions
Post: logging all user actions

I am using CI 3.  I want to log all users insert, update, and delete to a specific table in my database.  Can I easily do this using MY_Model, or some other way? Thanks
21,530 Views
18 Replies
09-01-2020, 01:11 PM
Goddard
    Thread: CI3 file upload via ajax with csrf
Post: RE: CI3 file upload via ajax with csrf

Still wondering if anyone has solved this.
10,958 Views
11 Replies
06-16-2020, 06:57 AM
Goddard
    Thread: CI3 file upload via ajax with csrf
Post: RE: CI3 file upload via ajax with csrf

It doesn't work. Did anyone get ajax file upload working on CI3?
10,958 Views
11 Replies
06-11-2020, 08:16 AM
Goddard
    Thread: CI3 file upload via ajax with csrf
Post: RE: CI3 file upload via ajax with csrf

It even shows the csrf token in the post params in my browser developer tools.
10,958 Views
11 Replies
06-09-2020, 06:29 AM
Goddard
    Thread: CI3 file upload via ajax with csrf
Post: RE: CI3 file upload via ajax with csrf

InsiteFX Wrote: (06-04-2020, 02:54 AM) -- Please use code tags when listing source code it makes it easy to read. Remove the space in each tags: [ code] your code [ /code] Or just use the fo...
10,958 Views
11 Replies
06-08-2020, 12:38 PM
Goddard
    Thread: CI3 file upload via ajax with csrf
Post: RE: CI3 file upload via ajax with csrf

I added the code tags.
10,958 Views
11 Replies
06-04-2020, 06:10 AM
Goddard
    Thread: CI3 file upload via ajax with csrf
Post: RE: CI3 file upload via ajax with csrf

dave friend Wrote: (06-03-2020, 07:56 AM) -- Assuming that the csrf token is included in the data sent to the server a failure to accept the POST is usually because the csrf has not been refreshed af...
10,958 Views
11 Replies
06-03-2020, 08:32 AM
Goddard
    Thread: CI3 file upload via ajax with csrf
Post: CI3 file upload via ajax with csrf

How can I include the csrf token with the file upload?  It appears using the new Form() functions with the upload data doesn't work.  I see the csrf token in the params but it is always saying Forbidd...
10,958 Views
11 Replies
06-03-2020, 07:43 AM
Goddard

Theme © iAndrew 2016 - Forum software by © MyBB