Welcome Guest, Not a member yet? Register   Sign In
Search Results
    Thread: Help Shield force password reset
Post: RE: Help Shield force password reset

datamweb Wrote: (02-24-2024, 02:36 AM) -- See https://github.com/codeigniter4/shield/discussions/639 -- Thank you so much, had it working in minutes. [hr] kenjis Wrote: (02-23-2024, 02:32 PM) -- D...
228 Views
3 Replies
02-24-2024, 05:06 AM
frocco
    Thread: Help Shield force password reset
Post: Help Shield force password reset

Hello, I imported all users into my app and set the shield force reset field to 1 in the users table. Nothing happens with a user logs in. I looked at the docs and tried everything, but nothing w...
228 Views
3 Replies
02-23-2024, 09:27 AM
frocco
    Thread: Migrate users to shield
Post: RE: Migrate users to shield

Thanks, will try it.
193 Views
2 Replies
02-14-2024, 05:17 PM
frocco
    Thread: Migrate users to shield
Post: Migrate users to shield

Hello, I am using migrations to insert users from another application to shield users table. I need to preserve the previous id value and insert it as the current id. shield will not allow me to repl...
193 Views
2 Replies
02-14-2024, 10:50 AM
frocco
    Thread: Help searching email in Shield
Post: RE: Help searching email in Shield

kenjis Wrote: (02-13-2024, 04:15 AM) -- What do you want to do exactly? "finding users by email" What do you mean by users? Not a user? If you want to find and get a User object by an email, you ...
742 Views
13 Replies
02-13-2024, 10:13 AM
frocco
    Thread: Help searching email in Shield
Post: RE: Help searching email in Shield

Can anyone give a code example of finding users by email? To be honest, I am having a hard time understanding the docs. I learn better by example. Thanks
742 Views
13 Replies
02-13-2024, 04:02 AM
frocco
    Thread: Help searching email in Shield
Post: RE: Help searching email in Shield

kenjis Wrote: (02-11-2024, 05:30 PM) -- frocco Wrote: (02-10-2024, 09:03 AM) -- See https://shield.codeigniter.com/getting_s...identities I am not finding getting_s...identities on that page -- ...
742 Views
13 Replies
02-12-2024, 06:45 AM
frocco
    Thread: Help searching email in Shield
Post: RE: Help searching email in Shield

InsiteFX Wrote: (02-11-2024, 12:40 AM) -- UserIdentityModel.php SEE: Method createEmailIdentity PHP Code: -- 'secret'  => $credentials['email'], -- -- Is this the site you are talking abou...
742 Views
13 Replies
02-11-2024, 01:54 PM
frocco
    Thread: Help searching email in Shield
Post: RE: Help searching email in Shield

See https://shield.codeigniter.com/getting_s...identities I am not finding getting_s...identities on that page
742 Views
13 Replies
02-10-2024, 09:03 AM
frocco
    Thread: Help searching email in Shield
Post: RE: Help searching email in Shield

Thanks Everyone [hr] InsiteFX Wrote: (02-09-2024, 10:27 AM) -- findByCredentials(array $credentials) I believe that this returns the email, not tested -- Thanks, I will test this and see.
742 Views
13 Replies
02-10-2024, 05:42 AM
frocco
    Thread: Help searching email in Shield
Post: Help searching email in Shield

Hello, I am able to find records from the users table in Shield by username, I also what to filter by email. I cannot get this to work. I get email field not found, but I can display email using u...
742 Views
13 Replies
02-09-2024, 04:44 AM
frocco
    Thread: builder question when using pagination
Post: RE: builder question when using pagination

InsiteFX Wrote: (09-29-2022, 12:35 AM) -- Please see the Pagination Documentation. CodeIgniter $ Users Guide - Pagination - getPageCount() (https://codeigniter.com/user_guide/libraries/pagination....
1,505 Views
3 Replies
09-30-2022, 03:16 AM
frocco
    Thread: builder question when using pagination
Post: builder question when using pagination

I created a builder object and if I use the where function to restrict results, how do I get the total records for pagination links? I seem to have to create two builder objects Code: -- $bui...
1,505 Views
3 Replies
09-28-2022, 08:03 AM
frocco
    Thread: Best practice old vs set_value
Post: RE: Best practice old vs set_value

I'm just using plain html, and the docs show old and set_value. I don't know the difference between these too and was wondering what the best practice (most developers) use.
1,345 Views
2 Replies
09-27-2022, 05:19 AM
frocco
    Thread: Best practice old vs set_value
Post: Best practice old vs set_value

Hello, does it make any difference on using old instead of set_value? thanks
1,345 Views
2 Replies
09-26-2022, 06:49 AM
frocco
    Thread: How to get total records from Pager
Post: RE: How to get total records from Pager

I just realized that $this->model->pager->getTotal() returns the correct count. duh
1,358 Views
5 Replies
09-23-2022, 08:03 AM
frocco
    Thread: How to get total records from Pager
Post: RE: How to get total records from Pager

captain-sensible Wrote: (09-23-2022, 02:13 AM) -- had a quick look through some previous code of mine and found this: Code: -- $handle= new PortfolioModel(); $mycount= $handle->isEmptyMens(); ...
1,358 Views
5 Replies
09-23-2022, 03:28 AM
frocco
    Thread: How to get total records from Pager
Post: RE: How to get total records from Pager

captain-sensible Wrote: (09-22-2022, 10:46 AM) -- i used this approach to  count entries in a db: Code: -- $query = $builder->where('category',$category)->countAllResults(); -- -- I am us...
1,358 Views
5 Replies
09-22-2022, 11:10 AM
frocco
    Thread: How to get total records from Pager
Post: How to get total records from Pager

Hello, I have a Product model that I perform a where search and then paginate the results. If I use the countAllResults, I get an incorrect number of records found. Is there a way to count all ...
1,358 Views
5 Replies
09-22-2022, 10:39 AM
frocco
    Thread: Announcing Shield: an Official Authentication library
Post: RE: Announcing Shield: an Official Authentication ...

Thank you
36,011 Views
42 Replies
06-07-2022, 05:02 PM
frocco

Theme © iAndrew 2016 - Forum software by © MyBB