Hi,
Has anyone adapted the LDAP plugin to allow users to nominate the name of the sub-domain (or sub-directory) of the blog when it is created?
At the moment the username is used by default.
Thanks.
Hi,
Has anyone adapted the LDAP plugin to allow users to nominate the name of the sub-domain (or sub-directory) of the blog when it is created?
At the moment the username is used by default.
Thanks.
Any takers on this?
Or hints where to start if I have a go at it myself?
Thanks!
:(
Bump
Looks like I've got this working now.
My approach was to edit wp-login.php so that when calling wp-login.php?createblog=true it displays form fields for Blog URL and Blog Title as well as username and password.
So the user is authenticated against LDAP but still gets to choose the blog url. :)
Various edits to the LDAP plugin and some other WPMU files were also required.
Would you be willing to put a How-To on here? You know, the good ole "Find line X... and paste this" and "Replace X with Y"
:)
?
"Various edits to the LDAP plugin and some other WPMU files were also required......"
A "how to" would be great if you would.
Hi folks,
I will try to put up some documentation for this in the new year.
I'd love to hear how you did this
I've uploaded the amended files here:
http://stashbox.org/428957/custom%20wpmu-ldap_2.6.0%20FINAL.zip
**IMPORTANT! Use entirely at your own risk! Has NOT been tested in a production environment.**
Back up all your files before applying any changes.
Working OK here in a test installation.
Please see the readme file.
Sorry I don't have time to document what I've done, but if you compare the edited files with the originals, you should be able to work it out.
Please let me know if you find it useful! Better still, if you have suggestions for improvements, upload them here.