arr0w
Forum Replies Created
-
Forum: Plugins
In reply to: [Participants Database] Logout button for the login pluginAfter the update a previous error occurred:
When I login with domain.com/login I’m redirected to domain.com/record (as expected)
If I go back to the domain.com/login – I should be redirected back to the record – I’m not!
Instead I’m redirected to domain.com/?page_id=454 – But I have no page with id=454No matter what I change in the “record page” setting, I’m still redirected to id=454 ?
The only workaround is to disable the “Use Cookie” setting or delete det cookie/log out.
Forum: Plugins
In reply to: [Participants Database] Logout button for the login pluginThank you!
Just one thing to point out: When I log out and tries to log in on the same page, I’m redirected as i should, but the record page still displays the “no records was found” error text and the cookie isn’t created again.
Forum: Plugins
In reply to: [Participants Database] Logout button for the login pluginExactly!
I’m guessing we just need to delete the pdb-cookie – But how do you do that with a click of a button?
Forum: Plugins
In reply to: [Participants Database] Unlock readonly fields for logged in usersYes I’m aware of that.. I just hoped I could put a costom class on a field. The answer was to use the class*=something with jQuery – But thank you!
The result was to convert the input to static text if the user is not logged in.
Forum: Plugins
In reply to: [Participants Database] Unlock readonly fields for logged in usersYour suggestion got me thinking:
What if I use jquery to change the input field to text and disables this when a user i logged in.
Is it possible to give a field its own class?I have multible readonly fields that I want to target at once. At the moment I have to call each field by class generated from the name.
How can I target the fields with a specific class?
Forum: Plugins
In reply to: [Participants Database] Unlock readonly fields for logged in usersI think we just misunderstood each other.
Both admins and non-admins should be able to edit the same records.
Non-admin users shouldn’t have access to edit readonly fields – Only admins/logged-in users.I know admins can edit records on the backend, but I have made a record-list for admins on the frontend.
You said it would be complicated to perform. But not impossible.
Forum: Plugins
In reply to: [Participants Database] Unlock readonly fields for logged in usersHow can I make the readonly fields only appear for not-logged-in users?
Forum: Plugins
In reply to: [Participants Database] Global save/submit buttonI only want specific admin roles to be able to edit readonly fields.
At this moment, both admin and non-admin users doesn’t have access to change the fields on the frontend. Could I somehow change this?Forum: Plugins
In reply to: [Participants Database] Global save/submit buttonThank you – I think I’ve found a good way to perform it.
Btw, is it possible to enable a readonly field on the frontend?
I’ve tried doing it trough jquery, but I don’t think the server allows it on submission.- This reply was modified 8 years ago by arr0w.
Forum: Plugins
In reply to: [Participants Database] Hide private ID in url on loadHow do I delete a cookie with a click on button/href?
Forum: Plugins
In reply to: [Participants Database] Private ID link on pdb_listGotcha!
When I use the pdb_list on mobile the last row (which we just created) are “sticking” out of the screen and only the “standard” fields are visible… I can scroll horisontal to see them, but the parent div doesn’t expand with them.
any clue?
Forum: Plugins
In reply to: [Participants Database] Private ID link on pdb_listCould I attach the private link to their names or usernames instead of making a new row?
Forum: Plugins
In reply to: [Participants Database] Private ID link on pdb_listAh thank you!
Exactly was I was looking for!How do I change the text for the link?
Could the template set the href to “Edit” for each participant instead of the whole link?Forum: Plugins
In reply to: [Participants Database] Hide private ID in url on loadSo I’ve tried your different suggestions, but the login page still ignores the chosen page in the “Participant Record Page” setting. I’ve tried changing it to every page on my site, but I’m still redirected to the same page (page 4 which doesn’t exist) – This only happens when the “Use Cookie” is enabled and I hit “back” after login. – If I just access domain.com/login – the login page is showed with a “Wrong password” label
If I only use the “24 hour cookie” and go back to the loginpage (from the record) I’m also prompted with a “Wrong password” label instead of the redirection. When accessing the domain.com/login I’m redirected to page 4.
If the both settings have been checked, I’m being redirected to page 4 both when accessing the domain.com/login or clicking “back”.
I hope all this information makes sense and can help fix the problem.
Forum: Plugins
In reply to: [Participants Database] Hide private ID in url on loadI’ve found a quite important bug in the new release.
I’ve checked both the “Use cookie” and “Extended Access” – When I login with domain.com/login I’m redirected to domain.com/record (without the pid) And everything works. BUT!
If I go back to the domain.com/login – I should be redirected back to the record – I’m not!
Instead I’m redirected to domain.com/?page_id=4 – But I have no page with id=4No matter what I change in the “record page” setting, I’m still redirected to id=4 ?
The only workaround is to disable the “Use Cookie” setting.
Another thing:
How can I simulate a “Log out” button?
(I now I can just remove the 24 hour tag, but then the user has to login after refreshing the page)- This reply was modified 8 years ago by arr0w.