Samuel Parsons
Forum Replies Created
-
Forum: Plugins
In reply to: [Simple LDAP Login] Multiside Sitewide OptionsI have created a branch that contains the code to run this plugin as a multisite network-activated plugin.
In normal site-by-site activate it works as the original.
If network-activated it will do the following instead:
- move the settings page to the network admin settings area
- save all settings at the network level so they affect all sites in the multisite installation.
https://github.com/sjparsons/simple-ldap-login/tree/network-version
I’ve submitted a pull request to Clifton, the original author, and hopefully this can be included into the plugin. Comments and feedback are welcome on the pull request.
Forum: Plugins
In reply to: [Simple LDAP Login] Call to undefined function ldap_connect()You might need to ensure that you have the PHP LDAP extension installed. Try setting up a blank PHP page and include the following code:
<?php phpinfo(); ?>
Load that page in the browser and look for “ldap”. If you don’t see “ldap” anywhere in the output, then you haven’t installed the ldap extension.
Forum: Plugins
In reply to: [Simple LDAP Login] Do I need to compile PHP with LDAP?Yes. This plugin uses the standard PHP LDAP functions (provided by the LDAP extension you mentioned) to interact with the LDAP servers. In the case of Active Directory, it uses adLDAP, which provides some abstractions for interacting with AD servers, but adLDAP itself uses the standard PHP LDAP functions.
Forum: Plugins
In reply to: [Simple LDAP Login] Compatibility with 3.7.1 multisite installationI configured successfully with 3.8.1.
Forum: Plugins
In reply to: [Simple LDAP Login] Does plugin work with version 3.8.1?Seems to work well for me.
Is it possible to make a similar change to the “Add New” button on the All Users page?
I am looking at users.php in WordPress core (lines 404 and 406 in WP 3.4.2), and the code that renders that button does not seem as easy to alter with a function.
It seems that we need to change more than the link. The code in user-new.php allows a user to add another user, so it would need to be disabled, not just the link removed in order to really have all the bases covered. I’m not sure where to begin with this, or else I’d start a patch.
Forum: Reviews
In reply to: [PageLines] Crashed my WordPress install as soon as I activatedOk, makes sense. But, I wonder whether it might be best to give people an alert about that upon activation if the memory is less than that, rather than just have the theme puke on them.
@ov3rfly, thanks for the report.
I think that could be a useful addition for some purposes, and it seems to me that it fits in scope of this plugin. I’ll do some testing on our servers first before publishing the change.
Oh, and thanks for the tip about wordpressforedu.com — need to remove that line from the plugin config too!
Forum: Plugins
In reply to: [Real IP] Can I adopt "Real IP" plugin?I have published a similar plugin that I’m intending to keep up-to-date. It’s very simple like this one, but has some modifications that make it work in my situation.