4 posts in this topic
Recently Browsing 0 members
No registered users viewing this page.
When echoing a date field directly from the $user variable
echo $user->date; the timestamp is printed. Using
echo $users->get($user->id)->date; prints the correct formated value.
Is this a bug or or intended?
I have a simple front-end password update form like this:
In the browser the label of the second field shows up as follows:
I can't figure out what is changing the label, what is inserting /processwire/ and reformatting the thing. Is this something in PW? A "helpful" thing that browsers do?
The problem disappears if I simply rename the second field to 'Confirm Password'.
So my problem is solved, but I'll leave this here in case this is some kind of bug.
I can't add a new value to a custom PageArray field for my user.
However, when I create a new user, I CAN add the new PageArray value:
I need help. Thank you very much.
How do you get the same 'set password' form/input fields on the front-end as in the admin area?
I have a working front-end version, but the admin version has some nifty stuff around it. Should be easy to get the same on the front-end, right?
Greetings. I am here to share my first module. I make this module because I cannot find one to suit my need. I like SessionHandlerDB but I do not want to use mysql database to store session for performance. So, Redis seems to be the best choice. I have tried to use netcarver's SessionHandlerRedis but it lacks something I need, those are the active session checking and the easy module configuration while I do borrow some code from it (thanks to netcarver). So I take this chance to merge them together to form a new module. I am new to use github and I don't know if it is appropriate to publish another similar project, or fork from them.
You may grab this from Github: SessionHandlerDBRedis
I hope this could give somebody a help.
Updated to v0.4
v0.3 - added ability to get forwarded IP instead of normal remote IP.
v0.4 - added session lock