ziggyds 1 Posted January 2, 2023 Posted January 2, 2023 Am using emby with LLDAP and updating the password in LDAP directly isn't supported, I've a custom self service password app setup. Is there a way to add a link in the user settings or convert the current password entry to link to my ssp app? The current password element I hide by disabling the change password setting on the user (which wouldn't do anything anyway). Am talking about this section/menu: I looked through the forum but only found ways to hide/disable items. Anyway to add? Most convenient would be if I could just set a url in LDAP settings and that it would replace the element in the background for LDAP enabled users but since that isn't option am hoping I can add/modify it myself somehow. 1
Happy2Play 9446 Posted January 2, 2023 Posted January 2, 2023 There is a per user option but it hides password and profile image options. "Allow this user to change their password and profile image" But this css, something like this [data-index="4"] [title="Password"] {display: none} .
ziggyds 1 Posted January 3, 2023 Author Posted January 3, 2023 Thanks for reacting but this is not what I was looking for. I already found this in another forum thread. What I want to do is add a custom link to my self service tool for the LDAP that am running. Is there a convenient way to insert another index with a custom url?
Solution Happy2Play 9446 Posted January 3, 2023 Solution Posted January 3, 2023 @ziggyds Can't be done in css. You would have to edit the \system\dashboard-ui\settings\settings.htiml similar to how we applied personal-links here Or possibly tweak the js. Or maybe the password.html itself.
Happy2Play 9446 Posted January 3, 2023 Posted January 3, 2023 Dirty copy and paste of personal-links to settings.html with minor tweak to top
Happy2Play 9446 Posted January 3, 2023 Posted January 3, 2023 12 minutes ago, ziggyds said: I'll give it a whirl this evening. ty In my test I just added between ReadOnlyContent and DynamicRoutes.
ziggyds 1 Posted January 4, 2023 Author Posted January 4, 2023 Easiest and most convenient for me seemed to modify the password.html page. I hid the 2 forms with css since deleting them completely would brake the page. /*Hide Change Password on password page*/ form.updatePasswordForm.passwordSection.userProfileSettingsForm.auto-center.padded-top { display: none; } /*Hide Local Network Access*/ form.localAccessForm.localAccessSection.auto-center { display: none; } And inserted my external webpage with the following in the password.html page <embed type="text/html" src="https://***.***.***/" width="800" height="900"> Only thing left to do is to align the css of the ssp a bit more with the emby one!
Eigeplackter 79 Posted January 4, 2023 Posted January 4, 2023 Question from the newbie fraction, in which folder can I find the settings.html ?
ziggyds 1 Posted January 4, 2023 Author Posted January 4, 2023 (edited) 1 hour ago, Eigeplackter said: Question from the newbie fraction, in which folder can I find the settings.html ? Depends on how you deployed your emby. Am using the linuxserver.io image and then it's in /app/emby/dashboard-ui/settings/settings.html Edited January 4, 2023 by ziggyds
Eigeplackter 79 Posted January 4, 2023 Posted January 4, 2023 Ah found it. For Synology it is located under: volumeX/@appstore/EmbyServer/system/dashboard-ui
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now