Welcome Guest, Not a member yet? Register   Sign In
Search Results
    Thread: Myth:Auth in search of maintainer
Post: RE: Myth:Auth in search of maintainer

Hi @"kilishan" , I'm a beneficiary of the awesomeness of the myth/auth package as I've used it in a couple of live projects. Thanks for the good work. Inasmuch as I'll love the opportunity to gi...
864 Views
7 Replies
04-08-2022, 08:37 AM
sammyskills
    Thread: CI4 as backend for React.js and authentication
Post: RE: CI4 as backend for React.js and authentication

Have you tried myth/auth (https://github.com/lonnieezell/myth-auth) OR codeigniter-shield (https://github.com/lonnieezell/codeigniter-shield) ?
1,656 Views
13 Replies
01-31-2022, 04:57 AM
sammyskills
    Thread: How can I make this controller DRY?
Post: RE: How can I make this controller DRY?

At first glance, I will suggest you move the code to a helper OR a separate controller OR another library that extends the default CI3 pagination library. That way, you can load the file wherever ...
763 Views
1 Replies
01-31-2022, 04:52 AM
sammyskills
    Thread: masalah
Post: RE: masalah

Apakah Anda mendapatkan kesalahan?
1,472 Views
2 Replies
11-26-2021, 02:25 AM
sammyskills
    Thread: Quickchart package not found
Post: RE: Quickchart package not found

The problem might be from the namespace. You need to answer some questions: - How did you install the package? Composer or manually? - Where exactly is the package located? Check the file for t...
844 Views
6 Replies
11-26-2021, 02:21 AM
sammyskills
    Thread: Need of Built in Authentication system
Post: RE: Need of Built in Authentication system

Hi, Well, IMHO, I don't think a built-in authentication will be great, even laravel doesn't come with any authentication built-in. In fact, you cannot get the debug bar that CI4 provides out-of-the...
1,589 Views
7 Replies
11-26-2021, 02:14 AM
sammyskills
    Thread: Grouping Resource or Presenter routes
Post: RE: Grouping Resource or Presenter routes

Yes, the order was the issue. I had already settled for this just to get it working, while hoping for a better solution: PHP Code: -- $routes->presenter('users'); $routes->presenter('user-groups'...
1,272 Views
7 Replies
11-24-2021, 04:12 AM
sammyskills
    Thread: Grouping Resource or Presenter routes
Post: RE: Grouping Resource or Presenter routes

When I run php spark routes, I get a list of all the routes, pointing to their respective controllers, in the way I expected: Quote: -- users users/groups users/permissions -- But the issu...
1,272 Views
7 Replies
11-22-2021, 11:31 PM
sammyskills
    Thread: Is it possible to do a `where id=(select id from table);` sql statement ?
Post: RE: Is it possible to do a `where id=(select id fr...

Well, let's say I'm being curious, but why don't you run the inner select queries first, store the value in a variable, then run the other select or update separately using the already existing value ...
567 Views
2 Replies
11-22-2021, 01:23 PM
sammyskills
    Thread: Change language runtime
Post: RE: Change language runtime

Well, since you already have a way of detecting a user's country, I believe you are already close to what you are looking for. From the docs (https://codeigniter.com/userguide3/libraries/language....
1,071 Views
6 Replies
11-22-2021, 01:15 PM
sammyskills
    Thread: Validate fields if checkbox is not checked
Post: RE: Validate fields if checkbox is not checked

I think you need the required_without validation rule. See the docs (https://codeigniter.com/user_guide/libraries/validation.html#available-rules) for more information.
546 Views
1 Replies
11-22-2021, 01:00 PM
sammyskills
    Thread: Grouping Resource or Presenter routes
Post: RE: Grouping Resource or Presenter routes

includebeer Wrote: (11-19-2021, 01:50 PM) -- Try this: PHP Code: -- $routes->presenter('users'); $routes->group('users', function($routes) {     $routes->presenter('groups');     $routes->pr...
1,272 Views
7 Replies
11-19-2021, 11:50 PM
sammyskills
    Thread: How send bulk email or newsletter?
Post: RE: How send bulk email or newsletter?

Email marketing tools are the best options you have. And yes, they have APIs for sending emails. Examples are mailchimp, sendinblue, etc. But if you really want to stick to using your website (whic...
1,931 Views
11 Replies
11-19-2021, 12:52 PM
sammyskills
    Thread: Myth/auth
Post: RE: Myth/auth

One of the reasons I think you are facing this problem is because you are using the manual method. Trust me, composer (and command line) rocks (when you get a good grip of it). That being said, jus...
703 Views
3 Replies
11-19-2021, 12:35 PM
sammyskills
    Thread: Grouping Resource or Presenter routes
Post: Grouping Resource or Presenter routes

Hi, I recently came across a situation where I want to group some routes in this format: Code: -- /users /users/groups /users/permissions -- Now, the idea is that all the routes are presenter...
1,272 Views
7 Replies
11-19-2021, 12:20 PM
sammyskills
    Thread: Validate email if its typed in?
Post: RE: Validate email if its typed in?

I think you'll need to include the permit_empty rule. See https://codeigniter.com/user_guide/libraries/validation.html#available-rules
525 Views
1 Replies
12-29-2020, 03:17 AM
sammyskills
    Thread: active record not working need help!!!!
Post: RE: active record not working need help!!!!

What configurations do you have in your application/config/routes.php file? You need to be more explicit so we can understand and point out/proffer a solution.
1,256 Views
6 Replies
12-29-2020, 03:02 AM
sammyskills
    Thread: A good read about PHP
Post: RE: A good read about PHP

Thanks for this piece.
2,371 Views
2 Replies
12-28-2020, 08:32 AM
sammyskills
    Thread: Determine if CodeIgniter’s Model Save() is Insert or Update
Post: RE: Determine if CodeIgniter’s Model Save() is Ins...

From the docs (https://www.codeigniter.com/user_guide/models/model.html?highlight=save#saving-data), Quote: -- This (save()) is a wrapper around the insert() and update() methods that handle inser...
1,498 Views
4 Replies
12-28-2020, 08:28 AM
sammyskills
    Thread: Restream a m3u8 stream
Post: RE: Restream a m3u8 stream

You can use the parse_url() function to achieve this. See the manual (https://www.php.net/manual/en/function.parse-url.php).
1,860 Views
2 Replies
12-13-2020, 02:39 AM
sammyskills

Theme © iAndrew 2016 - Forum software by © MyBB